CN109842430B - Demodulation method of LoRa modulated signal under multipath channel - Google Patents

Demodulation method of LoRa modulated signal under multipath channel Download PDF

Info

Publication number
CN109842430B
CN109842430B CN201910286472.0A CN201910286472A CN109842430B CN 109842430 B CN109842430 B CN 109842430B CN 201910286472 A CN201910286472 A CN 201910286472A CN 109842430 B CN109842430 B CN 109842430B
Authority
CN
China
Prior art keywords
signal
max
maximum value
preamble signal
new
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910286472.0A
Other languages
Chinese (zh)
Other versions
CN109842430A (en
Inventor
刘祖军
郭玉蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201910286472.0A priority Critical patent/CN109842430B/en
Publication of CN109842430A publication Critical patent/CN109842430A/en
Application granted granted Critical
Publication of CN109842430B publication Critical patent/CN109842430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

The invention discloses a demodulation method of LoRa modulation signals under a multipath channel, which mainly comprises the following stepsThe problem that in the prior art, the performance of directly demodulating LoRa modulation signals is poor is solved. The implementation scheme is as follows: directly demodulating the down-sampled preamble signal and the load signal to obtain a directly demodulated preamble signal A and a directly demodulated load signal D; searching the maximum value in A, reserving M points around the maximum value to obtain a preamble signal C with the length of (2M +1) after interception, and making C smaller than the maximum value
Figure DDA0002023439220000011
Resetting the point data to 0 to obtain a new leading signal B; carrying out matched filtering on the new preamble signal B and the load signal D after direct demodulation to obtain a new load signal E; and E, searching a position P corresponding to the maximum value of each symbol, and sequentially carrying out decimal to binary conversion and gray inverse mapping on the position P to obtain modulation information bits. The invention improves the demodulation performance of the system, and can be used for processing the LoRa modulation signal at the receiving end under the condition of a multipath channel.

Description

多径信道下的LoRa调制信号解调方法Demodulation method of LoRa modulated signal under multipath channel

技术领域technical field

本发明属于通信技术领域,具体涉及一种LoRa调制信号的解调方法,可用于多径信道的情况下在接收端对LoRa调制信号的处理。The invention belongs to the technical field of communications, and in particular relates to a method for demodulating LoRa modulated signals, which can be used for processing LoRa modulated signals at a receiving end in the case of multipath channels.

背景技术Background technique

随着互联网用户从人到物的发展,物联网IoT引起了人们极大的兴趣。物联网使得我们周围的物体之间互相连接,同时可以向互联网进行消息的发送和接收。为了满足物联网应用的各种需求,低功耗广域LPWAN提供了新颖的通信范例。LPWAN技术包括了超窄带技术SigFox,远程技术LoRa等,这些技术的提出满足了物联网从几公里到几十公里的广域连接,实现了低数据速率,低功耗和低吞吐量的应用。在最近提出的并且占主导地位的LPWAN技术中,半导体制造商Semtech已经引入了其远程LoRaTM产品系列的先进扩频技术的广泛应用。与在伪随机码上调制消息信号的直接序列扩频DSSS不同,LoRa使用具有频率随时间增加up-chirp或减小down-chirp的扫频信号来编码消息信号,可以看出LoRa技术本质上就是chirp扩频调制的一种衍生。With the development of Internet users from people to things, the Internet of Things (IoT) has aroused great interest. The Internet of Things enables objects around us to be connected to each other, and to send and receive messages to and from the Internet. To meet the various demands of IoT applications, low-power wide-area LPWANs provide novel communication paradigms. LPWAN technology includes ultra-narrowband technology SigFox, long-range technology LoRa, etc. These technologies are proposed to meet the wide area connection of the Internet of Things from several kilometers to tens of kilometers, and realize the application of low data rate, low power consumption and low throughput. Among the recently proposed and dominant LPWAN technologies, semiconductor manufacturer Semtech has introduced a wide range of advanced spread spectrum technologies for its long-range LoRa product line. Unlike direct sequence spread spectrum DSSS, which modulates the message signal on a pseudo-random code, LoRa uses a swept signal with a frequency that increases up-chirp or decreases down-chirp over time to encode the message signal. It can be seen that LoRa technology is essentially A derivative of chirp spread spectrum modulation.

Chirp扩频调制技术CSS既不采用伪随机码作为扩频码,也没有跳频图样,而是利用chirp信号的匹配滤波和脉冲压缩特性来实现扩频通信。在无线通信领域,chirp扩频调制技术仍然是一种新型的技术,虽然已经被列为IEEE 802.15.4的物理标准之一,但却仍然有许多不足之处。例如,如果不结合其他调制技术而单独使用chirp扩频技术进行信息传输一般链路容量都比较低,数据传输速率的提高要依靠缩短chirp信号持续时间,或者采用交叠技术来实现,然而无论是缩短chirp信号的持续时间还是对信号进行交叠都会提高系统的复杂度以及功耗。Chirp spread spectrum modulation technology CSS neither uses pseudo random code as spread spectrum code nor frequency hopping pattern, but uses matched filtering and pulse compression characteristics of chirp signal to realize spread spectrum communication. In the field of wireless communication, chirp spread spectrum modulation technology is still a new technology. Although it has been listed as one of the physical standards of IEEE 802.15.4, it still has many shortcomings. For example, if the chirp spread spectrum technique is used alone for information transmission without other modulation techniques, the link capacity is generally low, and the improvement of the data transmission rate depends on shortening the duration of the chirp signal, or using overlapping techniques. However, whether it is Either shortening the duration of the chirp signal or overlapping the signals increases the complexity and power consumption of the system.

在LoRa调制系统中,对于信号的解调一般采用传统直接解调的方式,如图6所示,即对接收信号进行与原down-chirp的点乘,然后进行快速傅里叶变换FFT,最后进行最大值的判定。该直接解调方式在单径的信道下会获得较好的解调性能,但是信道为多径的情况下,系统的解调性能就会出现急剧下降,即误比特性能将会下降,导致系统的可靠性降低。In the LoRa modulation system, the traditional direct demodulation method is generally used for signal demodulation, as shown in Figure 6, that is, the received signal is multiplied by the original down-chirp, and then the fast Fourier transform FFT is performed, and finally Determine the maximum value. The direct demodulation method can obtain better demodulation performance under the single-path channel, but when the channel is multi-path, the demodulation performance of the system will drop sharply, that is, the bit error performance will decrease, resulting in the system reliability is reduced.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于针对上述技术的不足,提出一种多径信道下的LoRa调制信号解调方法,以提高接收端的误比特性能,从而提高系统的可靠性。The purpose of the present invention is to propose a method for demodulating LoRa modulated signals under multipath channels in view of the deficiencies of the above technologies, so as to improve the bit error performance of the receiving end, thereby improving the reliability of the system.

为实现上述目的,本发明的技术方案如下:For achieving the above object, technical scheme of the present invention is as follows:

(1)将经过下采样之后的前导信号和原down-chirp信号进行对应的点乘,再依次进行FFT和求绝对值,得到直接解调之后长度为2SF的前导信号A,其中SF为扩频因子;(1) Do the corresponding dot multiplication between the down-sampled preamble signal and the original down-chirp signal, and then perform FFT and find the absolute value in turn to obtain the preamble signal A with a length of 2 SF after direct demodulation, where SF is the spread frequency factor;

(2)对直接解调之后的前导信号进行截取和数据重置,得到新的前导信号B:(2) The preamble signal after direct demodulation is intercepted and the data is reset to obtain a new preamble signal B:

(2a)寻找直接解调之后的前导信号A最大值,保留最大值左右M个点,截取到长为(2M+1)个点的前导信号C,M的大小根据信道的情况取值,其取值范围为1到2SF-1-1;(2a) Find the maximum value of the leading signal A after direct demodulation, retain M points around the maximum value, and intercept the leading signal C with a length of (2M+1) points. The size of M is valued according to the channel conditions. The value range is 1 to 2 SF-1 -1;

(2b)将截取之后前导信号C每一个点的值与最大值的

Figure BDA0002023439200000021
进行比较:当某一点的值大于最大值的
Figure BDA0002023439200000022
时,则该点的值保持不变,当某一点的值小于最大值的
Figure BDA0002023439200000023
时,则将该点的值重置为0,得到新的前导信号B,其中P的大小根据信道的情况取值,
Figure BDA0002023439200000024
(2b) Calculate the difference between the value of each point of the leading signal C after the interception and the maximum value
Figure BDA0002023439200000021
To compare: when the value of a point is greater than the maximum value
Figure BDA0002023439200000022
When the value of the point remains unchanged, when the value of a point is less than the maximum value
Figure BDA0002023439200000023
, then reset the value of this point to 0 to obtain a new preamble signal B, where the size of P is valued according to the channel conditions,
Figure BDA0002023439200000024

(3)将经过下采样之后的载荷信号中的每一个符号与原down-chirp信号进行对应点乘,再依次进行FFT和对每一个符号取绝对值,得到直接解调之后的载荷信号D;(3) each symbol in the down-sampling payload signal is multiplied by the corresponding point with the original down-chirp signal, then FFT is performed in turn and the absolute value of each symbol is obtained to obtain the payload signal D after the direct demodulation;

(4)将直接解调之后的载荷信号D中的每一个符号和新的前导信号B进行匹配滤波运算,得到新的载荷信号E;(4) each symbol in the load signal D after the direct demodulation and the new leading signal B are carried out matched filtering operation to obtain the new load signal E;

(5)在新的载荷信号E中寻找每一个符号最大值所对应的位置,依次对其进行十进制到二进制的转换和格雷逆映射,得到调制信息比特。(5) Find the position corresponding to the maximum value of each symbol in the new payload signal E, and perform decimal-to-binary conversion and Gray inverse mapping in turn to obtain modulation information bits.

本发明与现有技术相比,具有以下优点:Compared with the prior art, the present invention has the following advantages:

1.提升系统的可靠性1. Improve the reliability of the system

本发明中,在接收端通过前导信号与载荷信号的匹配滤波运算,充分利用了前导信号中包含的信道信息,从而减少了信道的影响;同时由于在获得前导信号的过程中,通过对前导信号的截取和数据重置,减少了噪声的引入;相比在传统的直接解调方法中,直接对接收到的载荷信号进行解调,本发明受到信道和噪声的影响更少,获得的解调性能更高,从而可提高LoRa调制信号解调系统的可靠性。In the present invention, at the receiving end, the channel information contained in the preamble signal is fully utilized through the matched filtering operation between the preamble signal and the payload signal, thereby reducing the influence of the channel; Compared with the traditional direct demodulation method, which directly demodulates the received payload signal, the present invention is less affected by the channel and noise, and the obtained demodulation Higher performance, which can improve the reliability of the LoRa modulation signal demodulation system.

2.误比特性能好2. Good bit error performance

实验证明在信道设置为固定两条径,SF=7的条件下,误码率在10-3处本发明的性能相比传统的直接解调方法有1.5dB的提升,与加性高斯白噪信道下的性能相比只有0.5dB的差距。Experiments show that under the condition that the channel is set to two fixed paths and SF=7, the performance of the present invention is 1.5dB higher than that of the traditional direct demodulation method at the bit error rate of 10 -3 , which is comparable to the additive white Gaussian noise. The performance under the channel is only 0.5dB different.

附图说明Description of drawings

图1是本发明中使用的LoRa信号频率调制图;Fig. 1 is the LoRa signal frequency modulation diagram used in the present invention;

图2是本发明中使用的LoRa信号调制图;Fig. 2 is the LoRa signal modulation diagram used in the present invention;

图3是本发明的实现框图;Fig. 3 is the realization block diagram of the present invention;

图4是本发明中解调时前导信号和载荷信号的实现流程图;Fig. 4 is the realization flow chart of leading signal and load signal during demodulation among the present invention;

图5是本发明中在解调时对前导信号截取和数据重置的实现原理图;Fig. 5 is the realization principle diagram of leading signal interception and data reset during demodulation in the present invention;

图6是用传统解调方法对LoRa信号解调的原理图;Fig. 6 is the schematic diagram of demodulating LoRa signal with traditional demodulation method;

图7是用本发明、传统直接解调方法和在采用匹配滤波情况下,对前导信号未截取和截取未置零这四种方法,在SF=7,信道为固定两条径下的误比特性能对比图;Fig. 7 is the four methods of the present invention, the traditional direct demodulation method and the matched filtering condition, the preamble signal is not intercepted and intercepted and not set to zero. At SF=7, the channel is the bit error under two fixed paths. Performance comparison chart;

图8是用本发明、传统直接解调方法和在采用匹配滤波情况下,对前导信号未截取和截取未置零这四种方法,在SF=8,信道为固定两条径下的误比特性能对比图。Fig. 8 is the four methods of the present invention, the traditional direct demodulation method and the matched filtering method, the preamble signal is not intercepted and intercepted and not set to zero. When SF=8, the channel is the bit error under two fixed paths. Performance comparison chart.

具体实施方式Detailed ways

以下结合附图和具体实施例,对本发明的目的、技术方案和优点进行详细描述。显然,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The objects, technical solutions and advantages of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

本发明是关于LoRa信号的一种解调方法,LoRa信号是用up-chirp或者down-chirp扫频信号来编码信号信息。The present invention relates to a demodulation method for LoRa signals, and LoRa signals use up-chirp or down-chirp frequency sweep signals to encode signal information.

参照图1,所述LoRa信号的频率调制,包括未调制LoRa信号,即up-chirp信号的频率曲线线1,调制后LoRa信号的频率曲线线2。Referring to FIG. 1 , the frequency modulation of the LoRa signal includes the frequency curve 1 of the unmodulated LoRa signal, that is, the up-chirp signal, and the frequency curve 2 of the modulated LoRa signal.

参照图2,所述LoRa信号调制,包括未调制LoRa信号图a,调制后LoRa信号图b。Referring to FIG. 2 , the LoRa signal modulation includes an unmodulated LoRa signal diagram a and a modulated LoRa signal diagram b.

目前大部分关于LoRa调制信号解调采用的都是传统直接解调方法,这种方法在单径信道下,可以获得较好的性能,但在多径信道下,误比特性能会有明显的下降,系统的可靠性变差。本发明正是解决在多径信道下的LoRa调制信号的解调问题。At present, most of the demodulation of LoRa modulated signals is the traditional direct demodulation method. This method can obtain better performance in single-path channels, but in multi-path channels, the bit error performance will be significantly reduced. , the reliability of the system deteriorates. The present invention just solves the problem of demodulation of LoRa modulated signal under multipath channel.

参见图3,本发明的实现步骤如下:Referring to Figure 3, the implementation steps of the present invention are as follows:

步骤1,获取前导信号和载荷信号。Step 1, obtain a preamble signal and a payload signal.

分别对接收信号、未调制LoRa信号即原up-chirp和原down-chirp进行下采样;Downsampling the received signal and the unmodulated LoRa signal, that is, the original up-chirp and the original down-chirp;

根据接收端已知的前导信号和载荷信号的符号数,对下采样后的接收信号进行分割,得到前导信号F和载荷信号P1。According to the number of symbols of the preamble signal and the payload signal known at the receiving end, the down-sampled received signal is divided to obtain the preamble signal F and the payload signal P1.

步骤2,获取新的前导信号B和载荷信号D。Step 2, acquire new preamble signal B and payload signal D.

参照图4,本步骤的具体实现如下:4, the specific implementation of this step is as follows:

(2a)获取新的前导信号B:(2a) Obtain a new preamble signal B:

(2a1)将前导信号F和经过下采样之后的未调制LoRa信号即原down-chirp进行点乘,再依次进行FFT和求绝对值,得到长度为2SF的前导信号A;(2a1) Do point multiplication with the unmodulated LoRa signal after down-sampling, that is, the original down-chirp, and then perform FFT and find the absolute value in turn to obtain the leading signal A with a length of 2 SF ;

(2a2)对长度为2SF的前导信号A进行截取:(2a2) Intercept the preamble signal A with a length of 2 SF :

参照图5,本步骤的实现为:保存最大值左右M个点,得到长度为(2M+1)个点的信号C,从直接解调后的前导信号A中找出最大值,并确定该最大值对应的位置的下标MAX,将MAX与M进行大小的比较:Referring to Figure 5, the implementation of this step is: save M points about the maximum value, obtain a signal C with a length of (2M+1) points, find the maximum value from the directly demodulated preamble signal A, and determine the The subscript MAX of the position corresponding to the maximum value, compare MAX and M in size:

当MAX≤M时,将前导信号A下标为2SF-(MAX-M)到下标为2SF这一段信号作为截取信号的前半段,将前导信号A下标为1到下标MAX+M这一段信号作为截取信号的后半段,前后两段构成前导信号C;When MAX≤M, use the subscript of the preamble signal A as 2 SF -(MAX-M) to the subscript of 2 SF as the first half of the intercepted signal, and subscript the preamble signal A as 1 to the subscript MAX+ This section of signal M is used as the second half of the intercepted signal, and the two sections before and after constitute the leading signal C;

当MAX≥2SF-M时,将前导信号A下标为MAX-M到下标为2SF这一段信号作为截取信号的前半段,将前导信号A下标为1到下标MAX+M-2SF这一段信号作为截取信号的后半段,前后两段构成前导信号C;When MAX≥2SF -M, the subscript of the preamble signal A is MAX-M to the subscript of 2SF as the first half of the intercepted signal, and the subscript of the preamble signal A is 1 to the subscript MAX+M- 2 The signal of SF is used as the second half of the intercepted signal, and the first and second segments constitute the leading signal C;

当MAX不满足上述两种情况时,前导信号A下标为MAX-M到MAX+M这段信号构成前导信号C;When MAX does not meet the above two conditions, the preamble signal A is subscripted as MAX-M to MAX+M, which constitutes the preamble signal C;

(2a3)对截取后的前导信号C进行重置:(2a3) Reset the intercepted preamble signal C:

将截取之后的前导信号C中的每一点的值与最大值的

Figure BDA0002023439200000041
作大小比较,当某一点的值小于最大值的
Figure BDA0002023439200000042
时,该点数据重置为0,当某点的值大于等于最大值的
Figure BDA0002023439200000043
时,保持该点的值不变,得到新的前导信号B,其中P的大小根据信道的情况取值,
Figure BDA0002023439200000044
The difference between the value of each point in the preamble signal C after truncating and the maximum value
Figure BDA0002023439200000041
For size comparison, when the value of a point is less than the maximum value
Figure BDA0002023439200000042
, the point data is reset to 0, when the value of a point is greater than or equal to the maximum value
Figure BDA0002023439200000043
When , keep the value of this point unchanged, and get a new preamble signal B, where the size of P takes a value according to the channel condition,
Figure BDA0002023439200000044

(2b)获取新的载荷信号D:(2b) Obtain a new load signal D:

将经过下采样之后的载荷信号P1中的每一个符号与未调制LoRa信号即原down-chirp信号进行对应点乘,再依次对每一个符号进行FFT和取绝对值,得到直接解调之后的载荷信号D。Perform the corresponding point multiplication of each symbol in the down-sampled payload signal P1 with the unmodulated LoRa signal, that is, the original down-chirp signal, and then perform FFT and take the absolute value of each symbol in turn to obtain the payload after direct demodulation. signal D.

步骤3,获取新的载荷信号E。Step 3, acquiring a new load signal E.

将新的前导信号B和载荷信号D中的每一个符号进行匹配滤波,在保持载荷信号D中每一个符号固定的的情况下,将新的前导信号B与其进行逐点滑动点乘,当新的前导信号B与载荷信号D中每一符号的最后一个点重合时,将载荷信号D中每一个符号从起始点开始逐次搬移放置在最后一个点后面,直到新的前导信号B和载荷信号D的起始点再次重合时,终止操作,所得结果即为新的载荷信号E。Perform matched filtering on each symbol in the new preamble signal B and the payload signal D, while keeping each symbol in the payload signal D fixed, perform a point-by-point sliding point multiplication with the new preamble signal B. When the preamble signal B and the last point of each symbol in the payload signal D are coincident, each symbol in the payload signal D is moved from the starting point and placed behind the last point, until the new preamble signal B and payload signal D When the starting points of 1 and 2 coincide again, the operation is terminated, and the result obtained is the new load signal E.

步骤4,获取调制信息比特。Step 4, obtaining modulation information bits.

(5a)在新的载荷信号E中找到每一个符号最大值所对应位置的下标max,计算max+M-MAX的值,将该计算结果与2SF作取余运算,以消除起始位置MAX-M的影响,得到新载荷信号E中每一个符号最大值的实际位置P;(5a) Find the subscript max of the position corresponding to the maximum value of each symbol in the new load signal E, calculate the value of max+M-MAX, and perform the remainder operation with the calculation result and 2SF to eliminate the starting position The influence of MAX-M, the actual position P of each symbol maximum value in the new load signal E is obtained;

(5b)用(5a)得到的P除以2,取其余数作为二进制格雷码最低位的系数d0,然后继续将商除以2,所得余数作为二进制格雷码次低位的系数d1,一直重复下去,直至商为0,得到二进制格雷码b;(5b) Divide P obtained in (5a) by 2, take the remainder as the coefficient d0 of the lowest bit of the binary Gray code, then continue to divide the quotient by 2, and the remainder is used as the coefficient d1 of the second-lowest bit of the binary Gray code, and repeat , until the quotient is 0, the binary Gray code b is obtained;

(5c)保留二进制格雷码b的最高位作为自然二进制码的最高位,将自然二进制码的最高位与次高位格雷码相异或后的结果作为自然二进制码的次高位;(5c) Retain the highest digit of the binary Gray code b as the highest digit of the natural binary code, and use the result obtained after the highest digit of the natural binary code and the second highest gray code are XORed as the second highest digit of the natural binary code;

(5d)按照与(5c)相同的方法依次求出自然二进制码的其余位,得到调制信息比特。(5d) According to the same method as (5c), the remaining bits of the natural binary code are sequentially obtained to obtain the modulation information bits.

以下结合仿真实验,对本发明的技术效果作进一步详细说明:Below in conjunction with the simulation experiment, the technical effect of the present invention is described in further detail:

实验1,Experiment 1,

1.1)实验条件:设SF=7即符号长度为128个点,采样频率Fs=10MHz,上采样倍数为8,信号带宽为B=Fs/8,输入调制信息的字节大小为Byte=64,信道为固定的两条径,且两径之间的延迟时间为0.6us,保留前导信号A最大值左右各16个点,取

