A high-precision wireless phase-correlation device and synchronization method

By using the wireless communication module and the digital input and output port controlled by the ARM main chip in the nuclear phase instrument to connect to the external event interrupt port, combined with the LoRa and FSK communication modes, the problem of large nuclear phase synchronization error in the existing technology is solved, and a high The grid voltage core phase synchronization with precision, low power consumption and anti-interference is suitable for the high precision requirements of the grid voltage core phase.

CN115980468BActive Publication Date: 2024-09-17NANJING SINDO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211687643.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2024-09-17
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

Existing phase detectors have large errors during the synchronization process. The serial operation method and LoRa communication synchronization method have problems of low efficiency and waste of resources. It is difficult to accurately check the power grid voltage phase in a very short time.

Method used

The wireless communication module is used to realize wireless synchronization and data interaction between the nuclear phase handheld camera and the phase collector. The digital input and output port controlled by the ARM main chip is connected to the external event interrupt port. LoRa and FSK communication modes are combined to achieve high accuracy. synchronization and data transfer.

Benefits of technology

The synchronization error of the voltage core phase is controlled within 0.2°, reaching the accuracy of wired synchronization. It has low power consumption, low cost and anti-interference ability, and is suitable for power grid voltage core phase work in long distances and complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115980468B
    Figure CN115980468B
Patent Text Reader

Abstract

The present invention discloses a high-precision wireless phase detection device and synchronization method. A wireless communication module is used to realize two functions: wireless synchronization and data interaction. The device includes a phase detection handheld device and two phase collectors at X and Y ends; the phase detection handheld device has a built-in wireless communication module controlled by the serial SPI port of an ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip; the two phase collectors have built-in wireless communication modules controlled by the serial SPI port of the ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the collector main chip. The phase detection handheld device performs data interaction and wireless synchronization with the two phase collectors in a wireless manner through the wireless communication module. The present invention adopts LoRa communication in wireless communication to ensure the success rate of communication in harsh environments; and adopts continuous FSK communication negative pulses as synchronization signals to meet the real-time requirements of high-precision wireless phase detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a high-precision wireless phase checking device and a synchronization method, which are used for secondary wireless phase checking of an intelligent substation, are suitable for long-distance grid voltage phase checking work, and belong to the technical field of power systems. Background Art

[0002] In the power grid, most operations, such as putting equipment and cables into operation or connecting two power grids, require phase checking in advance to ensure that the electrical equipment connected at both ends of the line are in the same phase and the power system is safe and stable. Therefore, phase checking is one of the important tasks of construction or maintenance personnel. The transmission of electric energy in my country is mainly in the form of three-phase alternating current. Three-phase alternating current is a power system composed of three alternating circuits with the same frequency, equal potential amplitude, and a phase difference of 120°. Therefore, the accuracy of voltage phase checking mainly depends on the synchronization accuracy of phase acquisition. In addition, live operations in the power grid often require emergency power supply vehicles to temporarily supply power to the power grid, which requires that the voltage phase output by the power supply vehicle is highly synchronized with the phase of the power grid, otherwise the loop cannot be closed. How to accurately check the voltage phase of the power grid in a very short time has become an urgent problem to be solved.

[0003] The existing nuclear phase instrument has large synchronization error and many problems.

[0004] The serial operation mode of the main chip of the handheld game console affects the synchronization effect. The collector receives commands and collects data. The collected raw analog signals are transmitted back to the handheld game console without calculation. The handheld game console decodes the signals and calculates the initial phase and amplitude and compares the results. However, the main chip of the handheld game console runs in serial mode and can only process one interrupt event at a time. The handheld game console defaults to the same time when it starts processing data and the time when data is collected. Therefore, the process of processing the raw analog signals in sequence leads to an increase in synchronization errors.

