[go: up one dir, main page]

CN110247869A - 2FSK decoding system and method based on data encoding type and verification mode - Google Patents

2FSK decoding system and method based on data encoding type and verification mode Download PDF

Info

Publication number
CN110247869A
CN110247869A CN201910130009.7A CN201910130009A CN110247869A CN 110247869 A CN110247869 A CN 110247869A CN 201910130009 A CN201910130009 A CN 201910130009A CN 110247869 A CN110247869 A CN 110247869A
Authority
CN
China
Prior art keywords
signal
2fsk
data
code
decoding
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
Application number
CN201910130009.7A
Other languages
Chinese (zh)
Other versions
CN110247869B (en
Inventor
李海昊
黄印
刘晓宽
蒋瑞环
魏琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Remote Sensing Equipment
Original Assignee
Beijing Institute of Remote Sensing Equipment
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Remote Sensing Equipment filed Critical Beijing Institute of Remote Sensing Equipment
Priority to CN201910130009.7A priority Critical patent/CN110247869B/en
Publication of CN110247869A publication Critical patent/CN110247869A/en
Application granted granted Critical
Publication of CN110247869B publication Critical patent/CN110247869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/10Frequency-modulated carrier systems, i.e. using frequency-shift keying
    • H04L27/14Demodulator circuits; Receiver circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

本发明公开了一种基于数据编码类型和校验方式的2FSK译码系统及方法方法,所述系统包括:信号下变频模块、信号状态判决模块和译码处理模块;信号下变频模块的输出端与信号状态判决模块的输入端连接,信号状态判决模块的输出端与译码处理模块的输入端连接;信号下变频模块对中频2FSK信号下变频;信号状态判决模块对2FSK信号状态进行判决;译码处理模块基于数据编码类型和校验方式对2FSK信号进行译码处理。本发明实现简单,采用区分数据编码类型,使用“三态”严判决、“两态”宽判决和校验方式相结合的方式,对全部信息进行校验,解决了传统译码方法易产生误译码和丢失大量数据的问题。

The invention discloses a 2FSK decoding system and method based on data encoding type and verification mode. The system includes: a signal down-conversion module, a signal state judgment module and a decoding processing module; an output terminal of the signal down-conversion module It is connected with the input end of the signal state judgment module, and the output end of the signal state judgment module is connected with the input end of the decoding processing module; the signal down-conversion module down-converts the intermediate frequency 2FSK signal; the signal state judgment module judges the 2FSK signal state; The code processing module decodes the 2FSK signal based on the data encoding type and check method. The present invention is simple to implement, uses the method of distinguishing data coding types, and uses a combination of "three-state" strict judgment and "two-state" wide judgment and verification methods to verify all information, and solves the problems that are prone to errors caused by traditional decoding methods. Problems with decoding and losing large amounts of data.

Description

基于数据编码类型和校验方式的2FSK译码系统及方法2FSK decoding system and method based on data encoding type and check method

技术领域technical field

本发明涉及一种基于数据编码类型和校验方式的2FSK译码系统及方法。The invention relates to a 2FSK decoding system and method based on data encoding type and check mode.

背景技术Background technique

2FSK指令信号的译码性能是飞行器通信设备的重要技术指标。传统的2FSK译码方法为:中频2FSK信号下变频后,进行信号状态判决,生成二进制“0”和“1”视频码。此种方法实现比较简单,但存在两个缺点,首先是2FSK信号视频码只存在“两态”:二进制“1”码和“0”码,而2FSK信号有“三态”:f1代表二进制“1”码,f2代表二进制“0”码和非f1非f2信号,因此无法实现判决的对应关系;其次是在噪声、杂散等干扰严重的情况下,如果没有利用数据编码类型和校验方式区别对待信号,对全部信号采用“两态”判决容易产生误译码问题,而对全部信号采用“三态”判决容易产生丢失大量数据。The decoding performance of 2FSK command signal is an important technical index of aircraft communication equipment. The traditional 2FSK decoding method is: After the intermediate frequency 2FSK signal is down-converted, the signal state is judged to generate binary "0" and "1" video codes. This method is relatively simple to implement, but there are two disadvantages. First, the 2FSK signal video code only has "two states": binary "1" code and "0" code, while the 2FSK signal has "three states": f1 represents binary " 1" code, f2 represents binary "0" code and non-f1 non-f2 signal, so the corresponding relationship of judgment cannot be realized; secondly, in the case of serious interference such as noise and spurs, if the data encoding type and verification method are not used Signals are treated differently. Using "two-state" judgments for all signals is prone to misdecoding problems, while using "three-state" judgments for all signals is prone to loss of a large amount of data.

发明内容Contents of the invention

本发明目的在于提供一种基于数据编码类型和校验方式的2FSK译码系统,解决传统译码方法易产生误译码和丢失大量数据的问题。The purpose of the present invention is to provide a 2FSK decoding system based on data encoding type and verification mode, so as to solve the problems that traditional decoding methods are prone to error decoding and loss of a large amount of data.

有鉴于此,本发明提供的技术方案是:一种基于数据编码类型和校验方式的2FSK译码系统,其特征在于,包括:In view of this, the technical solution provided by the present invention is: a 2FSK decoding system based on data encoding type and check mode, characterized in that it includes:

信号下变频模块,用于对中频2FSK信号下变频,并进行输出;The signal down-conversion module is used to down-convert the intermediate frequency 2FSK signal and output it;

信号状态判决模块,用于接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;A signal state judging module, configured to receive the output signal of the signal down-conversion module, and judge the 2FSK signal state;

译码处理模块,用于基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。The decoding processing module is configured to perform decoding processing on the judged 2FSK signal based on the data encoding type and the verification method.

本发明的另一目的在于提供一种基于数据编码类型和校验方式的2FSK译码方法,其特征在于,包括:Another object of the present invention is to provide a kind of 2FSK decoding method based on data encoding type and check mode, it is characterized in that, comprises:

信号下变频模块对中频2FSK信号下变频,并进行输出;The signal down-conversion module down-converts the intermediate frequency 2FSK signal and outputs it;

信号状态判决模块接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;The signal state judgment module receives the output signal of the signal down-conversion module, and judges the 2FSK signal state;

译码处理模块基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。The decoding processing module performs decoding processing on the judged 2FSK signal based on the data encoding type and verification method.

本发明实现了以下显著的有益效果:The present invention has realized following remarkable beneficial effect:

实现简单,包括:信号下变频模块,用于对中频2FSK信号下变频,并进行输出;信号状态判决模块,用于接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;译码处理模块,用于基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。采用区分数据编码类型,使用“三态”严判决、“两态”宽判决和校验方式相结合的方式,解决了传统译码方法易产生误译码和丢失大量数据的问题。The implementation is simple, including: a signal down-conversion module, used for down-converting the intermediate frequency 2FSK signal, and outputting it; a signal state judgment module, used for receiving the output signal of the signal down-conversion module, and judging the state of the 2FSK signal; The code processing module is used to decode the judged 2FSK signal based on the data coding type and check method. By distinguishing the types of data encoding and using the combination of "three-state" strict judgment and "two-state" wide judgment and verification methods, the problems of traditional decoding methods that are prone to misdecoding and loss of large amounts of data are solved.

附图说明Description of drawings

图1为本发明一种基于数据编码类型和校验方式的2FSK译码系统的结构示意图;Fig. 1 is a kind of structural representation of the 2FSK decoding system based on data encoding type and check mode of the present invention;

图2为本发明一种基于数据编码类型和校验方式的2FSK译码方法的流程图Fig. 2 is the flow chart of a kind of 2FSK decoding method based on data encoding type and checking mode in the present invention

具体实施方式Detailed ways

以下结合附图和具体实施例对本发明作进一步详细说明,根据下面说明和权利要求书,本发明的优点和特征将更清楚。需要说明的是,附图均采用非常简化的形式且均适用非精准的比例,仅用以方便、明晰地辅助说明本发明实施例的目的。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments. According to the following description and claims, the advantages and features of the present invention will be more clear. It should be noted that all the drawings are in very simplified form and inaccurate scales, and are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.

需要说明的是,为了清楚地说明本发明的内容,本发明特举多个实施例以进一步阐释本发明的不同实现方式,其中,该多个实施例是列举式而非穷举式。此外,为了说明的简洁,前实施例中已提及的内容往往在后实施例中予以省略,因此,后实施例中未提及的内容可相应参考前实施例。It should be noted that, in order to clearly illustrate the content of the present invention, the present invention specifically cites multiple embodiments to further explain different implementation modes of the present invention, wherein the multiple embodiments are enumerated rather than exhaustive. In addition, for the sake of brevity of description, the content mentioned in the previous embodiment is often omitted in the latter embodiment, therefore, the content not mentioned in the later embodiment can refer to the previous embodiment accordingly.

虽然该发明可以以多种形式的修改和替换来扩展,说明书中也列出了一些具体的实施图例并进行详细阐述。应当理解的是,发明者的出发点不是将该发明限于所阐述的特定实施例,正相反,发明者的出发点在于保护所有给予由本权利声明定义的精神或范围内进行的改进、等效替换和修改。同样的元器件号码可能被用于所有附图以代表相同的或类似的部分。Although the invention can be expanded in various forms of modification and replacement, some specific implementation illustrations are also listed in the description and explained in detail. It should be understood that the inventors' intent is not to limit the invention to the particular embodiments described, but on the contrary, the inventors' intent is to protect all improvements, equivalents and modifications given within the spirit or scope defined by the claims. . The same component numbers may be used throughout the drawings to represent the same or similar parts.

请参照图1,本发明的一种基于数据编码类型和校验方式的2FSK译码系统,包括:信号下变频模块101,用于对中频2FSK信号下变频,并进行输出;信号状态判决模块102,用于接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;译码处理模块103,用于基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。Please refer to Fig. 1, a kind of 2FSK decoding system based on the data coding type and check mode of the present invention, comprises: signal down-conversion module 101, is used for down-converting the intermediate frequency 2FSK signal, and outputs; Signal state decision module 102 , used to receive the output signal of the signal down-conversion module, and judge the state of the 2FSK signal; the decoding processing module 103, used to decode the judged 2FSK signal based on the data encoding type and verification method.

在一个实施例中,所述信号下变频模块的输出端与信号状态判决模块的输入端连接,信号状态判决模块的输出端与译码处理模块的输入端连接。In one embodiment, the output end of the signal down-conversion module is connected to the input end of the signal state judgment module, and the output end of the signal state judgment module is connected to the input end of the decoding processing module.

如图2所示,本发明还提供一种基于数据编码类型和校验方式的2FSK译码方法,包括:步骤S101,信号下变频模块对中频2FSK信号下变频,并进行输出;步骤S102,信号状态判决模块接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;步骤S103,译码处理模块基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。As shown in Figure 2, the present invention also provides a 2FSK decoding method based on the data encoding type and verification method, including: step S101, the signal down-conversion module down-converts the intermediate frequency 2FSK signal, and outputs it; step S102, the signal The state judging module receives the output signal of the signal down-conversion module, and judges the state of the 2FSK signal; step S103, the decoding processing module decodes the judged 2FSK signal based on the data encoding type and the verification method.

在一个实施例中,所述信号下变频模块对中频2FSK信号下变频包括:由FPGA芯片获得以fs采样频率对中频2FSK信号进行带通采样的数据实现下变频。In one embodiment, the down-conversion of the intermediate frequency 2FSK signal by the signal down-conversion module includes: obtaining, by the FPGA chip, band-pass sampling data of the intermediate frequency 2FSK signal at f s sampling frequency to realize down-conversion.

在一个实施例中,进一步包括:对采样值进行IQ分解:奇数采样点为I路,偶数采样点为Q路;之后两路并行处理,一路直接通过低通滤波器,形成信号L;另一路先与2FSK频偏差形成的本振信号进行混频,然后再进行低通滤波处理,形成信号H。In one embodiment, it further includes: performing IQ decomposition on the sampled value: the odd sampling points are I-way, and the even-numbered sampling points are Q-way; afterward, two ways are processed in parallel, and one way directly passes through a low-pass filter to form a signal L; the other way Mix with the local oscillator signal formed by the 2FSK frequency deviation first, and then perform low-pass filtering to form the signal H.

在一个实施例中,所述信号状态判决模块对2FSK信号状态进行判决采用逐点方式进行,以信号处理时钟周期为时间间隔进行逐点比较。In one embodiment, the signal state judging module judges the 2FSK signal state in a point-by-point manner, and performs point-by-point comparison with the signal processing clock period as the time interval.

在一个实施例中,进一步包括:选取一个能量检测门限P,信号幅度大于P认为是有信号,否则认为是噪声;根据解出的两路信号L和H,当L>P且L>H时确定码元为“11”,代表2FSK信号的f1;当H>P且H>L时确定码元为“00”,代表2FSK信号的f2;其它情况为“10”,即非f1非f2信号,以代表实际信号的3种状态。In one embodiment, it further includes: selecting an energy detection threshold P, if the signal amplitude is greater than P, it is considered to have a signal, otherwise it is considered to be noise; according to the solved two-way signals L and H, when L>P and L>H Determine the symbol as "11", which represents f1 of the 2FSK signal; when H>P and H>L, determine the symbol as "00", which represents f2 of the 2FSK signal; in other cases, it is "10", that is, non-f1 and non-f2 signals , to represent the 3 states of the actual signal.

在一个实施例中,所述能量检测门限P的选取原则为:要高于噪声同时要使灵敏度信号也能被检测出来。In one embodiment, the selection principle of the energy detection threshold P is: it should be higher than the noise and at the same time, the sensitivity signal can also be detected.

在一个实施例中,译码处理模块基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理具体包括:将数据信号分为身份识别码、数据识别码、控制码和用户数据码,基于数据编码类型和校验方式的不同,对数据信号的码元进行译码处理。In one embodiment, the decoding processing module performs decoding processing on the determined 2FSK signal based on the data encoding type and verification method, which specifically includes: dividing the data signal into an identification code, a data identification code, a control code and a user data code , and decode the symbols of the data signal based on the difference of the data coding type and the check method.

在一个实施例中,进一步包括:身份识别码、数据识别码、控制码采用“三态”判决的方式,确定码元采样点个数判决门限M,采样点“11”的个数大于M,则判决为f1,代表二进制“1”码;采样点“00”的个数大于M,则判决为f2,代表二进制“0”码,译出“0”和“1”码元后,再对身份识别码、数据识别码、控制码的全部“0”和“1”码元进行奇偶校验。用户数据码采用“两态”判决的方式,确定码元采样点个数判决门限N,采样点“11”的个数大于N,则判决为f1,代表二进制“1”码;采样点“00”或“10”的个数大于N,则判决为f2,代表二进制“0”码。用户数据码由起始位、终止位、有效数据组成,译出“0”和“1”码元后,仅对有效数据的全部“0”和“1”码元进行奇偶校验,而不对起始位、终止位进行奇偶校验。In one embodiment, it further includes: the identification code, the data identification code, and the control code adopt a "three-state" judgment method to determine the judgment threshold M of the number of symbol sampling points, and the number of sampling points "11" is greater than M, Then the judgment is f1, which represents the binary "1" code; if the number of sampling points "00" is greater than M, then the judgment is f2, which represents the binary "0" code. After deciphering the "0" and "1" code elements, the All "0" and "1" code elements of the identity identification code, data identification code, and control code are subjected to parity check. The user data code adopts the "two-state" judgment method to determine the judgment threshold N of the number of sampling points of the symbol. If the number of sampling points "11" is greater than N, the judgment is f1, which represents the binary "1" code; the sampling point "00" " or "10" is greater than N, then the judgment is f2, representing the binary "0" code. The user data code is composed of a start bit, a stop bit, and valid data. After decoding the "0" and "1" symbols, only the parity check is performed on all the "0" and "1" symbols of the valid data. Start bit, stop bit for parity check.

作为具体的实施例,本发明的一种基于数据编码类型和校验方式的2FSK译码方法,其具体步骤为:As a specific embodiment, a kind of 2FSK decoding method based on data encoding type and check mode of the present invention, its specific steps are:

第一步搭建2FSK信号译码系统The first step is to build a 2FSK signal decoding system

2FSK信号译码系统包括:信号下变频模块,信号状态判决模块,译码处理模块。The 2FSK signal decoding system includes: a signal down-conversion module, a signal state judgment module, and a decoding processing module.

信号下变频模块的功能是对中频2FSK信号下变频;信号状态判决模块的功能是对2FSK信号状态进行判决;译码处理模块的功能是基于数据编码类型和校验方式对2FSK信号进行译码处理。The function of the signal down-conversion module is to down-convert the intermediate frequency 2FSK signal; the function of the signal state judgment module is to judge the state of the 2FSK signal; the function of the decoding processing module is to decode the 2FSK signal based on the data encoding type and verification method .

信号下变频模块的输出端与信号状态判决模块的输入端连接,信号状态判决模块的输出端与译码处理模块的输入端连接。The output end of the signal down-conversion module is connected to the input end of the signal state judgment module, and the output end of the signal state judgment module is connected to the input end of the decoding processing module.

第二步信号状态判决模块对2FSK信号状态进行判决The second step signal state judgment module judges the 2FSK signal state

中频2FSK信号的“1”码用频率f1来传输,“0”码用频率f2来传输。信号“1”码可以表示为:“0”码可以表示为:其中ω=2πf。设定此2FSK信号相位不连续,基带信号不含直流,则该信号功率谱为:The "1" code of the intermediate frequency 2FSK signal is transmitted with frequency f1, and the "0" code is transmitted with frequency f2. Signal "1" code can be expressed as: "0" code can be expressed as: where ω=2πf. Assuming that the phase of the 2FSK signal is discontinuous and the baseband signal does not contain DC, the power spectrum of the signal is:

带宽为:B=|f2-f1|+2fsThe bandwidth is: B=|f 2 -f 1 |+2f s ;

FPGA芯片获得以fs采样频率对中频2FSK信号进行带通采样的数据,实现下变频。The FPGA chip obtains the band-pass sampling data of the intermediate frequency 2FSK signal at f s sampling frequency to realize down-conversion.

对采样值进行IQ分解:奇数采样点为I路,偶数采样点为Q路;之后两路并行处理,一路直接通过低通滤波器,形成信号L;另一路先与2FSK频偏差|f2-f1|形成的本振信号进行混频,然后再进行低通滤波处理,形成信号H。Carry out IQ decomposition on the sampling value: the odd sampling point is the I channel, and the even sampling point is the Q channel; after that, the two channels are processed in parallel, and one channel directly passes through the low-pass filter to form a signal L; The local oscillator signal formed by f 1 | is mixed and then processed by low-pass filtering to form signal H.

第三步译码处理模块基于指令编码类型对2FSK信号进行译码处理The third step decoding processing module decodes the 2FSK signal based on the instruction encoding type

根据指令信号能量的实测值,选取能量检测值P,采用逐点方式进行判决,当L>P且L>H时判断码元为“11”,代表2FSK信号的f1;当H>P且H>L时判断码元为“00”,代表2FSK信号的f2;其它情况为“10”,代表非f1非f2频率信号。这样实际信号可以用3种状态表示。According to the actual measured value of the command signal energy, select the energy detection value P, and use the point-by-point method to make a judgment. When L>P and L>H, the judgment symbol is "11", which represents f1 of the 2FSK signal; when H>P and H When >L, the judging symbol is "00", which represents f2 of the 2FSK signal; in other cases, it is "10", which represents non-f1 and non-f2 frequency signals. In this way the actual signal can be represented by 3 states.

第四步译码处理模块基于数据编码类型和校验方式对2FSK信号进行译码处理The fourth step decoding processing module decodes the 2FSK signal based on the data encoding type and verification method

数据信号根据编码类型的不同,分为身份识别码、数据识别码、控制码和用户数据码,基于数据编码类型和校验方式的不同,对数据信号的码元进行译码处理。The data signal is divided into identity identification code, data identification code, control code and user data code according to the different coding types. Based on the different data coding types and verification methods, the code elements of the data signal are decoded.

身份识别码、数据识别码、控制码采用“三态”判决的方式,根据身份识别码、数据识别码、控制码的码元宽度和AD的采样频率确定码元采样点个数判决门限M;启动判决计数器,当采样点“11”的个数大于M,则判决为f1,代表二进制“1”码;采样点“00”的个数大于M,则判决为f2,代表二进制“0”码,那么可以进行后续的处理;否则,跳出身份识别码、数据识别码、控制码译码模快,重新进行身份识别码、数据识别码、控制码搜索。译出“0”和“1”码元序列后,再对身份识别码、数据识别码、控制码的全部“0”和“1”码元进行奇偶校验。The identification code, data identification code, and control code adopt the "three-state" judgment method, and determine the judgment threshold M of the number of symbol sampling points according to the symbol width of the identification code, data identification code, and control code and the sampling frequency of AD; Start the judgment counter, when the number of sampling points "11" is greater than M, the judgment is f1, representing binary "1" code; the number of sampling points "00" is greater than M, then the judgment is f2, representing binary "0" code , then follow-up processing can be carried out; otherwise, jump out of the identification code, data identification code, and control code decoding module, and re-search for the identification code, data identification code, and control code. After deciphering the "0" and "1" symbol sequences, the parity check is performed on all the "0" and "1" symbols of the identity identification code, data identification code, and control code.

用户数据码采用“两态”判决的方式,根据用户数据码的码元宽度和AD的采样频率,确定码元采样点个数判决门限N;启动判决计数器,当采样点“11”的个数大于N,则判决为f1,代表二进制“1”码;采样点“00”或“10”的个数大于N,则判决为f2,代表二进制“0”码。用户数据码由起始位、终止位、有效数据组成,译出“0”和“1”码元后,仅对有效数据的全部“0”和“1”码元进行奇偶校验,而不对起始位、终止位进行奇偶校验。The user data code adopts a "two-state" judgment method. According to the symbol width of the user data code and the sampling frequency of AD, the judgment threshold N for the number of symbol sampling points is determined; the judgment counter is started, and when the number of sampling points "11" If it is greater than N, the judgment is f1, which represents a binary "1" code; if the number of sampling points "00" or "10" is greater than N, the judgment is f2, which represents a binary "0" code. The user data code is composed of a start bit, a stop bit, and valid data. After decoding the "0" and "1" symbols, only the parity check is performed on all the "0" and "1" symbols of the valid data. Start bit, stop bit for parity check.

本发明实现了以下显著的有益效果:The present invention has realized following remarkable beneficial effect:

实现简单,包括:信号下变频模块,用于对中频2FSK信号下变频,并进行输出;信号状态判决模块,用于接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;译码处理模块,用于基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。采用区分数据编码类型,使用“三态”严判决、“两态”宽判决和校验方式相结合的方式,解决了传统译码方法易产生误译码和丢失大量数据的问题。The implementation is simple, including: a signal down-conversion module, used for down-converting the intermediate frequency 2FSK signal, and outputting it; a signal state judgment module, used for receiving the output signal of the signal down-conversion module, and judging the state of the 2FSK signal; The code processing module is used to decode the judged 2FSK signal based on the data coding type and check method. By distinguishing the types of data encoding and using the combination of "three-state" strict judgment and "two-state" wide judgment and verification methods, the problems of traditional decoding methods that are prone to misdecoding and loss of large amounts of data are solved.

显然,上述实施例仅仅是为清楚地说明所作的举例,而非对实施方式的限定。对于所属技术领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍属于本发明创造的保护范围。Apparently, the above-mentioned embodiments are only examples for clearly illustrating, rather than limiting the implementation. For those of ordinary skill in the art, other changes or changes in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaustively list all the implementation manners here. And the obvious changes or changes derived therefrom still belong to the protection scope of the present invention.

Claims (10)

1.一种基于数据编码类型和校验方式的2FSK译码系统,其特征在于,包括:1. A 2FSK decoding system based on data encoding type and check mode, is characterized in that, comprising: 信号下变频模块,用于对中频2FSK信号下变频,并进行输出;The signal down-conversion module is used to down-convert the intermediate frequency 2FSK signal and output it; 信号状态判决模块,用于接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;A signal state judging module, configured to receive the output signal of the signal down-conversion module, and judge the 2FSK signal state; 译码处理模块,用于基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。The decoding processing module is configured to perform decoding processing on the judged 2FSK signal based on the data encoding type and the verification method. 2.根据权利要求1所述的基于数据编码类型和校验方式的2FSK译码系统,其特征在于,所述信号下变频模块的输出端与信号状态判决模块的输入端连接,信号状态判决模块的输出端与译码处理模块的输入端连接。2. the 2FSK decoding system based on data coding type and check mode according to claim 1, is characterized in that, the output end of described signal down-conversion module is connected with the input end of signal state judgment module, and signal state judgment module The output terminal is connected with the input terminal of the decoding processing module. 3.一种基于数据编码类型和校验方式的2FSK译码方法,其特征在于,包括:3. A 2FSK decoding method based on data coding type and check mode, is characterized in that, comprising: 信号下变频模块对中频2FSK信号下变频,并进行输出;The signal down-conversion module down-converts the intermediate frequency 2FSK signal and outputs it; 信号状态判决模块接收所述信号下变频模块的输出信号,并对2FSK信号状态进行判决;The signal state judgment module receives the output signal of the signal down-conversion module, and judges the 2FSK signal state; 译码处理模块基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理。The decoding processing module performs decoding processing on the judged 2FSK signal based on the data encoding type and verification method. 4.根据权利要求3所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,所述信号下变频模块对中频2FSK信号下变频包括:由FPGA芯片获得以fs采样频率对中频2FSK信号进行带通采样的数据实现下变频。4. the 2FSK decoding method based on data encoding type and check mode according to claim 3, it is characterized in that, described signal down-conversion module comprises to intermediate frequency 2FSK signal down-conversion by FPGA chip: obtain with f s sampling frequency by FPGA chip The band-pass sampling data of the intermediate frequency 2FSK signal is down-converted. 5.根据权利要求4所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,进一步包括:对采样值进行IQ分解:奇数采样点为I路,偶数采样点为Q路;之后两路并行处理,一路直接通过低通滤波器,形成信号L;另一路先与2FSK频偏差形成的本振信号进行混频,然后再进行低通滤波处理,形成信号H。5. the 2FSK decoding method based on data coding type and check mode according to claim 4, is characterized in that, further comprises: IQ decomposition is carried out to sampling value: odd sampling point is I road, and even sampling point is Q road ; Afterwards, the two channels are processed in parallel, and one channel directly passes through a low-pass filter to form a signal L; the other channel first mixes with the local oscillator signal formed by 2FSK frequency deviation, and then performs low-pass filter processing to form a signal H. 6.根据权利要求5所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,所述信号状态判决模块对2FSK信号状态进行判决采用逐点方式进行,以信号处理时钟周期为时间间隔进行逐点比较。6. The 2FSK decoding method based on data encoding type and check mode according to claim 5, wherein said signal state judgment module adopts a point-by-point mode for judging the 2FSK signal state, with signal processing clock cycle Do point-by-point comparisons for time intervals. 7.根据权利要求6所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,进一步包括:选取一个能量检测门限P,信号幅度大于P认为是有信号,否则认为是噪声;根据解出的两路信号L和H,当L>P且L>H时确定码元为“11”,代表2FSK信号的f1;当H>P且H>L时确定码元为“00”,代表2FSK信号的f2;其它情况为“10”,即非f1非f2信号,以代表实际信号的3种状态。7. The 2FSK decoding method based on the data encoding type and check method according to claim 6, further comprising: selecting an energy detection threshold P, the signal amplitude is greater than P and considered to be a signal, otherwise considered to be noise ; According to the two-way signals L and H solved, when L>P and L>H, determine that the symbol is "11", representing f1 of the 2FSK signal; when H>P and H>L, determine that the symbol is "00 ", representing the f2 of the 2FSK signal; in other cases, "10", that is, non-f1 and non-f2 signals, to represent the three states of the actual signal. 8.根据权利要求7所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,所述能量检测门限P的选取原则为:要高于噪声同时要使灵敏度信号也能被检测出来。8. The 2FSK decoding method based on the data encoding type and the verification method according to claim 7, wherein the selection principle of the energy detection threshold P is: it should be higher than the noise and at the same time the sensitivity signal can also be detected. detected. 9.根据权利要求8所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,译码处理模块基于数据编码类型和校验方式对判决后的2FSK信号进行译码处理具体包括:将数据信号分为身份识别码、数据识别码、控制码和用户数据码,基于数据编码类型和校验方式的不同,对数据信号的码元进行译码处理。9. The 2FSK decoding method based on data encoding type and verification mode according to claim 8, wherein the decoding processing module decodes the 2FSK signal after the decision based on the data encoding type and verification mode. It includes: dividing the data signal into an identification code, a data identification code, a control code and a user data code, and decoding the code elements of the data signal based on the difference of the data coding type and the verification method. 10.根据权利要求9所述的基于数据编码类型和校验方式的2FSK译码方法,其特征在于,进一步包括:10. the 2FSK decoding method based on data encoding type and check mode according to claim 9, is characterized in that, further comprises: 身份识别码、数据识别码、控制码采用“三态”判决的方式,确定码元采样点个数判决门限M,采样点“11”的个数大于M,则判决为f1,代表二进制“1”码;采样点“00”的个数大于M,则判决为f2,代表二进制“0”码,译出“0”和“1”码元后,再对身份识别码、数据识别码、控制码的全部“0”和“1”码元进行奇偶校验。The identification code, data identification code, and control code adopt the "three-state" judgment method to determine the judgment threshold M of the number of sampling points of the code element. If the number of sampling points "11" is greater than M, the judgment is f1, representing binary "1" " code; the number of sampling points "00" is greater than M, then the judgment is f2, which represents the binary "0" code, and after decoding the "0" and "1" code elements, the identity identification code, data identification code, control All "0" and "1" symbols of the code are checked for parity. 用户数据码采用“两态”判决的方式,确定码元采样点个数判决门限N,采样点“11”的个数大于N,则判决为f1,代表二进制“1”码;采样点“00”或“10”的个数大于N,则判决为f2,代表二进制“0”码。用户数据码由起始位、终止位、有效数据组成,译出“0”和“1”码元后,仅对有效数据的全部“0”和“1”码元进行奇偶校验,而不对起始位、终止位进行奇偶校验。The user data code adopts the "two-state" judgment method to determine the judgment threshold N of the number of sampling points of the symbol. If the number of sampling points "11" is greater than N, the judgment is f1, which represents the binary "1" code; the sampling point "00" " or "10" is greater than N, then the judgment is f2, representing the binary "0" code. The user data code is composed of a start bit, a stop bit, and valid data. After decoding the "0" and "1" symbols, only the parity check is performed on all the "0" and "1" symbols of the valid data. Start bit, stop bit for parity check.
CN201910130009.7A 2019-02-21 2019-02-21 2FSK decoding system based on data coding type and checking mode Active CN110247869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910130009.7A CN110247869B (en) 2019-02-21 2019-02-21 2FSK decoding system based on data coding type and checking mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910130009.7A CN110247869B (en) 2019-02-21 2019-02-21 2FSK decoding system based on data coding type and checking mode

Publications (2)

Publication Number Publication Date
CN110247869A true CN110247869A (en) 2019-09-17
CN110247869B CN110247869B (en) 2021-11-23

Family

ID=67882959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910130009.7A Active CN110247869B (en) 2019-02-21 2019-02-21 2FSK decoding system based on data coding type and checking mode

Country Status (1)

Country Link
CN (1) CN110247869B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1191050A (en) * 1995-07-12 1998-08-19 汤姆森消费电子有限公司 Apparatus for demodulating and decoding video signals
CN1520116A (en) * 1998-12-29 2004-08-11 �������ɭ Method and system for transmission, recepting and processing of 4-level and 8-level signaling symbols
CN1852279A (en) * 2006-03-31 2006-10-25 电子科技大学 4FSK soft demodulating method
US20130064330A1 (en) * 2008-11-20 2013-03-14 Renesas Electronics Corporation Semiconductor device and communication device
CN107689813A (en) * 2016-08-04 2018-02-13 北京遥感设备研究所 A kind of burst type MSK direct sequence signal quick capturing method
CN109039973A (en) * 2018-09-14 2018-12-18 珠海中慧微电子有限公司 A kind of transmission method of binary frequency shift keying signal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1191050A (en) * 1995-07-12 1998-08-19 汤姆森消费电子有限公司 Apparatus for demodulating and decoding video signals
CN1520116A (en) * 1998-12-29 2004-08-11 �������ɭ Method and system for transmission, recepting and processing of 4-level and 8-level signaling symbols
CN1852279A (en) * 2006-03-31 2006-10-25 电子科技大学 4FSK soft demodulating method
US20130064330A1 (en) * 2008-11-20 2013-03-14 Renesas Electronics Corporation Semiconductor device and communication device
CN107689813A (en) * 2016-08-04 2018-02-13 北京遥感设备研究所 A kind of burst type MSK direct sequence signal quick capturing method
CN109039973A (en) * 2018-09-14 2018-12-18 珠海中慧微电子有限公司 A kind of transmission method of binary frequency shift keying signal

Also Published As

Publication number Publication date
CN110247869B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN108632185B (en) AIS system demodulation method and demodulation system of ship VDES system
US7734994B2 (en) RFID decoding subsystem with pre-decode module
US8750406B2 (en) Multi-level amplitude signaling receiver
US7991080B2 (en) RFID decoding subsystem with decode module
US10700903B2 (en) Circuit structure for efficiently demodulating FSK signal in wireless charging device
CN105162471A (en) Differential Manchester decoding circuit and method
CN101201970A (en) Self-adaptive decoding method for wireless remote control receiving chip
US20220103407A1 (en) Fsk radio-frequency demodulators
JPH06268696A (en) Afc circuit
CN110445736A (en) A kind of fsk demodulator, relevant device and method
EP3324590B1 (en) Signal demodulating device and method applying to closed communication system
RU2573243C2 (en) Method and device for measuring current signal-to-noise ratio when decoding ldpc codes (versions)
EP0792040A3 (en) Data receiving apparatus
CN108712418B (en) A receiver
CN102047553B (en) Demodulator for simultaneous multi-node receiving and the method thereof
CN110247869A (en) 2FSK decoding system and method based on data encoding type and verification mode
CN108833321A (en) A Code Block Synchronization Method for Encoded CPM Signals Based on Differential Phase Waveform Matching
US10523416B2 (en) Independent packet detection method using synchronization words with orthogonality and receiver therefor
JP2007184689A (en) Correction circuit
CN112152758B (en) Navigation communication method and device
CN113765545B (en) Bluetooth receiver demodulation system and method
US7903004B2 (en) Decoding apparatus and method
CN113438052B (en) Signal decoding method, device, electronic equipment and storage medium
EP3944575A1 (en) Encoded signal demodulation method, apparatus, device, and computer readable storage medium
JP2007306212A (en) Transmitter, receiver, communication system, and communication method

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