Figure BDA0002023439200000051
1.1) Experimental conditions: set SF=7, that is, the symbol length is 128 points, the sampling frequency is Fs=10MHz, the upsampling multiple is 8, the signal bandwidth is B=Fs/8, and the byte size of the input modulation information is Byte=64, The channel is two fixed paths, and the delay time between the two paths is 0.6us, and 16 points on the left and right sides of the maximum value of the preamble signal A are reserved.
Figure BDA0002023439200000051

1.2)实验内容1.2) Experiment content

在上述1.1)条件下,用本发明方法和传统的解调方法对LoRa信号进行解调,结果如图7所示:Under the conditions of 1.1) above, the LoRa signal is demodulated by the method of the present invention and the traditional demodulation method, and the result is shown in Figure 7:

从图7可见,本发明方法相比传统的解调方法,在误码率为10-3处误比特性能获得1.5dB的提升,且33点未置0的前导信号与128点长的前导信号相比,误比特性能获得提升,33点长置0的前导信号与33点长未置0的前导信号相比,误比特性能同样也获得提升。从可靠性的角度来说,相同的SNR下,误比特率越低,该系统的可靠性越好。As can be seen from Fig. 7, compared with the traditional demodulation method, the method of the present invention achieves a 1.5dB improvement in the bit error performance at a bit error rate of 10-3 , and the preamble signal with 33 points not set to 0 and the preamble signal with 128 points long In comparison, the bit error performance is improved, and the bit error performance of the 33-point long preamble signal with 0 is also improved compared with the 33-point long preamble signal that is not set to 0. From the point of view of reliability, under the same SNR, the lower the bit error rate, the better the reliability of the system.