[0005] When using LoRa communication for synchronization, LoRa's processing of data affects the synchronization effect. LoRa is commonly used to achieve the effect of handheld control and collector synchronization. The handheld ARM issues synchronization instructions, which need to be processed by the LoRa modem. These processes include spread spectrum, cyclic error correction coding and other measures, which will affect the data transmission rate and generate 1.25-2 times the transmission overhead. In addition, the LoRa data packet received by the receiving end contains three parts: preamble, optional header, and data payload. The collector needs to perform additional demodulation processing. This process will further affect the synchronization effect and thus affect the accuracy of the nuclear phase results.

[0006] The synchronization method based on timestamp for delay compensation is not ideal in practical applications. The main content of this synchronization method is that the handheld device sends synchronization messages and messages with timestamps to the collector, the collector receives and feeds back the messages with timestamps, the handheld device receives and sends messages with timestamps again, the collector receives the messages and generates time stamps, and corrects the errors based on four time calculations to achieve data synchronization. This method of simulating synchronous acquisition time based on a small amount of data is not reliable, not only because of the small amount of data, but also because of the influence of communication quality, and there may be no definite linear relationship between the time differences. The back and forth sending and receiving messages between collectors is not conducive to improving efficiency, and it is easy to cause waste of resources and high power consumption of equipment. Summary of the invention

[0007] Purpose of the invention: In view of the problems and shortcomings in the prior art, a high-precision wireless phase nucleation device and synchronization method are proposed, which use a wireless communication module to realize the two functions of wireless synchronization and data interaction.

[0008] The popularization and application of the present invention will control the error of voltage phase correction caused by synchronization within 0.2°, and the wireless synchronization accuracy will reach the wired synchronization effect, meeting the demand for high-precision voltage phase correction during live detection, and also has the excellent effects of low power consumption, low cost, anti-interference and long distance.

[0009] Technical solution: A high-precision wireless phase detection device, including a phase detection handheld device and phase collectors at both ends of X and Y; the phase detection handheld device has a built-in wireless communication module controlled by the serial SPI port of the ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip;

[0010] The two phase collectors are respectively equipped with a wireless communication module controlled by the serial SPI port of the ARM main chip. The digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the collector main chip. The core phase handheld game console performs data exchange and wireless synchronization with the two phase collectors in a wireless manner through the wireless communication module.

[0011] The nuclear phase handheld game console is equipped with a 4G public network communication module, a large-screen TFT color LCD display and silicone buttons, a Beidou / GPS global positioning timing module, a watchdog circuit, and a large-capacity lithium battery charging circuit and a power management chip; the core of the nuclear phase handheld game console is an ARM main chip. The wireless communication module is responsible for the data interaction and synchronization between the handheld game console and the collector. The 4G public network communication module is responsible for the communication between the handheld game console and the remote device. The large-screen TFT color LCD display and silicone buttons are used for human-computer dialogue and display of nuclear phase information. The Beidou / GPS global positioning timing module is used to obtain the nuclear phase time and address. The watchdog circuit prevents the handheld game console from crashing. The large-capacity lithium battery charging circuit and the power management chip provide power for the handheld game console.

[0012] The collector is provided with a phase acquisition circuit, a core phase working circuit, a watchdog circuit, an LED indicator light, a buzzer, a charging circuit and a power management chip. The core of the collector is an ARM main chip; the wireless communication module is responsible for data interaction and synchronization with the handheld device; the phase acquisition circuit is responsible for sampling the AC signal; the core phase working circuit ensures that the collector works normally when there is an AC signal input; the watchdog circuit prevents the collector from freezing; the LED indicator light indicates that the collector works normally and charging is completed; the buzzer notifies the completion of the acquisition through sound; the charging circuit and the power management chip provide power for the collector.

[0013] When the core phase collector is connected to the core phase AC signal, the collector's core phase working circuit generates a pulse signal, allowing the collector power supply to provide working power to the ARM main chip, and the collector starts to work normally. At this time, the collector's wireless communication module is in LoRa working mode.

