An ultra-wideband multi-channel demodulation method based on 802.15.4z standard

By adopting the multi-channel demodulation method based on the 802.15.4z standard in the UWB communication system, detecting the communication mode and performing adaptive demodulation and offset compensation, the problem of mismatch of the receiving end decoding rate in HPRF mode is solved and the efficiency is improved. UWB baseband performance and signal stability.

CN118337240BActive Publication Date: 2024-10-11NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410752263.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-11
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

The existing UWB baseband receiver demodulation method is only suitable for the BPRF mode with lower pulse repetition frequency, and cannot effectively handle the HPRF mode with higher pulse frequency, resulting in a mismatch between the decoding rate of the receiving end and the transmitting end rate, resulting in missing solutions and loss. Packet and other issues affect UWB baseband performance.

Method used

Using an ultra-wideband multi-channel demodulation method based on the 802.15.4z standard, the communication mode is determined by detecting the synchronization preamble, using a matched filter and a scrambler to generate a local scrambling code, despreading and offset compensation are performed according to the mode, and calculated using the Cordic algorithm The frequency offset is compensated, and finally the original baseband data is decoded in the decoding module.

Benefits of technology

It achieves effective demodulation of HPRF mode, matches protocol specifications, reduces power consumption and implementation costs, and improves system performance, especially signal transmission stability and bit error rate at high pulse frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337240B_ABST
    Figure CN118337240B_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication integrated circuits, and discloses an ultra-wideband multi-channel demodulation method based on the 802.15.4z standard. The mode of the transmitting end is judged based on the baseband signal received by the receiving end, and the synchronized signal is sent to a matching filter for filtering to obtain the original signal after coding modulation and spread spectrum; the signal output of the matching filter is correlated and accumulated with the local scrambling code to obtain the baseband signal after descrambling, and the descrambled baseband signal is despread according to the current signal transmission mode, and the demodulated signal is sent to a decoding module for decoding to obtain the original baseband data. The method of the present invention shares a module in the two modes of the matched filtering and decoding parts of the demodulation, and the structure is relatively simple while reducing power consumption, thereby reducing the implementation cost; in view of the characteristics of the high pulse frequency of the HPRF mode, offset tracking and compensation are added between the de-symbol mapping and the de-spreading, so that the overall performance of the system is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of communication integrated circuits, and in particular relates to an ultra-wideband multi-path demodulation method based on the 802.15.4z standard. Background Art

[0002] Ultra Wide Band (UWB) communication technology is a short-range wireless communication technology that uses nanosecond non-sinusoidal narrow pulses to transmit data. It has many advantages such as strong anti-interference performance and high positioning accuracy. With the continuous development of UWB technology, UWB communication chips have been widely used in the fields of smart communication devices and smart cars, and also have considerable application prospects in other consumer markets.

[0003] The IEEE 802.15.4 protocol issued by the Institute of Electrical and Electronics Engineers (IEEE) specifies the design specifications for general UWB systems. The IEEE 802.15.4z protocol released in December 2020 is the latest revised version of the IEEE 802.15.4 protocol. This version of the protocol adds a higher pulse repetition frequency (HPRF) mode with a higher pulse frequency in addition to the original base pulse repetition frequency (BPRF) mode in the modulation of ultra-wideband signals. In the HPRF mode, the UWB signal has a higher pulse repetition frequency, thereby obtaining a larger bandwidth. Under the condition of a certain channel capacity, a higher bandwidth means a lower requirement for the signal-to-noise ratio and enhanced anti-interference ability; under the condition of a certain signal-to-noise ratio, a higher bandwidth brings a larger channel capacity and increases the transmission rate. Therefore, the HPRF mode of the UWB communication system has considerable technical advantages over traditional wireless communication technologies such as Bluetooth and wifi, and also has certain performance improvements over the BPRF mode.