从图7的5条曲线还可看出,本发明方法的性能与理论情况加性高斯白噪声AWGN下的性能接近,即只有0.5dB的差距。It can also be seen from the five curves in FIG. 7 that the performance of the method of the present invention is close to the performance under the theoretical case of additive white Gaussian noise AWGN, that is, there is only a gap of 0.5dB.

实验2,Experiment 2,

2.1)实验条件:设SF=8即符号长度为256个点,采样频率Fs=10MHz,上采样倍数为8,信号带宽为B=Fs/8,输入调制信息的字节大小为Byte=64,信道为固定的两条径,且两径之间的延迟时间为0.6us,保留前导信号A最大值左右各16个点,取

Figure BDA0002023439200000061
2.1) Experimental conditions: set SF=8, that is, the symbol length is 256 points, the sampling frequency is Fs=10MHz, the upsampling multiple is 8, the signal bandwidth is B=Fs/8, and the byte size of the input modulation information is Byte=64, The channel is two fixed paths, and the delay time between the two paths is 0.6us, and 16 points on the left and right sides of the maximum value of the preamble signal A are reserved.
Figure BDA0002023439200000061

2.2)实验内容2.2) Experimental content

在上述2.1)条件下,用本发明方法和传统的解调方法对LoRa信号进行解调,结果如图8所示:Under the above-mentioned 2.1) conditions, the method of the present invention and the traditional demodulation method are used to demodulate the LoRa signal, and the result is shown in Figure 8:

从图8可见,本发明方法相比传统的解调方法,在误码率为10-3处误比特性能获得1.5dB的提升,且33点未置0的前导信号与256点长的前导信号相比,误比特性能获得提升,33点长置0的前导信号与33点长未置0的前导信号相比,误比特性能同样也获得提升。It can be seen from Fig. 8 that, compared with the traditional demodulation method, the method of the present invention achieves a 1.5dB improvement in the bit error performance at a bit error rate of 10-3 , and the 33-point unset preamble signal and the 256-point long preamble signal In comparison, the bit error performance is improved, and the bit error performance of the 33-point long preamble signal with 0 is also improved compared with the 33-point long preamble signal that is not set to 0.

从可靠性的角度来说,相同的SNR下,误比特率越低,该系统的可靠性越好。From the point of view of reliability, under the same SNR, the lower the bit error rate, the better the reliability of the system.

综上,本发明的一种多径信道下的LoRa调制信号的解调方法与传统的LoRa调制信号直接解调方法相比,在SF相同,固定两条径的条件下,在误码率为10-3处误比特性能获得1.5dB的提升,同时置0后的前导和未置0的前导,以及未截取的前导,未匹配的方法相比,性能都是最好,与理论情况加性高斯白噪声AWGN下的性能相差只有0.5dB,表明本发明在多径信道下具有更好的解调性能,系统的可靠性更高。To sum up, compared with the traditional direct demodulation method of LoRa modulated signal under a multipath channel of the present invention, under the condition of the same SF and fixed two paths, the bit error rate is The bit error performance at 10-3 is improved by 1.5dB, and the preamble after setting 0 and the preamble not set to 0 at the same time, as well as the preamble not truncated, and the unmatched method have the best performance, which is additive with the theoretical situation. The performance difference under the AWGN of Gaussian white noise is only 0.5dB, which shows that the present invention has better demodulation performance under the multipath channel, and the reliability of the system is higher.