[0014] After the nuclear phase handheld machine is powered on and starts working, the wireless communication modules of the nuclear phase handheld machine and the nuclear phase collector are in the LoRa working mode. The nuclear phase handheld machine sends a synchronization message to the nuclear phase collector, and the nuclear phase collector receives the synchronization message. The wireless communication modules of the nuclear phase handheld machine and the nuclear phase collector switch to the FSK working mode. The handheld machine is in the FSK continuous sending working state, and the collector is in the FSK continuous receiving working state.

[0015] In FSK continuous working mode, the signal sent from EXTI3 by the handheld ARM main chip is modulated by the wireless module and radiated through the carrier. The signal is also received and demodulated by the collector wireless module and output to the collector main chip EXTI3. From the handheld EXTI3 port and the collector EXTI3 port, the effect of this wireless transmission and reception is similar to wired communication.

[0016] The handheld device sends a negative pulse of ΔTmS as a synchronization signal to the collector. The collector's external event interrupt EXTI3 port is interrupted immediately upon receiving a falling edge and starts measuring the low-level time. If the time is ΔTmS, it is considered to be a wireless synchronization signal. The AC signal of one cycle of the power grid is immediately collected through A / D using DMA, and the initial phase, frequency, and amplitude are calculated through FFT. The wireless modules of the handheld device and the collector are switched from continuous FSK working mode to LoRa working mode. The handheld device receives the information uploaded by the X and Y collectors respectively, calculates the phase difference between the two, and displays it on the LCD screen.

[0017] A high-precision wireless nuclear phase synchronization method is implemented by a nuclear phase handheld machine and two phase collectors. Only a wireless communication module is set in the nuclear phase handheld machine and the phase collector to realize the synchronization and data exchange between the nuclear phase handheld machine and the phase collector. The specific implementation method is as follows:

[0018] The core phase handheld game console has a built-in wireless communication module, which is controlled by the ARM main chip. The digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip. The two phase collectors have built-in wireless communication modules respectively, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the collector main chip. After the core phase handheld game console and the core phase collector start working, the wireless communication modules of the core phase handheld game console and the core phase collector are in the LoRa working mode, the core phase handheld game console sends a synchronization message to the core phase collector, the core phase collector receives the synchronization message, and the wireless communication modules of the core phase handheld game console and the core phase collector switch to the continuous working mode and are in the FSK continuous receiving state. In the continuous working mode, the collector receives the external event interrupt synchronization signal sent by the handheld game console, and the A / D peripheral of the collector main chip is set up to perform DMA data acquisition. At the same time, the wireless modules of the handheld game console and the collector switch from the continuous FSK working mode to the LoRa working mode, and the collector sends the calculation results to the handheld game console in the LoRa communication mode.

[0019] The process of the core phase handheld game console sending an interrupt synchronization signal is as follows: the handheld game console sends a negative pulse falling edge signal through the DIO2 port of the wireless communication module, and at the same time, the DIO2 ports of the two collectors receive the falling edge signal sent by the handheld game console, and transmit the received signal to the EXTI3 port of the collector main chip for interrupt processing. The A / D peripheral of the collector main chip is set up to perform DMA data acquisition, and the wireless acquisition modules of the handheld game console and the collector enter the LoRa working mode from the continuous FSK working mode, and the collector sends the calculation results to the handheld game console in the LoRa communication mode.

[0020] The core phase handheld game console continuously sends a negative pulse synchronization signal with a pulse width of ΔTmS through the DIO2 port of the wireless communication module. At the same time, the DIO2 ports of the two core phase collectors simultaneously receive the negative pulse synchronization signal with a time of ΔTmS, and transmit the received signal to the EXTI3 port of the main chip for interrupt processing. The two core phase collectors perform DMA data acquisition, and the wireless communication modules of the two core phase collectors enter the LoRa working mode. The wireless acquisition module of the core phase handheld game console enters the LoRa working mode and waits for the collector to send initial phase data; the collector uses the FFT method to calculate the initial phase value of the signal, and the wireless acquisition module of the collector is in the LoRa sending mode, sending the initial phase and amplitude to the handheld game console. After the handheld game console receives it, the phase difference of the collector is calculated.

[0021] In the FSK continuous working mode, the handheld device modulates the signal while the collector demodulates the signal, and the sending and receiving effects are similar to those of wired devices.

[0022] Beneficial effects: Compared with the prior art, the present invention uses a wireless communication module to realize the two functions of synchronization and data interaction. It can be used for power grid voltage phase checking in complex environments with electromagnetic interference and obstructions. The handheld device only needs to have a built-in wireless communication module to realize the two functions of synchronization and communication, thereby improving the phase checking accuracy and work efficiency. It has the excellent effects of low power consumption, low cost, long distance and high precision. When the wireless module is in the continuous working mode of FSK receiving mode, the wireless can approximately achieve the synchronization effect of the wired one, and the error caused by synchronization is within 0.2°, which greatly improves the phase checking accuracy.

[0023] LoRa communication uses spread spectrum modulation technology, which has ultra-high receiving sensitivity and strong anti-interference ability; it uses efficient forward error correction coding technology, which has a very low bit error rate and long-term stable data transmission capability. In harsh environments with strong electromagnetic interference and obstructions, LoRa communication has a high success rate, but its disadvantage is poor real-time performance.

[0024] In continuous FSK communication, the sender modulates the signal input from the DIO2 port through FSK, couples it to the carrier, and radiates it into the air, while the receiver mixes and demodulates the signal received from the air and outputs it at the DIO2 port. This communication method has good real-time performance, but its anti-interference ability is not strong.

[0025] In the wireless phase-locking process, a large amount of data interaction is required, and there is also a synchronization with extremely high real-time requirements. The LoRa communication module has two communication modes: LoRa communication and continuous FSK communication. In data communication, the real-time requirements are not high, the data volume is large, and the probability of interference is high. The LoRa communication method can effectively avoid interference; while the synchronization real-time requirements are high, the information is very small, and only a negative pulse with a width of ΔTmS (1≤ΔT≤10) is required. The probability of interference is low. Use the continuous FSK communication method and use a negative pulse as the synchronization signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the nuclear phase process of the present invention;

[0027] Figure 2 This is a schematic diagram of the communication process between the handheld device and the collector of the present invention;

[0028] Figure 3 This is the FSK waveform diagram during synchronization of the present invention;

[0029] Figure 4 It is the principle block diagram of the handheld game console of the present invention;

[0030] Figure 5 It is a principle block diagram of the collector of the present invention. DETAILED DESCRIPTION

[0031] The present invention is further explained below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0032] like Figure 2 As shown, the high-precision wireless phase detector is mainly composed of a phase detector handheld computer, a phase collector X, and a phase collector Y. The phase detector handheld computer has a built-in wireless communication module controlled by the serial SPI port of the ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip; the phase collector X and the phase collector Y have built-in wireless communication modules respectively, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the collector main chip. The phase detector handheld computer performs data exchange and wireless synchronization with the two phase collectors in a wireless manner through the wireless communication module.

[0033] As attached Figure 4 As shown, the core phase handheld ARM main chip adopts ST's STM32H7B0VET6;

[0034] As attached Figure 4 As shown, the wireless communication module uses the LoRa-02 module of Shenzhen Anxinke Company;

[0035] As attached Figure 4 As shown, the 4G public network communication module adopts EC20 from Shanghai Quectel.

[0036] As attached Figure 4 As shown, the large-screen TFT color LCD display uses Shenzhen Ailan Electronics' T32C;

[0037] As attached Figure 4 As shown, the Beidou / GPS global positioning and timing module uses the Hangzhou Zhongkewei ATGM332D satellite navigation module;

[0038] As attached Figure 4 As shown, the watchdog circuit uses CAT824TSDI.

[0039] As attached Figure 5 As shown, the main ARM chip of the collector is STM32L151RC;

[0040] As attached Figure 5 As shown, the wireless communication module uses the LoRa-02 module of Shenzhen Anxinke Company;

[0041] As attached Figure 5 As shown, the phase acquisition circuit is responsible for sampling the AC signal;

[0042] As attached Figure 5 As shown, the watchdog circuit prevents the collector from crashing, using CAT824TSDI;

[0043] As attached Figure 5 As shown, the LED indicator light uses a white, red and green dual-color indicator light with a diameter of φ5mm;

[0044] As attached Figure 5 As shown, the buzzer uses an active buzzer of φ8mm.

[0045] After the handheld device starts working, the handheld device power management chip provides working power to the ARM main chip. Under the control of the ARM main chip, the handheld device issues synchronization commands to collectors X and Y, and then enters the continuous FSK transmission mode. Collectors X and Y switch from the LoRa working mode to the continuous FSK receiving working mode according to the handheld device's synchronization command. In the FSK continuous working mode, the handheld main chip outputs a 2mS (ΔT=2) negative pulse to the wireless module DIO2 port through the EXTI3 port. The signal modulated by the wireless module FSK is received and demodulated by the collectors X and Y wireless modules at the same time, and restored to a negative pulse signal from the DIO2 port. Its negative pulse and FSK waveform are as follows: Figure 3 As shown in the figure, after the ARM main chip interrupt port EXTI3 of the collector receives the falling edge, it immediately measures the width of the low level. If the width of the low level is 2mS, it is judged that a wireless synchronization signal is received. The wireless modules of the handheld and collector switch from continuous FSK working mode to LoRa working mode.

[0046] After the handheld device sends a negative pulse synchronization signal in the FSK continuous transmission mode, it immediately switches to the LoRa receiving working mode and waits for the initial phase, frequency and fundamental amplitude phase verification information sent back by the collector.

[0047] After the collector receives the synchronous falling edge signal in the FSK continuous mode, the ARM chip immediately triggers the external event interrupt. After measuring and confirming that it is a 2mS negative pulse, the AC signal is immediately collected. The analog-to-digital converter A / D peripheral collects the core phase waveform through the direct memory access DMA method, and collects 2^ n The data of each point is then processed by Fast Fourier Transform (FFT) to obtain the initial phase, frequency and fundamental amplitude of the AC signal.

[0048] The initial phase, frequency and fundamental amplitude calculated by the collector are sent to the handheld device by the wireless communication module using LoRa communication.

[0049] The handheld device calculates the phase difference between the X and Y head collectors and displays the received and calculated data on the LCD screen.

[0050] A high-precision wireless nuclear phase synchronization method is implemented by a nuclear phase handheld device and phase collectors X and Y. The nuclear phase handheld device has a built-in wireless communication module, which is controlled by an ARM main chip. The digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip. Phase collectors X and Y have built-in wireless communication modules respectively. The digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the collector X and Y main chips. Figure 1 As shown, after the nuclear phase handheld machine and nuclear phase collectors X and Y start working, the wireless communication modules of the nuclear phase handheld machine and nuclear phase collectors X and Y are in the LoRa working mode, the nuclear phase handheld machine sends a synchronization message to the nuclear phase collectors X and Y, the nuclear phase collectors X and Y receive the synchronization message, and the wireless communication modules of the nuclear phase handheld machine and nuclear phase collectors X and Y are switched to the continuous FSK working mode, the handheld machine is in the continuous FSK sending state, and the X and Y collectors are in the FSK continuous receiving state.

[0051] The handheld device sends a 2mS negative pulse synchronization signal through the DIO2 port of the wireless communication module. At the same time, the DIO2 ports of the two collectors simultaneously receive the ΔTmS negative pulse synchronization signal. The two core phase collectors perform DMA data acquisition, and the wireless communication modules of the two core phase collectors enter the LoRa working mode. The wireless communication module of the core phase handheld device enters the LoRa working mode and waits for the collector to send the initial phase data; the collector uses the fast Fourier transform FFT method to calculate the initial phase value of the signal. The wireless acquisition module of the collector is in the LoRa sending mode and sends the initial phase and amplitude to the handheld device. After the handheld device receives it, the phase difference of the collector is calculated. In the FSK continuous working mode, the handheld modulated signal is demodulated by the X and Y collectors at the same time, and the sending and receiving effects are similar to those of wired. The 2mS negative pulse signal sent by the handheld device is received by the collector and transmitted to the EXTI3 port of the main chip for interrupt processing.

[0052] In the continuous working mode, collectors X and Y receive the external event interrupt synchronization signal sent by the handheld device, and the A / D peripherals of the main chip of the collector are set up to perform DMA data collection. At the same time, the wireless modules of the handheld device and the collector switch from the continuous FSK working mode to the LoRa working mode, and the collector sends the calculation results to the handheld device via LoRa communication.

[0053] The process of the core phase handheld game console sending an interrupt synchronization signal is as follows: the handheld game console sends a negative pulse signal with a pulse width of 2mS through the DIO2 port of the wireless communication module. At the same time, the DIO2 ports of the two collectors receive the falling edge signal sent by the handheld game console and transmit the received signal to the EXTI3 port of the collector main chip for interrupt processing.

Claims

1. A high-precision wireless phase detection device, characterized in that: It includes a nuclear phase handheld machine and X and Y phase collectors; The core phase handheld game console has a built-in wireless communication module controlled by the serial SPI port of the ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip; The two phase collectors are respectively built-in with a wireless communication module controlled by a serial SPI port of an ARM main chip, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the phase collector ARM main chip, and the core phase handheld device performs data exchange and wireless synchronization with the two phase collectors in a wireless manner through the wireless communication module; After the core phase handheld machine is powered on and starts working, the wireless communication modules of the core phase handheld machine and the phase collector are in the LoRa working mode, the core phase handheld machine sends a synchronization message to the phase collector, the phase collector receives the synchronization message, and the wireless communication modules of the core phase handheld machine and the phase collector are switched to the FSK continuous working mode. The core phase handheld machine is in the FSK continuous sending working state, and the phase collector is in the FSK continuous receiving working state; In the FSK continuous working mode, the signal sent from EXTI3 by the core phase handheld ARM main chip is modulated by the wireless communication module and radiated through the carrier. The signal is also received and demodulated by the phase collector wireless communication module and output to EXTI3 of the phase collector ARM main chip.

2. The high-precision wireless phase detection device according to claim 1, characterized in that: The nuclear camera handheld game console also has a 4G public network communication module responsible for the communication between the nuclear camera handheld game console and remote equipment, a display screen for displaying nuclear camera information, buttons for human-computer dialogue, a Beidou / GPS global positioning timing module for obtaining nuclear camera time and address, a watchdog circuit to prevent the nuclear camera handheld game console from crashing, and a lithium battery charging circuit and power management chip to power the nuclear camera handheld game console.

3. The high-precision wireless phase detection device according to claim 1, characterized in that: The phase collector is also provided with a phase collection circuit responsible for sampling AC signals, a core phase working circuit that ensures the normal operation of the phase collector when an AC signal is input, a watchdog circuit that prevents the phase collector from freezing, an LED indicator that indicates that the phase collector is working normally and charging is completed, a buzzer that notifies the completion of collection through sound, and a charging circuit and a power management chip that power the phase collector.

4. The high-precision wireless phase detection device according to claim 1, characterized in that: When the phase collector is connected to the core phase AC signal, the core phase working circuit of the phase collector generates a pulse signal, allowing the phase collector power supply to provide working power to the ARM main chip, and the phase collector starts to work normally. At this time, the wireless communication module of the phase collector is in LoRa working mode.

5. The high-precision wireless phase detection device according to claim 1, characterized in that: The core phase handheld machine sends a negative pulse with a pulse width of ΔTmS as a synchronization signal to the phase collector. The phase collector external event interrupt EXTI3 port receives a falling edge and immediately interrupts and starts measuring the low level time. If the time is ΔTmS, it is considered to be a wireless synchronization signal. The AC signal of one cycle of the power grid is immediately collected through A / D using the DMA method, and the initial phase, frequency, and amplitude are calculated through the FFT method. The wireless communication modules of the core phase handheld machine and the phase collector are switched from the FSK continuous working mode to the LoRa working mode. The core phase handheld machine receives the information uploaded by the X and Y phase collectors respectively, calculates the phase difference between the two, and displays it on the display.

6. A high-precision wireless core phase synchronization method, characterized in that: It is realized through a core phase handheld machine and two phase collectors. It only needs to set a wireless communication module in the core phase handheld machine and the phase collector respectively to realize the synchronization and data exchange between the core phase handheld machine and the phase collector. The specific implementation method is as follows: The core phase handheld game console has a built-in wireless communication module, which is controlled by the ARM main chip. The digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the ARM main chip; the two phase collectors have built-in wireless communication modules respectively, and the digital input and output port DIO2 of the wireless communication module is connected to the external event interrupt port EXTI3 of the phase collector ARM main chip; After the core phase handheld machine and the phase collector start working, the wireless communication modules of the core phase handheld machine and the phase collector are in the LoRa working mode, the core phase handheld machine sends a synchronization message to the phase collector, the phase collector receives the synchronization message, and the wireless communication modules of the core phase handheld machine and the phase collector are switched to the FSK continuous working mode and are in the FSK continuous receiving state; in the FSK continuous working mode, the phase collector receives the external event interrupt synchronization signal sent by the core phase handheld machine, and the A / D peripheral of the ARM main chip of the phase collector is set up to perform DMA data acquisition; at the same time, the wireless communication modules of the core phase handheld machine and the phase collector are switched from the FSK continuous working mode to the LoRa working mode, and the phase collector sends the calculation results to the core phase handheld machine in the LoRa communication mode.

7. The high-precision wireless core phase synchronization method according to claim 6, characterized in that: The process of the core phase handheld machine sending an interrupt synchronization signal is as follows: the core phase handheld machine sends a falling edge signal of a negative pulse through the DIO2 port of the wireless communication module, and at the same time, the DIO2 ports of the two phase collectors receive the falling edge signal sent by the core phase handheld machine, and transmit the received signal to the EXTI3 port of the phase collector ARM main chip for interrupt processing; the A / D peripheral of the phase collector ARM main chip is set up to perform DMA data acquisition, and the wireless communication modules of the core phase handheld machine and the phase collector enter the LoRa working mode from the FSK continuous working mode, and the phase collector sends the calculation result to the core phase handheld machine in the LoRa communication mode.

8. The high-precision wireless core phase synchronization method according to claim 6, characterized in that: The core phase handheld game console continuously sends a negative pulse synchronization signal with a pulse width of ΔTmS through the DIO2 port of the wireless communication module. At the same time, the DIO2 ports of the two phase collectors simultaneously receive the negative pulse synchronization signal with a time of ΔTmS, and transmit the received signal to the EXTI3 port of the ARM main chip for interrupt processing. The two phase collectors perform DMA data acquisition, and the wireless communication modules of the two phase collectors enter the LoRa working mode. The wireless communication module of the core phase handheld game console enters the LoRa working mode and waits for the phase collector to send initial phase data; the phase collector uses the FFT method to calculate the initial phase value of the signal, and the wireless communication module of the phase collector is in the LoRa sending mode, sending the initial phase and amplitude to the core phase handheld game console. After receiving the signal, the core phase handheld game console calculates the phase difference between the two phase collectors.