[0004] Due to the higher pulse frequency in HPRF mode, the original modulation method can no longer meet the demand, so the main revision of the IEEE802.15.4z protocol is to improve the modulation method. In the original modulation method, each symbol carries 2 bits of information: one bit is used to determine the position of the valid pulse string (in the first half or the second half of a symbol cycle); the other bit determines the polarity of the valid pulse string (positive pulse or negative pulse). These 2 bits are obtained by convolution coding the original 1-bit data. Each symbol cycle T dsym Divided into two pulse cycles TBPM , where is the burst pulse segment (Burst) distributed? BPM By position bit Determined, and Burst only exists in T BPM The first half of the cycle is used as a protection interval, and the second half of the cycle is used as a protection interval. A Burst contains N cpb Continuous chips (Chip), that is, the Burst period ,in For the cycle of a single chip, the Symbol structure of the BPRF mode is as follows Figure 3 shown.

[0005] According to the protocol, the maximum mean pulse repetition frequency (MPRF) of the BPRF mode is 62.4MHz, while HPRF supports MPRFs of 124.8MHz and 249.6MHz. In the HPRF modulation mode, the front and back T BPM ,like Figure 4 As shown in the figure, an arrow represents a pulse chip. Under the MPRF of 249.6MHz, a symbol has a fixed load of eight chips. The polarity of the chip is determined by the polarity bit. The symbol structure under the MPRF of 124.8MHz is similar to that of 249.6MHz, except that a gap is added between every two chips, such as Figure 5 shown.

[0006] Although the modulation methods of the HPRF mode and the BPRF mode are both BPM-BPSK modulation (Binary PhaseShift Keying with Baseband Pulse Modulation), in the Symbol cycle of the same length, the number of pulses contained in the HPRF mode Symbol is twice or four times the maximum value of the BPRF mode.

[0007] The existing demodulation method for the UWB baseband receiver is only applicable to the BPRF mode with a low pulse repetition frequency. In the HPRF mode where the MPRF is up to 4 times that of the BPRF mode, if the existing BPRF mode demodulation algorithm is continued to be used, the decoding rate of the receiver and the transmission rate will not match, and problems such as missed decoding and packet loss will inevitably occur, which will have a serious impact on the UWB baseband performance. The symbol structure under the modulation method of the BPRF mode is only in the previous T BPM or the next T BPM Therefore, a symbol only needs to be decoded once. In HPRF mode, there are valid pulses in the front and rear pulse periods.BPM If the demodulation is performed in BPRF mode, half of the bit information in a Symbol will be lost, which will have an adverse effect on the performance of convolution decoding. Summary of the invention

[0008] To solve the above technical problems, the present invention provides an ultra-wideband multi-channel demodulation method based on the 802.15.4z standard, which adopts different demodulation methods for different communication modes to match the pulse rate of the receiving end with that of the transmitting end, and eliminates the influence of signal offset caused by the clock frequency difference between the transmitting end and the receiving end during demodulation.

[0009] The ultra-wideband multi-path demodulation method based on the 802.15.4z standard of the present invention comprises the following steps:

[0010] Step 1: After receiving the digital baseband signal output by the analog-to-digital converter AD, the UWB signal receiving end completes synchronization with the transmitting end by detecting the synchronization preamble, and determines whether the UWB communication mode of the transmitting end is the BPRF mode or the HPRF mode according to the protocol specification;

[0011] Step 2: Send the synchronized digital baseband signal to a matched filter for filtering to obtain the original signal after coding modulation and spectrum spread;

[0012] Step 3, generate a local scrambling code through the scrambler specified by the protocol, correlate and accumulate the signal output of the matched filter with the local scrambling code, obtain the baseband signal after descrambling, and despread the descrambled baseband signal according to the current signal transmission mode; if the current signal transmission mode is the BPRF mode, complete the signal demodulation and execute step 6; if the current signal transmission mode is the HPRF mode, divide the despread signal into three paths through time delay, obtain the signal P path of the current phase, the signal E path of the previous phase and the signal L path of the next phase, and execute step 4;