Claims (4)

1. A LoRa modulation signal demodulation method under a multipath channel is characterized by comprising the following steps:
(1) performing corresponding point multiplication on the down-sampled preamble signal and the original down-chirp signal, and then sequentially performing FFT and absolute value calculation to obtain the length of 2 after direct demodulationSFThe preamble signal a of (1), wherein SF is a spreading factor;
(2) intercepting and resetting data of the preamble signal after direct demodulation to obtain a new preamble signal B:
(2a) searching the maximum value of the preamble signal A after direct demodulation, reserving M points around the maximum value, intercepting the preamble signal C with the length of (2M +1) points, wherein the size of M is taken according to the condition of a channel and the range of M is 1 to 2SF-1-1;
(2b) The value of each point of the preamble signal C is compared with the maximum value
Figure FDA0002590299690000011
And (3) comparison: when the value at a certain point is greater than or equal to the maximum value
Figure FDA0002590299690000012
When the value of a certain point is less than the maximum value, the value of the point is kept unchanged
Figure FDA0002590299690000013
Then, the value of the point is reset to 0 to obtain a new preamble signal B, wherein the value of Z is taken according to the condition of the channel,
Figure FDA0002590299690000014
(3) carrying out corresponding point multiplication on each symbol in the load signal after down sampling and the original down-chirp signal, and then sequentially carrying out FFT (fast Fourier transform) and taking an absolute value of each symbol to obtain a load signal D after direct demodulation;
(4) carrying out matched filtering operation on each symbol in the load signal D after direct demodulation and the new preamble signal B to obtain a new load signal E;
(5) and searching a position P corresponding to the maximum value of each symbol in the new load signal E, and sequentially carrying out decimal to binary conversion and Gray code inverse mapping on the position P to obtain modulation information bits.
2. The method of claim 1, wherein step (2a) is performed for a length of 2SFIntercepting the leading signal A, storing M points around the maximum value to obtain a signal C with the length of (2M +1) points, finding out the maximum value from the leading signal A after direct demodulation, determining a subscript MAX of a position corresponding to the maximum value, and comparing the size of the MAX with that of the M:
when MAX is less than or equal to M, subscript of preamble signal A is 2SF- (MAX-M) to subscript 2SFThe section of signal is taken as the first half section of the intercepted signal, the section of signal with the subscript of the leading signal A ranging from 1 to the subscript MAX + M is taken as the second half section of the intercepted signal, and the front section and the rear section form a leading signal C;
when MAX is more than or equal to 2SFwhen-M, index of preamble signal A is MAX-M to index is 2SFThe signal of the section is taken as the first half section of the intercepted signal, and the subscript of the leading signal A is 1 to the subscript MAX + M-2SFThis segment of the signalAs the second half section of the intercepted signal, the front section and the rear section form a preamble signal C;
when MAX is not more than MAX and is not less than MAX and not less than 2SFIn both cases-M, the preamble signal A is indexed MAX-M to MAX + M to form the preamble signal C.
3. The method of claim 1, wherein the step (4) of performing matched filtering on each symbol in the new preamble signal B and the payload signal D is to perform point-by-point sliding dot multiplication on the new preamble signal B while keeping each symbol in the payload signal D fixed, and when the new preamble signal B coincides with the last point of each symbol in the payload signal D, the symbols in the payload signal D are shifted from the starting point to the end of the last point one by one until the starting points of the new preamble signal B and the payload signal D coincide again, and the operation is terminated.
4. The method of claim 1, wherein the step (5) of maximum value detection is performed on the new load signal E after matching, and gray code inverse mapping is performed on the finally generated binary system, and the steps are implemented as follows:
(5a) finding the subscript MAX of the position corresponding to the maximum value of each symbol in the new load signal E, calculating the value of MAX + M-MAX, and comparing the calculation result with 2SFPerforming remainder operation to eliminate the influence of the initial position MAX-M and obtain the actual position P of the maximum value of each symbol in the new load signal E;
(5b) dividing P obtained in the step (5a) by 2, taking the rest numbers as the coefficient d0 of the lowest bit of the binary gray code, then continuously dividing the quotient by 2, taking the remainder as the coefficient d1 of the lowest bit of the binary gray code, and repeating the steps until the quotient is 0, so as to obtain the binary gray code b;
(5c) reserving the highest bit of the binary gray code b as the highest bit of the natural binary code, and taking the result of the exclusive OR of the highest bit of the natural binary code and the second highest bit of the gray code as the second highest bit of the natural binary code;
(5d) and (5) sequentially solving the rest bits of the natural binary code according to the same method as the method (5c) to obtain modulation information bits.
CN201910286472.0A 2019-04-10 2019-04-10 Demodulation method of LoRa modulated signal under multipath channel Active CN109842430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910286472.0A CN109842430B (en) 2019-04-10 2019-04-10 Demodulation method of LoRa modulated signal under multipath channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910286472.0A CN109842430B (en) 2019-04-10 2019-04-10 Demodulation method of LoRa modulated signal under multipath channel

