CN111082811A - Low-power-consumption Bluetooth Viterbi joint demodulation decoding algorithm with S =8 coding mode - Google Patents
Low-power-consumption Bluetooth Viterbi joint demodulation decoding algorithm with S =8 coding mode Download PDFInfo
- Publication number
- CN111082811A CN111082811A CN201911383137.9A CN201911383137A CN111082811A CN 111082811 A CN111082811 A CN 111082811A CN 201911383137 A CN201911383137 A CN 201911383137A CN 111082811 A CN111082811 A CN 111082811A
- Authority
- CN
- China
- Prior art keywords
- decoding algorithm
- low
- viterbi
- state machine
- bluetooth
- 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
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/11—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
- H03M13/1102—Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
- H03M13/1105—Decoding
- H03M13/1108—Hard decision decoding, e.g. bit flipping, modified or weighted bit flipping
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/11—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
- H03M13/1102—Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
- H03M13/1105—Decoding
- H03M13/1111—Soft-decision decoding, e.g. by means of message passing or belief propagation algorithms
-
- 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
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
技术领域technical field
本发明属于无线通信的解调解码技术领域,具体涉及一种S=8编码方式的低功耗蓝牙维特比联合解调解码算法。The invention belongs to the technical field of demodulation and decoding of wireless communication, and in particular relates to a low-power consumption bluetooth Viterbi joint demodulation and decoding algorithm with S=8 coding mode.
背景技术Background technique
低功耗蓝牙技术是物联网代表性技术之一,广泛应用于成本较低、功耗较小的计算器件以及较低数据速率和较低占空比的短距离无线通信场景下。随着物联网的发展,在2016年蓝牙协议5.0版本中,低功耗蓝牙新增了编码物理层以及两种编码方案(S=2,S=8),对应信息传输速率分别为500kb/s以及125kb/s。编码物理层增强了蓝牙信号传输的稳定性,在不提高发送功率的前提下低功耗蓝牙信号传输距离最高可以提升4倍,大大拓展了低功耗蓝牙在物联网的应用领域以及发展前景。Bluetooth low energy technology is one of the representative technologies of the Internet of Things, which is widely used in computing devices with low cost and low power consumption, as well as in short-range wireless communication scenarios with low data rates and low duty cycles. With the development of the Internet of Things, in the Bluetooth protocol version 5.0 in 2016, Bluetooth Low Energy added a new coding physical layer and two coding schemes (S=2, S=8), corresponding to the information transmission rate of 500kb/s and 125kb/s. The coding physical layer enhances the stability of Bluetooth signal transmission. The low-power Bluetooth signal transmission distance can be increased by up to 4 times without increasing the transmission power, which greatly expands the application field and development prospects of low-power Bluetooth in the Internet of Things.
针对低功耗蓝牙的S=8编码物理层,接收机利用维特比联合解调解码,将会极大地提高接收机的灵敏度,是一个非常具有实际意义的问题。For the S=8 coding physical layer of low-power bluetooth, the receiver uses Viterbi joint demodulation and decoding, which will greatly improve the sensitivity of the receiver, which is a very practical problem.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种计算复杂度低、误码率也低的S=8编码方式的低功耗蓝牙维特比联合解调解码算法。The purpose of the present invention is to provide a low-power consumption bluetooth Viterbi joint demodulation and decoding algorithm with low computational complexity and low error rate.
本发明核心是将高斯频移键控调制(GFSK)过程和低功耗蓝牙编码过程建模为一个有限状态机,并根据维特比译码算法将解调解码联合进行。本发明针对S=8编码模式,利用维特比译码算法对此模型进行联合解调解码。本发明考虑到了低功耗蓝牙的实际应用场景,算法复杂度低,而且能够显著降低误码率,提升接收机灵敏度。The core of the present invention is to model the Gaussian frequency shift keying modulation (GFSK) process and the low-power bluetooth coding process as a finite state machine, and jointly perform demodulation and decoding according to the Viterbi decoding algorithm. According to the S=8 coding mode, the present invention uses the Viterbi decoding algorithm to jointly demodulate and decode this model. The present invention takes into account the actual application scenarios of low-power bluetooth, has low algorithm complexity, and can significantly reduce the bit error rate and improve receiver sensitivity.
本发明提供的S=8编码方式的低功耗蓝牙维特比联合解调解码算法,具体步骤如下。The low power consumption Bluetooth Viterbi joint demodulation and decoding algorithm of the S=8 coding mode provided by the present invention has the following specific steps.
第一步,对于一个经过S=8编码器以及调制器的发送蓝牙信号r(t),其相位为:The first step, for a bluetooth signal r(t) sent through S=8 encoder and modulator, its phase is:
由GFSK信号模型,有:From the GFSK signal model, there are:
其中,Q()为高斯Q函数,Ik∈{±1}是输入的随机比特流,h是GFSK调制指数,通常取为0.5;BT为时间-带宽乘积,一般取为0.5,脉冲成型函数q(t)的有效持续时间为2T。in, Q() is the Gaussian Q function, I k ∈{±1} is the input random bit stream, h is the GFSK modulation index, usually taken as 0.5; BT is the time-bandwidth product, generally taken as 0.5, the pulse shaping function q( The effective duration of t) is 2T.
因此有:当t<0时,q(t)=0,t≥2T时,当t<0和t≥2T时,g(t)=0;Therefore, there are: when t<0, q(t)=0, when t≥2T, When t<0 and t≥2T, g(t)=0;
根据低功耗蓝牙5.0协议,比特流在编码后经过映射延展之后比特‘1’映射为‘1100’,‘0’映射为‘0011’,因此Ik序列中的‘+1’和‘-1’成对出现,因此上式可改写为:According to the Bluetooth low energy 5.0 protocol, the bit stream is mapped to '1100' and '0' to '0011' after encoding and mapping extension, so the '+1' and '-1' in the I k sequence ' appear in pairs, so the above formula can be rewritten as:
上式中第一项,因此The first item in the above formula, therefore
上式中Ik(k=n…n+7)仅由卷积码编码器输出决定,因此可以将S=8模式下的编码调制联合的有限状态机可以等效为比特流编码(卷积码)时的有限状态机。In the above formula, I k (k=n...n+7) is only determined by the output of the convolutional code encoder, so the finite state machine that can combine the coding and modulation in the S=8 mode can be equivalent to bit stream coding (convolutional code). code) finite state machine.
第二步,根据第一步接收信号建模成的有限状态机,根据维特比译码方法将其进行译码从而达到联合解调解码。In the second step, according to the finite state machine modeled by the received signal in the first step, it is decoded according to the Viterbi decoding method to achieve joint demodulation and decoding.
第二步中所使用的维特比联合解调解码算法,具体流程如下:The Viterbi joint demodulation and decoding algorithm used in the second step is as follows:
(1)根据第一步将接收信号建模成的有限状态机每个状态的输出计算分支度量;(1) Calculate the branch metric according to the output of each state of the finite state machine that the received signal is modeled into in the first step;
(2)根据有限状态机每个状态的转换关系计算路径度量值;(2) Calculate the path metric value according to the transition relationship of each state of the finite state machine;
(3)对每一个状态,保留上一步骤计算所得的具有最小路径度量值的到达路径(幸存路径),删除其余的到达路径;(3) For each state, retain the arrival path (survivor path) with the smallest path metric value calculated in the previous step, and delete the rest of the arrival paths;
(4)找到最小路径度量值对应的幸存路径,根据有限状态机的状态转换关系依次输出译码比特。(4) Find the surviving path corresponding to the minimum path metric value, and output the decoded bits in turn according to the state transition relationship of the finite state machine.
由于接收到的蓝牙信号,其相位为(6)式所示;状态由Ik(k=n,n+1…n+7)的取值决定,由于Ik是由卷积码编码器的输出的两个比特经过映射延展得到的,Ik的8个比特的序列仅由序列“0011”和“1100”组合而成,共4种组合情况;因此维特比译码算法在计算分支度量时,计算在nT<t<(n+8)T时刻内,接收信号r(t)和包含所有状态的(共4种状态组合,i=0…3)的相关度量,并保留具有最大相关度量值的路径,即:Due to the received Bluetooth signal, its phase is shown in equation (6); The state is determined by the value of I k (k=n, n+1...n+7). Since I k is obtained by mapping and extending the two bits of the output of the convolutional code encoder, the 8 bits of I k The sequence is only composed of the sequences "0011" and "1100", and there are 4 combinations in total; therefore, when the Viterbi decoding algorithm calculates the branch metric, it is calculated at the moment of nT<t<(n+8)T, and the receiving The signal r(t) and contains all state (a total of 4 state combinations, i=0...3), and keep the path with the largest correlation metric value, namely:
本发明中,S=8编码模式下编码调制联合有限状态机的输入输出和状态转换的关系见表1。In the present invention, the relationship between the input, output and state transition of the coded modulation joint finite state machine in the S=8 coding mode is shown in Table 1.
本发明方法的优点Advantages of the method of the invention
(1)相比较解调之后再进行解码的传统译码方法,联合维特比解调解码算法显著降低了误码率,提升了接收机灵敏度;(1) Compared with the traditional decoding method of decoding after demodulation, the joint Viterbi demodulation and decoding algorithm significantly reduces the bit error rate and improves the receiver sensitivity;
(2)考虑了低功耗蓝牙接收机计算能力有限及功耗低等特性,算法复杂度低,易于实现。(2) Considering the limited computing power and low power consumption of the low-power Bluetooth receiver, the algorithm has low complexity and is easy to implement.
附图说明Description of drawings
图1为S=8编码模式下编码调制联合的状态转换图。FIG. 1 is a state transition diagram of the code-modulation combination in the S=8 coding mode.
图2为S=8编码方案下联合解调解码算法的误码率性能比较。FIG. 2 is a comparison of the bit error rate performance of the joint demodulation and decoding algorithm under the S=8 coding scheme.
具体实施方式Detailed ways
下面通过具体实施例,进一步介绍本发明。The present invention will be further described below through specific embodiments.
作为实施例,本发明用计算机仿真了蓝牙GFSK信号编码-调制-解调-解码的完整流程。仿真过程中随机生成1000bit的数据包,GFSK调制指数为0.5,采用低功耗蓝牙协议规定的编码方式,在低功耗蓝牙S=8编码方案下,进行了1000次蒙特卡洛实验。最终误码率性能及比较如图2所示,其中x-轴是仿真信噪比,y-轴是接收端解码之后的误码率。As an embodiment, the present invention uses a computer to simulate the complete flow of Bluetooth GFSK signal encoding-modulation-demodulation-decoding. During the simulation process, a 1000-bit data packet is randomly generated, and the GFSK modulation index is 0.5. The coding method specified by the Bluetooth low energy protocol is adopted, and 1000 Monte Carlo experiments are carried out under the Bluetooth low energy S=8 coding scheme. The final bit error rate performance and comparison are shown in Figure 2, where the x-axis is the simulated signal-to-noise ratio, and the y-axis is the bit error rate after decoding at the receiving end.
图中差分硬解调解码算法(上侧带菱形的线)对应直接将接收信号取最优相位差分之后做硬判决为0/1比特之后经过解映射输入到维特比解码器进行硬解码;差分软解调软解码算法 (上侧带三角形的线)对应将解调相位解映射之后直接作为维特比软解码的输入;维特比硬解调硬解码算法(下侧带叉号的线)对应将接收信号先维特比算法解调为0/1比特之后经过解映射输入到维特比解码器进行硬解码;维特比联合解调解码算法(下侧带圆点的线)对应本发明算法。可以看到本发明提出的联合解调解码算法误码率性能比传统软解码提升了4dB~6dB,比维特比硬解调硬解码提升了2dB~3dB。The differential hard demodulation decoding algorithm in the figure (the line with a diamond on the upper side) corresponds to directly taking the optimal phase difference of the received signal and making a hard decision as 0/1 bits, and then demapping and inputting it to the Viterbi decoder for hard decoding; differential The soft demodulation and soft decoding algorithm (the line with the triangle on the upper side) corresponds to the input of the Viterbi soft decoding after the demodulation phase is demapped; the Viterbi hard demodulation and hard decoding algorithm (the line with the cross on the lower side) corresponds to the The received signal is first demodulated to 0/1 bits by the Viterbi algorithm, and then de-mapped and input to the Viterbi decoder for hard decoding; the Viterbi joint demodulation and decoding algorithm (the line with dots on the lower side) corresponds to the algorithm of the present invention. It can be seen that the bit error rate performance of the joint demodulation and decoding algorithm proposed by the present invention is improved by 4dB to 6dB compared with the traditional soft decoding, and is improved by 2dB to 3dB compared with the Viterbi hard demodulation and hard decoding.
表1,S=8编码模式下编码调制联合有限状态机的输入输出和状态转换的关系Table 1, the relationship between the input, output and state transition of the coded modulation joint finite state machine in S=8 coding mode
参考文献references
[1]Bo Y,Yang L,Chong C C.Optimized Differential GFSK Demodulator[J].IEEE Transactions on Communications,2011,59(6):1497-1501.[1]Bo Y, Yang L, Chong C C.Optimized Differential GFSK Demodulator[J].IEEE Transactions on Communications,2011,59(6):1497-1501.
[2]Anderson J B,Aulin T,Sundberg C E.Digital Phase Modulation[J].Applications of Communications Theory,1986:412-412.。[2] Anderson J B, Aulin T, Sundberg C E. Digital Phase Modulation [J]. Applications of Communications Theory, 1986: 412-412.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911383137.9A CN111082811B (en) | 2019-12-28 | 2019-12-28 | A low-power bluetooth Viterbi joint demodulation and decoding method with S=8 encoding |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911383137.9A CN111082811B (en) | 2019-12-28 | 2019-12-28 | A low-power bluetooth Viterbi joint demodulation and decoding method with S=8 encoding |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111082811A true CN111082811A (en) | 2020-04-28 |
| CN111082811B CN111082811B (en) | 2023-05-02 |
Family
ID=70318935
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911383137.9A Active CN111082811B (en) | 2019-12-28 | 2019-12-28 | A low-power bluetooth Viterbi joint demodulation and decoding method with S=8 encoding |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111082811B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112653538A (en) * | 2020-12-18 | 2021-04-13 | 复旦大学 | Method for improving receiver sensitivity in low-power-consumption Bluetooth system |
| CN112653537A (en) * | 2020-12-06 | 2021-04-13 | 复旦大学 | Method for improving receiver sensitivity in low-power-consumption Bluetooth system |
| CN112688894A (en) * | 2020-12-23 | 2021-04-20 | 大唐半导体科技有限公司 | Viterbi demodulation algorithm and apparatus applied to GFSK system |
| CN113098811A (en) * | 2021-04-01 | 2021-07-09 | 高拓讯达(北京)科技有限公司 | Demodulation and decoding method and device for GFSK signal |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103281276A (en) * | 2013-05-29 | 2013-09-04 | 中国科学院上海微系统与信息技术研究所 | Optimal demodulation device and demodulation method for CPM signal |
| CN104904171A (en) * | 2012-10-30 | 2015-09-09 | 萨基姆防卫安全 | Method and device for demodulating GFSK-modulated signals with Q states |
| US20170180171A1 (en) * | 2015-12-18 | 2017-06-22 | Qualcomm Incorporated | Frequency synchronization of convolutionally coded gfsk signals |
| CN108881088A (en) * | 2018-08-01 | 2018-11-23 | 上海华虹集成电路有限责任公司 | A kind of joint demodulation and interpretation method of the GFSK signal of convolutional encoding |
| CN108900457A (en) * | 2018-07-30 | 2018-11-27 | 铂讯(北京)科技有限公司 | A kind of simplified method of the viterbi non-coherent demodulation of GMSK |
-
2019
- 2019-12-28 CN CN201911383137.9A patent/CN111082811B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104904171A (en) * | 2012-10-30 | 2015-09-09 | 萨基姆防卫安全 | Method and device for demodulating GFSK-modulated signals with Q states |
| CN103281276A (en) * | 2013-05-29 | 2013-09-04 | 中国科学院上海微系统与信息技术研究所 | Optimal demodulation device and demodulation method for CPM signal |
| US20170180171A1 (en) * | 2015-12-18 | 2017-06-22 | Qualcomm Incorporated | Frequency synchronization of convolutionally coded gfsk signals |
| CN108900457A (en) * | 2018-07-30 | 2018-11-27 | 铂讯(北京)科技有限公司 | A kind of simplified method of the viterbi non-coherent demodulation of GMSK |
| CN108881088A (en) * | 2018-08-01 | 2018-11-23 | 上海华虹集成电路有限责任公司 | A kind of joint demodulation and interpretation method of the GFSK signal of convolutional encoding |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112653537A (en) * | 2020-12-06 | 2021-04-13 | 复旦大学 | Method for improving receiver sensitivity in low-power-consumption Bluetooth system |
| CN112653538A (en) * | 2020-12-18 | 2021-04-13 | 复旦大学 | Method for improving receiver sensitivity in low-power-consumption Bluetooth system |
| CN112653538B (en) * | 2020-12-18 | 2022-03-18 | 复旦大学 | A method for improving receiver sensitivity in low-power bluetooth system |
| CN112688894A (en) * | 2020-12-23 | 2021-04-20 | 大唐半导体科技有限公司 | Viterbi demodulation algorithm and apparatus applied to GFSK system |
| CN112688894B (en) * | 2020-12-23 | 2022-05-13 | 大唐半导体科技有限公司 | A Viterbi demodulation algorithm and its device applied to GFSK system |
| CN113098811A (en) * | 2021-04-01 | 2021-07-09 | 高拓讯达(北京)科技有限公司 | Demodulation and decoding method and device for GFSK signal |
| CN113098811B (en) * | 2021-04-01 | 2022-06-28 | 高拓讯达(北京)科技有限公司 | Demodulation decoding method and demodulation decoding device for GFSK (Gaussian filtered Shift keying) signals |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111082811B (en) | 2023-05-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110995286B (en) | A low-power bluetooth Viterbi joint demodulation and decoding method with S=2 encoding | |
| CN111082811B (en) | A low-power bluetooth Viterbi joint demodulation and decoding method with S=8 encoding | |
| CN106911374B (en) | Low-complexity soft output spatial modulation detection method | |
| CN106130687B (en) | Polar code puncturing method based on decoding bit reliability in fading channel | |
| JPH07273813A (en) | Method and apparatus for generating soft symbol | |
| CN111162873B (en) | A low-complexity optimized decoding algorithm for low-power Bluetooth | |
| CN107911195B (en) | CVA-based tail-biting convolutional code channel decoding method | |
| CN102684824A (en) | A data transmission method and system | |
| CA2675643A1 (en) | Generic, reduced state, maximum likelihood decoder | |
| TW200835171A (en) | Reciever for the GEO satellite reverse link using tail-biting code | |
| CN104079517A (en) | Continuous phase modulation achieving method based on pulse function weighing | |
| CN110061803B (en) | Low-complexity polar code bit interleaving coding modulation method | |
| CN109525254B (en) | Convolutional code soft decision decoding method based on deep learning | |
| CN101237434A (en) | A Soft Decision Method for Gray Mapped M-PSK Modulation | |
| CN110838895A (en) | Differential chaotic communication method and system based on polarization code | |
| CN115694518A (en) | Convolutional code decoding method and system based on GMM-HMM | |
| CN112653537B (en) | Method for improving receiver sensitivity in low-power-consumption Bluetooth system | |
| CN104539397B (en) | The denoising mutual information for dividing multiple access access relay system is handed over to keep quantifying retransmission method | |
| CN110445582B (en) | A coding interleaving method, system, device and computer-readable storage medium | |
| CN103346860B (en) | A kind of decoding unit of wireless transmitting system and interpretation method thereof | |
| CN118590184A (en) | A dynamic encryption coding method based on serial cascade convolution | |
| US11456818B2 (en) | Sensitivity of bluetooth receiver by introducing interleaver | |
| CN105721104A (en) | Viterbi decoding realizing method | |
| US12040906B2 (en) | Encoded signal demodulation method, apparatus, device, and computer readable storage medium | |
| CN1599364A (en) | Data equalization method for burst communication |
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 |