[0013] Step 4: Compare the energy of the three signals to calculate the time deviation, use the Cordic algorithm to calculate the frequency deviation and compensate for it;

[0014] Step 5: Demapping the compensated signal;

[0015] Step 6: Send the demodulated signal to the decoding module for decoding to obtain the original baseband data.

[0016] Furthermore, in step 1, the UWB communication mode is determined, specifically:

[0017] The UWB signal consists of three parts: a synchronization header SHR, a data frame header PHR and a data payload. The SHR field used for synchronization consists of a synchronization preamble repeated N times. The current mode is determined to be BPRF mode or HPRF mode based on the length of the synchronization preamble sequence detected in the SHR synchronization phase.

[0018] Furthermore, step 2 is specifically as follows:

[0019] The channel is estimated by using the result of correlation accumulation of the synchronization preamble sequence to obtain the impulse response h(n) of the current channel, and h(n) is used as the initial value of the matched filter tap system;

[0020] With one symbol as a period, the impulse response value of each Symbol length is updated once according to the current communication transmission mode.

[0021] Furthermore, step 3 is specifically as follows:

[0022] By formula Get the descrambled signal, where is the descrambled signal, n is the index of the current Symbol, is the local scrambling code, is the output of the matched filter, is the number of chips in a burst pulse segment Burst, k is the accumulated variable;

[0023] If the UWB communication mode is currently the BPRF mode, the modulation signal is expressed as formula (1):

[0024] (1)

[0025] in, is the modulated signal, p is the pulse forming function, S n The scrambling sequence generated by the scrambler specified in the protocol, N cpb is the number of chips in a burst pulse segment, h represents the jump position, T BPM is the pulse period; a Burst contains N cpb Chip, T c is the cycle of a single chip, T burst is the Burst period; the position bit is generated through convolutional coding and polarity bit , demodulation is completed;

[0026] If the current mode is HPRF, the Symbol is divided into two halves, front and back halves, and the correlation calculation is performed with the local code to obtain two results XD1 and X D2 , X D1 and X D2 Divided into X DP , X DE and X DL There are three signals, namely, the signal P of the current phase, the signal E of the previous phase and the signal L of the next phase.

[0027] Furthermore, in step 4, the energy of the three signals is compared to calculate the time deviation, and the offset phase is calculated and compensated using the Cordic algorithm, specifically:

[0028] Time offset compensation: The pulses in the current symbol of E, P and L are accumulated to obtain the energy of a symbol, and then the energies of the three paths are compared to obtain the time offset. The compensation amount is calculated by the phase-locked loop and the compensation amount is calculated by the phase-locked loop. D1 and X D2 Perform time deviation compensation to obtain a compensated signal;

[0029] Frequency offset compensation: for two signal sampling points with phase difference and Assume that the phase difference is ,have:

[0030] (2)

[0031] Rewritten in matrix form:

[0032] (3)

[0033] but:

[0034] (4)

[0035] Simplified:

[0036] (5)

[0037] And then:

[0038] (6)

[0039] Thus, the phase relationship between two adjacent phase sampling points is obtained; X k and Y k is the signal of the previous phase, X k+1 and Y k+1 is the signal of the current phase; the starting value of the phase difference is , the step value is Start calculating, , , Substitute into formula (6) in turn; when both sides of formula (6) are close to being equal, the phase difference is the current ; After this process is repeated for N sampling points, the phase difference is:

[0040] (7)

[0041] Use Calculate the average phase difference of the current N sampling points and then calculate X D1 and X D2 Perform frequency offset compensation.

[0042] Furthermore, after the offset compensation, X D1 and X D2 Perform calculations, since X D1 and X D2 They represent the pulses of the two half cycles before and after a symbol respectively. Therefore, the decision threshold T is set. When it is greater than T, the convolution code is judged to be 1, otherwise the convolution code is 0. Thus, we can get and .

[0043] The beneficial effects of the present invention are:

[0044] 1) The method of the present invention can be used for demodulation of the high pulse frequency UWB communication mode specified in the latest revised IEEE 802.15.4z version protocol, matching the HRPF communication mode specified in the protocol, complying with the protocol specification, and filling the technical gap in this field;

[0045] 2) The method of the present invention determines the current communication mode before entering the data demodulation stage. In the matched filtering and decoding part of the demodulation, the BPRF mode and the HPRF mode share a matched filter, a convolution decoding module and a channel decoding module, which reduces power consumption and has a relatively simple structure, thereby reducing the implementation cost.

[0046] 3) The present invention also adds offset tracking and compensation between de-symbol mapping and de-spreading to further improve the overall performance of the system in view of the high pulse frequency characteristics of the HPRF mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of the method of the present invention;

[0048] Figure 2 It is a schematic diagram of the UWB signal framing method specified by the protocol;

[0049] Figure 3 It is a schematic diagram of the symbol structure in the BPRF mode;

[0050] Figure 4 It is a schematic diagram of the symbol structure when the MPRF in HPRF mode is 249.6MHz;

[0051] Figure 5 This is a schematic diagram of the symbol structure when the MPRF in HPRF mode is 124.8MHz;

[0052] Figure 6 It is a schematic diagram of the structure of a communication frame;

[0053] Figure 7 It is a schematic diagram of the structure of the scrambler;

[0054] Figure 8 It is a schematic diagram of the method of despreading the HPRF mode signal;

[0055] Fig. 9 This is a flow chart of the offset tracking compensation method in HPRF mode;

[0056] Fig.10 It is a schematic diagram comparing the packet error rate of the original demodulation method and the method of the present invention;

[0057] Fig.11 It is a schematic diagram comparing the bit error rates of the original demodulation method and the method of the present invention;

[0058] Fig.12 It is a schematic diagram comparing the offset tracking compensation performance of the original demodulation method and the method described in the present invention. DETAILED DESCRIPTION

[0059] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments in conjunction with the accompanying drawings.

[0060] The UWB signal framing mode specified by the protocol is shown in Figure 2 , demodulation should be the reverse process of framing, including filtering, descrambling, despreading, decoding, etc. Figure 1 As shown, the ultra-wideband multi-path demodulation method based on the 802.15.4z standard of the present invention comprises the following steps:

[0061] Step 1: After receiving the digital baseband signal output by the analog-to-digital converter (AD), the receiving end completes synchronization with the transmitting end by detecting the synchronization preamble. According to the protocol specification, the synchronization preambles used in the BPRF mode and the HPRF mode are different. At this time, the receiving end can determine whether the mode of the transmitting end is the HPRF mode or the BPRF mode;

[0062] Step 2: Send the synchronized digital baseband signal to a matched filter for filtering to obtain the original signal after coding modulation and spectrum spread;

[0063] Step 3: Generate a local scrambling code through the scrambler specified by the protocol, correlate and accumulate the signal output of the matched filter with the local scrambling code, obtain the baseband signal after descrambling, and despread the signal in different ways according to the current signal transmission mode; if the current signal transmission mode is the BPRF mode, complete the signal demodulation and execute step 6; if the current signal transmission mode is the HPRF mode, divide the despread signal into three paths through time delay, obtain the signal P path of the current (Present) phase, the signal E path of the previous (Earlier) phase and the signal L path of the later (Later) phase, and execute step 4;

[0064] Step 4: Compare the energy of the three signals to calculate the time deviation, use the Cordic algorithm to calculate the frequency deviation and compensate for it;

[0065] Step 5: Demapping the compensated signal;

[0066] Step 6: Send the demodulated signal to the decoding module for decoding to obtain the original baseband data.

[0067] In step 1, the UWB communication mode is judged, and the specific method is as follows:

[0068] According to the protocol, the UWB signal is divided into three parts: synchronization header SHR, data frame header PHR and data payload Payload. Figure 6 As shown. SHR is used for synchronization between the transmitter and the receiver. Normal communication can only be carried out after synchronization is completed. The SHR field used for synchronization specified by the protocol consists of the synchronization preamble repeated N times. According to the protocol, the Preamble sequence is divided into three types according to its length: 31-bit sequence, 127-bit sequence and 91-bit sequence. When SHR synchronization is completed, the receiver can know the type of Preamble sequence used; and the 91-bit Preamble sequence is dedicated to the HPRF mode. Therefore, when the 91-bit sequence is detected in the SHR synchronization stage, it can be confirmed that the current mode is HPRF, otherwise it is BPRF mode.

[0069] In step 2, the synchronized digital baseband signal is sent to the matched filter for filtering to obtain the original signal after coding modulation and spread spectrum. The specific method is as follows: in the SHR processing stage, the channel is estimated by using the result of correlation accumulation of the synchronization preamble sequence to obtain the impulse response h(n) of the current channel, and h(n) is used as the initial value of the matched filter tap system. According to the matched filter principle, for the matched filter, its tap coefficient should be equal to the inverse of the autocorrelation function of the signal to be detected. Its autocorrelation function , in a channel with impulse response h(n) , and the autocorrelation function of a signal is a measure of how similar a signal is to itself after a time offset, so the inverse of the autocorrelation function h(n) is the function of the maximum correlation of the original signal. This means that when a matched filter is applied to a noisy signal, the output of the filter will have a peak at the delay time of the signal, and the noise will be suppressed. For the UWB chip baseband, the initial value of the matched filter tap coefficient should use the channel impulse response calculated in the SHR stage; in the data processing stage, according to the current data format, the impulse response value can be updated once for each Symbol length.

[0070] In step 3, a local scrambling code is generated by a scrambler specified in the protocol, and the signal output of the matched filter is correlated and accumulated with the local scrambling code to obtain a baseband signal after despreading. The specific method is as follows:

[0071] The IEEE 802.15.4z protocol provides a 15-bit linear feedback shift register (LFSR) sequence for generating scrambling codes. Figure 7 The scrambler shown generates the local scrambling code C L , Figure 7 In the example, LFSR[0] is the 0th bit of the sequence, and LFSR[1], LFSR

[13] , LFSR

[14] , and so on. L [n] is the local code sequence C L The number of cycles in the generation process is the number of chips contained in a single Symbol in the current format. The result of the nth cycle is T n ; Then by the formula Get the descrambled signal, where is the descrambled signal, n is the index of the current Symbol, is the local scrambling code, is the output of the matched filter, is the number of chips in a burst pulse segment Burst, and k is the accumulated variable.

[0072] If the UWB communication mode is currently the BPRF mode, the modulation signal is expressed as formula (1):

[0073] (1)

[0074] in, is the modulated signal, p is the pulse forming function, S n The scrambling sequence generated by the scrambler specified in the protocol, N cpb is the number of chips in a burst pulse segment, h represents the jump position, T BPMis the pulse period; a Burst contains N cpb Chip, T c is the cycle of a single chip, T burst is the Burst period; the position bit is generated through convolutional coding and polarity bit , complete the demodulation and directly go to step 6 for decoding.

[0075] If the current mode is HPRF, the processing is divided into two paths, and the Symbol is divided into the first half cycle and the second half cycle for correlation calculation with the local code. The first half cycle and the second half cycle are processed in parallel to obtain two results X D1 and X D2 , representing the correlation values ​​of the two segments before and after.

[0076] Figure 8 Shows the output signal of the matched filter in HPRF mode During the despreading process, the number of cycles in the first half cycle and the second half cycle is the number of chips contained in a single symbol in the current format; X DP , X DE and X DL are the P, E and L signals after despreading respectively; Z -1 It is the inverse Z transform, which is used to shift the signal.

[0077] like Fig. 9 As shown, in step 4, the energy of the three signals is compared, and the offset phase is calculated and compensated using the Cordic algorithm. The specific method is:

[0078] Time deviation compensation: Accumulate the pulses in the current symbol of E, P and L to obtain the energy of a symbol, and then compare the energies of the three paths to obtain the time deviation offset; the compensation amount calculated by the phase-locked loop is used to calculate the compensation amount for X D1 and X D2 Perform time deviation compensation to obtain a compensated signal;

[0079] Frequency offset compensation: for two signal sampling points with phase difference and Assume that the phase difference is ,have:

[0080] (2)

[0081] Rewritten in matrix form:

[0082] (3)

[0083] but:

[0084] (4)

[0085] Simplified:

[0086] (5)

[0087] And then:

[0088] (6)

[0089] Thus, the phase relationship between two adjacent phase sampling points is obtained; X k and Y k is the signal of the previous phase, X k+1 and Y k+1 is the signal of the current phase; the starting value of the phase difference is , the step value is Start calculating, , , Substitute into equation (6) in sequence; when both sides of equation (6) are equal, the phase difference at this time is the current ; After this process is repeated for N sampling points, the phase difference is:

[0090] (7)

[0091] Use Calculate the average phase difference of the current N sampling points and then calculate X D1 and X D2 Perform frequency offset compensation.

[0092] In step 5, the compensated signal is demapped according to the signal modulation mode determined in step 1. The specific method is as follows:

[0093] After the offset compensation in step 4, X D1 and X D2 Perform calculations, since X D1 and X D2 They represent the pulses of the two half cycles before and after a symbol respectively. Therefore, the decision threshold T is set. When the MPRF is 249.6MHz, there are at most 4 positive pulses or 0 in a single half cycle. , when X D1 and X D2 When it is greater than T, the convolution code g is determined to be 1, otherwise the convolution code g is 0, thus the solution is and When the MPRF is 124.8MHz, the method is the same, and only the threshold T needs to be changed to 4, because when the MPRF is 124.8MHz, there are at most 8 positive pulses in a single half cycle.

[0094] In step 6, after the BPRF signal is demodulated in step 3, or the HPRF signal is offset compensated and demodulated in steps 4 and 5, the signal is sent to the decoding module for decoding, and the original baseband data can be decoded to complete this communication.

[0095] The UWB signal demodulation method of the present invention is used to conduct a simulation experiment on a UWB communication system simulation platform. The simulation system includes a frame generation module, a pulse formation module, a simulation channel module, an AD module, an AGC module, a synchronization module and a decoding module. The real effect of the method of the present invention is verified by simulating the sending and receiving of data packets.

[0096] (1) Simulation experiment to verify the effectiveness of HPRF demodulation algorithm

[0097] According to the provisions of the IEEE 802.15.4z protocol for the HRP-UWB communication system, the transmitter of the simulation system is configured to work in HPRF mode with a data rate of 27.2Mbps. At this time, the MPRF of the payload part is 249.6MHz, and 27.2Mbps is the highest signal transmission rate of the UWB communication system specified in the protocol. The simulation with this configuration is typical. In order to simulate a complex channel environment with a high noise level, the initial signal-to-noise ratio SNR is configured to be -5dB in the simulation channel, the step value is -1dB, and the end is -15dB. The frequency offset and time offset are 0 PPM (Percent Per Million). The preamble sequence with an index of 26 and a length of 91 bits in the IEEE 802.15.4z protocol and the SFD sequence with an index of 3 and a length of 4 bits are used for simulation testing. The data packet length is 60 bytes, and 1000 data packets are tested each time.

[0098] In this simulation mode, the test results using the original demodulation method are shown below.

[0099] Table 1 Test results of the original demodulation method

[0100]

[0101] Table 1 shows the test results of sending data packets in HPRF mode and receiving demodulation in the original demodulation mode under relevant test conditions. As can be seen from Table 1, for the 1000-packet transmission and reception test, when the signal-to-noise ratio is less than -5dB, the system performance deteriorates seriously, and when the signal-to-noise ratio is less than -10dB, the packet error rate is as high as more than 25%, and normal communication is almost impossible to complete.

[0102] The test results using the method of the present invention are shown in Table 2.

[0103] Table 2 Test results of HRPF demodulation method designed by the present invention

[0104]

[0105] Fig.10 , Fig.11 The performance comparison between the original BPRF demodulation method and the method of the present invention is shown when the UWB transmitter sends signals in HPRF mode. It can be seen that the performance of the method of the present invention is significantly improved compared with the original demodulation method. When the signal-to-noise ratio is greater than -12dB, no packet or bit errors occur when 1000 data packets are received. When the signal-to-noise ratio is less than -13dB, the overall performance of the system deteriorates significantly. Compared with the original demodulation method, the performance is improved by 7-8dB in HPRF transmission mode, so that the UWB communication baseband can work normally in HPRF mode.

[0106] (2) Simulation experiment to verify the effectiveness of the offset tracking compensation algorithm

[0107] According to the provisions of the IEEE 802.15.4z protocol for the HRP-UWB communication system, the transmitter of the simulation system is configured to work in BPRF mode with a data rate of 6.8Mbps. At this time, the MPRF of the payload part is 64MHz. This configuration is the signal transmission mode with the highest frequency used by the UWB communication baseband. In order to simulate a complex channel environment with a high noise level, the initial signal-to-noise ratio is configured to be -10 dB in the simulation channel, the starting value of the frequency offset and time offset is 10 PPM, the step value is 0.5 PPM, and the end is 15 PPM. The preamble sequence with index 4 and length of 31 bits in the IEEE 802.15.4z protocol and the SFD sequence with index 1 and length of 8 bits are used for simulation testing. The data packet length is 60 bytes, and 1000 data packets are tested each time.

[0108] The original method uses the offset obtained from the synchronization part as compensation. The test results are shown in Table 3.

[0109] Table 3 The original method uses the offset obtained from the synchronization part as the compensation test result

[0110]

[0111] Due to the cumulative characteristics of frequency offset and time offset, the impact in the second half of a communication frame is more obvious. Therefore, a large offset will cause serious signal misalignment and constellation rotation, which will lead to errors in signal demapping and packet errors. Due to the characteristics of UWB communication frames, the synchronization preamble is relatively long. Therefore, when the offset is large, a large amount of frequency offset and time offset accumulates in the synchronization preamble part, resulting in synchronization failure, inability to unpack data, and inability to count bit errors. Therefore, this test uses the packet error rate as a performance indicator to compare the two methods. The method used by the present invention uses the offset obtained in the synchronization part as the initial compensation value, and continues to perform tracking compensation in the demodulation and decoding stage. The test results are shown in Table 4.

[0112] Table 4 Test results of the tracking compensation method used in the present invention

[0113]

[0114] It can be seen that under the test condition of higher PPM, the performance improvement of the method used in the present invention is more obvious than that of the original compensation method. Fig.12 The performance of the two methods is compared.

[0115] Depend on Figure 10-12 It can be seen that under two typical test environments, the method of the present invention has considerable performance improvement in both demodulation and offset tracking compensation compared with the original method, proving that the method provided by the present invention is true and effective.

[0116] The above description is only a preferred embodiment of the present invention and is not intended to be a further limitation of the present invention. All equivalent changes made using the contents of the present specification and drawings are within the protection scope of the present invention.

Claims

1. An ultra-wideband multi-path demodulation method based on the 802.15.4z standard, characterized in that: The following steps are involved: Step 1: After receiving the digital baseband signal output by the analog-to-digital converter AD, the UWB signal receiving end completes synchronization with the transmitting end by detecting the synchronization preamble, and determines whether the UWB communication mode of the transmitting end is the BPRF mode or the HPRF mode according to the protocol specification; Step 2: Send the synchronized digital baseband signal to a matched filter for filtering to obtain the original signal after coding modulation and spectrum spread; Step 3, generate a local scrambling code through the scrambler specified by the protocol, correlate and accumulate the signal output of the matched filter with the local scrambling code, obtain the baseband signal after descrambling, and despread the descrambled baseband signal according to the current signal transmission mode; if the current signal transmission mode is the BPRF mode, complete the signal demodulation and execute step 6; if the current signal transmission mode is the HPRF mode, divide the despread signal into three paths through time delay, obtain the signal P path of the current phase, the signal E path of the previous phase and the signal L path of the next phase, and execute step 4; Specifically: By formula Get the descrambled signal, where is the descrambled signal, n is the index of the current Symbol, is the local scrambling code, is the output of the matched filter, is the number of chips in a burst pulse segment Burst, k is the accumulated variable; If the UWB communication mode is currently the BPRF mode, the modulation signal is expressed as formula (1): (1), in, is the modulated signal, p is the pulse forming function, S n The scrambling sequence generated by the scrambler specified in the protocol, N cpb is the number of chips in a burst pulse segment, h represents the jump position, T BPM is the pulse period; a Burst contains N cpb Chip, T c is the cycle of a single chip, T burst is the Burst period; the position bit is generated through convolutional coding and polarity bit , demodulation is completed; If the current mode is HPRF, the Symbol is divided into two halves, front and back halves, and the correlation calculation is performed with the local code to obtain two results X D1 and X D2 , X D1 and X D2 Divided into X DP , X DE and X DL Three signal paths, namely, a signal path P of the current phase, a signal path E of the previous phase, and a signal path L of the next phase; Step 4: Compare the energy of the three signals to calculate the time deviation, use the Cordic algorithm to calculate the frequency deviation, and compensate for it; specifically: Time offset compensation: The pulses in the current symbol of E, P and L are accumulated to obtain the energy of a symbol, and then the energies of the three paths are compared to obtain the time offset. The compensation amount is calculated by the phase-locked loop and the compensation amount is calculated by the phase-locked loop. D1 and X D2 Perform time deviation compensation to obtain a compensated signal; Frequency offset compensation: for two signal sampling points with phase difference and Assume that the phase difference is ,have: (2), Rewritten in matrix form: (3), but: (4), Simplified: (5), And then: (6), Thus, the phase relationship between two adjacent phase sampling points is obtained; X k and Y k is the signal of the previous phase, X k+1 and Y k+1 is the signal of the current phase; the starting value of the phase difference is , the step value is Start calculating, , , Substitute into equation (6) in sequence; when both sides of equation (6) are equal, the phase difference at this time is the current ; After this process is repeated for N sampling points, the phase difference is: (7), Use Calculate the average phase difference of the current N sampling points and then calculate X D1 and X D2 Perform frequency deviation compensation; Step 5: Demapping the compensated signal; Step 6: Send the demodulated signal to the decoding module for decoding to obtain the original baseband data.

2. The ultra-wideband multi-channel demodulation method based on the 802.15.4z standard according to claim 1, characterized in that: In step 1, the UWB communication mode is determined, specifically: The UWB signal consists of three parts: a synchronization header SHR, a data frame header PHR and a data payload. The SHR field used for synchronization consists of a synchronization preamble repeated N times. The current mode is determined to be BPRF mode or HPRF mode based on the length of the synchronization preamble sequence detected in the SHR synchronization phase.

3. The ultra-wideband multi-channel demodulation method based on the 802.15.4z standard according to claim 2, characterized in that: Step 2 is as follows: The channel is estimated by using the result of correlation accumulation of the synchronization preamble sequence to obtain the impulse response h(n) of the current channel, and h(n) is used as the initial value of the matched filter tap system; With one symbol as a period, the impulse response value of each Symbol length is updated once according to the current communication transmission mode.

4. The ultra-wideband multi-channel demodulation method based on the 802.15.4z standard according to claim 1, characterized in that: After offset compensation, X D1 and X D2 Perform calculations, since X D1 and X D2 They represent the pulses of the two half cycles before and after a symbol respectively. Therefore, the decision threshold T is set. When it is greater than T, the convolution code is judged to be 1, otherwise the convolution code is 0. Thus, we can get and .