Publications (2)

Publication Number Publication Date
CN109842430A CN109842430A (en) 2019-06-04
CN109842430B true CN109842430B (en) 2020-09-08

Family

ID=66887050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910286472.0A Active CN109842430B (en) 2019-04-10 2019-04-10 Demodulation method of LoRa modulated signal under multipath channel

Country Status (1)

Country Link
CN (1) CN109842430B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181596B (en) * 2019-12-31 2021-11-30 北京升哲科技有限公司 Modulation-demodulation method and system
CN111181600B (en) * 2019-12-31 2022-01-11 北京升哲科技有限公司 Chirp spread spectrum modulation and demodulation method and system based on QPSK
CN112671680B (en) * 2021-01-20 2023-01-31 哈尔滨工业大学 LoRa demodulation method based on multiple bandwidth sampling for improving error code performance
CN113099487B (en) * 2021-03-24 2022-05-03 重庆邮电大学 A kind of demodulation method of LoRa air interface data
CN113194053A (en) * 2021-03-24 2021-07-30 哈尔滨工业大学 Multi-path LoRa modulation and demodulation method based on fractional Fourier transform for high-speed transmission

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2037605A4 (en) * 2006-06-30 2014-07-16 Fujitsu Ltd DIGITAL MOBILE COMMUNICATION SYSTEM AND ITS TRANSMITTING / RECEIVING METHOD
JP2009230318A (en) * 2008-03-21 2009-10-08 Aiphone Co Ltd Television intercom device
CN102437900B (en) * 2011-12-28 2014-08-20 大唐微电子技术有限公司 Digital interphone and method for reducing error rate of digital interphone
CN106685626A (en) * 2014-12-10 2017-05-17 上海数字电视国家工程研究中心有限公司 Preamble receiving method
CN105721375B (en) * 2016-03-28 2019-06-04 电子科技大学 A system and method for demodulating short preamble burst signal with low signal-to-noise ratio
CN106878218A (en) * 2017-01-25 2017-06-20 河南科技大学 A Highly Reliable Demodulation Method for IEEE802.15.4
CN107426122A (en) * 2017-09-07 2017-12-01 西安电子科技大学 Low complex degree minimum mean-squared error algorithm method for GFDM systems

