CN114640562A - CPFSK/GFSK signal noncoherent demodulation method - Google Patents
CPFSK/GFSK signal noncoherent demodulation method Download PDFInfo
- Publication number
- CN114640562A CN114640562A CN202210259019.2A CN202210259019A CN114640562A CN 114640562 A CN114640562 A CN 114640562A CN 202210259019 A CN202210259019 A CN 202210259019A CN 114640562 A CN114640562 A CN 114640562A
- Authority
- CN
- China
- Prior art keywords
- symbol
- cpfsk
- gfsk
- matching
- signal
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000001228 spectrum Methods 0.000 claims abstract description 47
- 238000012937 correction Methods 0.000 claims abstract description 32
- 230000001427 coherent effect Effects 0.000 claims abstract description 14
- 238000012545 processing Methods 0.000 claims abstract description 14
- 230000007480 spreading Effects 0.000 claims description 44
- 238000013507 mapping Methods 0.000 claims description 41
- 239000011159 matrix material Substances 0.000 claims description 32
- 238000007493 shaping process Methods 0.000 claims description 29
- 230000004044 response Effects 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 17
- 238000005070 sampling Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000010076 replication Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 claims description 5
- 238000005562 fading Methods 0.000 claims description 5
- 238000009825 accumulation Methods 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims 1
- 230000017105 transposition Effects 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 30
- 238000004891 communication Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000007792 addition Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/10—Frequency-modulated carrier systems, i.e. using frequency-shift keying
- H04L27/14—Demodulator circuits; Receiver circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/10—Frequency-modulated carrier systems, i.e. using frequency-shift keying
- H04L27/14—Demodulator circuits; Receiver circuits
- H04L27/144—Demodulator circuits; Receiver circuits with demodulation using spectral properties of the received signal, e.g. by using frequency selective- or frequency sensitive elements
- H04L27/148—Demodulator circuits; Receiver circuits with demodulation using spectral properties of the received signal, e.g. by using frequency selective- or frequency sensitive elements using filters, including PLL-type filters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
本发明提供一种CPFSK/GFSK信号非相干解调方法,该方法依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组和相位修正因子;然后,如果接收的是未扩频CPFSK/GFSK信号,则将接收样本逐K个符号匹配,对匹配结果求模;如果接收的是经过直接序列扩频处理的DSSS‑CPFSK/DSSS‑GFSK信号,则将扩频处理后的信号视为整体,对接收样本逐扩频码长度匹配,对匹配结果求模值;最后,如果接收的是未扩频的CPFSK/GFSK信号,则每组按照译码需求按照软解调或者硬解调的方式解出K比特信息;如果接收的是DSSS‑CPFSK/DSSS‑GFSK信号,则解出对应的未扩频原始比特。
The present invention provides a CPFSK/GFSK signal non-coherent demodulation method, which generates a single-symbol length matched filter bank and a phase correction factor according to sent CPFSK/GFSK signal parameters; GFSK signal, the received samples are matched one by one K symbols, and the matching result is modulo; if the received DSSS‑CPFSK/DSSS‑GFSK signal is processed by direct sequence spread spectrum, the signal after spread spectrum processing is regarded as the whole , match the length of the spread spectrum code of the received samples one by one, and calculate the modulo value of the matching result; finally, if the received CPFSK/GFSK signal is not spread spectrum, each group will be soft demodulated or hard demodulated according to the decoding requirements. Solve the K-bit information; if the received DSSS-CPFSK/DSSS-GFSK signal, then solve the corresponding unspread original bits.
Description
技术领域technical field
本发明涉及物联网通信的技术领域,更具体地,涉及一种CPFSK/GFSK信号非相干解调方法。The present invention relates to the technical field of Internet of Things communication, and more particularly, to a non-coherent demodulation method for CPFSK/GFSK signals.
背景技术Background technique
随着无线通信技术和通信网络的迅猛发展,物与物之间的通信需求在迅速增长。在第五代移动通信技术(5th Generation,5G)中,大规模机器类通信(Massive MachineType Communication,mMTC)被列为了三大应用场景之一。在针对mMTC场景的诸多物联网物理层技术中,连续相位频移键控(Continuous Phase Shift Keying modulation,CPFSK)以其包络恒定,相位连续以及频谱效率高的优良特性而受到广泛的应用。高斯滤波频移键控在CPFSK(Gaussian Frequency Shift Keying,GFSK)在连续相位调制的基础上添加了低通高斯滤波器作为符号相位成型函数,相较CPFSK信号其频谱带外衰减更快,频谱效率更高,但是高斯滤波成型的引入会带来额外的符号串扰(Inter-symbol interference),实现也更为复杂。进一步地,CPFSK/GFSK调制还可以与直接序列扩频技术(Direct SequenceSpread Spectrum,DSSS)和信道编码技术结合以实现覆盖增强和速率自适应,从而满足远距离物联网通信的需求。With the rapid development of wireless communication technology and communication network, the demand for communication between things is growing rapidly. In the fifth generation mobile communication technology (5th Generation, 5G), Massive Machine Type Communication (mMTC) is listed as one of the three major application scenarios. Among many IoT physical layer technologies for mMTC scenarios, Continuous Phase Shift Keying (CPFSK) is widely used due to its excellent characteristics of constant envelope, continuous phase and high spectral efficiency. Gaussian filter frequency shift keying adds a low-pass Gaussian filter as a symbol phase shaping function on the basis of CPFSK (Gaussian Frequency Shift Keying, GFSK) on the basis of continuous phase modulation. Higher, but the introduction of Gaussian filter shaping will bring additional symbol crosstalk (Inter-symbol interference), and the implementation is more complicated. Further, CPFSK/GFSK modulation can also be combined with Direct Sequence Spread Spectrum (DSSS) and channel coding technology to achieve coverage enhancement and rate adaptation, so as to meet the needs of long-distance IoT communications.
在低成本接收机设计中,CPFSK/GFSK信号解调方式通常是基于非相干的方式实现的,因为这种方式对同步精度要求低且抗信道衰落能力强,更适用于低成本的实现。目前常用的非相干类的解调方案是利用单个符号间相位的变化极性来判断发送符号携带的信息,即差分解调算法。尽管实现简单,但是其误码率(Bit Error Rate,BER)性能在低接收信噪比(Signal-to-Noise Radio,SNR)表现较差,难以满足广覆盖的需求。另一种非相干的包络检波算法在FSK信号调制因子较大时有较好的性能,然而为了减少信号实际占用带宽,CPFSK/GFSK调制因子通常小于1,不满足符号间正交性的需求,因此BER性能在低SNR下表现也较差。由于CPFSK和GFSK均是相位连续的记忆信号,因此BER性能较好的解调方案多是基于最大似然序列检测(Maximum Likelihood Sequence Detection,MLSD)思想的多符号检测算法,如最佳非相干解调算法等,然而这种算法运算复杂度和存储复杂度非常高,难以适应实际工程应用。此外,传统的解调解扩分离的思想在解扩解调直接序列扩频的DSSS-FSK信号会引入大量的性能损失。In the design of low-cost receivers, the CPFSK/GFSK signal demodulation method is usually implemented based on a non-coherent method, because this method has low requirements on synchronization accuracy and strong anti-channel fading ability, and is more suitable for low-cost implementation. The currently commonly used non-coherent demodulation scheme uses the change polarity of the phase between single symbols to judge the information carried by the transmitted symbols, that is, the differential demodulation algorithm. Although the implementation is simple, its bit error rate (Bit Error Rate, BER) performance is poor at low signal-to-noise ratio (Signal-to-Noise Radio, SNR), and it is difficult to meet the needs of wide coverage. Another non-coherent envelope detection algorithm has better performance when the FSK signal modulation factor is large. However, in order to reduce the actual occupied bandwidth of the signal, the CPFSK/GFSK modulation factor is usually less than 1, which does not meet the requirement of orthogonality between symbols , so the BER performance is also poor at low SNR. Since both CPFSK and GFSK are phase-continuous memory signals, the demodulation schemes with better BER performance are mostly multi-symbol detection algorithms based on the idea of Maximum Likelihood Sequence Detection (MLSD), such as the optimal non-coherent solution. However, the computational complexity and storage complexity of this algorithm are very high, and it is difficult to adapt to practical engineering applications. In addition, the traditional idea of despreading and despreading will introduce a large amount of performance loss in despreading and demodulating the DSSS-FSK signal of direct sequence spread spectrum.
现有技术中公开了一种具有快速自动频率补偿的CPFSK解调装置及方法的专利,该专利首先将CPFSK解调装置启动;然后,将射频信号通过CPFSK解调装置处理后得到输入信号;然后,将输入信号、本振的正交信号分别传送至 CPFSK解调装置后得到输出信号;该专利不仅可以实现大范围的多普勒频偏的捕获和跟踪,还能实现较大范围的多普勒变化率跟踪;另一个特点就是每次误差电压的计算更新时间短,算法收敛速度快;该方法具有架构简洁、硬件资源消耗少,易于FPGA实现等诸多优点。然而,该专利对于只需要一个符号长度的匹配滤波器组以及相位修正因子,就可以以相对较低的复杂度达到较好的性能却鲜有涉及。The prior art discloses a patent for a CPFSK demodulation device and method with fast automatic frequency compensation. The patent first starts the CPFSK demodulation device; then, the radio frequency signal is processed by the CPFSK demodulation device to obtain an input signal; then , the input signal and the quadrature signal of the local oscillator are respectively transmitted to the CPFSK demodulation device to obtain the output signal; this patent can not only realize the capture and tracking of a wide range of Doppler frequency offsets, but also achieve a wide range of Doppler frequency offsets. Another feature is that the calculation and update time of each error voltage is short, and the algorithm convergence speed is fast; this method has many advantages such as simple architecture, low hardware resource consumption, and easy FPGA implementation. However, this patent seldom mentions that a matched filter bank with a length of one symbol and a phase correction factor can achieve better performance with relatively low complexity.
发明内容SUMMARY OF THE INVENTION
本发明提供一种CPFSK/GFSK信号非相干解调方法,该方法只需要一个符号长度的匹配滤波器组以及相位修正因子,就可以以相对较低的复杂度达到较好的性能,匹配滤波器组可以复用发射部分查表法所用的参考波形,进一步降低存储复杂度。The present invention provides a CPFSK/GFSK signal non-coherent demodulation method, which only needs a matched filter bank with a symbol length and a phase correction factor, and can achieve better performance with relatively low complexity. The group can reuse the reference waveform used by the look-up table method in the transmit part, further reducing the storage complexity.
为了达到上述技术效果,本发明的技术方案如下:In order to achieve above-mentioned technical effect, technical scheme of the present invention is as follows:
一种CPFSK/GFSK信号非相干解调方法,包括以下步骤:A CPFSK/GFSK signal non-coherent demodulation method, comprising the following steps:
S1:依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组和相位修正因子;S1: Generate a single-symbol length matched filter bank and a phase correction factor according to the sent CPFSK/GFSK signal parameters;
S2:匹配接收样本:如果接收的是未扩频CPFSK/GFSK信号,则将接收样本逐K个符号匹配,对匹配结果求模;如果接收的是经过直接序列扩频处理的 DSSS-CPFSK/DSSS-GFSK信号,则将扩频处理后的信号视为整体,对接收样本逐扩频码长度匹配,对匹配结果求模值;S2: Matching received samples: if the received signal is an unspread CPFSK/GFSK signal, the received samples are matched by K symbols, and the matching result is modulo; if the received signal is DSSS-CPFSK/DSSS processed by direct sequence spread spectrum -GFSK signal, the signal after spread spectrum processing is regarded as the whole, and the length of the spread spectrum code is matched for the received samples one by one, and the modulo value of the matching result is calculated;
S3:对匹配结果解调:如果接收的是未扩频的CPFSK/GFSK信号,则每组按照译码需求按照软解调或者硬解调的方式解出K比特信息;如果接收的是 DSSS-CPFSK/DSSS-GFSK信号,则解出对应的未扩频原始比特。S3: Demodulate the matching result: if the unspread CPFSK/GFSK signal is received, each group will decode the K-bit information by soft demodulation or hard demodulation according to the decoding requirements; if the received DSSS- CPFSK/DSSS-GFSK signal, the corresponding unspread original bits are solved.
进一步地,所述的CPFSK/GFSK信号具有恒包络,其复基带信号模型为:Further, the CPFSK/GFSK signal has a constant envelope, and its complex baseband signal model is:
其中,α为长度L的待调制比特序列且αi∈{-1,1}为第i个待调制的二进制双极性比特;N为单码片采样因子,n为采样下标;hm=Δf/Bw为调制因子,Δf为两个频点的频率差值,Bw为码片速率/传输带宽;q(n)为单符号相位成型函数h(n) 的累加。Among them, α is the bit sequence to be modulated of length L and α i ∈{-1,1} is the ith binary bipolar bit to be modulated; N is the single-chip sampling factor, n is the sampling subscript; h m = Δf / Bw is the modulation factor, Δf is the frequency difference between two frequency points, Bw is the chip rate/transmission bandwidth; q(n) is the accumulation of the single-symbol phase shaping function h (n).
进一步地,对于未经过高斯滤波器进行相位成型的全响应CPFSK信号,其成型函数hc(n)为响应长度Lc=1即归一化符号长度的矩形滤波器,其表达式为:Further, for the full-response CPFSK signal that is not phase-shaped by the Gaussian filter, its shaping function h c (n) is a rectangular filter with response length L c =1, that is, the normalized symbol length, and its expression is:
因而CPFSK信号第k个符号的表达式为:Therefore, the expression for the k-th symbol of the CPFSK signal is:
其中θk-1为前k-1项的累加相位,akn/N为第k个符号的相位变化因子,在全响应CPFSK信号下这是线性变化的;而对于经过高斯滤波器进行相位成型的部分响应GFSK信号,其成型函数hg(n)为响应长度Lg的低通高斯滤波器,表达式为:where θ k-1 is the accumulated phase of the first k-1 items, a k n/N is the phase change factor of the k-th symbol, which changes linearly under the full response CPFSK signal; The shaped part responds to the GFSK signal, and its shaping function h g (n) is a low-pass Gaussian filter with a response length L g , and the expression is:
上式中高斯滤波器带宽因子BT为3dB衰减的带宽- 时间因子,Lg截断3就建模GFSK信号的码间串扰,即单个GFSK符号主要与前后两个符号产生马间串扰,因此GFSK信号第k个符号的表达式为:The Gaussian filter bandwidth factor in the above formula BT is the bandwidth-time factor of 3dB attenuation, and L g is cut off by 3 to model the intersymbol interference of GFSK signals, that is, a single GFSK symbol mainly produces intersymbol interference with the two symbols before and after, so the expression of the kth symbol of GFSK signal is: :
式中θk-1为前k-1项的累加相位,φ(n;BT;αk-1αkαk+1)为当前时间-带宽因子下第k个符号的相位变化因子,受前后符号的ISI影响,在部分响应GFSK信号模型下这是非线性变化的。where θ k-1 is the accumulated phase of the first k-1 items, φ(n; BT; α k-1 α k α k+1 ) is the phase change factor of the k-th symbol under the current time-bandwidth factor, which is subject to The ISI effects of the preceding and following symbols, which vary nonlinearly in the partial response GFSK signal model.
进一步地,所述步骤S1中,依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组为:Further, in the step S1, according to the sent CPFSK/GFSK signal parameters, a matched filter bank with a single symbol length is generated as follows:
其中,为CPFSK符号q∈{0,1}对应的参考复基带样本的逆采样顺序排列结果,{·}H表示Hermitian转置,{·}T表示矩阵转置;in, is the inverse sampling order of the reference complex baseband samples corresponding to the CPFSK symbol q∈{0,1}, {·} H represents the Hermitian transpose, {·} T represents the matrix transpose;
CPFSK符号q表示为:The CPFSK symbol q is expressed as:
其中n=0,1,...N-1,N为上采样因子,hm为发送端CPFSK信号调制因子。where n=0,1,...N-1, N is the upsampling factor, and h m is the modulation factor of the CPFSK signal at the transmitting end.
进一步地,所述步骤S1中,依据发送的CPFSK/GFSK信号参数生成单符号长度的相位修正因子表示为:Further, in the step S1, the phase correction factor of the single symbol length generated according to the sent CPFSK/GFSK signal parameters is expressed as:
表示当前符号q∈{0,1}对后续符号引入的相对附加相位。 represents the relative additional phase introduced by the current symbol q∈{0,1} to subsequent symbols.
进一步地,由于当前符号受前后符号符号间串扰的影响,因此生成并存储的匹配滤波器组需要考虑前后码元带来的影响,即:Further, since the current symbol is affected by the crosstalk between the symbols before and after the symbol, the matched filter bank generated and stored needs to consider the impact of the symbols before and after, namely:
其中为符号l∈{0,1,...,7}对应的参考复基带样本的逆序,而l为当前比特q1与前后两个比特q0q2组合对应的q0q1q2右端最高位十进制映射,即:in is the inverse order of the reference complex baseband samples corresponding to the symbol l∈{0,1,...,7}, and l is the right end of q 0 q 1 q 2 corresponding to the combination of the current bit q 1 and the previous two bits q 0 q 2 The highest-order decimal mapping, i.e.:
则符号l的每个采样点表示为:Then each sampling point of the symbol l is expressed as:
其中n=0,1,...N-1,φ(n;BT;q0q1q2)为当前符号的相位变化,受前后比特q0和q2的影响,以及GFSK高斯成型滤波3dB衰减带宽参数BT的影响;where n=0,1,...N-1, φ(n; BT; q 0 q 1 q 2 ) is the phase change of the current symbol, which is affected by the preceding and following bits q 0 and q 2 , and the GFSK Gaussian shaping filter The influence of the 3dB attenuation bandwidth parameter BT;
生成并存储的相位修正因子表示为:The generated and stored phase correction factor is expressed as:
为GFSK符号l∈{0,1,...,7}引入相对附加相位。A relative additional phase is introduced for the GFSK symbols l∈{0,1,...,7}.
进一步地,所述步骤S2中,对于非扩频的CPFSK/GFSK信号进行处理的过程包括:Further, in the step S2, the process of processing the non-spread CPFSK/GFSK signal includes:
逆序排列:对接收的样本r进行逆采样顺序排列,得到逆序样本其中为接收当前分组的第K-k+1个符号的逆序排列的复基带信号样本点;Reverse order: Arrange the received samples r in reverse sampling order to obtain reverse order samples in is the complex baseband signal sample points arranged in reverse order for receiving the K-k+1 th symbol of the current packet;
单符号匹配:对于逆序排列后的第一个符号样本(即原先第K个样本)进行匹配,匹配结果为:Single-symbol matching: For the first symbol sample after reverse order (that is, the original K-th sample), the matching result is:
上式中,M指代调制方式:M=‘c’为CPFSK调制,此时符号成型滤波器长度LM=1,匹配结果为符号“0”/“1”的复数匹配值;M=‘g’为GPFSK调制,此时符号成型滤波器长度LM=3,匹配结果为二进制符号表示“000”~“111”的匹配值,即考虑到前后符号对中间符号相位变化的影响,当前运算结果需要存储用做后续的迭代与合并;In the above formula, M refers to the modulation method: M='c' is CPFSK modulation, at this time the symbol shaping filter length L M =1, and the matching result is the complex matching value of the symbol "0"/"1";M='g' is GPFSK modulation. At this time, the length of the symbol shaping filter is L M =3, and the matching result is the matching value of "000" to "111" represented by the binary symbol. The result needs to be stored for subsequent iteration and merging;
然后按照上述的方法对逆序后的第2个符号,即顺序的第K-1个符号进行匹配,对于CPFSK符号,得到的匹配结果,对于GFSK符号,得到的匹配结果;Then, according to the above method, the second symbol after the reverse order, that is, the K-1th symbol in the sequence, is matched. For the CPFSK symbol, we get The matching result of , for GFSK symbols, gives match result;
合并:对于CPFSK符号,需要将两个单符号匹配结果传递为两段接收符号与四种符号组合的基带参考波形“00”“10”“01”“11”进行匹配的结果,而对于GFSK信号,需要额外考虑匹配符号前后两个符号的影响,即需要将两个单符号的匹配结果扩展到两个接收符号与16种符号组合“0000”,“1000”,…,“1111”,其中黑体为匹配观测部分两端的码间串扰符号;Combination: For CPFSK symbols, two single-symbol matching results need to be passed as two-segment received symbols and four-symbol combinations of baseband reference waveforms "00", "10", "01", and "11" for matching results, while for GFSK signals , the influence of the two symbols before and after the matching symbol needs to be additionally considered, that is, the matching result of two single symbols needs to be extended to two received symbols and 16 kinds of symbol combinations "0000", "1000", ..., "1111", in which boldface In order to match the intersymbol interference symbols at both ends of the observation part;
因此首先需要对匹配结果进行复制,用于复制的矩阵为:Therefore, it is first necessary to match the results Make a copy, the matrix used for copying is:
其中为的单位阵,然后考虑CPFSK/GFSK 信号的相位连续性,除了需要对进行复制,还需要进行相位旋转以适配前一个匹配符号引入的相位,对复制矩阵写为:in for , and then consider the phase continuity of the CPFSK/GFSK signal, except that For replication, phase rotation is also required to adapt to the phase introduced by the previous matching symbol. The copy matrix is written as:
其中blockdiag{·}为块对角化操作,而相位旋转矩阵写为:where blockdiag{·} is the block diagonalization operation, and the phase rotation matrix is written as:
其中为主对角线元素为的方阵,代表逆序后第二个匹配符号引入的附加相位,由此合并后的结果表示为:in The main diagonal element is the square matrix, represents the additional phase introduced by the second matching symbol after reversal, so the combined result is expressed as:
其中因为是第一个匹配结果;in because is the first matching result;
上述过程中真正用于复数乘法的只有每个符号的单符号匹配和符号合并时的附加相位修正,所需的复数乘法次数由减小为 The only real complex multiplications in the above process are the single-symbol matching of each symbol and the additional phase correction during symbol merging, and the number of complex multiplications required is given by reduced to
迭代:将上述步骤迭代,则逆序排列后的第k个符号的匹配合并的结果为:Iteration: If the above steps are iterated, the result of the matching and merging of the k-th symbol after the reverse order is:
其中,为逆序后的第k个符号的单符号匹配结果,为逆序后前k-1个符号的匹配合并后的结果,且:in, is the single-symbol matching result of the k-th symbol after the reverse order, is the result of the combination of the first k-1 symbols after the reverse order, and:
取模:最终得到K个符号匹配合并的结果,对于CPFSK,为求模得到对于GFSK,为求模得到 Modulo: Finally, the result of K symbol matching and merging is obtained. For CPFSK, it is get the modulo For GFSK, it is get the modulo
进一步地,所述步骤S2中,对于扩频的CPFSK/GFSK信号进行处理的过程包括:Further, in the step S2, the process of processing the spread spectrum CPFSK/GFSK signal includes:
逆序:对接收的样本r进行逆序排序,得到逆序其中为接收当前分组的第Ls-k+1个码片符号的逆序排列的复基带信号样本点;Reverse order: sort the received samples r in reverse order to get the reverse order in is the complex baseband signal sample points arranged in reverse order of the L s -k+1 th chip symbol of the current packet;
单符号匹配:考虑到扩频序列Ds在接收端已知,因此只需要对Ls码片长度的接收复基带样本考虑两种可能的码字组合,即比特“1”映射的扩频序列与比特“0”映射的扩频序列,因此对于CPFSK信号,考虑如下的扩频映射矩阵组:Single-symbol matching: Considering that the spreading sequence D s is known at the receiving end, only two possible codeword combinations need to be considered for the received complex baseband samples of chip length L s , that is, the spreading sequence mapped by bit "1" Spread spectrum sequence mapped with bit "0", so for CPFSK signal, consider the following set of spread spectrum mapping matrices:
其中,为第i比特扩频码的映射矩阵,如果即映射的第i比特扩频码与原比特相同,则用于选取匹配滤波器组和相位修正因子的映射矩阵否则,映射的第i比特扩频码与原比特相反,则 in, Spreading code for the i-th bit the mapping matrix, if That is, the mapped ith bit spreading code is the same as the original bit, then the mapping matrix used to select the matched filter bank and the phase correction factor Otherwise, the mapped ith bit spreading code is opposite to the original bit, then
对于GFSK信号,考虑如下的映射矩阵组:For GFSK signals, consider the following set of mapping matrices:
其中,为扩频序列第i比特的映射矩阵,需要同时考虑第i-1扩频比特,第i+1扩频比特对符号的影响;令为第i-1、i、 i+1比特的十进制映射,则置1的下标为:代表原始信息“1”和比特“0”到第i个码片的映射,其余下标置零;当前观测的扩频序列之外的码片默认为0,即 in, For the mapping matrix of the i-th bit of the spreading sequence, it is necessary to consider the influence of the i-1-th spreading bit and the i+1-th spreading bit on the symbol at the same time; let For the decimal mapping of the i-1, i, i+1 bits, the subscript set to 1 is: Represents the mapping of the original information "1" and bit "0" to the i-th chip, and the rest of the subscripts are set to zero; the chips other than the currently observed spreading sequence are 0 by default, that is,
单符号匹配:对于逆序后的第1和第2个符号样本进行匹配,匹配表达式为:Single symbol matching: For the first and second symbol samples after the reverse order, the matching expression is:
其中i=1,2,是依据码片映射更新后的匹配滤波器组,匹配结果代表未扩频比特“0”对应的匹配结果,代表未扩频比特“1”对应的匹配结果;where i=1,2, is the matched filter bank updated according to the chip map, and the matching result represents the matching result corresponding to the unspread bit "0", Represents the matching result corresponding to the unspread bit "1";
合并:对于DSSS-CPFSK符号,合并两个单符号匹配结果的过程为:Merging: For DSSS-CPFSK symbols, the process of merging two single-symbol matching results is:
其中 为经过扩频映射后的相位修正因子,考虑到 CPFSK/GFSK信号的相位连续性,需要经过相位修正后再进行同相叠加;in For the phase correction factor after spread spectrum mapping, considering the phase continuity of the CPFSK/GFSK signal, it needs to be phase corrected and then superimposed in phase;
迭代:将上述步骤迭代,则对逆序后的第k个码片的匹配合并的结果为:Iteration: The above steps are iterated, and the result of the matching and merging of the k-th chip after the reverse order is:
其中为逆序后前k-1个码片合并的结果;in is the result of combining the first k-1 chips after the reverse order;
取模:最终得到单个DSSS-FSK信号完整的Ls长度码片匹配合并的结果,对于DSSS-CPFSK,为求模得到对于DSSS-GFSK,为求模得到 Modulo: Finally, the result of the complete L s length chip matching and merging of a single DSSS-FSK signal is obtained. For DSSS-CPFSK, it is get the modulo For DSSS-GFSK, it is get the modulo
进一步地,所述步骤S3中,对于未扩频的CPFSK/GFSK信号,如果采用硬解调方式,则首先选取匹配模值最大的下标:Further, in the step S3, for the unspread CPFSK/GFSK signal, if the hard demodulation method is adopted, then first select the subscript with the largest matching modulus value:
然后,将按照右端最高位逆映射回二进制序列,对于CPFSK,映射的K比特长度的序列即为解调结果,对于GFSK,逆映射回的K+2比特长度的序列需要舍弃前后的ISI比特,取中间K比特为解调结果;followed by Inversely map back to the binary sequence according to the highest bit on the right. For CPFSK, the mapped K-bit sequence is the demodulation result. For GFSK, the reverse-mapped K+2-bit sequence needs to discard the ISI bits before and after, and take the middle K Bit is the demodulation result;
如果采用软解调,则在K个观测比特中第k个比特的软信息写为:If soft demodulation is used, the soft information of the kth bit in the K observed bits is written as:
其中,I0{·}为零阶第一类修正贝塞尔函数;SNRh=|h|/σ2为接收端信噪比,其中|h|为平坦衰落模值,σ2为接收机高斯噪声功率;和为第k比特匹配支路下标逆映射为1和0的集合。Among them, I 0 {·} is a zero-order modified Bessel function of the first kind; SNR h = |h|/σ 2 is the signal-to-noise ratio at the receiver, where |h| is the flat fading modulus value, and σ 2 is the receiver Gaussian noise power; and Matching branch subscripts for the kth bit are inversely mapped to a set of 1s and 0s.
进一步地,所述步骤S3中,对于扩频后的DSSS-CPFSK/DSSS-GFSK信号,如果采用硬解调的方式,则解出来的扩频前的信息比特写为:Further, in the step S3, for the DSSS-CPFSK/DSSS-GFSK signal after the spectrum spread, if the hard demodulation method is adopted, the information bits before the spectrum spread obtained by the solution are written as:
如果采用软解调,则软信息写为:If soft demodulation is used, the soft information is written as:
与现有技术相比,本发明技术方案的有益效果是:Compared with the prior art, the beneficial effects of the technical solution of the present invention are:
本发明方法适用于非扩频的CPFSK/GFSK信号解调和扩频后的 DSSS-CPFSK/DSSS-GFSK信号解扩解调。相较于现有的低复杂度低性能的差分解调/包络检测方案,在不显著提升复杂度的情况下极大的提升了解调性能。相较于现有的高性能高复杂度的多符号检测方案,以小部分性能损失为代价极大的降低计算复杂度。对扩频后的DSSS-CPFSK/DSSS-GFSK信号的联合解调解扩,在低复杂度的情况下能获得更多的扩频增益。所述的方案均基于非相干实现方式,对同步精度的要求低,适用于低成本低功耗远距离传输的物联网应用。The method of the invention is suitable for demodulation of non-spread CPFSK/GFSK signal and DSSS-CPFSK/DSSS-GFSK signal after spread spectrum. Compared with the existing low-complexity and low-performance differential demodulation/envelope detection schemes, the demodulation performance is greatly improved without significantly increasing the complexity. Compared with the existing high-performance and high-complexity multi-symbol detection schemes, the computational complexity is greatly reduced at the cost of a small performance loss. The joint demodulation, modulation and spreading of the spread-spectrum DSSS-CPFSK/DSSS-GFSK signal can obtain more spreading gain under the condition of low complexity. The solutions described are all based on non-coherent implementations, have low requirements on synchronization accuracy, and are suitable for IoT applications with low cost and low power consumption for long-distance transmission.
附图说明Description of drawings
图1表示本发明一个实施例针对CPFSK/GFSK信号匹配计算框图;FIG. 1 shows a block diagram of CPFSK/GFSK signal matching calculation according to an embodiment of the present invention;
图2表示本发明另一个实施例针对DSSS-CPFSK/DSSS-GFSK信号匹配计算框图;Fig. 2 shows another embodiment of the present invention for the DSSS-CPFSK/DSSS-GFSK signal matching calculation block diagram;
图3表示本发明实施例的CPFSK/GFSK解调的流程示意图;3 shows a schematic flowchart of CPFSK/GFSK demodulation according to an embodiment of the present invention;
图4表示本发明实施例1中提出的在AWGN信道下,未经过信道编码的 CPFSK/GFSK解调性能对比曲线图;Fig. 4 shows the CPFSK/GFSK demodulation performance comparison graph without channel coding under the AWGN channel proposed in
图5表示本发明实施例1中提出的在AWGN信道下,经过(2,1,3)卷积编码和维特比软译码的CPFSK/GFSK解调性能对比曲线图;FIG. 5 is a graph showing the CPFSK/GFSK demodulation performance comparison under (2,1,3) convolutional coding and Viterbi soft decoding under the AWGN channel proposed in
图6表示本发明实施例2中提出的在AWGN信道下,未经过信道编码的 DSSS-CPFSK解调性能对比曲线图。FIG. 6 is a graph showing the comparison of the demodulation performance of DSSS-CPFSK without channel coding under the AWGN channel proposed in
具体实施方式Detailed ways
附图仅用于示例性说明,不能理解为对本专利的限制;The accompanying drawings are for illustrative purposes only, and should not be construed as limitations on this patent;
为了更好说明本实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;In order to better illustrate this embodiment, some parts of the drawings are omitted, enlarged or reduced, which do not represent the size of the actual product;
对于本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。It will be understood by those skilled in the art that some well-known structures and their descriptions may be omitted from the drawings.
下面结合附图和实施例对本发明的技术方案做进一步的说明。The technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments.
实施例1Example 1
如图3所示,一种CPFSK/GFSK信号非相干解调方法,包括以下步骤:As shown in Figure 3, a CPFSK/GFSK signal non-coherent demodulation method includes the following steps:
S1:依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组和相位修正因子;S1: Generate a single-symbol length matched filter bank and a phase correction factor according to the sent CPFSK/GFSK signal parameters;
S2:匹配接收样本:如果接收的是未扩频CPFSK/GFSK信号,则将接收样本逐K个符号匹配,对匹配结果求模;如果接收的是经过直接序列扩频处理的 DSSS-CPFSK/DSSS-GFSK信号,则将扩频处理后的信号视为整体,对接收样本逐扩频码长度匹配,对匹配结果求模值;S2: Matching received samples: if the received signal is an unspread CPFSK/GFSK signal, the received samples are matched by K symbols, and the matching result is modulo; if the received signal is DSSS-CPFSK/DSSS processed by direct sequence spread spectrum -GFSK signal, the signal after spread spectrum processing is regarded as the whole, and the length of the spread spectrum code is matched for the received samples one by one, and the modulo value of the matching result is calculated;
S3:对匹配结果解调:如果接收的是未扩频的CPFSK/GFSK信号,则每组按照译码需求按照软解调或者硬解调的方式解出K比特信息;如果接收的是 DSSS-CPFSK/DSSS-GFSK信号,则解出对应的未扩频原始比特。S3: Demodulate the matching result: if the unspread CPFSK/GFSK signal is received, each group will decode the K-bit information by soft demodulation or hard demodulation according to the decoding requirements; if the received DSSS- CPFSK/DSSS-GFSK signal, the corresponding unspread original bits are solved.
CPFSK/GFSK信号具有恒包络,其复基带信号模型为:The CPFSK/GFSK signal has a constant envelope, and its complex baseband signal model is:
其中,α为长度L的待调制比特序列且αi∈{-1,1}为第i个待调制的二进制双极性比特;N为单码片采样因子,n为采样下标;hm=Δf/Bw为调制因子,Δf为两个频点的频率差值,Bw为码片速率/传输带宽;q(n)为单符号相位成型函数h(n) 的累加。Among them, α is the bit sequence to be modulated of length L and α i ∈{-1,1} is the ith binary bipolar bit to be modulated; N is the single-chip sampling factor, n is the sampling subscript; h m = Δf / Bw is the modulation factor, Δf is the frequency difference between two frequency points, Bw is the chip rate/transmission bandwidth; q(n) is the accumulation of the single-symbol phase shaping function h (n).
对于未经过高斯滤波器进行相位成型的全响应CPFSK信号,其成型函数 hc(n)为响应长度Lc=1即归一化符号长度的矩形滤波器,其表达式为:For the full-response CPFSK signal without Gaussian filter phase shaping, its shaping function h c (n) is a rectangular filter with response length L c =1, that is, the normalized symbol length, and its expression is:
因而CPFSK信号第k个符号的表达式为:Therefore, the expression for the k-th symbol of the CPFSK signal is:
其中θk-1为前k-1项的累加相位,akn/N为第k个符号的相位变化因子,在全响应CPFSK信号下这是线性变化的;而对于经过高斯滤波器进行相位成型的部分响应GFSK信号,其成型函数hg(n)为响应长度Lg的低通高斯滤波器,表达式为:where θ k-1 is the accumulated phase of the first k-1 items, a k n/N is the phase change factor of the k-th symbol, which changes linearly under the full response CPFSK signal; The shaped part responds to the GFSK signal, and its shaping function h g (n) is a low-pass Gaussian filter with a response length L g , and the expression is:
上式中高斯滤波器带宽因子BT为3dB衰减的带宽- 时间因子,Lg截断3就建模GFSK信号的码间串扰,即单个GFSK符号主要与前后两个符号产生马间串扰,因此GFSK信号第k个符号的表达式为:The Gaussian filter bandwidth factor in the above formula BT is the bandwidth-time factor of 3dB attenuation, and L g is cut off by 3 to model the intersymbol interference of GFSK signals, that is, a single GFSK symbol mainly produces intersymbol interference with the two symbols before and after, so the expression of the kth symbol of GFSK signal is: :
式中θk-1为前k-1项的累加相位,φ(n;BT;αk-1αkαk+1)为当前时间-带宽因子下第k个符号的相位变化因子,受前后符号的ISI影响,在部分响应GFSK信号模型下这是非线性变化的。where θ k-1 is the accumulated phase of the first k-1 items, φ(n; BT; α k-1 α k α k+1 ) is the phase change factor of the k-th symbol under the current time-bandwidth factor, which is subject to The ISI effects of the preceding and following symbols, which vary nonlinearly in the partial response GFSK signal model.
步骤S1中,依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组为:In step S1, generating a matched filter bank with a single symbol length according to the sent CPFSK/GFSK signal parameters is:
其中,为CPFSK符号q∈{0,1}对应的参考复基带样本的逆采样顺序排列结果,{·}H表示Hermitian转置,{·}T表示矩阵转置;in, is the inverse sampling order of the reference complex baseband samples corresponding to the CPFSK symbol q∈{0,1}, {·} H represents the Hermitian transpose, {·} T represents the matrix transpose;
CPFSK符号q表示为:The CPFSK symbol q is expressed as:
其中n=0,1,...N-1,N为上采样因子,hm为发送端CPFSK信号调制因子。where n=0,1,...N-1, N is the upsampling factor, and h m is the modulation factor of the CPFSK signal at the transmitting end.
进一步地,所述步骤S1中,依据发送的CPFSK/GFSK信号参数生成单符号长度的相位修正因子表示为:Further, in the step S1, the phase correction factor of the single symbol length generated according to the sent CPFSK/GFSK signal parameters is expressed as:
表示当前符号q∈{0,1}对后续符号引入的相对附加相位。 represents the relative additional phase introduced by the current symbol q∈{0,1} to subsequent symbols.
由于当前符号受前后符号符号间串扰的影响,因此生成并存储的匹配滤波器组需要考虑前后码元带来的影响,即:Since the current symbol is affected by the crosstalk between the symbols before and after the symbol, the generated and stored matched filter bank needs to consider the impact of the symbols before and after, namely:
其中为符号l∈{0,1,...,7}对应的参考复基带样本的逆序,而l为当前比特q1与前后两个比特q0q2组合对应的q0q1q2右端最高位十进制映射,即:in is the inverse order of the reference complex baseband samples corresponding to the symbol l∈{0,1,...,7}, and l is the right end of q 0 q 1 q 2 corresponding to the combination of the current bit q 1 and the previous two bits q 0 q 2 The highest-order decimal mapping, i.e.:
则符号l的每个采样点表示为:Then each sampling point of the symbol l is expressed as:
其中n=0,1,...N-1,φ(n;BT;q0q1q2)为当前符号的相位变化,受前后比特q0和q2的影响,以及GFSK高斯成型滤波3dB衰减带宽参数BT的影响;where n=0,1,...N-1, φ(n; BT; q 0 q 1 q 2 ) is the phase change of the current symbol, which is affected by the preceding and following bits q 0 and q 2 , and the GFSK Gaussian shaping filter The influence of the 3dB attenuation bandwidth parameter BT;
生成并存储的相位修正因子表示为:The generated and stored phase correction factor is expressed as:
为GFSK符号l∈{0,1,...,7}引入相对附加相位。A relative additional phase is introduced for the GFSK symbols l∈{0,1,...,7}.
步骤S2中,对于非扩频的CPFSK/GFSK信号进行处理的过程包括:In step S2, the process of processing the non-spread CPFSK/GFSK signal includes:
逆序排列:对接收的样本r进行逆采样顺序排列,得到逆序样本其中为接收当前分组的第K-k+1个符号的逆序排列的复基带信号样本点;Reverse order: Arrange the received samples r in reverse sampling order to obtain reverse order samples in is the complex baseband signal sample points arranged in reverse order for receiving the K-k+1 th symbol of the current packet;
单符号匹配:对于逆序排列后的第一个符号样本(即原先第K个样本)进行匹配,匹配结果为:Single-symbol matching: For the first symbol sample after reverse order (that is, the original K-th sample), the matching result is:
上式中,M指代调制方式:M=‘c’为CPFSK调制,此时符号成型滤波器长度LM=1,匹配结果为符号“0”/“1”的复数匹配值;M=‘g’为GPFSK调制,此时符号成型滤波器长度LM=3,匹配结果为二进制符号表示“000”~“111”的匹配值,即考虑到前后符号对中间符号相位变化的影响,当前运算结果需要存储用做后续的迭代与合并;In the above formula, M refers to the modulation method: M='c' is CPFSK modulation, at this time the symbol shaping filter length L M =1, and the matching result is the complex matching value of the symbol "0"/"1";M='g' is GPFSK modulation. At this time, the length of the symbol shaping filter is L M =3, and the matching result is the matching value of "000" to "111" represented by the binary symbol. The result needs to be stored for subsequent iteration and merging;
然后按照上述的方法对逆序后的第2个符号,即顺序的第K-1个符号进行匹配,对于CPFSK符号,得到的匹配结果,对于GFSK符号,得到的匹配结果;Then, according to the above method, the second symbol after the reverse order, that is, the K-1th symbol in the sequence, is matched. For the CPFSK symbol, we get The matching result of , for GFSK symbols, gives match result;
合并:对于CPFSK符号,需要将两个单符号匹配结果传递为两段接收符号与四种符号组合的基带参考波形“00”“10”“01”“11”进行匹配的结果,而对于GFSK信号,需要额外考虑匹配符号前后两个符号的影响,即需要将两个单符号的匹配结果扩展到两个接收符号与16种符号组合“0000”,“1000”,…,“1111”,其中黑体为匹配观测部分两端的码间串扰符号;Combination: For CPFSK symbols, two single-symbol matching results need to be passed as two-segment received symbols and four-symbol combinations of baseband reference waveforms "00", "10", "01", and "11" for matching results, while for GFSK signals , the influence of the two symbols before and after the matching symbol needs to be additionally considered, that is, the matching result of two single symbols needs to be extended to two received symbols and 16 kinds of symbol combinations "0000", "1000", ..., "1111", in which boldface In order to match the intersymbol interference symbols at both ends of the observation part;
因此首先需要对匹配结果进行复制,用于复制的矩阵为:Therefore, it is first necessary to match the results Make a copy, the matrix used for copying is:
其中为的单位阵,然后考虑CPFSK/GFSK 信号的相位连续性,除了需要对进行复制,还需要进行相位旋转以适配前一个匹配符号引入的相位,对复制矩阵写为:in for , and then consider the phase continuity of the CPFSK/GFSK signal, except that For replication, phase rotation is also required to adapt to the phase introduced by the previous matching symbol. The copy matrix is written as:
其中blockdiag{·}为块对角化操作,而相位旋转矩阵写为:where blockdiag{·} is the block diagonalization operation, and the phase rotation matrix is written as:
其中为主对角线元素为的方阵,代表逆序后第二个匹配符号引入的附加相位,由此合并后的结果表示为:in The main diagonal element is the square matrix, represents the additional phase introduced by the second matching symbol after reversal, so the combined result is expressed as:
其中因为是第一个匹配结果;in because is the first matching result;
上述过程中真正用于复数乘法的只有每个符号的单符号匹配和符号合并时的附加相位修正,所需的复数乘法次数由减小为 The only real complex multiplications in the above process are the single-symbol matching of each symbol and the additional phase correction during symbol merging, and the number of complex multiplications required is given by reduced to
迭代:将上述步骤迭代,则逆序排列后的第k个符号的匹配合并的结果为:Iteration: If the above steps are iterated, the result of the matching and merging of the k-th symbol after the reverse order is:
其中,为逆序后的第k个符号的单符号匹配结果,为逆序后前k-1个符号的匹配合并后的结果,且:in, is the single-symbol matching result of the k-th symbol after the reverse order, is the result of the combination of the first k-1 symbols after the reverse order, and:
取模:最终得到K个符号匹配合并的结果,对于CPFSK,为求模得到对于GFSK,为求模得到 Modulo: Finally, the result of K symbol matching and merging is obtained. For CPFSK, it is get the modulo For GFSK, it is get the modulo
步骤S2中,对于扩频的CPFSK/GFSK信号进行处理的过程包括:In step S2, the process of processing the spread spectrum CPFSK/GFSK signal includes:
逆序:对接收的样本r进行逆序排序,得到逆序其中为接收当前分组的第Ls-k+1个码片符号的逆序排列的复基带信号样本点;Reverse order: sort the received samples r in reverse order to get the reverse order in is the complex baseband signal sample points arranged in reverse order of the L s -k+1 th chip symbol of the current packet;
单符号匹配:考虑到扩频序列Ds在接收端已知,因此只需要对Ls码片长度的接收复基带样本考虑两种可能的码字组合,即比特“1”映射的扩频序列与比特“0”映射的扩频序列,因此对于CPFSK信号,考虑如下的扩频映射矩阵组:Single-symbol matching: Considering that the spreading sequence D s is known at the receiving end, only two possible codeword combinations need to be considered for the received complex baseband samples of chip length L s , that is, the spreading sequence mapped by bit "1" Spread spectrum sequence mapped with bit "0", so for CPFSK signal, consider the following set of spread spectrum mapping matrices:
其中,为第i比特扩频码的映射矩阵,如果即映射的第i比特扩频码与原比特相同,则用于选取匹配滤波器组和相位修正因子的映射矩阵否则,映射的第i比特扩频码与原比特相反,则 in, Spreading code for the i-th bit the mapping matrix, if That is, the mapped ith bit spreading code is the same as the original bit, then the mapping matrix used to select the matched filter bank and the phase correction factor Otherwise, the mapped ith bit spreading code is opposite to the original bit, then
对于GFSK信号,考虑如下的映射矩阵组:For GFSK signals, consider the following set of mapping matrices:
其中,为扩频序列第i比特的映射矩阵,需要同时考虑第i-1扩频比特,第i+1扩频比特对符号的影响;令为第i-1、i、 i+1比特的十进制映射,则置1的下标为:代表原始信息“1”和比特“0”到第i个码片的映射,其余下标置零;当前观测的扩频序列之外的码片默认为0,即 in, For the mapping matrix of the i-th bit of the spreading sequence, it is necessary to consider the influence of the i-1-th spreading bit and the i+1-th spreading bit on the symbol at the same time; let For the decimal mapping of the i-1, i, i+1 bits, the subscript set to 1 is: Represents the mapping of the original information "1" and bit "0" to the i-th chip, and the rest of the subscripts are set to zero; the chips other than the currently observed spreading sequence are 0 by default, that is,
单符号匹配:对于逆序后的第1和第2个符号样本进行匹配,匹配表达式为:Single symbol matching: For the first and second symbol samples after the reverse order, the matching expression is:
其中i=1,2,是依据码片映射更新后的匹配滤波器组,匹配结果代表未扩频比特“0”对应的匹配结果,代表未扩频比特“1”对应的匹配结果;where i=1,2, is the matched filter bank updated according to the chip map, and the matching result represents the matching result corresponding to the unspread bit "0", Represents the matching result corresponding to the unspread bit "1";
合并:对于DSSS-CPFSK符号,合并两个单符号匹配结果的过程为:Merging: For DSSS-CPFSK symbols, the process of merging two single-symbol matching results is:
其中 为经过扩频映射后的相位修正因子,考虑到 CPFSK/GFSK信号的相位连续性,需要经过相位修正后再进行同相叠加;in For the phase correction factor after spread spectrum mapping, considering the phase continuity of the CPFSK/GFSK signal, it needs to be phase corrected and then superimposed in phase;
迭代:将上述步骤迭代,则对逆序后的第k个码片的匹配合并的结果为:Iteration: The above steps are iterated, and the result of the matching and merging of the k-th chip after the reverse order is:
其中为逆序后前k-1个码片合并的结果;in is the result of combining the first k-1 chips after the reverse order;
取模:最终得到单个DSSS-FSK信号完整的Ls长度码片匹配合并的结果,对于DSSS-CPFSK,为求模得到对于DSSS-GFSK,为求模得到 Modulo: Finally, the result of the complete L s length chip matching and merging of a single DSSS-FSK signal is obtained. For DSSS-CPFSK, it is get the modulo For DSSS-GFSK, it is get the modulo
步骤S3中,对于未扩频的CPFSK/GFSK信号,如果采用硬解调方式,则首先选取匹配模值最大的下标:In step S3, for the unspread CPFSK/GFSK signal, if the hard demodulation method is adopted, first select the subscript with the largest matching modulus value:
然后,将按照右端最高位逆映射回二进制序列,对于CPFSK,映射的K比特长度的序列即为解调结果,对于GFSK,逆映射回的K+2比特长度的序列需要舍弃前后的ISI比特,取中间K比特为解调结果;followed by Inversely map back to the binary sequence according to the highest bit on the right. For CPFSK, the mapped K-bit sequence is the demodulation result. For GFSK, the reverse-mapped K+2-bit sequence needs to discard the ISI bits before and after, and take the middle K Bit is the demodulation result;
如果采用软解调,则在K个观测比特中第k个比特的软信息写为:If soft demodulation is used, the soft information of the kth bit in the K observed bits is written as:
其中,I0{·}为零阶第一类修正贝塞尔函数;SNRh=|h|/σ2为接收端信噪比,其中|h|为平坦衰落模值,σ2为接收机高斯噪声功率;和为第k比特匹配支路下标逆映射为1和0的集合。Among them, I 0 {·} is a zero-order modified Bessel function of the first kind; SNR h = |h|/σ 2 is the signal-to-noise ratio at the receiver, where |h| is the flat fading modulus value, and σ 2 is the receiver Gaussian noise power; and Matching branch subscripts for the kth bit are inversely mapped to a set of 1s and 0s.
步骤S3中,对于扩频后的DSSS-CPFSK/DSSS-GFSK信号,如果采用硬解调的方式,则解出来的扩频前的信息比特写为:In step S3, for the DSSS-CPFSK/DSSS-GFSK signal after the spectrum spread, if the hard demodulation method is adopted, the information bits before the spectrum spread obtained by the solution are written as:
如果采用软解调,则软信息写为:If soft demodulation is used, the soft information is written as:
实施例2Example 2
如图3所示,一种CPFSK/GFSK信号非相干解调方法,所述方法包括:As shown in Figure 3, a method for non-coherent demodulation of CPFSK/GFSK signal, the method includes:
S1:依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组和相位修正因子;S1: Generate a single-symbol length matched filter bank and a phase correction factor according to the sent CPFSK/GFSK signal parameters;
S2:匹配接收样本:该步骤通过采用匹配结果传递替代冗余的符号匹配计算,以较低的复杂度将接收的样本与序列“00…0”~“11…1”这2K种连续相位的基带波形组合进行匹配;S2: Matching the received samples: This step replaces the redundant symbol matching calculation with the matching result to pass the received samples with lower complexity Match with the baseband waveform combinations of 2 K continuous phases in the sequence "00...0" ~ "11...1";
S3:对匹配结果解调:将每组K个比特按照译码需求按照软解调或者硬解调的方式解出K比特信息。S3: Demodulate the matching result: Decode each group of K bits to obtain K bits of information in a soft demodulation or hard demodulation manner according to decoding requirements.
在本实施例中,所述的CPFSK/GFSK信号具有恒包络,相位连续的优良特性,其复基带信号模型为:In this embodiment, the CPFSK/GFSK signal has the excellent characteristics of constant envelope and continuous phase, and its complex baseband signal model is:
其中,α为长度L的待调制比特序列且αi∈{-1,1}为第i个待调制的二进制双极性比特;N为单码片采样因子,n为采样下标;hn=Δf/Bw为调制因子,Δf为两个频点的频率差值,Bw为码片速率/传输带宽;q(n)为单符号相位成型函数h(n) 的累加。对于未经过高斯滤波器进行相位成型的全响应CPFSK信号,其成型函数hc(n)为响应长度Lc=1(归一化符号长度)矩形滤波器,其表达式为:Among them, α is the bit sequence to be modulated of length L and α i ∈{-1,1} is the ith binary bipolar bit to be modulated; N is the single-chip sampling factor, n is the sampling index; h n = Δf / Bw is the modulation factor, Δf is the frequency difference between two frequency points, Bw is the chip rate/transmission bandwidth; q(n) is the accumulation of the single-symbol phase shaping function h (n). For the full-response CPFSK signal without phase shaping by Gaussian filter, its shaping function h c (n) is a rectangular filter with response length L c =1 (normalized symbol length), and its expression is:
因而CPFSK信号第k个符号的表达式为:Therefore, the expression for the k-th symbol of the CPFSK signal is:
其中θk-1为前k-1项的累加相位,akn/N为第k个符号的相位变化因子,在全响应CPFSK信号下这是线性变化的。而对于经过高斯滤波器进行相位成型的部分响应GFSK信号,其成型函数hg(n)为响应长度Lg的低通高斯滤波器,表达式为:where θ k-1 is the accumulated phase of the first k-1 items, and a k n/N is the phase change factor of the k-th symbol, which changes linearly under the full-response CPFSK signal. For the partial response GFSK signal that is phase shaped by the Gaussian filter, the shaping function h g (n) is a low-pass Gaussian filter with the response length L g , and the expression is:
上式中高斯滤波器带宽因子BT为3dB衰减的带宽- 时间因子。Lg通常截断3就可以建模GFSK信号的码间串扰 (inter-symbol-interference,ISI),即单个GFSK符号主要与前后两个符号产生马间串扰,因此GFSK信号第k个符号的表达式为:The Gaussian filter bandwidth factor in the above formula BT is the bandwidth-time factor of the 3dB attenuation. L g is usually truncated to 3 to model the inter-symbol-interference (ISI) of GFSK signals, that is, a single GFSK symbol mainly generates inter-symbol interference with the two symbols before and after, so the expression of the k-th symbol of GFSK signal for:
式中θk-1为前k-1项的累加相位,φ(n;BT;αk-1αkαk+1)为当前时间-带宽因子下第k个符号的相位变化因子,受前后符号的ISI影响,在部分响应GFSK信号模型下这是非线性变化的。where θ k-1 is the accumulated phase of the first k-1 items, φ(n; BT; α k-1 α k α k+1 ) is the phase change factor of the k-th symbol under the current time-bandwidth factor, which is subject to The ISI effects of the preceding and following symbols, which vary nonlinearly in the partial response GFSK signal model.
具体地,步骤S1中,针对全响应CPFSK信号,预生成并存储的匹配滤波器组为:Specifically, in step S1, for the full response CPFSK signal, the pre-generated and stored matched filter bank is:
其中,{·}H表示Hermitian转置,{·}T表示矩阵转置,为CPFSK符号q∈{0,1}对应的参考复基带样本的逆排序序列。具体而言,依据 CPFSK的信号模型,符号q可以表示为:Among them, {·} H represents the Hermitian transpose, {·} T represents the matrix transpose, is the inverse ordered sequence of reference complex baseband samples corresponding to CPFSK symbols q∈{0,1}. Specifically, according to the signal model of CPFSK, the symbol q can be expressed as:
其中,hm为发送端CPFSK信号调制因子。而预生成并存储的附加相位修正因子可以表示为:Among them, h m is the modulation factor of the CPFSK signal at the transmitting end. And the pre-generated and stored additional phase correction factor can be expressed as:
表示当前匹配符号q∈{0,1}对后续匹配符号引入的相对附加相位。represents the relative additional phase introduced by the current matching symbol q∈{0,1} to subsequent matching symbols.
针对部分响应GFSK信号,基于GFSK信号的信号模型,当前符号受前后符号ISI的影响,因此预生成并存储的匹配滤波器组需要额外考虑前后码元带来的影响,即:For partially responding GFSK signals, based on the signal model of GFSK signals, the current symbol is affected by the ISI of the preceding and following symbols, so the pre-generated and stored matched filter bank needs to additionally consider the impact of the preceding and following symbols, namely:
其中为符号l∈{0,1,...,7}对应的参考复基带样本的逆序,而l为当前比特q1与前后两个比特q0q2组合对应的q0q1q2右端最高位十进制映射,即:where is the inverse order of the reference complex baseband samples corresponding to the symbols l∈{0,1,...,7}, and l is the q 0 q 1 q 2 corresponding to the combination of the current bit q 1 and the preceding and following two bits q 0 q 2 Right-hand most significant decimal mapping, that is:
则符号l的每个采样点可以表示为:Then each sampling point of the symbol l can be expressed as:
其中,φ(n;BT;q0q1q2)为当前符号的相位变化,受前后比特q0和q2的影响,以及GFSK高斯成型滤波3dB衰减带宽参数BT的影响。预生成并存储的附加相位修正因子可以表示为:Among them, φ(n; BT; q 0 q 1 q 2 ) is the phase change of the current symbol, which is affected by the preceding and following bits q 0 and q 2 , and the 3dB attenuation bandwidth parameter BT of the GFSK Gaussian shaping filter. The pre-generated and stored additional phase correction factors can be expressed as:
为GFSK符号l∈{0,1,...,7}引入相对附加相位。匹配波形可以复用基带调制部分查表法(Look-up-table,LUT)存储的波形,进一步节约存储空间。A relative additional phase is introduced for the GFSK symbols l∈{0,1,...,7}. The matching waveform can reuse the waveform stored in the Look-up-table (LUT) method of the baseband modulation part, which further saves storage space.
步骤S2中,对于未扩频的CPFSK/GFSK信号,将接收信号划分为每K个符号为一组进行解调。该步骤通过采用匹配结果传递来替代冗余的符号的匹配计算,以较低的复杂度将接收的样本与序列“00…0”~“11…1”这2K种连续相位的基带波形组合进行匹配。具体流程图如图1所示,上述步骤可以划分为逆序、单符号匹配、合并、迭代、取模;In step S2, for the unspread CPFSK/GFSK signal, the received signal is divided into a group of every K symbols for demodulation. This step replaces the redundant symbol matching calculation with the matching result transfer, and converts the received samples with lower complexity. Match with the baseband waveform combination of 2 K continuous phases in the sequence "00...0" ~ "11...1". The specific flowchart is shown in Figure 1, and the above steps can be divided into reverse order, single-symbol matching, merging, iteration, and modulo;
逆序:对接收的样本r进行逆序排序,得到逆序其中为接收当前分组的第K-k个符号的逆序排列的复基带信号样本点;Reverse order: sort the received samples r in reverse order to get the reverse order in is the complex baseband signal sample points arranged in reverse order for receiving the Kk th symbol of the current packet;
单符号匹配:对于逆序后的第一个符号样本(即原第K个样本)进行匹配,匹配结果为:Single-symbol matching: For the first symbol sample after reverse order (that is, the original K-th sample), the matching result is:
上式中,M指代调制方式:M=‘c’为CPFSK调制,此时符号成型滤波器长度LM=1,匹配结果为符号“0”/“1”的复数匹配值;M=‘g’为GPFSK调制,此时符号成型滤波器长度LM=3,匹配结果为符号“000”~“111”(二进制表示) 的匹配值,即考虑到前后符号对中间符号相位变化的影响。当前运算结果需要存储用做后续的迭代与合并。In the above formula, M refers to the modulation method: M='c' is CPFSK modulation, at this time the symbol shaping filter length L M =1, and the matching result is the complex matching value of the symbol "0"/"1";M='g' is GPFSK modulation. At this time, the length of the symbol shaping filter is L M =3, and the matching result is the matching value of symbols "000" to "111" (binary representation), that is, considering the influence of the preceding and following symbols on the phase change of the intermediate symbols. The current operation result needs to be stored for subsequent iteration and merging.
然后按照上述的方法对逆序后的于第2个符号样本(即原第K-1个样本)进行匹配,对于CPFSK符号,得到的匹配结果,对于GFSK符号,得到的匹配结果。Then, according to the above method, the reversed second symbol sample (that is, the original K-1th sample) is matched. For the CPFSK symbol, we get The matching result of , for GFSK symbols, gives match result.
合并:对于CPFSK符号,需要将两个单符号匹配结果扩展到两个接收符号与四种双符号组合“00”“10”“01”“11”进行匹配的结果。而对于GFSK信号,需要额外考虑前后两个符号的影响,即需要将两个单符号的匹配结果扩展到两个接收符号与16种符号组合“0000”,“1000”,…,“1111”(黑体为码间串扰项)。Combination: For CPFSK symbols, two single-symbol matching results need to be extended to the results of matching two received symbols with four double-symbol combinations "00" "10" "01" "11". For the GFSK signal, the influence of the two symbols before and after needs to be additionally considered, that is, the matching result of two single symbols needs to be extended to two received symbols and 16 kinds of symbol combinations "0000", "1000", ..., "1111" ( The boldface is the intersymbol interference term).
因此首先需要对匹配结果进行复制,复制矩阵为:Therefore, it is first necessary to match the results To make a copy, the copy matrix is:
其中为的单位阵。然后考虑到CPFSK/GFSK 信号的相位连续性,除了需要对进行复制,还需要进行相位旋转以适配前一个符号引入的相位,对复制矩阵可以写为:in for unit array. Then considering the phase continuity of the CPFSK/GFSK signal, in addition to the need for For replication, phase rotation is also required to adapt to the phase introduced by the previous symbol. The copy matrix can be written as:
其中blockdiag{·}为块对角化操作。而相位旋转矩阵可以写为:where blockdiag{·} is the block diagonalization operation. And the phase rotation matrix can be written as:
其中为主对角线元素为的方阵。代表逆序后第二个匹配符号引入的附加相位,由此合并后的结果可以表示为:in The main diagonal element is square matrix. represents the additional phase introduced by the second matching symbol after reversal, so the combined result can be expressed as:
其中 in
上述过程中真正用于复数乘法的只有每个符号的单符号匹配和符号合并时的附加相位修正,因此相比传统的匹配方式,所需的复数乘法次数由减小为 In the above process, only the single-symbol matching of each symbol and the additional phase correction during symbol merging are really used for complex multiplication. Therefore, compared with the traditional matching method, the number of complex multiplications required is given by reduced to
迭代:将上述步骤迭代,则逆序后第k个符号的匹配合并的结果为:Iteration: If the above steps are iterated, the result of the matching and merging of the k-th symbol after the reverse order is:
其中,为逆序后的第k个符号单符号匹配结果,为逆序后前k-1个符号的匹配合并后的结果,且:in, is the single-symbol matching result of the k-th symbol after the reverse order, is the result of the combination of the first k-1 symbols after the reverse order, and:
综上,K个符号匹配所需的复数乘法(complex multiplication,CM)次数和复数加法(complex addition,CA)次数均为而直接与K个所有可能的符号组合做匹配需要的CM次数和CA次数均为相较而言本方案复杂度可以大大降低。In summary, the number of complex multiplications (CM) and complex additions (CA) required for K symbol matching are both The CM times and CA times required to directly match all K possible symbol combinations are In comparison, the complexity of this scheme can be greatly reduced.
取模:最终可以得到K个符号匹配合并的结果,对于CPFSK,为求模得到对于GFSK,为求模得到取模所需的实数乘法(real multiplication,RM)次数为实数加法(real addition,RA)次数为 Modulo: Finally, the result of K symbol matching and merging can be obtained. For CPFSK, it is get the modulo For GFSK, it is get the modulo The number of real multiplications (RM) required to take the modulo is The number of real additions (RA) is
具体地,步骤S3中,对于最终的非相干匹配合并结果需要解调出相应的K 比特信息。如果采用硬解调方式,则首先选取匹配模值最大的下标:Specifically, in step S3, corresponding K-bit information needs to be demodulated for the final non-coherent matching and combining result. If the hard demodulation method is used, first select the subscript with the largest matching modulus value:
其中i代表匹配模值下标。然后,将按照右端最高位逆映射回二进制序列。对于CPFSK,映射的K比特长度的序列即为解调结果。对于GFSK,映射的K+2比特长度的序列需要舍弃前后的ISI比特,取中间K比特为解调结果。where i represents the subscript of the matching modulo value. followed by Inversely map back to the binary sequence according to the highest bit on the right. For CPFSK, the mapped sequence of K-bit length is the demodulation result. For GFSK, the mapped sequence with a length of K+2 bits needs to discard the ISI bits before and after, and take the middle K bits as the demodulation result.
如果采用软解调,则在K个观测比特中第k个比特的软信息可以写为 If soft demodulation is adopted, the soft information of the kth bit among the K observed bits can be written as
其中,I0{·}为零阶第一类修正贝塞尔函数;SNRh=|h|/σ2为接收端信噪比,其中|h|为平坦衰落模值,σ2为高斯噪声功率;和为右端最高逆映射后第k 比特匹配支路下标为“1”和“0”的集合。Among them, I 0 {·} is a zero-order modified Bessel function of the first kind; SNR h = |h|/σ 2 is the signal-to-noise ratio at the receiver, where |h| is the flat fading modulus value, and σ 2 is the Gaussian noise power; and It is the set of subscripts "1" and "0" for the kth bit matching branch after the highest inverse mapping at the right end.
为了验证本发明实施例中所提的设计的非相干解调方法的有效性,进一步进行仿真实验,具体如下:In order to verify the effectiveness of the designed incoherent demodulation method proposed in the embodiment of the present invention, further simulation experiments are performed, as follows:
在AWGN信道下,针对常用的h=0.5的CPFSK信号解调和h=0.5,BT=0.5 的GFSK信号解调绘制不同解调方案的BER性能随SNR变化曲线。图4是未编码条件下的性能曲线,图5是(2,1,3)卷积码编码和软维特比译码下的性能曲线。其中实线代表GFSK解调性能而点划线代表CPFSK解调性能,本实施例对应方案用“Δ”标注,最佳多符号检测方案用“□”标注,差分检测方案用“〇”标注,包络检测方案用“+”标注,正交的2-FSK信号非相干检测方案在未编码条件下的理论性能用虚线绘制,横坐标表示SNR,纵坐标表示BER。可见由于单符号周期的非正交性,未编码条件下包络检测和差分检测性能均差于正交2-FSK信号非相干检测方案的理论界,而本方案与最佳多符号检测方案均好于正交2-FSK信号非相干检测方案的理论性能界。未编码条件下本方案相比最佳多符号检测方案在达到物联网可靠通信所需的BER=10-4时针对CPFSK解调的性能损失接近2dB,针对GFSK解调的性能损失接近1dB,在编码条件下本方案在BER=10-4时性能损失均仅有0.5dB,但是能大幅降低接收机复杂度。相比于性能较差的包络检测和差分检测,本方案在未编码条件下BER=10-4的性能增益为3~6dB,在编码条件下性能增益为3dB。Under the AWGN channel, for the commonly used CPFSK signal demodulation with h=0.5 and GFSK signal demodulation with h=0.5, BT=0.5, the curve of BER performance versus SNR of different demodulation schemes is plotted. Figure 4 is the performance curve under the unencoded condition, and Figure 5 is the performance curve under the (2, 1, 3) convolutional code encoding and soft Viterbi decoding. The solid line represents the GFSK demodulation performance and the dot-dash line represents the CPFSK demodulation performance. The corresponding scheme in this embodiment is marked with "Δ", the optimal multi-symbol detection scheme is marked with "□", and the differential detection scheme is marked with "○", The envelope detection scheme is marked with "+", and the theoretical performance of the orthogonal 2-FSK signal incoherent detection scheme under unencoded conditions is plotted with dotted lines, the abscissa represents SNR, and the ordinate represents BER. It can be seen that due to the non-orthogonality of the single symbol period, the performance of envelope detection and differential detection under uncoded conditions is worse than the theoretical bound of the quadrature 2-FSK signal incoherent detection scheme, and the present scheme and the optimal multi-symbol detection scheme are both Better than the theoretical performance bounds of incoherent detection schemes for quadrature 2-FSK signals. Compared with the best multi-symbol detection scheme in the unencoded condition, the performance loss for CPFSK demodulation is close to 2dB when the BER=10 -4 required for reliable IoT communication is achieved, and the performance loss for GFSK demodulation is close to 1dB. Under the coding condition, the performance loss of this scheme is only 0.5dB when BER=10 -4 , but it can greatly reduce the complexity of the receiver. Compared with envelope detection and differential detection with poor performance, the performance gain of this scheme is 3-6dB under the condition of uncoded BER=10 -4 , and the performance gain of this scheme is 3dB under the condition of coding.
为了进一步说明方案的低复杂性,接下来比较不同解调方案的复杂度,其中 1次CM等效为4次RM,一次CA等效为2次RA。本方案总共需要次RM以及次RA 解出K比特信息,最佳多符号检测需要次RM以及次RA才能解出K个观测符号的中间符号的信息,包络检测需要次RM以及次RA解出当前符号的信息,差分检测需要4N+2次RM以及2N+1次RA解出当前符号的信息。综上,平均每个符号的解调复杂度统计如下所示:In order to further illustrate the low complexity of the scheme, the complexity of different demodulation schemes is compared next, where one CM is equivalent to four RMs, and one CA is equivalent to two RAs. This program requires a total of RM and The second RA solves the K-bit information, and the optimal multi-symbol detection requires RM and The information of the middle symbols of the K observation symbols can be solved only after RA times, and the envelope detection needs RM and The information of the current symbol is solved by RA times, and the differential detection requires 4N+2 times of RM and 2N+1 times of RA to solve the information of the current symbol. In summary, the average demodulation complexity statistics per symbol are as follows:
取观测长度K=5,上采样因子N=4,则针对GFSK解调,最佳多符号检测需要10496次RM和5248次RA解出一个符号的信息,本发明方案需要382.4 次RM和191.2次RA解出一个符号的信息,包络检测需要144次RM和72次 RA解出一个符号的信息,差分检测需要18次RM和9次RA解出一个符号的信息。针对CPFSK解调,最佳多符号检测需要2624次RM和1312次RA解出一个符号的信息,本发明方案需要95.6次RM和47.8次RA解出一个符号的信息,包络检测需要36次RM和18次RA解出一个符号的信息,差分检测需要18次RM和9次RA解出一个符号的信息。相比之下,本发明方案复杂度远低于最佳多符号检测方案,高于包络检测和差分检测,但是相比接收机的性能增益还是可以接受的。此外,本方案的匹配滤波器组可以复用基带调制部分查表法存储的单符号长度的参考波形,进一步降低实现的空间复杂度。Taking the observation length K=5 and the upsampling factor N=4, then for GFSK demodulation, the optimal multi-symbol detection requires 10496 times of RM and 5248 times of RA to solve the information of one symbol, and the solution of the present invention needs 382.4 times of RM and 191.2 times of RM. RA solves one symbol information, envelope detection requires 144 RM and 72 RA to solve one symbol information, and differential detection requires 18 RM and 9 RA to solve one symbol information. For CPFSK demodulation, the optimal multi-symbol detection requires 2624 times of RM and 1312 times of RA to solve the information of one symbol, the solution of the present invention needs 95.6 times of RM and 47.8 times of RA to solve the information of one symbol, and the envelope detection needs 36 times of RM And 18 times of RA to solve the information of one symbol, differential detection requires 18 times of RM and 9 times of RA to solve the information of one symbol. In contrast, the complexity of the scheme of the present invention is much lower than that of the optimal multi-symbol detection scheme, and higher than that of envelope detection and differential detection, but the performance gain compared to the receiver is still acceptable. In addition, the matched filter bank of this scheme can multiplex the reference waveform of single symbol length stored by the table look-up method in the baseband modulation part, which further reduces the space complexity of implementation.
实施例3Example 3
如图3所示,一种CPFSK/GFSK信号非相干解调方法,所述方法包括:As shown in Figure 3, a method for non-coherent demodulation of CPFSK/GFSK signal, the method includes:
S1:依据发送的CPFSK/GFSK信号参数生成单符号长度的匹配滤波器组和相位修正因子;S1: Generate a single-symbol length matched filter bank and a phase correction factor according to the sent CPFSK/GFSK signal parameters;
S2:匹配接收样本:该步骤将扩频后的DSSS-FSK视为一个完整的符号,其中每个接收码片与匹配滤波器组进行单码片匹配,然后叠加经过相位修正的匹配结果,并对最终结果求模值;S2: Matching received samples: This step treats the spread spectrum DSSS-FSK as a complete symbol, in which each received chip is single-chip matched with the matched filter bank, and then the phase-corrected matching results are superimposed, and Calculate the modulo value of the final result;
S3:对匹配结果解调:将每组K个比特按照译码需求按照软解调或者硬解调的方式解出K比特信息。S3: Demodulate the matching result: Decode each group of K bits to obtain K bits of information in a soft demodulation or hard demodulation manner according to decoding requirements.
在本实施例中,所述的DSSS-CPFSK/DSSS-GFSK信号具有恒包络,相位连续的优良特性,其复基带信号模型与实施例1相同,但是待调制比特需要首先经过直接序列扩频处理,经过扩频序列Ds直扩处理后的表达式为:In this embodiment, the DSSS-CPFSK/DSSS-GFSK signal has the excellent characteristics of constant envelope and continuous phase, and its complex baseband signal model is the same as that of
b[kLs+i]=a[k]·Ds[i],0≤i<Ls b[kL s +i]=a[k]·D s [i], 0≤i<L s
其中b[i]∈{-1,1}为第i个二进制双极性比特,a[i]∈{-1,1}为第i个原始的信息比特。where b[i]∈{-1,1} is the ith binary bipolar bit, and a[i]∈{-1,1} is the ith original information bit.
该实施例中步骤S1的处理流程与实施例1的步骤S1完全相同。步骤S2中,对于由长度为LS的扩频序列Ds扩频后的DSSS-CPFSK/DSSS-GFSK信号,将扩频后的DSSS-CPFSK/DSSS-GFSK视为一个完整的符号,其中每个接收码片与匹配滤波器组进行单码片匹配,然后叠加经过相位修正的匹配结果,并对最终结果求模值。上述过程等效于将接收的单个DSSS-CPFSK/DSSS-GFSK符号与“0”、“1”信息比特对应的参考符号进行匹配并且求模。具体流程图如图2所示,上述步骤可以划分为逆序、单符号匹配、合并、迭代、取模;The processing flow of step S1 in this embodiment is exactly the same as that of step S1 in
逆序:对接收的样本r进行逆序排序,得到逆序其中为接收当前分组的第Ls-k+1个符号的逆序排列的复基带信号样本点。Reverse order: sort the received samples r in reverse order to get the reverse order in is the complex baseband signal sample points arranged in reverse order for the L s -k+1 th symbol of the received current packet.
单符号匹配:考虑到扩频序列Ds已知,因此只需要对Ls码片长度的接收复基带样本考虑两种可能的码字组合,即比特“1”映射的扩频序列与比特“0”映射的扩频序列。因此对于CPFSK信号,考虑如下的扩频映射矩阵组:Single-symbol matching: Considering that the spreading sequence D s is known, only two possible codeword combinations need to be considered for the received complex baseband samples of chip length L s , namely the spreading sequence mapped by bit "1" and the bit "0" mapped spreading sequence. So for the CPFSK signal, consider the following set of spread spectrum mapping matrices:
其中,为第i比特扩频码的映射矩阵,如果S(i)=1,即映射的第i比特扩频码与原比特相同,则用于选取匹配滤波器组和相位修正因子的映射矩阵否则,映射的第i比特扩频码与原比特相反,则 in, Spreading code for the i-th bit The mapping matrix of , if S (i) = 1, that is, the i-th bit spreading code of the mapping is the same as the original bit, then the mapping matrix used to select the matched filter bank and the phase correction factor Otherwise, the mapped ith bit spreading code is opposite to the original bit, then
对于GFSK信号,考虑如下的映射矩阵组:For GFSK signals, consider the following set of mapping matrices:
其中,为第i比特扩频码的映射矩阵,需要同时考虑第i-1扩频比特,第i+1扩频比特对符号的影响。令为第i-1、i、 i+1比特的十进制映射,则置1的下标为:代表原始信息“1”和比特“0”到第i个码片的映射。in, For the mapping matrix of the spreading code of the i-th bit, it is necessary to consider the influence of the i-1-th spreading-spectrum bit and the i+1-th spreading-spectrum bit on the symbol at the same time. make For the decimal mapping of the i-1, i, i+1 bits, the subscript set to 1 is: Represents the mapping of original information "1" and bit "0" to the ith chip.
单符号匹配:对于逆序后的第1和第2个符号样本进行匹配,匹配表达式为:Single symbol matching: For the first and second symbol samples after the reverse order, the matching expression is:
其中是依据码片映射更新后的匹配滤波器组,匹配结果代表未扩频比特“0”对应的匹配结果,代表未扩频比特“1”对应的匹配结果。in is the matched filter bank updated according to the chip map, and the matching result represents the matching result corresponding to the unspread bit "0", Represents the matching result corresponding to the unspread bit "1".
合并:对于DSSS-CPFSK符号,合并两个单符号匹配结果的过程为:Merging: For DSSS-CPFSK symbols, the process of merging two single-symbol matching results is:
其中 为经过扩频映射后的相位修正因子,考虑到 CPFSK/GFSK信号的相位连续性,需要经过相位修正后再进行同相叠加。in For the phase correction factor after spread spectrum mapping, considering the phase continuity of the CPFSK/GFSK signal, it is necessary to perform in-phase superposition after phase correction.
迭代:将上述步骤迭代,则逆序后对第k个码片的匹配合并的结果为:Iteration: The above steps are iterated, and the result of the matching and merging of the k-th chip after the reverse order is:
其中为逆序后前k-1个码片合并的结果。in is the result of combining the first k-1 chips after the reverse order.
取模:最终可以得到单个DSSS-FSK信号完整的Ls长度码片匹配合并的结果,对于DSSS-CPFSK,为求模得到对于 DSSS-GFSK,为求模得到 Modulo: Finally, the result of the complete L s length chip matching and merging of a single DSSS-FSK signal can be obtained. For DSSS-CPFSK, it is get the modulo For DSSS-GFSK, it is get the modulo
具体地,步骤S3中,对于扩频后的DSSS-CPFSK/DSSS-GFSK信号,如果采用硬解调的方式,则解出来的扩频前的信息比特可以写为:Specifically, in step S3, for the DSSS-CPFSK/DSSS-GFSK signal after the spectrum spread, if the hard demodulation method is adopted, the information bits before the spectrum spread can be written as:
如果采用软解调,则软信息可以写为:If soft demodulation is adopted, the soft information can be written as:
为了验证本发明实施例中所提的设计的非相干解扩解调方法的有效性,进一步进行仿真实验,具体如下:In order to verify the effectiveness of the designed incoherent despreading and demodulation method proposed in the embodiment of the present invention, further simulation experiments are performed, as follows:
在AWGN信道下,针对常用的h=0.5的DSSS-CPFSK信号解调解扩绘制不同解调解扩方案在未编码条件下BER性能随SNR变化曲线,如图4所示,其中本实施例用“+”标注,差分解调与软译码合并用“〇”标注,用不同的线形区分不同扩频码长度Ls={4,8,16,32}下的性能曲线,横坐标表示SNR,纵坐标表示BER。由图可见,本实施例在BER=10-4可以获得3dB左右的扩频增益,而传统的将解扩和解调分离的方案只能达到1;2dB的扩频增益。在扩频码长度为4时,本方案相比对比方案有3dB的性能增益,当扩频码长度为32时,本方案相比对比方案有6dB的性能增益。并且考虑到收发端的扩频码是已知的,本方案的解调复杂度与包络检测类似,除了额外的相位修正步骤。本方案所用的单符号匹配滤波器组可以复用基带调制部分查表法存储的基带波形,因此可以进一步节约存储复杂度。此外本方案的扩频码长度和数值可以任意配置而不需要接收端重新生成扩频序列对应的匹配参考波形,进一步提高灵活性。Under the AWGN channel, for the commonly used DSSS-CPFSK signal demodulation with h=0.5, the curve of BER performance versus SNR under uncoded conditions of different demodulation and despreading schemes is plotted, as shown in Figure 4. In this example, "+ ” mark, the combination of differential demodulation and soft decoding is marked with “0”, and different line shapes are used to distinguish the performance curves under different spreading code lengths L s = {4, 8, 16, 32}, the abscissa represents SNR, the vertical axis The coordinates represent BER. It can be seen from the figure that in this embodiment, a spread spectrum gain of about 3dB can be obtained at BER=10 −4 , while the traditional scheme of separating despreading and demodulation can only achieve a spread spectrum gain of 1;2dB. When the length of the spreading code is 4, this scheme has a performance gain of 3dB compared to the comparison scheme, and when the length of the spreading code is 32, this scheme has a performance gain of 6dB compared to the comparison scheme. And considering that the spreading codes at the transceiver end are known, the demodulation complexity of this scheme is similar to that of envelope detection, except for an additional phase correction step. The single-symbol matched filter bank used in this scheme can multiplex the baseband waveform stored by the look-up table method in the baseband modulation part, so the storage complexity can be further saved. In addition, the length and value of the spreading code in this scheme can be arbitrarily configured without requiring the receiving end to regenerate the matching reference waveform corresponding to the spreading sequence, which further improves flexibility.
相同或相似的标号对应相同或相似的部件;The same or similar reference numbers correspond to the same or similar parts;
附图中描述位置关系的用于仅用于示例性说明,不能理解为对本专利的限制;The positional relationship described in the accompanying drawings is only for exemplary illustration, and should not be construed as a limitation on this patent;
显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Obviously, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those of ordinary skill in the art, changes or modifications in other different forms can also be made on the basis of the above description. There is no need and cannot be exhaustive of all implementations here. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210259019.2A CN114640562B (en) | 2022-03-16 | 2022-03-16 | Incoherent demodulation method for CPFSK/GFSK signals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210259019.2A CN114640562B (en) | 2022-03-16 | 2022-03-16 | Incoherent demodulation method for CPFSK/GFSK signals |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114640562A true CN114640562A (en) | 2022-06-17 |
CN114640562B CN114640562B (en) | 2023-05-30 |
Family
ID=81949026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210259019.2A Active CN114640562B (en) | 2022-03-16 | 2022-03-16 | Incoherent demodulation method for CPFSK/GFSK signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114640562B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115604063A (en) * | 2022-10-10 | 2023-01-13 | 电子科技大学(Cn) | A demodulation method for high-speed maglev train communication system based on frequency-phase conversion |
CN115604062A (en) * | 2022-10-08 | 2023-01-13 | 杭州万高科技股份有限公司(Cn) | Double-bit group demodulation method and demodulator in GFSK communication mode |
CN115801048A (en) * | 2022-11-23 | 2023-03-14 | 中科芯集成电路有限公司 | A Soft Bit Joint Demodulation and Despreading Method Based on GMSK |
CN118869417A (en) * | 2024-09-27 | 2024-10-29 | 南京星思半导体有限公司 | Demodulation processing method, device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212815A (en) * | 1996-03-04 | 1999-03-31 | 格莱纳瑞电子公司 | Digital diversity receiver system |
CN102624662A (en) * | 2012-04-13 | 2012-08-01 | 南京航空航天大学 | A non-coherent detection technology suitable for DMR digital trunking communication system |
CN105703879A (en) * | 2014-11-28 | 2016-06-22 | 联芯科技有限公司 | Two-state Viterbi detection system and method |
US20200076370A1 (en) * | 2018-09-04 | 2020-03-05 | Telink Semiconductor (Shanghai) Co., Ltd. | Method and device for fsk/gfsk demodulation |
WO2021255124A1 (en) * | 2020-06-16 | 2021-12-23 | Nordic Semiconductor Asa | Demodulating modulated signals |
-
2022
- 2022-03-16 CN CN202210259019.2A patent/CN114640562B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212815A (en) * | 1996-03-04 | 1999-03-31 | 格莱纳瑞电子公司 | Digital diversity receiver system |
CN102624662A (en) * | 2012-04-13 | 2012-08-01 | 南京航空航天大学 | A non-coherent detection technology suitable for DMR digital trunking communication system |
CN105703879A (en) * | 2014-11-28 | 2016-06-22 | 联芯科技有限公司 | Two-state Viterbi detection system and method |
US20200076370A1 (en) * | 2018-09-04 | 2020-03-05 | Telink Semiconductor (Shanghai) Co., Ltd. | Method and device for fsk/gfsk demodulation |
WO2021255124A1 (en) * | 2020-06-16 | 2021-12-23 | Nordic Semiconductor Asa | Demodulating modulated signals |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115604062A (en) * | 2022-10-08 | 2023-01-13 | 杭州万高科技股份有限公司(Cn) | Double-bit group demodulation method and demodulator in GFSK communication mode |
CN115604062B (en) * | 2022-10-08 | 2024-04-12 | 杭州万高科技股份有限公司 | Double-bit group demodulation method and demodulator in GFSK communication mode |
CN115604063A (en) * | 2022-10-10 | 2023-01-13 | 电子科技大学(Cn) | A demodulation method for high-speed maglev train communication system based on frequency-phase conversion |
CN115604063B (en) * | 2022-10-10 | 2024-04-30 | 电子科技大学 | Demodulation method of high-speed maglev train communication system based on frequency-phase conversion |
CN115801048A (en) * | 2022-11-23 | 2023-03-14 | 中科芯集成电路有限公司 | A Soft Bit Joint Demodulation and Despreading Method Based on GMSK |
CN118869417A (en) * | 2024-09-27 | 2024-10-29 | 南京星思半导体有限公司 | Demodulation processing method, device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114640562B (en) | 2023-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114640562A (en) | CPFSK/GFSK signal noncoherent demodulation method | |
US5134635A (en) | Convolutional decoder using soft-decision decoding with channel state information | |
US7342872B1 (en) | Differential OFDM using multiple receiver antennas | |
JP5619065B2 (en) | Data transmission / reception method and apparatus in communication system | |
EP1872483A2 (en) | System and method for communicating data using constant amplitude equalized waveform | |
CN101814974A (en) | Transmission method combined with network coding and channel decoding based on adaptive modulation | |
JP2002527948A (en) | Encoding / decoding of additional symbols in a communication system | |
US7602864B1 (en) | Method and apparatus for predicting CCK subsymbols | |
CN100396063C (en) | Method based on joint differential amplitude and phase modulation for global digital broadcasting | |
WO1993007688A1 (en) | Viterbi equalizer for radio receiver | |
CN109818894B (en) | GMSK signal detection method and detection device under multipath channel | |
CN112003804A (en) | Multipath multivariate differential chaotic shift keying iterative receiving method | |
WO2008115042A1 (en) | Method and apparatus for generating training sequence codes in a communication system | |
JP5122459B2 (en) | Method and system for data diversity transmission | |
JP3310671B2 (en) | System and method for calculating state transition metrics in a beater equalizer | |
CN109672495B (en) | A Physical Layer Network Coding Method Based on Continuous Phase Modulation | |
US8204157B2 (en) | Wireless communications device for signal with selected data symbol mapping and related methods | |
WO1997029576A1 (en) | Coherent modulation of cpm signals | |
JP3763023B2 (en) | Digital communication method and digital communication apparatus | |
WO2003043283A1 (en) | A quadrature amplitude modulation method used in the digital mobile communication system | |
JPH11122312A (en) | Digital modulator, digital demodulator, digital modem, digital modulating method, digital demodulating method and digital modulating/demodulating method | |
JP3233092B2 (en) | Modulation system and wireless communication system using the same | |
EP1037439A1 (en) | Receiver structure for Offset Differential Quadrature Phase Shift Keying | |
WO2007045122A1 (en) | A soft demodulating method for 16qam in communication system | |
US9313061B2 (en) | Wireless communication system using selective mapping for memory-less demodulation and related methods |
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 |