WO2023023912A1 - 一种节点间测距的方法及装置 - Google Patents

一种节点间测距的方法及装置 Download PDF

Info

Publication number
WO2023023912A1
WO2023023912A1 PCT/CN2021/114151 CN2021114151W WO2023023912A1 WO 2023023912 A1 WO2023023912 A1 WO 2023023912A1 CN 2021114151 W CN2021114151 W CN 2021114151W WO 2023023912 A1 WO2023023912 A1 WO 2023023912A1
Authority
WO
WIPO (PCT)
Prior art keywords
sequence
node
sequences
delay
phase difference
Prior art date
Application number
PCT/CN2021/114151
Other languages
English (en)
French (fr)
Inventor
胡宇鹏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/114151 priority Critical patent/WO2023023912A1/zh
Priority to CN202180100848.XA priority patent/CN117836662A/zh
Priority to EP21954464.0A priority patent/EP4365628A1/en
Publication of WO2023023912A1 publication Critical patent/WO2023023912A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Definitions

  • the embodiments of the present application relate to the field of chip technology, and in particular, to a method and device for ranging between nodes.
  • Power line carrier communication technology referred to as power line communication (Power Line Communication, PLC) technology
  • PLC Power Line Communication
  • the power line communication technology converts information into a high-frequency signal on the sending side node and modulates it on the current in the power line, and demodulates the signal at the receiving side node to obtain the information transmitted by the sending side node, and transmits the information to the computer for further processing. processing to enable the transfer of information.
  • the power line communication technology can be used to measure the distance between any two nodes installed with the power line communication module, and the topology map of the distribution network can be automatically identified through the measured distance.
  • a communication frequency band of 0.7 MHz-3 MHz may be used to transmit communication frames between two power line communication modules for distance measurement.
  • the communication frame adopts Orthogonal Frequency Division Multiplexing (OFDM) signal, and the peak-to-average ratio (Peak-to-Average Ratio, PAR) is large, so the transmission power of the communication frame in the linear range of the power amplifier is small , the communication efficiency is poor, and some communication frames may fail to be received or received incorrectly.
  • OFDM Orthogonal Frequency Division Multiplexing
  • the embodiments of the present application provide a method and device for inter-node distance measurement, which can use sequences to perform communication when performing inter-node distance measurement, thereby improving communication efficiency.
  • the embodiment of the present application provides a method for ranging between nodes, the method includes: the first node sends a plurality of first sequences to the second node, wherein the sequences are circulated by the transmitter (sequence generator) Generate a series of periodic signals.
  • the first node receives multiple second time-delay sequences from the second node, the first node determines first phase differences between the multiple first sequences and the multiple second time-delay sequences, and the first node determines the first phase difference according to the first phase difference The distance between a node and a second node.
  • the present application enables the first node to determine the distance between the first node and the second node according to the phase difference between the transmitted sequence and the sequence received by the first node through the transmission sequence.
  • the peak-to-average ratio of the communication frames is large, resulting in low power transmitted within the linear range of the power amplifier, and poor communication efficiency, and due to the low peak-to-average ratio of the sequence, in The power transmitted in the linear range of the same power amplifier is large, so the communication efficiency can be improved, the distance measurement accuracy is higher, the distance measurement error is smaller, and the structure of the distance measurement equipment is simplified.
  • the multiple second delayed sequences are multiple sequences of the multiple second sequences sent by the second node after channel delay.
  • the second sequence is obtained by shifting the local first sequence by the second node according to the first delay sequence
  • the first delay sequence is the sequence received by the second node
  • the local first sequence For the sequence generated by the second node, the local first sequence is identical to the first sequence. Therefore, since the first delay sequence received by the second node is a sequence after channel delay, sequence distortion occurs, so the second node cannot directly send the received first delay sequence to the first node, The local first sequence needs to be shifted according to the first time-delay sequence.
  • the second sequence obtained after the second node is shifted is a sequence aligned (synchronized) with the first delay sequence, that is, the second sequence can be expressed as a sequence after the first sequence has undergone a channel delay, so the second node sends the first sequence
  • the second sequence can make the second delayed sequence received by the first node be expressed as the sequence after the first sequence has undergone two channel delays, so that the first node can obtain the first sequence based on the second delayed sequence and the first sequence.
  • the phase difference can accurately determine the round-trip distance between the first node and the second node, and then accurately determine the distance between the first node and the second node, reducing the distance measurement error.
  • the method further includes: the first node receives the residual phase difference sent by the second node, and the first node receives the residual phase difference according to the first phase difference
  • Determining the distance between the first node and the second node specifically includes: the first node determining the distance between the first node and the second node according to the first phase difference and the residual phase difference. Therefore, when the second node shifts the local first sequence according to the first time-delay sequence, the obtained second sequence often cannot be completely aligned with the first time-delay sequence, and the second sequence will be different from the first time-delay sequence.
  • the second node sends the unaligned residual phase difference to the first node, so that the first node can determine the first node and the second node according to the first phase difference and the residual phase difference.
  • the distance between nodes makes the distance measurement more accurate and reduces the distance measurement error.
  • the second sequence is a local first sequence or a sequence obtained according to the local first sequence
  • the local first sequence is a sequence generated by the second node
  • the local first sequence is the same as the first sequence. Therefore, because the first delayed sequence received by the second node is a sequence after channel delay, sequence distortion occurs, so the second node cannot directly send the received first delayed sequence to the first node.
  • the second node can use the local first sequence generated by the second node as the second sequence sent to the first node. Since the local first sequence is the same as the first sequence, the second delayed sequence received by the first node is expressed as The local first sequence (first sequence) is a sequence after a channel delay.
  • the method further includes: the first node receives the third phase difference sent by the second node, the third phase difference is the phase difference between the local first sequence and the first delay sequence, and the first The delay sequence is the sequence received by the second node, and the first node determines the distance between the first node and the second node according to the first phase difference includes: the first node determines the first node according to the first phase difference and the third phase difference The distance between the node and the second node.
  • the second node when the second node sends the local first sequence generated by the second node as the second sequence to the first node, it will also send the determined third phase difference between the first sequence and the first delayed sequence to to the first node, so that the first node can determine the The distance between the first node and the second node, so as to make the distance measurement more accurate and reduce the distance measurement error.
  • the first node determining the first phase differences between the multiple first sequences and the multiple second delay sequences includes: the first node transmits the multiple first sequences in the order of sending the multiple first sequences The sequences are spliced into the first long sequence, and the multiple second time-delay sequences are spliced into the second long sequence according to the order in which the multiple second time-delay sequences are received, and the multiple second long sequences are obtained according to the first long sequence and the second long sequence.
  • the first node determining the first phase differences between the multiple first sequences and the multiple second delay sequences includes: the first node according to the Nth phase difference among the multiple first sequences sent by the first node first sequence, and the Nth second delay sequence in multiple second delay sequences received, to obtain the first phase difference between multiple first sequences and multiple second delay sequences, N is greater than or An integer equal to 1.
  • the method further includes: the first node sends multiple third sequences to the second node, and the multiple third sequences are used to indicate After receiving the multiple third delay sequences, the second node sends the sequences to the first node, where the multiple third delay sequences are multiple sequences after channel delay of the multiple third sequences sent by the first node.
  • the first node can make the second node ready to send the sequence to the first node when receiving the third sequence, thereby reducing the ranging time.
  • the method before the first node sends multiple first sequences to the second node, the method further includes: the first node sends sequence information of the first sequence to the second node, and the sequence information of the first sequence is used A first sequence is generated at the first node or the second node. Therefore, by sending the sequence information of the first sequence to the second node, the first node can ensure that the first node and the second node generate the same first sequence, thereby ensuring the accuracy of ranging.
  • the method before the first node receives multiple second time-delayed sequences, the method further includes: the first node sends a sequence correspondence to the second node, and the sequence correspondence is used by the second node according to the sequence The correspondence of determines the sequence with the same sequence structure as the second sequence.
  • the first node can make the first node and the second node perform sequence conversion according to the same sequence correspondence, so that the first node and the second node can know each other
  • the sequence sent by the other node ensures the accuracy of ranging.
  • the first node determining the first phase difference between the plurality of first sequences and the plurality of second time-delay sequences further includes: the first node converts the plurality of first sequences into and For multiple first conversion sequences with the same sequence structure of the second sequence, the first node obtains the first phase difference according to the multiple first conversion sequences and the multiple second delay sequences.
  • the first sequence and the second delay sequence are any one of the following sequences: binary pseudorandom noise sequence, multiphase pseudorandom noise sequence, Frank Frank sequence or Zadoff-Chu sequence. Therefore, the sequence of the present application has good autocorrelation, so that the first node or the second node can accurately determine whether the sequence is the sequence to be received according to the sequence after the channel delay, thereby improving the correct reception of the sequence The rate can make the distance measurement more accurate.
  • the embodiment of the present application provides a method for distance measurement between nodes.
  • the method includes: the second node receives multiple first delay sequences from the first node, the multiple first delay sequences are multiple sequences after channel delay of the multiple first sequences sent by the first node, the first The two nodes send multiple second sequences to the first node, and the multiple second sequences are used by the first node to determine the distance between the first node and the second node.
  • the sequence is a series of periodic signals cyclically generated by the transmitter (sequence generator).
  • the present application can enable the second node to send multiple second sequences to the first node through the transmission sequence, and then the first node can determine the first sequence according to the phase difference between the sequence received and the sequence sent by the first node.
  • the distance between the node and the second node Compared with the prior art that uses communication frames for ranging, the peak-to-average ratio of the communication frames is large, resulting in low power transmitted within the linear range of the power amplifier, and poor communication efficiency, and due to the low peak-to-average ratio of the sequence, in The power transmitted in the linear range of the power amplifier is large, so the communication efficiency can be improved, the distance measurement accuracy is higher, the distance measurement error is smaller, and the structure of the distance measurement equipment is simplified.
  • the method further includes: the second node shifts the local first sequence according to the first delay sequence to obtain the second sequence, wherein , the local first sequence is the sequence generated by the second node, and the local first sequence is the same as the first sequence. Therefore, since the first delay sequence received by the second node is a sequence after channel delay, sequence distortion occurs, so the second node cannot directly send the received first delay sequence to the first node, The local first sequence needs to be shifted according to the first time-delay sequence.
  • the second sequence obtained after the second node is shifted is a sequence aligned (synchronized) with the first delay sequence, that is, the second sequence can be expressed as a sequence after the first sequence has undergone a channel delay, so the second node sends the first sequence
  • the second sequence can make the second delayed sequence received by the first node be expressed as the sequence after the first sequence has undergone two channel delays, so that the first node can obtain the first sequence based on the second delayed sequence and the first sequence.
  • the phase difference accurately determines the round-trip distance between the first node and the second node, and then accurately determines the distance between the first node and the second node, reducing the ranging error
  • the method further includes: the second node sends the residual phase difference to the first node, and the residual phase difference and the second sequence are used A distance between the first node and the second node is determined at the first node. Therefore, when the second node shifts the local first sequence according to the first time-delay sequence, the obtained second sequence often cannot be completely aligned with the first time-delay sequence, and the second sequence will be different from the first time-delay sequence.
  • the second node sends the unaligned residual phase difference to the first node, so that the first node can determine the first node and the second node according to the first phase difference and the residual phase difference.
  • the distance between nodes makes the distance measurement more accurate and reduces the distance measurement error.
  • the second sequence is the local first sequence or a sequence obtained according to the local first sequence
  • the local first sequence is the sequence generated by the second node
  • the local first sequence is the same as the first sequence
  • the method It also includes: the second node sends the third phase difference between the local first sequence and the first delay sequence to the first node, and the third phase difference and the second sequence are used by the first node to determine the first node and the second distance between nodes. Therefore, because the first delayed sequence received by the second node is a sequence after channel delay, sequence distortion occurs, so the second node cannot directly send the received first delayed sequence to the first node.
  • the second node may use the local first sequence generated by the second node as the second sequence sent to the first node, and also send the determined third phase difference between the first sequence and the first delayed sequence to the first node, since the local first sequence is the same as the first sequence, the second delayed sequence received by the first node is expressed as a sequence after the local first sequence (first sequence) has undergone a channel delay, so that the first node can According to the received first phase difference between the second delayed sequence and the first sequence and the third phase difference between the first sequence and the first delayed sequence, determine the distance between the first node and the second node distance, so that the distance measurement is more accurate and the error of distance measurement is reduced.
  • the method further includes: the second node receives multiple third delay sequences, and the multiple third delay sequences are used by the second node After receiving the plurality of third delayed sequences, the sequences are sent to the first node, where the plurality of third delayed sequences are sequences after channel delay of the plurality of third sequences sent by the first node. thus.
  • the second node can make the second node prepare to send the sequence to the first node when receiving the third sequence, thereby reducing the ranging time.
  • the method before the second node receives multiple first delay sequences, the method further includes: the second node receives the sequence information of the first sequence sent by the first node, and the sequence information of the first sequence is used for Either the first node or the second node generates the first sequence. thus.
  • the second node can ensure that the first node and the second node generate the same first sequence, thereby ensuring the accuracy of ranging.
  • the method before the second node sends multiple second sequences to the first node, the method further includes: the second node receives the correspondence of the sequences sent by the first node, and the second node Determine the second sequence. thus.
  • the second node can make the first node and the second node perform sequence conversion according to the corresponding relationship of the same sequence, so that the first node and the second node can know each other that the other node sends sequence to ensure the accuracy of ranging.
  • the first sequence, the second sequence, the third sequence, the first delay sequence and the third delay sequence are any of the following sequences: binary pseudo-random noise sequence, multi-phase pseudo-random Noise sequence, Frank sequence or Zadoff-Chu sequence.
  • the sequence of the present application has good autocorrelation, so that the first node or the second node can accurately determine whether the sequence is a sequence to be received according to the sequence after channel delay, thereby improving the correct reception rate of the sequence, and being able to Make the distance measurement more accurate.
  • the embodiment of the present application provides an electronic device.
  • the electronic device includes: a transmitter for sending a plurality of first sequences to a second node, a receiver for receiving a plurality of second time-delayed sequences from the second node, and a receiver for determining a plurality of first sequences A sequence of first phase differences and a plurality of second time-delay sequences, the processor is used to determine the distance between the first node and the second node according to the first phase differences.
  • the beneficial effects achieved in the third aspect please refer to the beneficial effects in the first aspect.
  • the multiple second delayed sequences are multiple sequences of the multiple second sequences sent by the second node after channel delay.
  • the second sequence is obtained by shifting the local first sequence by the second node according to the first delay sequence
  • the first delay sequence is the sequence received by the second node
  • the local first sequence For the sequence generated by the second node, the local first sequence is identical to the first sequence.
  • the electronic device further includes: a communication interface, configured to receive the residual phase difference sent by the second node, and a processor, further using The method is to determine the distance between the first node and the second node according to the first phase difference and the residual phase difference.
  • the second sequence is a local first sequence or a sequence obtained according to the local first sequence
  • the local first sequence is a sequence generated by the second node
  • the local first sequence is the same as the first sequence
  • the communication interface is also used to receive the third phase difference sent by the second node, the third phase difference is the phase difference between the local first sequence and the first delayed sequence, and the first delayed
  • the sequence is a sequence received by the second node, and the processor is further configured to determine the distance between the first node and the second node according to the first phase difference and the third phase difference.
  • the receiver is further configured to: according to the order of sending the multiple first sequences, splice the multiple first sequences into a first long sequence, and according to the sequence of receiving the multiple second delayed sequences, combine The multiple second time-delay sequences are concatenated into the second long sequence, and the first phase differences between the multiple first sequences and the multiple second time-delay sequences are obtained according to the first long sequence and the second long sequence.
  • the receiver is further configured to: according to the Nth first sequence among the multiple first sequences sent by the transmitter, and the Nth second sequence among the multiple second delay sequences received
  • the delay sequence is to obtain first phase differences between multiple first sequences and multiple second delay sequences, where N is an integer greater than or equal to 1.
  • the sender is further configured to: send multiple third sequences to the second node, and the multiple third sequences are used to instruct the second node to send the first
  • the node sends a sequence
  • the multiple third delayed sequences are multiple sequences after the multiple third sequences sent by the transmitter are delayed by a channel.
  • the communication interface is further configured to: send sequence information of the first sequence to the second node, and the sequence information of the first sequence is used by the first node or the second node to generate the first sequence.
  • the communication interface is further configured to: send the sequence correspondence to the second node, and the sequence correspondence is used by the second node to determine a sequence having the same sequence structure as the second sequence according to the sequence correspondence.
  • the receiver is further configured to convert multiple first sequences into multiple first conversion sequences having the same sequence structure as the second sequence according to the sequence correspondence, and the receiver is further configured to convert multiple first sequences according to the sequence structure of the second sequence.
  • a plurality of first conversion sequences and a plurality of second delay sequences to obtain a first phase difference.
  • the first sequence and the second time-delay sequence are any one of the following sequences: binary pseudo-random noise sequence, multi-phase pseudo-random noise sequence, Frank sequence or Zadoff-Chu sequence.
  • the embodiment of the present application provides an electronic device.
  • the electronic device includes: a receiver, configured to receive multiple first delay sequences from the first node, where the multiple first delay sequences are multiple first sequences sent by the first node after channel delay
  • the sequence, the sender is used to send multiple second sequences to the first node, and the multiple second sequences are used by the first node to determine the distance between the first node and the second node.
  • the beneficial effects achieved in the fourth aspect can be referred to the beneficial effects in the second aspect.
  • the transmitter is further configured to shift the local first sequence according to the first delay sequence to obtain the second sequence, where the local first sequence is a sequence generated by the second node, and the local first sequence A sequence is identical to the first sequence.
  • the electronic device further includes: a communication interface, configured to send the residual phase difference to the first node, the residual phase difference and the first delay sequence
  • the second sequence is used by the first node to determine the distance between the first node and the second node.
  • the second sequence is the local first sequence or a sequence obtained according to the local first sequence
  • the local first sequence is a sequence generated by the second node
  • the local first sequence is the same as the first sequence
  • the communication interface Also used for: sending the third phase difference between the local first sequence and the first delay sequence to the first node, the third phase difference and the second sequence are used by the first node to determine the difference between the first node and the second node distance between.
  • the receiver is further configured to: receive multiple third delay sequences, and the multiple third delay sequences are used for sending the first node to the first node after the second node receives the multiple third delay sequences
  • the sending sequence, the plurality of third delayed sequences are the plurality of sequences of the plurality of third sequences sent by the first node after channel delay.
  • the communication interface is further configured to: receive the sequence information of the first sequence sent by the first node, and the sequence information of the first sequence is used by the first node or the second node to generate the first sequence.
  • the communication interface is further configured to receive the correspondence relationship of the sequences sent by the first node; the transmitter is further configured to determine the second sequence according to the correspondence relationship of the sequences.
  • the first sequence, the second sequence, the third sequence, the first delay sequence and the third delay sequence are any of the following sequences: binary pseudo-random noise sequence, multi-phase pseudo-random Noise sequence, Frank sequence or Zadoff-Chu sequence.
  • an embodiment of the present application provides an electronic device, the electronic device is the electronic device in the third aspect and the fourth aspect above, and the electronic device includes one or more communication interfaces and one or more processors, The communication interface and the processor are interconnected through wires, and the processor receives and executes computer instructions from the memory of the electronic device through the communication interface.
  • a computer-readable storage medium includes computer instructions, and when the computer instructions are run on the computer or the processor, the computer or the processor executes any possible design of the above-mentioned first aspect and the first aspect method or the above second aspect and any possible design method in the second aspect.
  • a computer program product includes computer instructions, and when the computer instructions are run on the computer or the processor, the computer or the processor executes any one of the first aspect and the first aspect.
  • FIG. 1 is a schematic flow chart of power line communication ranging in the prior art
  • FIG. 2A is a schematic diagram of an application scenario of a method for inter-node ranging provided in an embodiment of the present application
  • FIG. 2B is a schematic diagram of an application scenario of a method for inter-node ranging provided in an embodiment of the present application
  • FIG. 3 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for ranging between nodes provided in an embodiment of the present application
  • Fig. 5 is a schematic diagram of a sequence structure provided by the embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for measuring distance between nodes provided in an embodiment of the present application.
  • Fig. 7 is a schematic diagram of a sequence structure provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of a sequence shifting process provided by an embodiment of the present application.
  • FIG. 9A is a schematic flowchart of a transmission sequence provided by the embodiment of the present application.
  • FIG. 9B is a schematic flowchart of a transmission sequence provided by the embodiment of the present application.
  • FIG. 9C is a schematic flowchart of a transmission sequence provided by the embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a method for ranging between nodes provided in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the structure and composition of an electronic device provided by an embodiment of the present application.
  • Network Time Basement (Network Time Basement, NTB): During carrier communication, all devices in the network must be synchronized to a common clock, which is the network time base. For example, in power line carrier communication, adopting NTB synchronization (based on NTB) can make the clock frequencies of all nodes close to each other and keep time in sync.
  • Phase-locked loop Phase Locked Loop: A phase-locked loop, which uses an external input reference signal to control the frequency and phase of the internal oscillation signal of the loop, and realizes automatic tracking of the output signal frequency to the input signal frequency.
  • Sequence A series of periodic signals cyclically generated by a sequencer.
  • the sequence may be a pseudorandom noise sequence, such as a binary pseudorandom noise sequence, a multiphase pseudorandom noise sequence, a complex number sequence, a Frank sequence or a Zadoff-Chu sequence, etc., with The sequence with good autocorrelation is not limited in this application.
  • Peak-to-Average Ratio It is a measurement parameter of the waveform, which is equal to a ratio obtained by dividing the amplitude of the waveform by the effective value (RMS).
  • RMS effective value
  • Sequence correlation analysis Input two sequences into the correlation program, and determine whether there is a certain correlation between the two sequences by checking whether there is a correlation peak in the obtained waveform diagram, which is equivalent to judging two Whether there is cross-correlation between sequences, that is, whether another sequence can be obtained according to one sequence.
  • the two sequences are sequence 1 and sequence 2, and sequence 2 is obtained by shifting (phase change) of sequence 1, so sequence 2 can be obtained according to sequence 1, that is, there is a cross-correlation between sequence 1 and sequence 2, and the There is a correlation peak after sequence 1 and sequence 2 are correlated. And, according to the position of the correlation peak in the waveform diagram, the phase difference between the two sequences can be determined.
  • the sequence obtained after shifting has cross-correlation with the sequence before shifting.
  • Sequence alignment two sequences are exactly the same, that is, sequence alignment, also known as sequence synchronization. For example, there is a phase difference between sequence 1 and sequence 2, and by shifting sequence 1 to eliminate the phase difference between sequence 1 and sequence 2, sequence 1 and sequence 2 can be aligned to make sequence 1 and sequence 2 synchronized.
  • C1 is a sample point, that is, sample point C1
  • C2 is a sample point, that is, sample point C2
  • C3 is a sample point, that is, sample point C3,
  • C4 is a sample point, That is, sample points C4 and C5 are one sample point, that is, sample point C5.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • plural means two or more. “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
  • the power line node includes a time stamp generator inside, usually using a temperature compensated crystal oscillator (Temperature Compensate X'tal (crystal) Oscillator, TCXO) to generate a clock frequency of 25MHz and send it to the phase-locked loop, through the phase-locked loop Send to the timestamp generator after phase locking, so that the timestamp generator stamps the timestamp on the communication frame from the MAC layer between the medium access control layer (Medium Access Control, MAC) and the physical layer (Physical Layer, PHY), Get the time-stamped communication frame to be sent.
  • a temperature compensated crystal oscillator Temporture Compensate X'tal (crystal) Oscillator, TCXO
  • the first power line node uses the timestamp generator to mark the communication frame with a basement time stamp (BTS) based on the NTB reference at T1, which is recorded as BTStx1, and sends out the communication after being modulated by the PHY layer frame.
  • BTS basement time stamp
  • the second power line node receives the communication frame, reads the local NTB time at T2 after being demodulated by the PHY layer, and records it as NTBrx2.
  • the second power line node uses the timestamp generator to stamp the reference time stamp on the communication frame that responds to the NTB reference, which is denoted as
  • the first power line node receives the corresponding communication frame, reads the local NTB time at T4 after demodulation by the PHY layer, and records it as NTBrx1.
  • the communication frame usually uses an Orthogonal Frequency Division Multiplexing (OFDM) signal, which has a large peak-to-average ratio, and the power transmitted within the linear range of the power amplifier is small, and some communication frames may fail to be received or In the case of receiving errors, the communication efficiency is poor, that is, the accuracy of distance measurement using communication frames is low and the error is large.
  • OFDM Orthogonal Frequency Division Multiplexing
  • the present application proposes a method for ranging between nodes, which can be applied to electronic devices, for example, integrated in chips.
  • this application determines the sequence sent by the node and the sequence through the transmission sequence when performing ranging between nodes.
  • the phase difference between the sequences received by the nodes is used for ranging. Since the peak-to-average ratio of the sequence adopted in the embodiment of the present application is low, the power transmitted in the linear range of the power amplifier is large, so the communication efficiency can be improved, thereby improving the accuracy of distance measurement, and simplifying the structure of distance measurement equipment.
  • the embodiment of the present application can be applied to the scene of distance measurement between nodes, for example, it can be applied to the scene of distance measurement between power line nodes, as shown in Figure 2A, the scene includes a power distribution room, and the power distribution room is connected to A plurality of distribution boxes, and a plurality of meter boxes connected to each distribution box through power lines, a plurality of switches are included in the power distribution room and the distribution box, each meter box includes a switch, and each switch is installed with Power line nodes, power line nodes can be used for power line communication, and power line distance measurement can be performed through mutual communication between two power line nodes.
  • the measured power line distance can be understood as the length of the power line between two power line nodes.
  • the switch to which the power line node belongs belongs to a power distribution room, a distribution box or a meter box. For example, if the distance between two power line nodes is within 5 meters, it can be regarded that the switches to which the two power line nodes belong belong to the switches inside the same power distribution room. In this way, on the basis of determining the length of the power line between the switches through ranging, the line loss of the power line can be determined according to the length of the power line.
  • the embodiments of the present application may also be applied to inter-node ranging in other scenarios, which is not limited in this application.
  • it can be applied to the scenario of wireless communication ranging between two nodes, as shown in Figure 2B, assuming that the scenario includes the first node and the second node, the first node and the second node can send a sequence, or Send the sequence and phase difference to measure the distance between nodes, and the measured distance is the straight-line distance between two nodes.
  • FIG. 3 shows a schematic diagram of the hardware structure of an electronic device.
  • the electronic device may include the node in the embodiment of the present application, that is, a chip.
  • the chip 300 sample chips.
  • the chip 300 may include a processor 301, a memory 302, a communication interface 303, and the like.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the chip 300 .
  • the chip 300 may include more or fewer components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • Processor 301 may include one or more processing units.
  • the processor 301 may include a graphics processing unit (graphics processing unit, GPU), a central processing unit (central processing unit, CPU), and/or a neural network processor (neural network processing unit, NPU), etc.
  • graphics processing unit graphics processing unit
  • CPU central processing unit
  • NPU neural network processing unit
  • different processing units may be independent components, or may be integrated in one or more processors.
  • the chip 300 may also include one or more processors 301, and the processor 301 may include a transmitter, a receiver, etc., for example, the transmitter may be a sequence generator, and the receiver may be, for example, a phase acquirer.
  • the transmitter can be used to generate sequences and transmit sequences.
  • the transmitter may be configured to periodically generate a corresponding number of sequences according to the sequence information stored in the memory 302, and send the generated sequences.
  • a receiver can be used to receive a sequence sent by an external device (node) and determine the phase difference between two sequences.
  • the receiver phase capturer
  • the receiver phase capturer
  • the receiver phase capturer
  • the receiver can be used to receive the sequence, and perform sequence correlation analysis on the sequence generated by the transmitter (sequence generator) and the sequence received by the receiver (phase capturer). Correlation), and then judge the correlation between the two sequences, and get the phase difference between the two sequences at the same time.
  • the processor 301 can also be used to determine the distance according to the phase difference.
  • the processor 301 may be configured to determine a distance between two nodes according to one or more phase differences.
  • the processor 301 can be understood as the nerve center and command center of the chip 300 .
  • the operation control signal can be generated according to the instruction opcode and timing signal, and the control of fetching and executing instructions can be completed.
  • Memory 302 may be used to store one or more computer programs comprising instructions.
  • the processor 301 may execute the above-mentioned instructions stored in the memory 302, so that the chip 300 executes the method and data storage provided in the embodiment of the present application.
  • Memory 202 may include code storage and data storage. Wherein, the data storage area can store data created during the use of the chip 300 and the like.
  • the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (universal flash storage, UFS) and the like.
  • the memory 302 may be used to store sequence information of sequences, corresponding relationships of sequences, and the like.
  • the communication interface 303 may be used to communicate with external devices, and may be one or more devices integrating at least one communication processing module. In the embodiment of the present application, the communication interface 303 may communicate with communication interfaces of other nodes.
  • an embodiment of the present application provides a method for inter-node ranging.
  • the electronic device includes a first node and a second node, and the first node and the second node include the chip structure shown in FIG. 3 as
  • the method includes:
  • Step 400 the first node sends multiple first sequences to the second node.
  • the first node may periodically generate the first sequence, and periodically send the first sequence to the second node in the order in which the first sequence is generated.
  • the transmitter of the first node may periodically and cyclically generate the first sequence according to the sequence information of the first sequence, and periodically send the first sequence to the second node according to the order in which the first sequence is generated.
  • the cycle length of the sequence represents the number of samples in the sequence
  • the cycle number of the sequence represents the number of sequences.
  • the cycle length of the sequence is m
  • the first sequence is [C1 C2 C3 C4 C5 C6 C7]
  • the first node according to the cycle of the first sequence Circularly send 4 [C1 C2 C3 C4 C5 C6 C7] to the second node, that is, the format of the first node sending multiple first sequences is [C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7].
  • Step 401 the first node receives multiple second time delay sequences from the second node.
  • the multiple second delayed sequences are multiple sequences after the multiple sequences sent by the second node to the first node are delayed by a channel.
  • the receiver of the first node may receive multiple second time delay sequences from the second node.
  • [C2 C3 C4 C5 C6 C7] can be understood as [[C1 C2 C3 C4 C5 C6 C7] obtained after two phase changes, that is, [C2 C3 C4 C5 C6 C7 C1] is [[C1 C2 C3 C4 C5 C6 C7] obtained after channel delay in the round-trip transmission between the first node and the second node.
  • Step 402 the first node determines first phase differences between multiple first sequences and multiple second time-delayed sequences.
  • the first node correlates the plurality of first sequences sent to the second node with the plurality of second time-delay sequences received to obtain the first phases of the plurality of first sequences and the plurality of second time-delay sequences Difference.
  • the receiver of the first node may determine the first phase differences between the multiple first sequences and the multiple second delayed sequences.
  • the first node correlates multiple first sequences and multiple second time-delayed sequences to obtain waveform diagrams, and determines multiple first sequences and multiple second time-delayed sequences through the positions of correlation peaks in the waveform diagrams the first phase difference.
  • Step 403 the first node determines the distance between the first node and the second node according to the first phase difference.
  • the first phase difference between the plurality of first sequences and the plurality of second time-delayed sequences is a phase difference used to determine the round-trip distance between the first node and the second node.
  • the first node can determine the distance between the first node and the second node according to the first phase difference.
  • the processor of the first node may determine the distance between the first node and the second node according to the first phase difference.
  • the method for inter-node ranging provided by the embodiment of the present application can be applied to electronic devices, such as chips.
  • the distance between the sequence sent by the node and the sequence received by the node is determined by the transmission sequence.
  • the phase difference to determine the distance between nodes. Because the peak-to-average ratio of the sequence is low, the power transmitted in the linear range of the power amplifier is large, so the communication efficiency can be improved, the distance measurement accuracy is higher, the distance measurement error is smaller, and the structure of the distance measurement equipment is simplified.
  • the embodiment of the present application provides a method for ranging between nodes, the method may specifically include:
  • Step 600 the first node sends sequence information of the first sequence to the second node.
  • the first node and the second node may be power line nodes.
  • the sequence information of the first sequence is used by the first node or the second node to generate the first sequence.
  • the sequence information of the first sequence may include sequence parameters for determining the first sequence. For example, if the first sequence is a pseudo-random noise sequence, the sequence information of the first sequence includes the order, period and feedback coefficient of the first sequence.
  • the first node or the second node may generate the first sequence according to the series, period and feedback coefficient of the first sequence.
  • the first sequence may be a pseudorandom noise sequence, such as a binary pseudorandom noise sequence, a multiphase pseudorandom noise sequence, a sequence of complex numbers, a Frank sequence, or a Zadoff-Chu sequence.
  • the first node may send the sequence information of the first sequence to the second node through the communication interface.
  • the first node sends the sequence information of the first sequence to the second node
  • the second node receives the sequence information of the first sequence sent by the first node. Therefore, the first node and the second node can generate the same first sequence according to the sequence information of the first sequence.
  • Step 601 the first node sends multiple first sequences to the second node.
  • step 601 For details of step 601, refer to the description of step 400 above, which will not be repeated here.
  • step 601 there are also following step 601:
  • Step 601a the first node sends multiple third sequences to the second node.
  • the multiple third sequences are used to instruct the second node to send the sequence to the first node after receiving the multiple third delay sequences.
  • the multiple third delayed sequences are multiple sequences after channel delay of the multiple third sequences sent by the first node. It can be understood that the first node first sends multiple first sequences, and then sends multiple third sequences. Receipt of the third delayed sequence by the second node indicates that the first node finishes sending the first sequence, and after the first node finishes sending the third sequence, the second node can send the sequence to the first node. In this way, it can be ensured that the second node sends the sequence to the first node immediately after the first node stops sending the sequence, thereby shortening the time required for ranging. Specifically, the sender of the first node may send multiple third sequences to the second node.
  • the third sequence may be a sequence obtained by inverting the first sequence, or a sequence obtained by synthesizing the first sequence and another sequence, or a sequence having a different sequence structure from the first sequence, etc., which are not limited in this application .
  • the cross-correlation between two sequences can be understood as there is a correlation relationship between the two sequences, and another sequence can be obtained according to one sequence. Therefore, the lack of cross-correlation between two sequences can be understood as there is no correlation between the two sequences, and the other sequence cannot be obtained from one sequence, so there is no correlation peak after the two sequences are correlated.
  • the first node may send the sequence information of the third sequence to the second node, so that both the first node and the second node can generate the same sequence information according to the sequence information of the third sequence.
  • third sequence the first node may send the sequence information of the third sequence to the second node through the communication interface.
  • Step 602 the second node receives multiple first delay sequences from the first node.
  • the multiple first delayed sequences are multiple sequences after channel delay of the multiple first sequences sent by the first node.
  • the first sequence sent by the first node will experience channel delay in the power line transmission process during transmission to the second node, and the channel delay will cause the phase of the first sequence to change. After the phase changes The first sequence of is called the first delay sequence. Therefore, what the first node sends to the second node is the first sequence, but what the second node receives is the first sequence after the phase has been changed, that is, the first delayed sequence.
  • the receiver of the second node may receive multiple first delay sequences from the first node.
  • the first delay sequence can be [C5 C6 C7 C1 C2 C3 C4], which is equivalent to the sequence obtained by shifting the first sequence to the right by 3 bits.
  • the phase of the first delayed sequence is delayed by three beats, that is, the phase difference is 3
  • the format of the second node receiving multiple first delay sequences is [C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4C5 C6 C7 C1 C2 C3 C4].
  • the second node determines that the multiple first delay sequences corresponding to the multiple first sequences are received from the first node. It can be understood that the second node will generate the local first sequence when the first node sends the first sequence (the local first sequence is the same sequence as the first sequence generated by the second node), and correlate the received sequence with the local first sequence, because the first sequence (local first sequence) has good autocorrelation Therefore, by judging whether there is a correlation peak after the searched sequence is correlated with the local first sequence, it can be judged whether the received sequence is the first delayed sequence after the channel delay of the first sequence.
  • step 602 there are also following step 602:
  • Step 602a the second node receives multiple third time delay sequences.
  • the plurality of third delay sequences are used for the second node to start sending sequences to the first node after receiving the plurality of third delay sequences, and the plurality of third delay sequences are the plurality of third delay sequences sent by the first node.
  • the second node receiving the third delay sequence indicates that the first node has finished sending the first sequence. After the first node finishes sending the third sequence, that is, after the second node has received multiple third delay sequences, the second The node can then start sending the sequence to the first node.
  • the second node sends the sequence to the first node immediately after the first node stops sending the sequence, thereby shortening the time required for ranging.
  • the phase acquirer of the second node receives multiple third time delay sequences from the first node.
  • the second node after step 602, the second node also has the following two processing methods:
  • Step 602b the second node shifts the local first sequence according to the first delay sequence to obtain the second sequence.
  • the local first sequence is a sequence generated by the second node according to the sequence information of the first sequence, so the local first sequence is the same as the first sequence.
  • the shift of the local first sequence by the second node according to the first time-delay sequence can be understood as the second node aligns (synchronizes) the local first sequence with the first time-delay sequence as much as possible.
  • the specific process is that the second node will generate Correlate the local first sequence with the received first delayed sequence to obtain the phase difference between the local first sequence and the first delayed sequence.
  • the second node tries to eliminate the local first sequence by shifting the local first sequence.
  • the phase difference between the first sequence and the first time-delayed sequence, and the sequence obtained by shifting the local first sequence by the second node is the second sequence.
  • the local first sequence used by the second node for correlation and the first delayed sequence are generated or received by the second node within the same time period.
  • the second node aligns the local first sequence with the first delayed sequence
  • there may be cases of incomplete alignment for example, when the phase difference between the local first sequence and the first delayed sequence has a fraction (for example, the phase difference is 3.5)
  • the second node shifts the local first sequence, it can only shift the phase difference of the integer part (for example, The phase difference of the integer part is 3), while the phase difference of the fractional part cannot be shifted (for example, the phase difference of the fractional part is 0.5). Therefore, there will be a residual phase difference between the second sequence obtained after the second node shifts the local first sequence and the first delayed sequence.
  • the residual phase difference can be 0 or not 0.
  • the second sequence is not aligned with the first time-delayed sequence, there is a residual phase difference between the second sequence and the first time-delayed sequence, and the residual The phase difference can be an integer or a decimal, which is not limited in this application.
  • the residual phase difference is 0, the second sequence is aligned with the first time-delayed sequence, and there is no phase difference between the second sequence and the first time-delayed sequence.
  • the second node receives the first delayed sequence while generating the local first sequence, and correlates the local first sequence with the first delayed sequence.
  • Figure 8 takes the residual phase difference not to be 0 as an example, assuming The local first sequence is [C1 C2 C3 C4 C5 C6 C7], the first delayed sequence is [C5 C6 C7 C1 C2 C3 C4], and the phase difference between the local first sequence and the first delayed sequence obtained by correlation is 3, if the second sequence obtained by the second node after shifting the local first sequence is [C6 C7 C1 C2 C3 C4 C5], which is equivalent to a shift of 2 beats, that is, the difference between the second sequence and the first delay sequence The phase difference between them is 1, and the residual phase difference is not 0.
  • the above shifting process is a process in which the second node aligns the local first sequence with the first time-delayed sequence as much as possible, and the phase difference of 1 between the second sequence and the first time-delayed sequence is the residual phase difference.
  • the second sequence obtained by the second node after shifting the local first sequence is [C5 C6 C7 C1 C2 C3 C4]
  • the second sequence is the same as the first delay sequence
  • the second sequence is the same as the first delay sequence.
  • the phase difference between the sequences is 0, that is, the second sequence is completely aligned with the first time-delayed sequence, and there is no residual phase difference.
  • step 602b When the residual phase difference is not 0, after step 602b:
  • Step 602c the second node sends the residual phase difference to the first node. After step 602c, step 603 is executed.
  • the residual phase difference is used to enable the first node to determine the distance between the first node and the second node according to the second sequence sent by the second node and the residual phase difference, which is equivalent to that in step 605, the first node determines the distance between the first node and the second node according to The distance between the first node and the second node can be determined by the second sequence sent by the second node and the residual phase difference.
  • the second sequence is a sequence that is not completely aligned with the first time-lapse sequence.
  • the second node may send the residual phase difference to the first node through the communication interface.
  • the first node can determine the distance between the first node and the second node according to the second sequence sent by the second node.
  • Step 602d the second node obtains the third phase difference according to the local first sequence and the first delay sequence.
  • the second node correlates the generated local first sequence with the received first delayed sequence, and the obtained phase difference is the third phase difference.
  • the receiver of the second node may obtain the third phase difference according to the local first sequence and the first delay sequence.
  • Step 602e the second node sends the third phase difference between the local first sequence and the first delayed sequence to the first node. After step 602e, step 603 is performed.
  • the second node does not shift the local first sequence, and the second node directly sends the third phase difference to the first node.
  • the first node can determine the distance between the first node and the second node according to the second sequence sent by the second node and the third phase difference, where the second sequence is generated by the second node The local first sequence of or the sequence obtained according to the local first sequence.
  • the second node may send the third phase difference between the local first sequence and the first delayed sequence to the first node through the communication interface.
  • the first node may send the correspondence of the sequences to the second node.
  • sequence correspondence is used for the second node to determine the second sequence according to the sequence correspondence, and it can also be understood that the second node can convert the local first sequence into a local first sequence corresponding to the local first sequence according to the sequence correspondence
  • sequence of another sequence structure is the same sequence as the sequence structure of the second sequence, which means that the second node can determine that the sequence structure of the second sequence is the same as that of the second sequence according to the corresponding relationship of the sequence the sequence of.
  • C1 is a sample point, that is, sample point C1
  • C2 is a sample point, that is, sample point C2
  • C3 is a sample point
  • sample points C3 and C4 are one sample point
  • sample points C4 and C5 are one sample point, that is, sample point C5.
  • sample point C1 in the local first sequence corresponds to sample point A
  • sample point C2 corresponds to sample point B
  • sample point C3 corresponds to sample point C
  • sample point C4 corresponds to sample point D
  • sample point C5 corresponds to sample point Point E
  • the second node can convert the local first sequence [C1 C2 C3 C4 C5] into [A B C D E] according to the corresponding relationship of the sequence.
  • the first node can also convert the sequence generated by the first node according to the sequence correspondence.
  • Step 603 the second node sends multiple second sequences to the first node.
  • the second sequence sent by the second node to the first node is obtained by the second node after shifting the local first sequence according to the first delay sequence the sequence of.
  • the second sequence sent by the second node to the first node is the local first sequence generated by the second node or a sequence obtained according to the local first sequence.
  • the multiple second sequences sent by the second node are used by the first node to determine the distance between the first node and the second node.
  • the sender of the second node may send multiple second sequences to the first node.
  • Step 604 the first node receives multiple second time delay sequences from the second node.
  • step 604 For details of step 604, reference may be made to the description of step 401 above, and details are not repeated here.
  • Step 605 the first node determines first phase differences between the multiple first sequences and the multiple second time-delayed sequences.
  • step 605 For details of step 605, reference may be made to the description of step 402 above, and details are not repeated here.
  • the first node has the following two ways of determining the first phase difference:
  • Step 605a the first node splices the multiple first sequences into the first long sequence in the order in which the multiple first sequences are sent, and splices the multiple second time-delayed sequences in the order in which the multiple second time-delayed sequences are received
  • the second long sequence according to the first long sequence and the second long sequence, first phase differences of multiple first sequences and multiple second time-delayed sequences are obtained.
  • the first node sends multiple The first long sequence spliced from the first sequence is [C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7], assuming that the second delay sequence is [C2 C3 C4 C5 C6 C7 C1], then the first node according to the order in which multiple second delay sequences are received, the second long sequence formed by splicing multiple second delay sequences is [C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1].
  • the first node correlates the first long sequence with the second long sequence, and the obtained phase difference is the first phase difference between the plurality of first sequences and the plurality of second time-delayed sequences. Wherein, the first phase difference does not exceed one sequence period.
  • the above steps may be performed by the phase acquirer of the first node.
  • Step 605b the first node obtains multiple For the first phase difference between the first sequence and the plurality of second time-delayed sequences, N is an integer greater than or equal to 1, and N is less than or equal to the number of cycles of the first sequence.
  • the first node will send the Nth first sequence and the received Nth second delay sequence Time series are correlated.
  • the cycle length of the first sequence is 7, the number of cycles is 8, the first sequence is [C1 C2 C3 C4 C5 C6 C7], and the second delay sequence is [C2 C3 C4 C5 C6 C7 C1], then the first node According to the 4th first sequence [C1 C2 C3 C4 C5 C6 C7] among the multiple first sequences sent by the first node, and the fourth second delay sequence among the multiple second delay sequences received [C2 C3 C4 C5 C6 C7 C1 is correlated, and the obtained phase difference is the first phase difference of multiple first sequences and multiple second delay sequences. Wherein, the first phase difference does not exceed one sequence period.
  • the above steps may be performed by the phase acquirer of the first node.
  • the first node converts the multiple first sequences into multiple first converted sequences with the same sequence structure as the second sequence according to the sequence correspondence, and the first node converts the multiple first sequences and the multiple A second delay sequence to obtain the first phase difference.
  • the first node can convert multiple first sequences sent by the first node according to the same sequence
  • the corresponding relationship is converted into a plurality of first conversion sequences with the same structure as the second sequence sent by the second node, so that the first node can obtain the first conversion sequence according to the plurality of first conversion sequences and the plurality of second delay sequences
  • a phase difference where the first phase difference is the phase difference between the multiple first sequences and the multiple second delay sequences.
  • Step 606 the first node determines the distance between the first node and the second node according to the first phase difference.
  • step 604 For details of step 604, refer to the description of step 403 above.
  • the first phase difference determined by the first node is the phase difference used to determine the round-trip distance between the first node and the second node. Therefore, the first node can determine the distance between the first node and the second node only according to the first phase difference.
  • step 606 may be replaced with step 606a, the first node determines the distance between the first node and the second node according to the first phase difference and the residual phase difference.
  • the first phase determined by the first node is the partial phase difference used to determine the round-trip distance between the first node and the second node.
  • the first node receives the residual phase difference sent by the second node, and the sum of the first phase difference and the residual phase difference is the phase difference used to determine the round-trip distance between the first node and the second node. Therefore, the first node can determine the distance between the first node and the second node according to the first phase difference and the residual phase difference.
  • the delay calculator of the first node determines the distance between the first node and the second node according to the first phase difference and the residual phase difference.
  • step 606 may be replaced with step 606b, the first node determines the distance between the first node and the second node according to the first phase difference and the third phase difference.
  • the first phase difference determined by the first node is a phase difference used to determine a one-way distance between the second node and the first node.
  • the first node receives the third phase difference sent by the second node, and the sum of the first phase difference and the third phase difference is the phase difference used to determine the round-trip distance between the first node and the second node. Therefore, the first node can determine the distance between the first node and the second node according to the first phase difference and the third phase difference.
  • the delay calculator of the first node determines the distance between the first node and the second node according to the first phase difference and the third phase difference.
  • the first node may send a first message to the second node, where the first message is used to agree to reserve time for ranging. If the time for ranging and the time for communication between nodes overlap, ranging and communication will be affected by each other. Therefore, the first node and the second node can agree in advance to reserve a period of time for ranging, so that the distance measurement can be guaranteed. distance accuracy.
  • the above actions may be sent and received by the first node or the second node through the communication interface.
  • the sequence involved in the above step 601-step 606 can be a wideband sequence, that is, a wideband sequence with a bandwidth frequency greater than or equal to 12 MHz. Due to the large bandwidth frequency, the obtained ranging error is small, so the ranging accuracy is high. , so as to ensure the accuracy of distance measurement.
  • FIG. 9A it is a schematic diagram of the sequence sent by the first node and the second node according to the embodiment of the present application, and the second node adopts the above method-processing method as an example.
  • the first node sends the first sequence to the second node as [C1 C2 C3 C4 C5 C6 C7].
  • the second node receives the first delayed sequence [C5 C6 C7 C1 C2 C3 C4] , the second node determines that the phase difference between the local first sequence and the first delayed sequence is 3.
  • the obtained second sequence is [C5 C6 C7 C1 C2 C3 C4].
  • the second node sends the second sequence to the first node, the first node receives the second delay sequence [C2 C3 C4 C5 C6 C7 C1], the first node determines the first sequence between the first sequence and the second delay sequence
  • the phase difference is 6. Therefore, the first node determines the distance between the first node and the second node according to the first phase difference 6 .
  • FIG. 9B it is a schematic diagram of the sequence sent by the first node and the second node according to the embodiment of the present application, and the second node adopts the above-mentioned mode-processing mode as an example.
  • the first node sends the first sequence to the second node as [C1 C2 C3 C4 C5 C6 7C].
  • the second node receives the first delayed sequence [C5 C6 C7 C1 C2 C3 C4] , the second node determines that the phase difference between the local first sequence and the first delayed sequence is 3.
  • the second node aligns the local first sequence with the first delayed sequence, but the alignment is not complete and there is still a residual phase difference, the obtained second sequence is [C6 C7 C1 C2 C3 C4 C5]. There is also a residual phase difference of 1 between the second sequence and the first time-delayed sequence.
  • the second node sends the second sequence and the residual phase difference to the first node, the first node receives the second delay sequence [C3 C4 C5 C6 C7 C1 C2], the first node determines the difference between the first sequence and the second delay sequence The first phase difference between them is 5. Therefore, the first node determines the distance between the first node and the second node according to the first phase difference 5 and the residual phase difference 1 .
  • FIG. 9C it is a schematic diagram of the sequence sent by the first node and the second node according to the embodiment of the present application, and the second node adopts the above-mentioned second processing method as an example.
  • the first node sends the first sequence to the second node as [C1 C2 C3 C4 C5 C6 C7].
  • the second node receives the first delayed sequence [C5 C6 C7 C1 C2 C3 C4] , the second node determines that the third phase difference between the local first sequence and the first delayed sequence is 3.
  • the second node does not perform sequence alignment on the local first sequence, and directly sends the local first sequence [C1 C2 C3 C4 C5 C6 C7] (equivalent to the second sequence) and the third phase difference to the first node.
  • the first node receives the second delayed sequence [C5 C6 C7 C1 C2 C3 C4], and the first node determines that the first phase difference between the first sequence and the second delayed sequence is 3. Therefore, the first node determines the distance between the first node and the second node according to the first phase difference 3 and the third phase difference 3 .
  • the method for inter-node ranging provided by the embodiment of the present application can be applied to electronic devices, such as chips.
  • the distance between the sequence sent by the node and the sequence received by the node is determined by the transmission sequence.
  • the phase difference to determine the distance between nodes. Because the peak-to-average ratio of the sequence is low, the power transmitted in the linear range of the power amplifier is large, so the communication efficiency can be improved, the ranging accuracy is higher, the ranging error is smaller, and the structure of the ranging equipment is simplified.
  • the sequence adopts a wideband sequence, which can further improve the accuracy of ranging and effectively reduce ranging errors.
  • the device includes a first node and a second node, and the first node and the second node include a chip 300 structure as shown in FIG. 3 as an example.
  • the first node and the second node shown in Figure 10 include a transmitter, a receiver, a processor, and a communication interface, where the sequence generator is taken as an example of a transmitter, the phase capturer is taken as an example of a receiver, and the delay calculation
  • the processor processor is used as an example (in the inter-node ranging process shown in Figure 10, the second node does not use the delay calculator, in some cases, the second node can also use the delay calculator to determine the node distance).
  • the transmitter can be used to support the chip 300 to execute the above steps 400, 601, 601a, 602b, 603, etc., and/or other processes for the technologies described herein.
  • the receiver can be used to support the chip 300 to perform the above steps 401, 402, 602, 602a, 602b, 602d, 604, 605, 605a, 605b, etc., and/or use other processes in the techniques described herein.
  • the processor may be used to support the chip 300 to execute the above steps 403, 606, 606a, 606b, etc., and/or other processes for the techniques described herein.
  • the communication interface may be used to support the chip 300 to perform the above steps 600, 602c, 602e, etc., and/or other processes for the techniques described herein.
  • the workflow shown in FIG. 10 takes the second node adopting the above-mentioned method one processing method and the residual phase difference is not 0 as an example.
  • the workflow may include: the first node sends sequence information to the second node through the communication interface , the second node receives the sequence information sent by the first node through the communication interface, so as to ensure that the first node and the second node can generate the same sequence, where the sequence information can be the sequence information of the first sequence and the sequence information of the third sequence sequence information.
  • the sequence generator of the first node generates the first sequence according to the sequence information of the first sequence and sends the first sequence to the second node, wherein the sequence generator of the first node can also generate the third sequence according to the sequence information of the third sequence And send the third sequence to the second node.
  • the phase acquirer of the second node receives the first delay sequence from the first node, and combines the local first sequence generated by the second node with the first sequence received by the second node.
  • the time-delay sequence is correlated to obtain the phase difference between the local first sequence and the first time-delay sequence.
  • the phase acquirer of the second node sends the obtained phase difference to the sequence generator of the second node, and the sequence generator of the second node shifts the local first sequence generated by the second node according to the first delay sequence, which is equivalent to The sequence generator at the second node tries to align with the first delayed sequence according to the local first sequence, and eliminates the phase difference between the local first sequence and the first delayed sequence by shifting the local first sequence as much as possible, and Send the shifted second sequence to the first node. Moreover, if the second sequence is not completely aligned with the first time-delay sequence, the sequence generator of the second node also sends the residual phase difference between the second sequence and the first time-delay sequence to the second node through the communication interface of the second node. a node.
  • the phase acquirer of the first node receives the second time-delay sequence from the second node, and correlates the first sequence sent by the first node with the second time-delay sequence received by the first node to obtain the first phase difference.
  • the delay calculator of the first node receives the first phase difference sent by the phase acquirer of the first node and the residual phase difference sent by the communication interface of the first node, and can calculate the first phase difference according to the first phase difference and the residual phase difference The distance between the node and the second node.
  • a method for inter-node ranging provided in the embodiment of the present application can be applied to an electronic device, such as a chip, and the electronic device includes a transmitter (sequencer), a receiver (phase capturer), a processor (delay calculator) and communication interface.
  • the ranging equipment in the prior art needs to include a time stamp generator, and network clock synchronization is required to ensure the accuracy of the ranging during ranging, so that the ranging equipment in the prior art and the ranging
  • the solution is complicated, but the electronic device of this application only needs to send sequence information through the communication interface to ensure the synchronization of the generated sequences. Therefore, the structure of the electronic device of the present application is more simplified, the ranging scheme is simpler, the ranging accuracy is higher, and the ranging error is smaller.
  • the above-mentioned electronic device includes corresponding hardware structures and/or software modules for performing each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the example units and algorithm steps described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the embodiments of the present application.
  • the embodiments of the present application may divide the above-mentioned electronic device into functional modules according to the above-mentioned method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • the embodiment of the present application discloses an electronic device 1100 , and the electronic device 1100 may be the chip 300 in the above embodiment.
  • the electronic device 1100 may include a processing module, a storage module, and a communication module.
  • the processing module can be used to control and manage the actions of the electronic device 1100, for example, it can be used to support the electronic device 1100 to execute the above-mentioned transmitter (sequencer), receiver (phase capturer) and processor (delay calculation). device) to execute the steps.
  • the storage module can be used to support the electronic device 1100 to store program codes, data, and the like.
  • the communication module may be used to support communication between the electronic device 1100 and other devices. For example, it may be used to support the electronic device 1100 to perform the steps performed by the above-mentioned communication interface.
  • the unit modules in the above electronic device 1100 include but are not limited to the above processing module, storage module and communication module.
  • the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module may be a device that interacts with other external devices.
  • the processing module is a processor 1101 (such as the processor 301 shown in FIG. 3 ), the storage module can be a memory 1102 (such as the memory 302 shown in FIG. 3 ), and the communication module can be called a communication interface 1103 (as shown in FIG. 3 ). Shown communication interface 303).
  • the electronic device 1100 provided in the embodiment of the present application may be the chip 300 shown in FIG. 3 .
  • the processor 1101, the memory 1102, the communication interface 1103, etc. may be connected together, for example, through a bus.
  • the embodiment of the present application also provides an electronic device, including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs
  • the above related method steps implement the method for measuring distance between nodes in the above embodiment.
  • the embodiment of the present application also provides an electronic device, the electronic device includes one or more communication interfaces and one or more processors, wherein the communication interface and the processor are interconnected through a line, and the processor reads from the memory of the electronic device through the communication interface
  • the computer instruction is received and executed, so that the electronic device executes the above-mentioned related method steps to implement the method for inter-node ranging in the above-mentioned embodiment.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer program codes, and when the computer instructions are run on the computer or the processor, the computer or the processor executes the nodes in the above-mentioned embodiments method of distance measurement.
  • the embodiment of the present application also provides a computer program product, the computer program product includes computer instructions, when the computer instructions are run on the computer or the processor, the computer or the processor is made to perform the above-mentioned related steps, so as to realize the above-mentioned embodiment.
  • the electronic equipment, electronic equipment, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the above provided The beneficial effects of the corresponding method will not be repeated here.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供一种节点间测距的方法及装置,涉及芯片技术领域,用于解决进行节点间测距时,通信效率较差导致测距精度低、测距误差大的问题,实现提高通信效率以及测距精度的技术效果。通过第一节点向第二节点发送多个第一序列,第一节点从第二节点处接收多个第二延时序列,第一节点确定多个第一序列和多个第二延时序列的第一相位差,第一节点根据第一相位差确定第一节点和第二节点之间的距离。本申请实施例用于进行节点间测距的过程中。

Description

一种节点间测距的方法及装置 技术领域
本申请实施例涉及芯片技术领域,尤其涉及一种节点间测距的方法及装置。
背景技术
电力线载波通信技术,简称电力线通信(Power Line Communication,PLC)技术,是以电力线作为传输媒介实现数据传递和信息交换的一种手段。电力线通信技术在发送侧节点将信息转化为高频信号调制在电力线中的电流上,在接收侧节点通过对信号进行解调,得到发送侧节点传输的信息,并将该信息传送至计算机上进行处理,以实现信息的传递。
随着电力线通信技术的不断发展,电力线通信技术在配电网中的应用也越来越广泛。例如,可以通过电力线通信技术对安装有电力线通信模块的任意两个节点之间进行测距,通过测出的距离自动识别配电网的拓扑图。
目前,在通过电力线通信技术进行测距时,可以采用例如0.7MHz-3MHz的通信频段在两个电力线通信模块间发送通信帧进行测距。通信帧采用的是正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)信号,峰均比(Peak-to-Average Ratio,PAR)大,因此通信帧在功率放大器的线性范围内发送的功率小,通信效率较差,会存在部分通信帧接收失败或接收错误的情况。
发明内容
本申请实施例提供一种节点间测距的方法及装置,可以在进行节点间测距时,利用序列进行通信,提高通信效率。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供了一种节点间测距的方法,该方法包括:第一节点向第二节点发送多个第一序列,其中,序列为由发送器(序列发生器)循环产生的一串周期性的信号。第一节点从第二节点处接收多个第二延时序列,第一节点确定多个第一序列和多个第二延时序列的第一相位差,第一节点根据第一相位差确定第一节点和第二节点之间的距离。
由此,本申请能够通过传输序列,使第一节点根据发送的序列与第一节点接收的序列之间的相位差确定第一节点与第二节点之间的距离。相比与现有技术中使用通信帧进行测距,通信帧的峰均比大,导致在功率放大器的线性范围内发送的功率小,通信效率较差,而由于序列的峰均比低,在相同的功率放大器的线性范围内发送的功率大,因此能够提高通信效率,使得测距精度更高、测距误差更小且简化了测距设备的结构。
在一种可能的设计中,多个第二延时序列为第二节点发送的多个第二序列经过信道延时之后的多个序列。
在一种可能的设计中,第二序列为第二节点根据第一延时序列对本地第一序列进行移位得到的,第一延时序列为第二节点接收到的序列,本地第一序列为第二节点产 生的序列,本地第一序列与第一序列相同。由此,由于第二节点接收到的第一延时序列是经过信道延时之后的序列,发生了序列失真,因此第二节点无法将接收到的第一延时序列直接发送给第一节点,需要根据第一延时序列对本地第一序列进行移位。第二节点移位后得到的第二序列是与第一延时序列对齐(同步)的序列,即第二序列能够表示为第一序列经过一次信道延时之后的序列,因此第二节点发送第二序列,能够使第一节点接收到的第二延时序列表示为第一序列经过两次信道延时之后的序列,从而第一节点能够根据第二延时序列与第一序列得到的第一相位差准确的确定出第一节点与第二节点之间往返的距离,进而准确的确定出第一节点和第二节点之间的距离,减小测距的误差。
在一种可能的设计中,第二序列与第一延时序列之间存在残留相位差,该方法还包括:第一节点接收第二节点发送的残留相位差,第一节点根据第一相位差确定第一节点和第二节点之间的距离,具体包括:第一节点根据第一相位差和残留相位差确定第一节点和第二节点之间的距离。由此,由于第二节点根据第一延时序列对本地第一序列进行移位时,得到的第二序列往往不能和第一延时序列完全对齐,第二序列会与第一延时序列之间存在残留相位差(例如小数相位差),因此第二节点将未对齐的残留相位差发送给第一节点,使第一节点根据第一相位差和残留相位差一起确定第一节点与第二节点之间的距离,从而使测距更加准确,减小测距的误差。
在一种可能的设计中,第二序列为本地第一序列或者根据本地第一序列得到的序列,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同。由此,由于第二节点接收到的第一延时序列是经过信道延时之后的序列,发生了序列失真,因此第二节点无法将接收到的第一延时序列直接发送给第一节点。第二节点可以将第二节点产生的本地第一序列作为发送给第一节点的第二序列,由于本地第一序列与第一序列相同,因此第一节点接收到的第二延时序列表示为本地第一序列(第一序列)经过一次信道延时之后的序列。
在一种可能的设计中,该方法还包括:第一节点接收第二节点发送的第三相位差,第三相位差为本地第一序列和第一延时序列之间的相位差,第一延时序列为第二节点接收到的序列,第一节点根据第一相位差确定第一节点和第二节点之间的距离包括:第一节点根据第一相位差和第三相位差确定第一节点和第二节点之间的距离。由此,当第二节点将第二节点产生的本地第一序列作为第二序列发送给第一节点时,还会将确定的第一序列与第一延时序列之间的第三相位差发送给第一节点,使得第一节点能够根据接收到的第二延时序列与第一序列之间的第一相位差以及第一序列与第一延时序列之间的第三相位差,确定出第一节点和第二节点之间的距离,从而使测距更加准确,减小测距的误差。
在一种可能的设计中,第一节点确定多个第一序列和多个第二延时序列的第一相位差包括:第一节点按照发送多个第一序列的顺序,将多个第一序列拼接为第一长序列,按照接收多个第二延时序列的顺序,将多个第二延时序列拼接为第二长序列,根据第一长序列和第二长序列,得到多个第一序列和多个第二延时序列的第一相位差。在一种可能的设计中,第一节点确定多个第一序列和多个第二延时序列的第一相位差包括:第一节点根据第一节点发送的多个第一序列中的第N个第一序列,和接收的多 个第二延时序列中的第N个第二延时序列,得到多个第一序列和多个第二延时序列的第一相位差,N为大于或等于1的整数。在一种可能的设计中,第一节点向第二节点发送多个第一序列之后,该方法还包括:第一节点向第二节点发送多个第三序列,多个第三序列用于指示第二节点接收到多个第三延时序列后,向第一节点发送序列,多个第三延时序列为第一节点发送的多个第三序列经过信道延时之后的多个序列。由此,第一节点通过向第二节点发送多个第三序列,能够使第二节点在接收到第三序列时,做好向第一节点发送序列的准备,从而减少测距时间。
在一种可能的设计中,第一节点向第二节点发送多个第一序列之前,该方法还包括:第一节点向第二节点发送第一序列的序列信息,第一序列的序列信息用于第一节点或第二节点生成第一序列。由此,第一节点通过向第二节点发送第一序列的序列信息,能够保证第一节点和第二节点产生相同的第一序列,从而保证测距的准确性。
在一种可能的设计中,第一节点接收多个第二延时序列之前,该方法还包括:第一节点向第二节点发送序列的对应关系,序列的对应关系用于第二节点根据序列的对应关系确定与第二序列的序列结构相同的序列。由此,第一节点通过向第二节点发送序列的对应关系,能够使第一节点与第二节点根据相同的序列的对应关系进行序列转换,从而第一节点和第二节点之间能够互相知晓对方节点发送的序列,保证测距的精确度。
在一种可能的设计中,第一节点确定多个第一序列和多个第二延时序列的第一相位差还包括:第一节点根据序列的对应关系将多个第一序列转换为与第二序列的序列结构相同的多个第一转换序列,第一节点根据多个第一转换序列和多个第二延时序列,得到第一相位差。
在一种可能的设计中,第一序列和第二延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、弗兰克Frank序列或扎道夫-朱Zadoff-Chu序列。由此,本申请的序列具有良好的自相关性,使第一节点或第二节点根据经过信道延时后的序列也能准确确定出该序列是否为待接收的序列,从而提高序列的正确接收率,能够使得测距更加精确。
第二方面,本申请实施例提供了一种节点间测距的方法。该方法包括:第二节点从第一节点处接收多个第一延时序列,多个第一延时序列为第一节点发送的多个第一序列经过信道延时之后的多个序列,第二节点向第一节点发送多个第二序列,多个第二序列用于第一节点确定第一节点和第二节点之间的距离。其中,序列为由发送器(序列发生器)循环产生的一串周期性的信号。
由此,本申请能够通过传输序列,使第二节点向第一节点发送多个第二序列,进而第一节点能够根据接收到的序列与第一节点发送的序列之间的相位差确定第一节点与第二节点之间的距离。相比与现有技术中使用通信帧进行测距,通信帧的峰均比大,导致在功率放大器的线性范围内发送的功率小,通信效率较差,而由于序列的峰均比低,在功率放大器的线性范围内发送的功率大,因此能够提高通信效率,使得测距精度更高、测距误差更小且简化了测距设备的结构。
在一种可能的设计中,第二节点接收多个第一延时序列之后,该方法还包括:第二节点根据第一延时序列对本地第一序列进行移位,得到第二序列,其中,本地第一 序列为第二节点产生的序列,本地第一序列与第一序列相同。由此,由于第二节点接收到的第一延时序列是经过信道延时之后的序列,发生了序列失真,因此第二节点无法将接收到的第一延时序列直接发送给第一节点,需要根据第一延时序列对本地第一序列进行移位。第二节点移位后得到的第二序列是与第一延时序列对齐(同步)的序列,即第二序列能够表示为第一序列经过一次信道延时之后的序列,因此第二节点发送第二序列,能够使第一节点接收到的第二延时序列表示为第一序列经过两次信道延时之后的序列,从而第一节点能够根据第二延时序列与第一序列得到的第一相位差准确的确定出第一节点与第二节点之间往返的距离,进而准确的确定出第一节点和第二节点之间的距离,减小测距的误差
在一种可能的设计中,第二序列与第一延时序列之间存在残留相位差,该方法还包括:第二节点将残留相位差发送给第一节点,残留相位差和第二序列用于第一节点确定第一节点和第二节点之间的距离。由此,由于第二节点根据第一延时序列对本地第一序列进行移位时,得到的第二序列往往不能和第一延时序列完全对齐,第二序列会与第一延时序列之间存在残留相位差(例如小数相位差),因此第二节点将未对齐的残留相位差发送给第一节点,使第一节点根据第一相位差和残留相位差一起确定第一节点与第二节点之间的距离,从而使测距更加准确,减小测距的误差。
在一种可能的设计中,第二序列为本地第一序列或者根据本地第一序列得到的序列,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同,该方法还包括:第二节点将本地第一序列和第一延时序列之间的第三相位差发送给第一节点,第三相位差和第二序列用于第一节点确定第一节点和第二节点之间的距离。由此,由于第二节点接收到的第一延时序列是经过信道延时之后的序列,发生了序列失真,因此第二节点无法将接收到的第一延时序列直接发送给第一节点。第二节点可以将第二节点产生的本地第一序列作为发送给第一节点的第二序列,还会将确定的第一序列与第一延时序列之间的第三相位差发送给第一节点,由于本地第一序列与第一序列相同,因此第一节点接收到的第二延时序列表示为本地第一序列(第一序列)经过一次信道延时之后的序列,使得第一节点能够根据接收到的第二延时序列与第一序列之间的第一相位差以及第一序列与第一延时序列之间的第三相位差,确定出第一节点和第二节点之间的距离,从而使测距更加准确,减小测距的误差。
在一种可能的设计中,第二节点接收多个第一延时序列之后,该方法还包括:第二节点接收多个第三延时序列,多个第三延时序列用于第二节点接收到多个第三延时序列后,向第一节点发送序列,多个第三延时序列为第一节点发送的多个第三序列经过信道延时之后的多个序列。由此。第二节点通过从第一节点处接收多个第三延时序列,能够使第二节点在接收到第三序列时,做好向第一节点发送序列的准备,从而减少测距时间。
在一种可能的设计中,第二节点接收多个第一延时序列之前,该方法还包括:第二节点接收第一节点发送的第一序列的序列信息,第一序列的序列信息用于第一节点或第二节点生成第一序列。由此。第二节点通过接收第一节点发送第一序列的序列信息,能够保证第一节点和第二节点产生相同的第一序列,从而保证测距的准确度。
在一种可能的设计中,第二节点向第一节点发送多个第二序列之前,该方法还包 括:第二节点接收第一节点发送的序列的对应关系,第二节点根据序列的对应关系确定第二序列。由此。第二节点通过接收第一节点发送序列的对应关系,能够使第一节点与第二节点根据相同的序列的对应关系进行序列转换,从而第一节点和第二节点之间能够互相知晓对方节点发送的序列,保证测距的精确度。
在一种可能的设计中,第一序列、第二序列、第三序列、第一延时序列以及第三延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、Frank序列或Zadoff-Chu序列。由此。本申请的序列具有良好的自相关性,使第一节点或第二节点根据经过信道延时后的序列也能准确确定出该序列是否为待接收的序列,从而提高序列的正确接收率,能够使得测距更加精确。
第三方面,本申请实施例提供了一种电子设备。该电子设备包括:发送器,用于向第二节点发送多个第一序列,接收器,用于从第二节点处接收多个第二延时序列,接收器,还用于确定多个第一序列和多个第二延时序列的第一相位差,处理器,用于根据第一相位差确定第一节点和第二节点之间的距离。第三方面所达到的有益效果可以参见第一方面中有益效果。
在一种可能的设计中,多个第二延时序列为第二节点发送的多个第二序列经过信道延时之后的多个序列。
在一种可能的设计中,第二序列为第二节点根据第一延时序列对本地第一序列进行移位得到的,第一延时序列为第二节点接收到的序列,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同。
在一种可能的设计中,第二序列与第一延时序列之间存在残留相位差,该电子设备还包括:通信接口,用于接收第二节点发送的残留相位差,处理器,还用于根据第一相位差和残留相位差确定第一节点和第二节点之间的距离。
在一种可能的设计中,第二序列为本地第一序列或者根据本地第一序列得到的序列,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同。
在一种可能的设计中,通信接口,还用于接收第二节点发送的第三相位差,第三相位差为本地第一序列和第一延时序列之间的相位差,第一延时序列为第二节点接收到的序列,处理器,还用于根据第一相位差和第三相位差确定第一节点和第二节点之间的距离。
在一种可能的设计中,接收器还用于:按照发送多个第一序列的顺序,将多个第一序列拼接为第一长序列,按照接收多个第二延时序列的顺序,将多个第二延时序列拼接为第二长序列,根据第一长序列和第二长序列,得到多个第一序列和多个第二延时序列的第一相位差。
在一种可能的设计中,接收器还用于:根据发送器发送的多个第一序列中的第N个第一序列,和接收的多个第二延时序列中的第N个第二延时序列,得到多个第一序列和多个第二延时序列的第一相位差,N为大于或等于1的整数。
在一种可能的设计中,发送器还用于:向第二节点发送多个第三序列,多个第三序列用于指示第二节点接收到多个第三延时序列后,向第一节点发送序列,多个第三延时序列为发送器发送的多个第三序列经过信道延时之后的多个序列。
在一种可能的设计中,通信接口还用于:向第二节点发送第一序列的序列信息, 第一序列的序列信息用于第一节点或第二节点生成第一序列。
在一种可能的设计中,通信接口还用于:向第二节点发送序列的对应关系,序列的对应关系用于第二节点根据序列的对应关系确定与第二序列的序列结构相同的序列。
在一种可能的设计中,接收器,还用于根据序列的对应关系将多个第一序列转换为与第二序列的序列结构相同的多个第一转换序列,接收器,还用于根据多个第一转换序列和多个第二延时序列,得到第一相位差。
在一种可能的设计中,第一序列和第二延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、Frank序列或Zadoff-Chu序列。
第四方面,本申请实施例提供了一种电子设备。该电子设备包括:接收器,用于从第一节点处接收多个第一延时序列,多个第一延时序列为第一节点发送的多个第一序列经过信道延时之后的多个序列,发送器,用于向第一节点发送多个第二序列,多个第二序列用于第一节点确定第一节点和第二节点之间的距离。第四方面所达到的有益效果可以参见第二方面中有益效果。
在一种可能的设计中,发送器,还用于根据第一延时序列对本地第一序列进行移位,得到第二序列,其中,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同。
在一种可能的设计中,第二序列与第一延时序列之间存在残留相位差,该电子设备还包括:通信接口,用于将残留相位差发送给第一节点,残留相位差和第二序列用于第一节点确定第一节点和第二节点之间的距离。
在一种可能的设计中,第二序列为本地第一序列或者根据本地第一序列得到的序列,本地第一序列为第二节点产生的序列,本地第一序列与第一序列相同,通信接口还用于:将本地第一序列和第一延时序列之间的第三相位差发送给第一节点,第三相位差和第二序列用于第一节点确定第一节点和第二节点之间的距离。
在一种可能的设计中,接收器还用于:接收多个第三延时序列,多个第三延时序列用于第二节点接收到多个第三延时序列后,向第一节点发送序列,多个第三延时序列为第一节点发送的多个第三序列经过信道延时之后的多个序列。
在一种可能的设计中,通信接口还用于:接收第一节点发送的第一序列的序列信息,第一序列的序列信息用于第一节点或第二节点生成第一序列。
在一种可能的设计中,通信接口,还用于接收第一节点发送的序列的对应关系;发送器,还用于根据序列的对应关系确定第二序列。
在一种可能的设计中,第一序列、第二序列、第三序列、第一延时序列以及第三延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、Frank序列或Zadoff-Chu序列。
第五方面,本申请实施例提供了一种电子设备,该电子设备为如上述第三方面和第四方面的电子设备,该电子设备包括一个或多个通信接口和一个或多个处理器,通信接口和处理器通过线路互联,处理器通过通信接口从电子设备的存储器接收并执行计算机指令。
第六方面,一种计算机可读存储介质,包括计算机指令,当计算机指令在计算机 或处理器上运行时,使得计算机或处理器执行上述第一方面以及第一方面中的任一种可能的设计方法或上述第二方面以及第二方面中的任一种可能的设计方法。
第七方面,一种计算机程序产品,计算机程序产品中包括计算机指令,当计算机指令在计算机或处理器上运行时,使得计算机或处理器执行上述第一方面以及第一方面中的任一种可能的设计方法或上述第二方面以及第二方面中的任一种可能的设计方法。
上述其他方面对应的有益效果,可以参见关于方法方面的有益效果的描述,此处不予赘述。
附图说明
图1为现有技术中进行电力线通信测距的流程示意图;
图2A为本申请实施例提供的一种节点间测距的方法的应用场景示意图;
图2B为本申请实施例提供的一种节点间测距的方法的应用场景示意图;
图3为本申请实施例提供的一种电子设备的硬件结构示意图;
图4为本申请实施例提供的一种节点间测距的方法的流程示意图;
图5为本申请实施例提供的一种序列结构的示意图;
图6为本申请实施例提供的一种节点间测距的方法的流程示意图;
图7为本申请实施例提供的一种序列结构的示意图;
图8为本申请实施例提供的一种序列移位过程的示意图;
图9A为本申请实施例提供的一种传输序列的流程示意图;
图9B为本申请实施例提供的一种传输序列的流程示意图;
图9C为本申请实施例提供的一种传输序列的流程示意图;
图10为本申请实施例提供的一种节点间测距的方法的流程示意图;
图11为本申请实施例提供的一种电子设备的结构组成示意图。
具体实施方式
为了便于理解,示例性地给出了部分与本申请实施例相关概念的说明以供参考。如下所示:
网络时间基准(Network Time Basement,NTB):载波通信时,网络中的所有设备必须同步到一个共用的时钟,该时钟为网络时间基准。例如,在电力线载波通信中,采用NTB同步(以NTB为基准)可以使所有节点的时钟频率接近,时间保持同步。
锁相环(Phase Locked Loop,PLL):锁定相位的环路,利用外部输入的参考信号控制环路内部振荡信号的频率和相位,实现输出信号频率对输入信号频率的自动跟踪。
序列:由序列发生器循环产生的一串周期性的信号。本申请实施例中,序列可以为伪随机噪声序列,例如二进制伪随机噪声序列、多相位伪随机噪声序列,复数序列、弗兰克(Frank)序列或扎道夫-朱(Zadoff-Chu)序列等,具有良好的自相关性的序列,本申请不予限制。
峰均比(Peak-to-Average Ratio,PAR):是一种对波形的测量参数,等于波形的振幅除以有效值(RMS)所得到的一个比值。信号的峰均比越大,在功率放大器的线性范围内发送的功率就会越小,使得通信效率较差。反之,若信号的峰均比越小,在相同 的功率放大器的线性范围内发送的功率就会越大,进而能够提高通信效率。
序列相关性分析(做相关):将两个序列输入到做相关的程序中,通过得到的波形图中是否存在相关峰,判断两个序列之间是否存在某种相关性,相当于判断两个序列之间是否存在互相关性,即根据一个序列能否得到另外一个序列。例如,两个序列为序列1和序列2,序列2是序列1经过移位(相位改变)得到的,因此根据序列1能够得到序列2,即序列1和序列2之间存在互相关性,将序列1和序列2做相关之后存在相关峰。并且,根据相关峰在波形图中的位置,可以确定出两个序列之间的相位差。通常,自相关性好的序列,经过移位后得到的序列与移位前的序列具有互相关性。
序列对齐(同步):两个序列为一模一样的两个序列,即为序列对齐,又称序列同步。例如,序列1和序列2存在相位差,将序列1进行移位,消除序列1和序列2之间的相位差,即可将序列1和序列2对齐,使序列1和序列2同步。
样点:若序列为[C1C2C3C4C5],则C1为一个样点,即样点C1,C2为一个样点,即样点C2,C3为一个样点,即样点C3,C4为一个样点,即样点C4,C5为一个样点,即样点C5。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
目前,进行电力线通信测距时,通常采用例如0.7MHz-3MHz的通信频段在两个通过电力线通信的通信模块间发送通信帧进行测距。如图1所示,电力线节点内部包括时间戳生成器,通常采用温补晶体振荡器(Temperature Compensate X'tal(crystal)Oscillator,TCXO)产生25MHz的时钟频率发送给锁相环,经过锁相环锁相后发送给时间戳生成器,使时间戳生成器在媒体访问控制层(Medium Access Control,MAC)与物理层(Physical Layer,PHY)之间,为来自MAC层的通信帧打上时间戳,得到待发送的已打上时间戳的通信帧。在进行测距时,假设第一电力线节点在T1时刻使用时间戳生成器以NTB基准为通信帧打上基准时间戳(Basement Time Stamp,BTS),记为BTStx1,并经过PHY层调制后发出该通信帧。第二电力线节点接收到该通信帧,经过PHY层解调后在T2时刻读取本地NTB时间,记为NTBrx2。之后,第二电力线节点在T3时刻使用时间戳生成器以NTB基准为响应的通信帧打上基准时间戳,记为
BTStx2,并经过PHY层调制后发出该响应的通信帧。第一电力线节点接收到该响应的 通信帧,经过PHY层解调后在T4时刻读取本地NTB时间,记为NTBrx1。通过上述方法,可根据记录的时间戳计算出通信帧的传输时延=(NTBrx2-BTStx1+NTBrx1-BTStx2)/(2*25M),进而根据传输时延计算出第一电力线节点和第二电力线节点之间的距离=传输时延×光速。
在上述过程中,通常用于电力线通信的通信频段的带宽较小,由于测距误差=光速/带宽,例如采用3MHz带宽发送通信帧,测距误差为(3×10 8)/(3×10 6)=100m,因此带宽越小,测距误差越大,即测距精度越低,通过上述方法计算出的距离与实际距离之间的误差大约在百米量级。并且,测距时需要进行网络时钟同步,还需要使用时间戳生成器在通信帧中打上时间戳,在实现时会使得测距设备(节点)的结构复杂,测距方案复杂。此外,该通信帧通常采用的是正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)信号,峰均比大,在功率放大器的线性范围内发送的功率小,会存在部分通信帧接收失败或接收错误的情况,通信效率较差,即采用通信帧测距的精度低,误差大。
因此,本申请提出一种节点间测距的方法,该方法可以应用于电子设备中,例如集成于芯片中。考虑到现有技术中采用通信帧测距会导致测距精度低、误差大、测距设备结构复杂的问题,本申请在进行节点间测距时,通过传输序列,确定节点发送的序列与该节点接收的序列之间的相位差进行测距。由于本申请实施例采用的序列的峰均比低,在功率放大器的线性范围内发送的功率大,因此能够提高通信效率,从而能提高测距的精度,且简化测距设备的结构。
本申请实施例可以应用于节点间测距的场景,例如,可以应用于电力线节点间进行测距的场景,如图2A所示,该场景中包括配电房,与配电房通过电力线连接的多个分线箱,以及与每个分线箱通过电力线连接的多个表箱,配电房和分线箱中包括多个开关,每个表箱中包括一个开关,每个开关都安装有电力线节点,电力线节点可用于电力线通信,可以通过两个电力线节点之间相互通信进行电力线测距,测得的电力线距离可以理解为两个电力线节点间的电力线长度。通过电力线距离可以分辨出电力线节点所属的开关属于配电房、分线箱还是表箱。例如两个电力线节点之间的距离在5米范围内,可以看作这两个电力线节点所属的开关属于同一个配电房内部的开关。这样,通过测距在确定出开关之间的电力线长度的基础上,进而可以根据电力线长度确定电力线的线损。
需要说明的是,本申请实施例在应用于电力线节点测距以外,还可以应用于其他场景的节点间测距,本申请不予限制。例如,可以应用于两个节点间进行无线通信测距的场景中,如图2B所示,假设该场景中包括第一节点和第二节点,第一节点和第二节点可以通过发送序列,或发送序列和相位差进行节点间测距,测得的距离为两个节点间的直线距离。
本申请实施例应用于电子设备时,如图3所示,其示出了一种电子设备的硬件结构示意图,该电子设备可以包括本申请实施例中的节点,即芯片,图3中以芯片300示例的芯片。芯片300可包括处理器301、存储器302以及通信接口303等。
可以理解的是,本申请实施例示意的结构并不构成对芯片300的具体限定。在本申请另一些实施例中,芯片300可以包括比图示更多或更少的部件,或者组合某些部 件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器301可以包括一个或多个处理单元。例如:处理器301可以包括图形处理器(graphics processing unit,GPU)、中央处理器(central processing unit,CPU)、和/或神经网络处理器(neural network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。本申请的实施例中,芯片300也可以包括一个或多个处理器301,处理器301可以包括发送器、接收器等,发送器例如可以为序列发生器,接收器例如可以为相位捕获器。
其中,发送器(序列发生器)可以用于生成序列以及发送序列。本申请实施例中,发送器(序列发生器)可以用于根据存储器302中存储的序列信息周期性循环生成对应数量的序列,并将生成的序列发送出去。
接收器(相位捕获器)可以用于接收外部设备(节点)发送的序列以及确定两个序列之间的相位差。本申请实施例中,接收器(相位捕获器)可以用于接收序列,以及将发送器(序列发生器)生成的序列与接收器(相位捕获器)接收到的序列进行序列相关性分析(做相关),进而判断两个序列之间的相关性,同时得到两个序列之间的相位差。
处理器301还可以用于根据相位差确定距离。本申请实施例中,处理器301可以用于根据一个或多个相位差确定两个节点之间的距离。
处理器301可以理解为是芯片300的神经中枢和指挥中心。可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
存储器302可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器301可以通过运行存储在存储器302的上述指令,从而使得芯片300执行本申请实施例中所提供的方法以及数据存储等。存储器202可以包括代码存储区和数据存储区。其中,数据存储区可存储芯片300使用过程中所创建的数据等。此外,存储器302可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。本申请的实施例中,例如,存储器302可以用于存储序列的序列信息、序列的对应关系等。
通信接口303可以用于与外部设备进行通信,可以是集成至少一个通信处理模块的一个或多个器件。本申请的实施例中,通信接口303可以与其他节点的通信接口进行通信。
应用上述本申请提供的电子设备,下面结合附图对本申请针对电子设备所提出的节点间测距的方法中,以电子设备为电力线节点为例,在进行电力线节点间测距时,可以通过传输序列,计算节点发送的序列与该节点接收的序列之间的相位差来计算节点之间的距离的过程进行介绍。
如图4所示,本申请实施例提供一种节点间测距的方法,以电子设备包括第一节点和第二节点,且第一节点和第二节点包括如图3示出的芯片结构为例,该方法包括:
步骤400、第一节点向第二节点发送多个第一序列。
在一些实施例中,第一节点可以周期性循环产生第一序列,并按照第一序列产生 的顺序周期性地向第二节点发送第一序列。具体可以为,第一节点的发送器根据第一序列的序列信息周期性循环产生第一序列,并按照第一序列产生的顺序周期性地向第二节点发送第一序列。
其中,序列的周期长度表示序列中的样点个数,序列的周期个数表示序列的个数,例如序列的周期长度为m,则序列可以表示为[C1 C2 C3……Cm],若该序列的周期个数为4,表示周期性循环产生4个该序列,即[C1 C2 C3……Cm C1 C2 C3……Cm C1 C2 C3……Cm C1 C2 C3……Cm]。
示例性的,如图5所示,假设第一序列的周期长度为7,周期个数为4,则第一序列为[C1 C2 C3 C4 C5 C6 C7],第一节点根据第一序列的周期个数向第二节点循环发送4个[C1 C2 C3 C4 C5 C6 C7],即第一节点发送多个第一序列的格式为[C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7]。
步骤401、第一节点从第二节点处接收多个第二延时序列。
其中,多个第二延时序列为第二节点向第一节点发送的多个序列经过信道延时之后的多个序列。具体可以为,第一节点的接收器从第二节点处接收多个第二延时序列。
示例性的,如图5所示,假设第一节点发送的第一序列为[C1 C2 C3 C4 C5 C6 C7],第一节点接收的第二延时序列为[C2 C3 C4 C5 C6 C7 C1],[C2 C3 C4 C5 C6 C7 C1]可以理解为是[[C1 C2 C3 C4 C5 C6 C7]经过两次相位改变之后得到的,即[C2 C3 C4 C5 C6 C7 C1]是[[C1 C2 C3 C4 C5 C6 C7]在第一节点与第二节点之间的往返传输中经过信道延时后得到的。
步骤402、第一节点确定多个第一序列和多个第二延时序列的第一相位差。
其中,第一节点将向第二节点发送的多个第一序列,与接收到的多个第二延时序列做相关,得到多个第一序列和多个第二延时序列的第一相位差。具体可以为,第一节点的接收器确定多个第一序列和多个第二延时序列的第一相位差。
示例性的,第一节点将多个第一序列和多个第二延时序列做相关得到波形图,通过波形图中相关峰的位置确定出多个第一序列和多个第二延时序列的第一相位差。如图5所示,假设第一节点向第二节点发送4个第一序列,第一节点接收到4个第二延时序列,则通过做相关计算出的第一节点接收的多个(4个)第二延时序列[C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1]与第一节点发送的多个(4个)第一序列[C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7]之间的相位差为6(即第一序列中的样点1经过向右移位6拍到了第二延时序列中的位置),因此可以确定出多个第二延时序列和多个第一序列之间的第一相位差为6。
步骤403、第一节点根据第一相位差确定第一节点和第二节点之间的距离。
其中,多个第一序列和多个第二延时序列之间的第一相位差为用于确定第一节点与第二节点之间往返距离的相位差。第一节点能够根据第一相位差确定出第一节点和第二节点之间的距离。具体可以为,第一节点的处理器根据第一相位差确定第一节点和第二节点之间的距离。
示例性的,第一节点根据发送的序列的采样率(即序列的带宽)与第一相位差能够确定出第一节点开始发送序列与第一节点开始接收到序列之间的时间,例如,若序 列的采样率为50MHz,第一相位差为3,则根据时间=相位差/采样率可确定出时间为60纳秒。接着第一节点根据确定出的时间与光速能够确定出第一节点与第二节点之间的往返距离,例如,若时间为60纳秒,则根据往返距离=时间×光速可确定出往返距离为18米,因此将第一节点与第二节点之间的距离为18/2=9米。即根据第一相位差确定第一节点和第二节点之间的距离的公式为[(第一相位差/采样率)×光速]/2。
由此,本申请实施例提供的节点间测距的方法,可以应用于电子设备,例如芯片中,当进行节点间测距时,通过传输序列,确定节点发送的序列和节点接收的序列之间的相位差,从而确定节点间的距离。由于序列的峰均比低,在功率放大器的线性范围内发送的功率大,因此能够提高通信效率,使得测距精度更高、测距误差更小且简化了测距设备的结构。
如图6所示,本申请实施例提供一种节点间测距的方法,该方法具体可以包括:
步骤600、第一节点向第二节点发送第一序列的序列信息。
其中,第一节点和第二节点可以为电力线节点。第一序列的序列信息用于第一节点或第二节点生成第一序列。第一序列的序列信息可以包括用于确定第一序列的序列参数,例如,若第一序列为伪随机噪声序列,则第一序列的序列信息包括第一序列的级数、周期和反馈系数。第一节点或第二节点可以根据第一序列的级数、周期和反馈系数生成该第一序列。第一序列可以为伪随机噪声序列,例如二进制伪随机噪声序列、多相位伪随机噪声序列,复数序列、Frank序列或Zadoff-Chu序列等序列。具体可以为,第一节点通过通信接口向第二节点发送第一序列的序列信息。
示例性的,第一节点向第二节点发送第一序列的序列信息,第二节点接收第一节点发送的第一序列的序列信息。因此,第一节点和第二节点能够根据第一序列的序列信息生成相同的第一序列。
步骤601、第一节点向第二节点发送多个第一序列。
步骤601具体可参见上述步骤400的描述,此处不过多赘述。
在一些可选的实施例中,步骤601之后还存在:
步骤601a、第一节点向第二节点发送多个第三序列。
其中,多个第三序列用于指示第二节点接收到多个第三延时序列后,向第一节点发送序列。多个第三延时序列为第一节点发送的多个第三序列经过信道延时之后的多个序列。可以理解为,第一节点先发送多个第一序列,再发送多个第三序列。第二节点接收到第三延时序列表示第一节点结束发送第一序列,待第一节点结束发送第三序列之后,第二节点即可向第一节点发送序列。这样,可以保证第二节点在第一节点停止发送序列之后立即向第一节点发送序列,进而缩短测距所需要的时间。具体可以为,第一节点的发送器向第二节点发送多个第三序列。
此外,第三序列与第一序列之间没有互相关性,或者做相关之后结果为负峰,因此第二节点能够准确分辨出第三延时序列和第一延时序列。示例性的,第三序列可以为对第一序列取反得到的序列、或第一序列和另一个序列合成得到的序列、或与第一序列的序列结构不同的序列等,本申请不予限制。
其中,两个序列之间有互相关性可以理解为两个序列之间存在相关关系,根据一个序列能得到另外一个序列。由此,两个序列之间没有互相关性可以理解为两个序列 之间不存在相关关系,根据一个序列无法得到另外一个序列,因此这两个序列做相关之后不存在相关峰。
在一些可选的实施例中,在步骤601a之前,第一节点可以向第二节点发送第三序列的序列信息,进而第一节点和第二节点都能够根据第三序列的序列信息生成相同的第三序列。具体可以为,第一节点通过通信接口向第二节点发送第三序列的序列信息。
步骤602、第二节点从第一节点处接收多个第一延时序列。
其中,多个第一延时序列为第一节点发送的多个第一序列经过信道延时之后的多个序列。也可以理解为,第一节点发送的第一序列在传输到第二节点的过程中会经历电力线传输过程中的信道延时,信道延时会导致第一序列的相位发生改变,相位发生改变后的第一序列称为第一延时序列。因此,第一节点向第二节点发送的是第一序列,但第二节点接收到的是相位改变后的第一序列,即第一延时序列。具体可以为,第二节点的接收器从第一节点处接收多个第一延时序列。
示例性的,如图7所示,假设第一序列的周期长度为7,周期个数为4,第一序列为[C1 C2 C3 C4 C5 C6 C7],则第一延时序列可以为[C5 C6 C7 C1 C2 C3 C4],相当于第一序列向右循环移位3位后得到的序列,第一延时序列的相位与第一序列的相位相比,延时了三拍,即相位差为3,第二节点接收多个第一延时序列的格式为[C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4C5 C6 C7 C1 C2 C3 C4]。
第二节点确定从第一节点处接收到的是多个第一序列对应的多个第一延时序列可以理解为,第二节点会在第一节点发送第一序列的同时产生本地第一序列(本地第一序列是由第二节点产生的与第一序列相同的序列),并将接收到的序列与本地第一序列做相关,由于第一序列(本地第一序列)具有良好的自相关性,因此通过判断搜索到的序列与本地第一序列做相关之后是否存在相关峰,即可判断接收到的序列是否为第一序列经过信道延时后的第一延时序列。
在一些可选的实施例中,步骤602之后还存在:
步骤602a、第二节点接收多个第三延时序列。
其中,多个第三延时序列用于第二节点接收到多个第三延时序列后,向第一节点开始发送序列,多个第三延时序列为第一节点发送的多个第三序列经过信道延时之后的多个序列。可以理解为,第二节点先接收多个第一延时序列,再接收多个第三延时序列。第二节点接收到第三延时序列表示第一节点结束发送第一序列,待第一节点结束发送第三序列之后,也就是第二节点在接收完多个第三延时序列之后,第二节点即可开始向第一节点发送序列。从而保证第二节点在第一节点停止发送序列之后立即向第一节点发送序列,进而缩短测距所需要的时间。此外,第三序列与第一序列之间没有互相关性,或者做相关之后结果为负峰,进而第二节点能够准确分辨出第三延时序列和第一延时序列。具体可以为,第二节点的相位捕获器从第一节点处接收多个第三延时序列。
在一些实施例中,步骤602之后第二节点还存在以下两种处理方式:
方式一
步骤602b、第二节点根据第一延时序列对本地第一序列进行移位,得到第二序列。
其中,本地第一序列为第二节点根据第一序列的序列信息产生的序列,因此本地 第一序列与第一序列相同。第二节点根据第一延时序列对本地第一序列进行移位可以理解为第二节点将本地第一序列尽量与第一延时序列进行序列对齐(同步),具体过程为第二节点将产生的本地第一序列与接收到的第一延时序列做相关,得到本地第一序列与第一延时序列之间的相位差,第二节点尽量通过对本地第一序列进行移位消除本地第一序列与第一延时序列之间的相位差,第二节点对本地第一序列进行移位后的序列即为第二序列。其中,第二节点用来做相关的本地第一序列和第一延时序列是第二节点在同一时间段内产生或接收到的。
由于在大部分情况下,使两个序列完全对齐所耗费的成本较高,因此第二节点在将本地第一序列与第一延时序列对齐时,可能会存在未完全对齐的情况,例如当本地第一序列与第一延时序列的相位差存在小数时(例如相位差为3.5),第二节点对本地第一序列进行移位时,只能将整数部分的相位差进行移位(例如整数部分相位差为3),而小数部分的相位差未能进行移位(例如小数部分的相位差为0.5)。因此第二节点对本地第一序列进行移位后得到的第二序列和第一延时序列之间会存在残留相位差。
残留相位差可以为0或不为0,当残留相位差不为0时,第二序列与第一延时序列未对齐,第二序列与第一延时序列之间的存在残留相位差,残留相位差可以为整数或小数,本申请不予限制。当残留相位差为0时,第二序列与第一延时序列对齐,第二序列与第一延时序列之间不存在相位差。
示例性的,第二节点在产生本地第一序列的同时接收到了第一延时序列,将本地第一序列和第一延时序列做相关,图8以残留相位差不为0为例,假设本地第一序列为[C1 C2 C3 C4 C5 C6 C7],第一延时序列为[C5 C6 C7 C1 C2 C3 C4],做相关得到的本地第一序列与第一延时序列之间的相位差为3,若第二节点对本地第一序列进行移位后得到的第二序列为[C6 C7 C1 C2 C3 C4 C5],相当于移位2拍,即第二序列与第一延时序列之间的相位差为1,残留相位差不为0。上述移位过程即第二节点将本地第一序列与第一延时序列尽量进行序列对齐的过程,第二序列与第一延时序列之间的相位差1即为残留相位差。若第二节点对本地第一序列进行移位后得到的第二序列为[C5 C6 C7 C1 C2 C3 C4],此时第二序列与第一延时序列相同,第二序列与第一延时序列之间的相位差为0,即第二序列与第一延时序列完全对齐,不存在残留相位差。
当残留相位差不为0时,在步骤602b之后还包括:
步骤602c、第二节点将残留相位差发送给第一节点。步骤602c之后,执行步骤603。
其中,残留相位差用于使第一节点能够根据第二节点发送的第二序列和残留相位差确定出第一节点和第二节点之间的距离,相当于在步骤605中,第一节点根据第二节点发送的第二序列和残留相位差即能够确定出第一节点和第二节点之间的距离。此处,第二序列为与第一延时序列未完全对齐的序列。具体可以为,第二节点通过通信接口将残留相位差发送给第一节点。
当残留相位差为0时,即步骤602b中第二节点将本地第一序列进行移位后,能够做到将本地第一序列和第一延时序列完全对齐,将本地第一序列进行移位后得到的第二序列即为第一延时序列。则在步骤605中,第一节点根据第二节点发送的第二序列 即能够确定出第一节点和第二节点之间的距离。
方式二
步骤602d、第二节点根据本地第一序列和第一延时序列,得到第三相位差。
其中,第二节点将产生的本地第一序列与接收到的第一延时序列做相关,得到的相位差为第三相位差。具体可以为,第二节点的接收器根据本地第一序列和第一延时序列,得到第三相位差。
步骤602e、第二节点将本地第一序列和第一延时序列之间的第三相位差发送给第一节点。步骤602e之后,执行步骤603。
其中,不同于上述方式一的过程,在方式二中,第二节点不对本地第一序列进行移位,第二节点直接将第三相位差发送给第一节点。以便于在步骤605中,第一节点能够根据第二节点发送的第二序列和第三相位差确定出第一节点和第二节点之间的距离,此处,第二序列为第二节点产生的本地第一序列或者根据本地第一序列得到的序列。具体可以为,第二节点通过通信接口将本地第一序列和第一延时序列之间的第三相位差发送给第一节点。
在一些实施例中,第一节点可以向第二节点发送序列的对应关系。
其中,序列的对应关系用于第二节点根据序列的对应关系确定第二序列,还可以理解为,第二节点能够根据序列的对应关系将本地第一序列转换成与本地第一序列存在对应关系的另一种序列结构的序列,该另一种序列结构的序列即为与第二序列的序列结构相同的序列,相当于第二节点能够根据序列的对应关系确定与第二序列的序列结构相同的序列。
示例性的,以本地第一序列为[C1 C2 C3 C4 C5]为例,其中,C1为一个样点,即样点C1,C2为一个样点,即样点C2,C3为一个样点,即样点C3,C4为一个样点,即样点C4,C5为一个样点,即样点C5。假设序列的对应关系中,本地第一序列中的样点C1对应样点A,样点C2对应样点B、样点C3对应样点C、样点C4对应样点D、样点C5对应样点E,则第二节点可以将本地第一序列[C1 C2 C3 C4 C5]根据序列的对应关系转换为[A B C D E]。同样的,第一节点也能够根据序列的对应关系对第一节点产生的序列进行转换。
步骤603、第二节点向第一节点发送多个第二序列。
其中,当第二节点通过上述方式一的过程确定第二序列时,第二节点向第一节点发送的第二序列为第二节点将本地第一序列根据第一延时序列进行移位后得到的序列。当第二节点通过上述方式二的过程确定第二序列时,第二节点向第一节点发送的第二序列为第二节点产生的本地第一序列或者根据本地第一序列得到的序列。第二节点发送的多个第二序列用于第一节点确定第一节点和第二节点之间的距离。具体可以为,第二节点的发送器向第一节点发送多个第二序列。
步骤604、第一节点从第二节点处接收多个第二延时序列。
步骤604具体可参见上述步骤401的描述,此处不过多赘述。
步骤605、第一节点确定多个第一序列和多个第二延时序列的第一相位差。
步骤605具体可参见上述步骤402的描述,此处不过多赘述。
在一些实施例中,第一节点存在以下两种确定第一相位差的方式:
方式三
步骤605a、第一节点按照发送多个第一序列的顺序,将多个第一序列拼接为第一长序列,按照接收多个第二延时序列的顺序,将多个第二延时序列拼接为第二长序列,根据第一长序列和第二长序列,得到多个第一序列和多个第二延时序列的第一相位差。
示例性的,假设第一序列的周期长度为7,周期个数为4,第一序列为[C1 C2 C3 C4 C5 C6 C7],则第一节点按照发送多个第一序列的顺序,将多个第一序列拼接成的第一长序列为[C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7],假设第二延时序列为[C2 C3 C4 C5 C6 C7 C1],则第一节点按照接收多个第二延时序列的顺序,将多个第二延时序列拼接成的第二长序列为[C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1 C2 C3 C4 C5 C6 C7 C1]。第一节点将第一长序列与第二长序列做相关,得到的相位差为多个第一序列和多个第二延时序列的第一相位差。其中,第一相位差不超过一个序列周期。上述步骤可以是第一节点的相位捕获器执行的。
方式四
步骤605b、第一节点根据第一节点发送的多个第一序列中的第N个第一序列,和接收的多个第二延时序列中的第N个第二延时序列,得到多个第一序列和多个第二延时序列的第一相位差,N为大于或等于1的整数,且N小于等于第一序列的周期个数。
示例性的,需要保证发送的第一序列与接收到的第二延时序列在顺序上是对应的,即第一节点将发送的第N个第一序列和接收到的第N个第二延时序列做相关。假设第一序列的周期长度为7,周期个数为8,第一序列为[C1 C2 C3 C4 C5 C6 C7],第二延时序列为[C2 C3 C4 C5 C6 C7 C1],则第一节点根据第一节点发送的多个第一序列中的第4个第一序列[C1 C2 C3 C4 C5 C6 C7],以及接收到的多个第二延时序列中的第4个第二延时序列[C2 C3 C4 C5 C6 C7 C1做相关,得到的相位差为多个第一序列和多个第二延时序列的第一相位差。其中,第一相位差不超过一个序列周期。上述步骤可以是第一节点的相位捕获器执行的。
在一些实施例中,第一节点根据序列的对应关系将多个第一序列转换为与第二序列的序列结构相同的多个第一转换序列,第一节点根据多个第一转换序列和多个第二延时序列,得到第一相位差。
示例性的,若第二节点向第一节点发送的第二序列是根据序列的对应关系转换后的第二序列,则第一节点可以将第一节点发送的多个第一序列根据相同的序列的对应关系进行转换,转换成与第二节点发送的第二序列结构相同的多个第一转换序列,这样,第一节点能够根据多个第一转换序列和多个第二延时序列得到第一相位差,该第一相位差即为多个第一序列和多个第二延时序列的相位差。上述动作可以是第一节点的相位捕获器执行的。
步骤606、第一节点根据第一相位差确定第一节点和第二节点之间的距离。
步骤604具体可参见上述步骤403的描述。其中,当第二节点根据方式一,将产生的本地第一序列与接收到的第一延时序列进行序列对齐,且完全对齐时(即不存在残留相位差,得到的第二序列与第一延时序列相同),第一节点确定的第一相位差为用于确定第一节点与第二节点之间往返距离的相位差。因此,第一节点能够仅根据第 一相位差即可确定出第一节点和第二节点之间的距离。
在一些实施例中,步骤606可以替换为步骤606a、第一节点根据第一相位差和残留相位差确定第一节点和第二节点之间的距离。
其中,当第二节点根据方式一,将产生的本地第一序列与接收到的第一延时序列进行序列对齐,但没有完全对齐,还存在残留相位差时,第一节点确定的第一相位差为用于确定第一节点与第二节点之间往返距离的部分相位差。第一节点接收第二节点发送的残留相位差,第一相位差和残留相位差之和即为用于确定第一节点与第二节点之间往返距离的相位差。因此,第一节点根据第一相位差和残留相位差即可确定第一节点和第二节点之间的距离。具体可以为,第一节点的延时计算器根据第一相位差和残留相位差确定第一节点和第二节点之间的距离。
在一些实施例中,步骤606可以替换为步骤606b、第一节点根据第一相位差和第三相位差确定第一节点和第二节点之间的距离。
其中,当第二节点根据方式二,对本地第一节点不进行移位时,第一节点确定的第一相位差为用于确定第二节点与第一节点之间单程距离的相位差。第一节点接收第二节点发送的第三相位差,第一相位差和第三相位差之和即为用于确定第一节点与第二节点之间往返距离的相位差。因此,第一节点根据第一相位差和第三相位差即可确定第一节点和第二节点之间的距离。具体可以为,第一节点的延时计算器根据第一相位差和第三相位差确定第一节点和第二节点之间的距离。
在一些实施例中,在步骤601之前,第一节点可以向第二节点发送第一消息,第一消息用于约定预留进行测距的时间。若进行测距的时间和节点间进行通信的时间重叠,则测距和通信会相互受到影响,因此第一节点和第二节点可以提前约定预留一段时间用来进行测距,从而可以保证测距的准确性。上述动作可以是第一节点或第二节点通过通信接口进行收发的。
在一些实施例中,上述步骤601-步骤606中涉及到的序列可以为宽带序列,即带宽频率大于等于12MHz的宽带序列,由于带宽频率大,得到的测距误差较小,因此测距精度高,从而可以保证测距的准确性。
综合以上步骤,如图9A所示,为本申请实施例第一节点与第二节点发送的序列的示意图,以第二节点采用上述方式一处理方式为例。第一节点向第二节点发送第一序列为[C1 C2 C3 C4 C5 C6 C7],第一序列经过信道延时后,第二节点接收到第一延时序列[C5 C6 C7 C1 C2 C3 C4],第二节点确定本地第一序列和第一延时序列之间的相位差为3。当第二节点将本地第一序列与第一延时序列进行序列对齐,且完全对齐时,得到的第二序列为[C5 C6 C7 C1 C2 C3 C4]。第二节点向第一节点发送第二序列,第一节点接收到第二延时序列[C2 C3 C4 C5 C6 C7 C1],第一节点确定第一序列和第二延时序列之间的第一相位差为6。因此,第一节点根据第一相位差6确定第一节点和第二节点之间的距离。
如图9B所示,为本申请实施例第一节点与第二节点发送的序列的示意图,以第二节点采用上述方式一处理方式为例。第一节点向第二节点发送第一序列为[C1 C2 C3 C4 C5 C6 7C],第一序列经过信道延时后,第二节点接收到第一延时序列[C5 C6 C7 C1 C2 C3 C4],第二节点确定本地第一序列和第一延时序列之间的相位差为3。当第二节点 将本地第一序列与第一延时序列进行序列对齐,但没有完全对齐,还存在残留相位差时,得到的第二序列为[C6 C7 C1 C2 C3 C4 C5]。第二序列与第一延时序列还存在残留相位差为1。第二节点向第一节点发送第二序列与残留相位差,第一节点接收到第二延时序列[C3 C4 C5 C6 C7 C1 C2],第一节点确定第一序列和第二延时序列之间的第一相位差为5。因此,第一节点根据第一相位差5和残留相位差1确定第一节点和第二节点之间的距离。
如图9C所示,为本申请实施例第一节点与第二节点发送的序列的示意图,以第二节点采用上述方式二处理方式为例。第一节点向第二节点发送第一序列为[C1 C2 C3 C4 C5 C6 C7],第一序列经过信道延时后,第二节点接收到第一延时序列[C5 C6 C7 C1 C2 C3 C4],第二节点确定本地第一序列和第一延时序列之间的第三相位差为3。第二节点对本地第一序列不进行序列对齐,直接将本地第一序列[C1 C2 C3 C4 C5 C6 C7](相当于第二序列)和第三相位差发送给第一节点。第一节点接收到第二延时序列[C5 C6 C7 C1 C2 C3 C4],第一节点确定第一序列和第二延时序列之间的第一相位差为3。因此,第一节点根据第一相位差3和第三相位差3确定第一节点和第二节点之间的距离。
由此,本申请实施例提供的节点间测距的方法,可以应用于电子设备,例如芯片中,当进行节点间测距时,通过传输序列,确定节点发送的序列和节点接收的序列之间的相位差,从而确定节点间的距离。由于序列的峰均比低,在功率放大器的线性范围内发送的功率大,因此能够提高通信效率,使得测距精度更高、测距误差更小且简化了测距设备的结构。此外,序列采用宽带序列,能够进一步提高测距的精度,有效减少测距误差。
与上述图6提供的节点间测距的方法对应,在图3所示的电子设备的结构基础上,如图10所示,本申请实施例提供一种节点间测距的流程示意图,以电子设备包括第一节点和第二节点,且第一节点和第二节点包括如图3示出的芯片300结构为例。图10所示的第一节点和第二节点包括发送器、接收器、处理器和通信接口,其中以序列发生器为发送器为例、以相位捕获器为接收器为例、以延时计算器处理器为处理器为例(在图10所示的节点间测距过程中,第二节点未使用到延时计算器,在一些情况下,第二节点也可以使用延时计算器确定节点间距离)。
其中,发送器(序列发生器)可以用于支持芯片300执行上述步骤400、步骤601、步骤601a、步骤602b、步骤603等,和/或用于本文所描述的技术的其他过程。
接收器(相位捕获器)可以用于支持芯片300执行上述步骤401、步骤402、步骤602、步骤602a、步骤602b、步骤602d、步骤604、步骤605、步骤605a、步骤605b等,和/或用于本文所描述的技术的其他过程。
处理器(延时计算器)可以用于支持芯片300执行上述步骤403、步骤606、步骤606a、步骤606b等,和/或用于本文所描述的技术的其他过程。
通信接口可以用于支持芯片300执行上述步骤600、步骤602c、步骤602e等,和/或用于本文所描述的技术的其他过程。
基于此,图10所示的工作流程以第二节点采用上述方式一处理方式,且残留相位差不为0为例,该工作流程可以包括:第一节点通过通信接口向第二节点发送序列信息,第二节点通过通信接口接收到第一节点发送的序列信息,以此保证第一节点和第 二节点能够产生相同的序列,其中,序列信息可以为第一序列的序列信息和第三序列的序列信息。第一节点的序列发生器根据第一序列的序列信息产生第一序列并向第二节点发送第一序列,其中,第一节点的序列发生器也可以根据第三序列的序列信息产生第三序列并向第二节点发送第三序列。此处以第一节点发送第一序列为例,第二节点的相位捕获器从第一节点处接收第一延时序列,并将第二节点产生的本地第一序列与第二节点接收的第一延时序列做相关,得到本地第一序列与第一延时序列之间的相位差。第二节点的相位捕获器将得到的相位差发送给第二节点的序列发生器,第二节点的序列发生器根据第一延时序列对第二节点产生的本地第一序列进行移位,相当于第二节点的序列发生器根据本地第一序列尽量与第一延时序列对齐,尽量通过对本地第一序列进行移位消除本地第一序列与第一延时序列之间的相位差,并将移位后得到的第二序列发送给第一节点。并且,若第二序列与第一延时序列未完全对齐,第二节点的序列发生器还将第二序列与第一延时序列之间的残留相位差通过第二节点的通信接口发送给第一节点。第一节点的相位捕获器从第二节点处接收第二延时序列,并将第一节点发送的第一序列与第一节点接收的第二延时序列做相关,得到第一相位差。第一节点的延时计算器接收到第一节点的相位捕获器发送的第一相位差以及第一节点的通信接口发送的残留相位差,根据第一相位差和残留相位差能够计算出第一节点和第二节点之间的距离。
由此,本申请实施例提供的一种节点间测距的方法,可以应用于电子设备,例如芯片中,该电子设备包括发送器(序列发生器)、接收器(相位捕获器)、处理器(延时计算器)和通信接口。相比于现有技术,现有技术中的测距设备需要包括时间戳生成器,测距时需要进行网络时钟同步才能保证测距的准确性,使得现有技术中的测距设备以及测距方案复杂,而本申请的电子设备只需要通过通信接口发送序列信息,保证产生的序列同步即可。因此,本申请的电子设备的结构更加简化,测距方案更加简单,且测距精度更高,测距误差更小。
可以理解的是,上述电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,如图11所示,本申请实施例公开了一种电子设备1100,该电子设备1100可以为上述实施例中的芯片300。电子设备1100可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备1100的动作进行控制管理,例如,可以用于支持电子设备1100执行上述发送器(序列发生器)、接收 器(相位捕获器)和处理器(延时计算器)执行的步骤。存储模块可以用于支持电子设备1100存储程序代码和数据等。通信模块可以用于支持电子设备1100与其他设备的通信例如,可以用于支持电子设备1100执行上述通信接口执行的步骤。
当然,上述电子设备1100中的单元模块包括但不限于上述处理模块、存储模块和通信模块。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为与其他外部设备交互的设备。
例如,处理模块为处理器1101(如图3所示的处理器301),存储模块可以为存储器1102(如图3所示的存储器302),通信模块可以称为通信接口1103(如图3所示的通信接口303)。本申请实施例所提供的电子设备1100可以为图3所示的芯片300。其中,上述处理器1101、存储器1102、通信接口1103等可以连接在一起,例如通过总线连接。
本申请实施例还提供一种电子设备,包括一个或多个处理器以及一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述相关方法步骤实现上述实施例中的节点间测距的方法。
本申请实施例还提供一种电子设备,该电子设备包括一个或多个通信接口和一个或多个处理器,其中,通信接口和处理器通过线路互联,处理器通过通信接口从电子设备的存储器接收并执行计算机指令,使得电子设备执行上述相关方法步骤实现上述实施例中的节点间测距的方法。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序代码,当计算机指令在计算机或处理器上运行时,使得计算机或处理器执行上述实施例中节点间测距的方法。
本申请的实施例还提供了一种计算机程序产品,计算机程序产品中包括计算机指令,当计算机指令在计算机或处理器上运行时,使得计算机或处理器执行上述相关步骤,以实现上述实施例中电子设备执行的节点间测距的方法。
其中,本实施例提供的电子设备、电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如 多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (45)

  1. 一种节点间测距的方法,其特征在于,所述方法包括:
    第一节点向第二节点发送多个第一序列;
    所述第一节点从所述第二节点处接收多个第二延时序列;
    所述第一节点确定所述多个第一序列和所述多个第二延时序列的第一相位差;
    所述第一节点根据所述第一相位差确定所述第一节点和所述第二节点之间的距离。
  2. 根据权利要求1所述的方法,其特征在于,所述多个第二延时序列为所述第二节点发送的多个第二序列经过信道延时之后的多个序列。
  3. 根据权利要求2所述的方法,其特征在于,所述第二序列为所述第二节点根据所述第一延时序列对本地第一序列进行移位得到的,所述第一延时序列为所述第二节点接收到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  4. 根据权利要求3所述的方法,其特征在于,所述第二序列与所述第一延时序列之间存在残留相位差,所述方法还包括:
    所述第一节点接收所述第二节点发送的所述残留相位差;
    所述第一节点根据所述第一相位差确定所述第一节点和所述第二节点之间的距离,具体包括:
    所述第一节点根据所述第一相位差和所述残留相位差确定所述第一节点和所述第二节点之间的距离。
  5. 根据权利要求2所述的方法,其特征在于,所述第二序列为所述本地第一序列或者根据本地第一序列得到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    所述第一节点接收所述第二节点发送的第三相位差,所述第三相位差为所述本地第一序列和第一延时序列之间的相位差,所述第一延时序列为所述第二节点接收到的序列;
    所述第一节点根据所述第一相位差确定所述第一节点和所述第二节点之间的距离包括:
    所述第一节点根据所述第一相位差和所述第三相位差确定所述第一节点和所述第二节点之间的距离。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一节点确定所述多个第一序列和所述多个第二延时序列的第一相位差包括:
    所述第一节点按照发送所述多个第一序列的顺序,将所述多个第一序列拼接为第一长序列,按照接收所述多个第二延时序列的顺序,将所述多个第二延时序列拼接为第二长序列,根据所述第一长序列和所述第二长序列,得到所述多个第一序列和所述多个第二延时序列的第一相位差。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一节点确定所述多个第一序列和所述多个第二延时序列的第一相位差包括:
    所述第一节点根据所述第一节点发送的所述多个第一序列中的第N个所述第一序列,和接收的所述多个第二延时序列中的第N个所述第二延时序列,得到所述多个第一序列和所述多个第二延时序列的第一相位差,N为大于或等于1的整数。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述第一节点向第二节点发送多个第一序列之后,所述方法还包括:
    所述第一节点向所述第二节点发送多个第三序列;所述多个第三序列用于指示所述第二节点接收到多个第三延时序列后,向所述第一节点发送序列;所述多个第三延时序列为所述第一节点发送的所述多个第三序列经过信道延时之后的多个序列。
  10. 根据权利要求9所述的方法,其特征在于,所述第一节点向第二节点发送多个第一序列之前,所述方法还包括:
    所述第一节点向所述第二节点发送所述第一序列的序列信息,所述第一序列的序列信息用于所述第一节点或所述第二节点生成所述第一序列。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述第一节点接收多个第二延时序列之前,所述方法还包括:
    所述第一节点向所述第二节点发送序列的对应关系,所述序列的对应关系用于所述第二节点根据所述序列的对应关系确定与所述第二序列的序列结构相同的序列。
  12. 根据权利要求11所述的方法,其特征在于,所述第一节点确定所述多个第一序列和所述多个第二延时序列的第一相位差还包括:
    所述第一节点根据所述序列的对应关系将所述多个第一序列转换为与所述第二序列的序列结构相同的多个第一转换序列;
    所述第一节点根据所述多个第一转换序列和所述多个第二延时序列,得到所述第一相位差。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述第一序列和所述第二延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、弗兰克Frank序列或扎道夫-朱Zadoff-Chu序列。
  14. 一种节点间测距的方法,其特征在于,所述方法包括:
    第二节点从第一节点处接收多个第一延时序列,所述多个第一延时序列为所述第一节点发送的多个第一序列经过信道延时之后的多个序列;
    所述第二节点向所述第一节点发送多个第二序列;所述多个第二序列用于所述第一节点确定所述第一节点和所述第二节点之间的距离。
  15. 根据权利要求14所述的方法,其特征在于,所述第二节点接收多个第一延时序列之后,所述方法还包括:
    所述第二节点根据所述第一延时序列对本地第一序列进行移位,得到所述第二序列;其中,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  16. 根据权利要求15所述的方法,其特征在于,所述第二序列与所述第一延时序列之间存在残留相位差,所述方法还包括:
    所述第二节点将所述残留相位差发送给所述第一节点;所述残留相位差和所述第二序列用于所述第一节点确定所述第一节点和所述第二节点之间的距离。
  17. 根据权利要求14所述的方法,其特征在于,所述第二序列为本地第一序列或者根据所述本地第一序列得到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同,所述方法还包括:
    所述第二节点将所述本地第一序列和所述第一延时序列之间的第三相位差发送给所述第一节点,所述第三相位差和所述第二序列用于所述第一节点确定所述第一节点和所述第二节点之间的距离。
  18. 根据权利要求14-17任一项所述的方法,其特征在于,所述第二节点接收多个第一延时序列之后,所述方法还包括:
    所述第二节点接收多个第三延时序列;所述多个第三延时序列用于所述第二节点接收到所述多个第三延时序列后,向所述第一节点发送序列;所述多个第三延时序列为所述第一节点发送的多个第三序列经过信道延时之后的多个序列。
  19. 根据权利要求18所述的方法,其特征在于,所述第二节点接收多个第一延时序列之前,所述方法还包括:
    所述第二节点接收所述第一节点发送的所述第一序列的序列信息,所述第一序列的序列信息用于所述第一节点或所述第二节点生成所述第一序列。
  20. 根据权利要求14-19任一项所述的方法,其特征在于,所述第二节点向所述第一节点发送多个第二序列之前,所述方法还包括:
    所述第二节点接收所述第一节点发送的序列的对应关系;
    所述第二节点根据所述序列的对应关系确定所述第二序列。
  21. 根据权利要求18所述的方法,其特征在于,所述第一序列、所述第二序列、所述第三序列、所述第一延时序列以及所述第三延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、弗兰克Frank序列或扎道夫-朱Zadoff-Chu序列。
  22. 一种电子设备,其特征在于,所述电子设备包括:
    发送器,用于向第二节点发送多个第一序列;
    接收器,用于从所述第二节点处接收多个第二延时序列;
    所述接收器,还用于确定所述多个第一序列和所述多个第二延时序列的第一相位差;
    处理器,用于根据所述第一相位差确定第一节点和所述第二节点之间的距离。
  23. 根据权利要求22所述的电子设备,其特征在于,所述多个第二延时序列为所述第二节点发送的多个第二序列经过信道延时之后的多个序列。
  24. 根据权利要求23所述的电子设备,其特征在于,所述第二序列为所述第一延时序列对本地第一序列进行移位得到的,所述第一延时序列为所述第二节点接收到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  25. 根据权利要求24所述的电子设备,其特征在于,所述第二序列与所述第一延时序列之间存在残留相位差,所述电子设备还包括:
    通信接口,用于接收所述第二节点发送的所述残留相位差;
    所述处理器,还用于根据所述第一相位差和所述残留相位差确定所述第一节点和 所述第二节点之间的距离。
  26. 根据权利要求23所述的电子设备,其特征在于,所述第二序列为所述本地第一序列或者根据本地第一序列得到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  27. 根据权利要求26所述的电子设备,其特征在于,
    所述通信接口,还用于接收所述第二节点发送的第三相位差,所述第三相位差为所述本地第一序列和第一延时序列之间的相位差,所述第一延时序列为所述第二节点接收到的序列;
    所述处理器,还用于根据所述第一相位差和所述第三相位差确定所述第一节点和所述第二节点之间的距离。
  28. 根据权利要求22-27任一项所述的电子设备,其特征在于,所述接收器还用于:
    按照发送所述多个第一序列的顺序,将所述多个第一序列拼接为第一长序列,按照接收所述多个第二延时序列的顺序,将所述多个第二延时序列拼接为第二长序列,根据所述第一长序列和所述第二长序列,得到所述多个第一序列和所述多个第二延时序列的第一相位差。
  29. 根据权利要求22-27任一项所述的电子设备,其特征在于,所述接收器还用于:
    根据所述发送器发送的所述多个第一序列中的第N个所述第一序列,和接收的所述多个第二延时序列中的第N个所述第二延时序列,得到所述多个第一序列和所述多个第二延时序列的第一相位差,N为大于或等于1的整数。
  30. 根据权利要求22-29任一项所述的电子设备,其特征在于,所述发送器还用于:
    向所述第二节点发送多个第三序列;所述多个第三序列用于指示所述第二节点接收到多个第三延时序列后,向所述第一节点发送序列;所述多个第三延时序列为所述发送器发送的所述多个第三序列经过信道延时之后的多个序列。
  31. 根据权利要求30所述的电子设备,其特征在于,所述通信接口还用于:
    向所述第二节点发送所述第一序列的序列信息,所述第一序列的序列信息用于所述第一节点或所述第二节点生成所述第一序列。
  32. 根据权利要求22-31任一项所述的电子设备,其特征在于,所述通信接口还用于:
    向所述第二节点发送序列的对应关系,所述序列的对应关系用于所述第二节点根据所述序列的对应关系确定与所述第二序列的序列结构相同的序列。
  33. 根据权利要求32所述的电子设备,其特征在于,
    所述接收器,还用于根据所述序列的对应关系将所述多个第一序列转换为与所述第二序列的序列结构相同的多个第一转换序列;
    所述接收器,还用于根据所述多个第一转换序列和所述多个第二延时序列,得到所述第一相位差。
  34. 根据权利要求22-33任一项所述的电子设备,其特征在于,所述第一序列和所述第二延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、弗兰克Frank序列或扎道夫-朱Zadoff-Chu序列。
  35. 一种电子设备,其特征在于,所述电子设备包括:
    接收器,用于从第一节点处接收多个第一延时序列,所述多个第一延时序列为所述第一节点发送的多个第一序列经过信道延时之后的多个序列;
    发送器,用于向所述第一节点发送多个第二序列;所述多个第二序列用于所述第一节点确定所述第一节点和第二节点之间的距离。
  36. 根据权利要求35所述的电子设备,其特征在于,
    所述发送器,还用于根据所述第一延时序列对本地第一序列进行移位,得到所述第二序列;其中,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同。
  37. 根据权利要求36所述的电子设备,其特征在于,所述第二序列与所述第一延时序列之间存在残留相位差,所述电子设备还包括:
    通信接口,用于将所述残留相位差发送给所述第一节点;所述残留相位差和所述第二序列用于所述第一节点确定所述第一节点和所述第二节点之间的距离。
  38. 根据权利要求35所述的电子设备,其特征在于,所述第二序列为本地第一序列或者根据所述本地第一序列得到的序列,所述本地第一序列为所述第二节点产生的序列,所述本地第一序列与所述第一序列相同,所述通信接口还用于:
    将所述本地第一序列和所述第一延时序列之间的第三相位差发送给所述第一节点,所述第三相位差和所述第二序列用于所述第一节点确定所述第一节点和所述第二节点之间的距离。
  39. 根据权利要求35-38任一项所述的电子设备,其特征在于,所述接收器还用于:
    接收多个第三延时序列;所述多个第三延时序列用于所述第二节点接收到所述多个第三延时序列后,向所述第一节点发送序列;所述多个第三延时序列为所述第一节点发送的多个第三序列经过信道延时之后的多个序列。
  40. 根据权利要求39所述的电子设备,其特征在于,所述通信接口还用于:
    接收所述第一节点发送的所述第一序列的序列信息,所述第一序列的序列信息用于所述第一节点或所述第二节点生成所述第一序列。
  41. 根据权利要求35-40任一项所述的电子设备,其特征在于,
    所述通信接口,还用于接收所述第一节点发送的序列的对应关系;
    所述发送器,还用于根据所述序列的对应关系确定所述第二序列。
  42. 根据权利要求39所述的电子设备,其特征在于,所述第一序列、所述第二序列、所述第三序列、所述第一延时序列以及所述第三延时序列为以下序列中的任意一种:二进制伪随机噪声序列、多相位伪随机噪声序列、弗兰克Frank序列或扎道夫-朱Zadoff-Chu序列。
  43. 一种电子设备,其特征在于,所述电子设备为如权利要求22-34或35-42任一项所述的电子设备;所述电子设备包括一个或多个通信接口和一个或多个处理器;所述通信接口和所述处理器通过线路互联;所述处理器通过所述通信接口从所述电子设备的所述存储器接收并执行所述计算机指令。
  44. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在计算机或处理器上运行时,使得所述计算机或所述处理器执行上述权利要求1-13或14-21中的任一项所述的方法。
  45. 一种计算机程序产品,其特征在于,所述计算机程序产品中包括计算机指令,当所述计算机指令在计算机或处理器上运行时,使得所述计算机指令在计算机或处理器上运行时执行上述权利要求1-13或14-21中的任一项所述的方法。
PCT/CN2021/114151 2021-08-23 2021-08-23 一种节点间测距的方法及装置 WO2023023912A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2021/114151 WO2023023912A1 (zh) 2021-08-23 2021-08-23 一种节点间测距的方法及装置
CN202180100848.XA CN117836662A (zh) 2021-08-23 2021-08-23 一种节点间测距的方法及装置
EP21954464.0A EP4365628A1 (en) 2021-08-23 2021-08-23 Method and device for measuring distance between nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/114151 WO2023023912A1 (zh) 2021-08-23 2021-08-23 一种节点间测距的方法及装置

Publications (1)

Publication Number Publication Date
WO2023023912A1 true WO2023023912A1 (zh) 2023-03-02

Family

ID=85321396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114151 WO2023023912A1 (zh) 2021-08-23 2021-08-23 一种节点间测距的方法及装置

Country Status (3)

Country Link
EP (1) EP4365628A1 (zh)
CN (1) CN117836662A (zh)
WO (1) WO2023023912A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1570286A1 (en) * 2002-09-24 2005-09-07 Honeywell International Inc. Radio frequency interference monitor
US10015769B1 (en) * 2017-03-16 2018-07-03 Lonprox Corporation Systems and methods for indoor positioning using wireless positioning nodes
CN111366813A (zh) * 2020-03-17 2020-07-03 重庆邮电大学 一种脉冲噪声环境下的电缆故障定位方法、装置及系统
CN112367098A (zh) * 2020-11-10 2021-02-12 南京航空航天大学 一种通过扩频载波实现故障诊断的方法
CN112492526A (zh) * 2014-05-28 2021-03-12 联邦快递服务公司 使用无线节点网络的元素的使能节点递送通知

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1570286A1 (en) * 2002-09-24 2005-09-07 Honeywell International Inc. Radio frequency interference monitor
CN112492526A (zh) * 2014-05-28 2021-03-12 联邦快递服务公司 使用无线节点网络的元素的使能节点递送通知
US10015769B1 (en) * 2017-03-16 2018-07-03 Lonprox Corporation Systems and methods for indoor positioning using wireless positioning nodes
CN111366813A (zh) * 2020-03-17 2020-07-03 重庆邮电大学 一种脉冲噪声环境下的电缆故障定位方法、装置及系统
CN112367098A (zh) * 2020-11-10 2021-02-12 南京航空航天大学 一种通过扩频载波实现故障诊断的方法

Also Published As

Publication number Publication date
CN117836662A (zh) 2024-04-05
EP4365628A1 (en) 2024-05-08

Similar Documents

Publication Publication Date Title
US8355476B2 (en) Timestamping method and apparatus for precise network synchronization
US20140229756A1 (en) Compound universal serial bus architecture providing precision synchronisation to an external timebase
CN102439884A (zh) 时间同步的方法和设备
TW201208328A (en) Systems and methods for transporting time-of-day information in a communication system
US8949448B1 (en) System and method for improving the timestamp precision in a precision time protocol (PTP) device
CN108650051A (zh) 通用全硬件一步式1588的时钟同步装置及方法
RU2007143396A (ru) Устройство и способ передачи информации
CN104836630A (zh) Ieee1588时钟同步系统及其实现方法
CN108880723A (zh) 一种时钟同步的方法和装置
CN105027489B (zh) 精确时钟协议同步方法和节点
US6895009B1 (en) Method of generating timestamps for isochronous data
WO2023023912A1 (zh) 一种节点间测距的方法及装置
KR100954170B1 (ko) 다중 rf 수신장치 및 이를 이용한 위치 측정 방법
Li et al. Improvement of precise time synchronization algorithm based on IEEE1588
CN113381832B (zh) 一种基于fpga平台的精确时间同步方法
CN111290987B (zh) 一种超高速spi接口实现装置及方法
US11606156B1 (en) Clock synchronization
JP2018006913A (ja) 情報通信システム、情報通信装置
JPH1198108A (ja) Cdma信号測定方法
CN117478263A (zh) 一种时间同步方法、fpga相位测量系统
WO2023004576A1 (zh) 一种时钟同步方法、装置、系统及芯片
JP6845522B2 (ja) 情報通信システム、情報通信装置
CN103558820A (zh) 虚拟无线电航天测控数据并行同步传输系统
WO2022160283A1 (zh) 一种采样方法、采样电路及分布式网络的时钟同步方法
CN117938298A (zh) 一种提升ptp时间同步精度的装置及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21954464

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180100848.X

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2021954464

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2021954464

Country of ref document: EP

Effective date: 20240202

NENP Non-entry into the national phase

Ref country code: DE