Also Published As

Publication number Publication date
CN109842430A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN109842430B (en) Demodulation method of LoRa modulated signal under multipath channel
CN112671680B (en) LoRa demodulation method based on multiple bandwidth sampling for improving error code performance
CN101577580B (en) Frame synchronization method
CN102104574B (en) Orthogonal frequency division multiplexing (OFDM)-transform domain communication system (TDCS) signal transmission and receiving methods, devices and system
JP5426754B2 (en) Asynchronous detection device and asynchronous detection method
CN101951356A (en) Synchronization method of orthogonal frequency division multiplexing-ultra wideband (OFDM-UWB) system based on peak detection
CN102025669B (en) Short-wave data transmission method based on dual multisystem quasi-orthogonal spread-spectrum composite phase modulation
CN110971344A (en) Soft demodulation method of linear frequency modulation spread spectrum modulation technology
CN114301495B (en) A soft output demodulation method under non-coherent LoRa system
CN105915480A (en) Efficient chaotic communication scheme based on orthogonal chaotic generator
JP2002527948A (en) Encoding / decoding of additional symbols in a communication system
CN101588191B (en) Method and device for radio signal recognition
CN115643140B (en) Multistage cyclic shift index differential chaos shift keying system and method
CN114759947B (en) Spreading factor detection method of multi-line linear spread spectrum signal under parallel transmission
CN115580513A (en) A Modulation and Demodulation Method of Frequency Shifting Chirp Spread Spectrum Index
CN110149289A (en) The frame structure design method of Nonlinear Transformation in Frequency Offset Estimation under big frequency deviation
CN110278173B (en) Timing Synchronization Method in Low Signal-to-Noise Ratio Environment in OFDM System
CN115243316B (en) A method and device for implementing LoRa network data aggregation
CN111431657A (en) Method for improving pilot signal detection performance in navigation/communication integration
CN115001917B (en) Modulation signal generation method for radar communication integration
CN113630150B (en) High-precision time synchronization method for communication system
CN113099487B (en) A kind of demodulation method of LoRa air interface data
CN115267686A (en) Radar communication integrated modulation signal generation method with low peak-to-average ratio characteristic
CN113791390B (en) Radar communication integrated signal design method based on RS sequence and soft spread spectrum technology
CN107846262B (en) A Demodulation Code Rate Detection Method Based on Differential Correlation Operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant