CN113132282B - Signal tracking demodulation device and method - Google Patents
Signal tracking demodulation device and method Download PDFInfo
- Publication number
- CN113132282B CN113132282B CN202010041060.3A CN202010041060A CN113132282B CN 113132282 B CN113132282 B CN 113132282B CN 202010041060 A CN202010041060 A CN 202010041060A CN 113132282 B CN113132282 B CN 113132282B
- Authority
- CN
- China
- Prior art keywords
- frequency
- digital
- signal
- intermediate frequency
- gain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/152—Demodulator circuits; Receiver circuits with demodulation using spectral properties of the received signal, e.g. by using frequency selective- or frequency sensitive elements using controlled oscillators, e.g. PLL arrangements
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)
- Circuits Of Receivers In General (AREA)
- Transmitters (AREA)
Abstract
Description
技术领域technical field
本申请涉及数字信号处理技术领域,尤其涉及一种信号跟踪解调装置及方法。The present application relates to the technical field of digital signal processing, and in particular, to an apparatus and method for signal tracking and demodulation.
背景技术Background technique
随着电子技术的发展进步,植入式医疗设备成为全球医疗设备研发的热点领域,相比于传统的便携式医疗设备,植入式医疗设备能实时检测人体各项生理指标,预知和治疗疾病,使用上更为灵巧方便。植入式医疗设备通过无线通信将检测到的信号传输至体外设备,其上行链路常采用的调制方式有频移键控(Frequency Shift Keying,FSK)和开关键控(Amplitude Shift Keying,ASK),ASK调制具有低功耗的优势,但是抗噪声性能较差,而FSK调制的功耗高,但是抗噪声性能强。With the development and progress of electronic technology, implantable medical equipment has become a hot field of global medical equipment research and development. Compared with traditional portable medical equipment, implantable medical equipment can detect various physiological indicators of the human body in real time, predict and treat diseases. It is more flexible and convenient to use. The implanted medical device transmits the detected signal to the external device through wireless communication. The modulation methods commonly used in the uplink are Frequency Shift Keying (FSK) and Amplitude Shift Keying (ASK). , ASK modulation has the advantage of low power consumption, but the anti-noise performance is poor, while the power consumption of FSK modulation is high, but the anti-noise performance is strong.
为了降低FSK调制高功耗的问题,现有技术采用直接调制自由振荡的振荡器的方式产生FSK调制信号,然而这种方式却又面临着频率漂移的问题,为了避免频率漂移,部分团队采用注入锁定技术(Injection-Locked)实现信号接收,但是,注入锁定技术需要发射和接收端谐振频率一定时间内的载波频率保持相对稳定,且每隔一段时间需要对发射和接收端的谐振频率进行一定时长的校准,这就难以满足植入式医疗设备通讯高数据率、高可靠性的要求。In order to reduce the problem of high power consumption of FSK modulation, the existing technology adopts the method of directly modulating the free-oscillating oscillator to generate the FSK modulation signal. However, this method is faced with the problem of frequency drift. In order to avoid frequency drift, some teams use injection Locking technology (Injection-Locked) realizes signal reception, however, injection locking technology requires the carrier frequency of the resonant frequency of the transmitting and receiving ends to remain relatively stable for a certain period of time, and the resonant frequencies of the transmitting and receiving ends need to be adjusted for a certain period of time. It is difficult to meet the high data rate and high reliability requirements of implantable medical equipment communication.
发明内容SUMMARY OF THE INVENTION
针对上述技术问题,本申请提供了一种信号跟踪解调装置及方法,有利于满足植入式医疗设备通讯高数据率、高可靠性的要求。In view of the above technical problems, the present application provides a signal tracking and demodulation device and method, which is beneficial to meet the requirements of high data rate and high reliability for communication of implantable medical equipment.
为实现上述目的,本申请实施例第一方面提供了一种信号跟踪解调装置,包括:接收天线、带通滤波器、低噪声放大器、数控振荡器、混频器、低通滤波器、增益可调放大器、模数转换器和数字处理模块;In order to achieve the above purpose, a first aspect of the embodiments of the present application provides a signal tracking and demodulation device, including: a receiving antenna, a band-pass filter, a low-noise amplifier, a numerically controlled oscillator, a mixer, a low-pass filter, a gain Adjustable amplifiers, analog-to-digital converters and digital processing modules;
所述接收天线,用于接收发射装置发射的FSK信号,并将FSK信号传输至所述带通滤波器;所述带通滤波器,用于对接收到的FSK信号进行滤除带外干扰后传输至所述低噪声放大器;所述低噪声放大器,用于对接收到的FSK信号进行放大后传输至所述混频器;所述混频器,用于对接收到的FSK信号与所述数控振荡器输出的本振信号进行混频后传输至所述低通滤波器;所述低通滤波器用于对接收到的FSK信号进行滤除高频成分后传输至所述模数转换器;所述模数转换器用于将接收到的FSK信号转化成数字信号,并将所述数字信号传输至所述数字处理模块;The receiving antenna is used to receive the FSK signal transmitted by the transmitting device, and transmit the FSK signal to the band-pass filter; the band-pass filter is used to filter the received FSK signal after out-of-band interference transmit to the low-noise amplifier; the low-noise amplifier is used to amplify the received FSK signal and then transmit it to the mixer; the mixer is used to amplify the received FSK signal with the The local oscillator signal output by the numerically controlled oscillator is mixed and transmitted to the low-pass filter; the low-pass filter is used to filter the received FSK signal to remove high-frequency components and transmit it to the analog-to-digital converter; The analog-to-digital converter is used to convert the received FSK signal into a digital signal, and transmit the digital signal to the digital processing module;
所述数字处理模块,用于根据接收到的所述数字信号的大小调整所述增益可调放大器的增益;The digital processing module is used to adjust the gain of the adjustable gain amplifier according to the size of the received digital signal;
所述数字处理模块,还用于根据预设数量个符号周期的所述数字信号获取当前中频频率,根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据;The digital processing module is further configured to obtain the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, and determine the data in the single symbol period according to the digital signal and the intermediate frequency of a single symbol period;
所述数字处理模块,还用于在所述中频频率超出预设范围的情况下,回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。The digital processing module is further configured to call back the local oscillator frequency of the numerically controlled oscillator when the intermediate frequency frequency exceeds a preset range, so that the intermediate frequency frequency is within a second preset range.
在一种可行的实施例中,在根据接收到的所述数字信号的大小调整所述增益可调放大器的增益方面,所述数字处理模块具体用于:In a feasible embodiment, in terms of adjusting the gain of the adjustable gain amplifier according to the size of the received digital signal, the digital processing module is specifically configured to:
每预设时间周期结束时,获取该预设时间周期内所述数字信号的最大值和最小值,根据所述最大值和所述最小值得到峰峰值;At the end of each preset time period, obtain the maximum value and the minimum value of the digital signal within the preset time period, and obtain the peak-to-peak value according to the maximum value and the minimum value;
将所述峰峰值与阈值进行比较,根据比较结果调整所述增益可调放大器的增益。The peak-to-peak value is compared with a threshold value, and the gain of the adjustable gain amplifier is adjusted according to the comparison result.
在一种可行的实施例中,在根据预设数量个符号周期的所述数字信号获取当前中频频率方面,所述数字处理模块具体用于:In a feasible embodiment, in terms of obtaining the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, the digital processing module is specifically configured to:
对所述预设数量个符号周期的所述数字信号进行傅里叶分析得到第一峰值和第二峰值;Performing Fourier analysis on the digital signal of the preset number of symbol periods to obtain a first peak value and a second peak value;
获取所述第一峰值和所述第二峰值的频率的均值,用该均值表示所述中频频率。The average value of the frequencies of the first peak and the second peak is obtained, and the average value is used to represent the intermediate frequency.
在一种可行的实施例中,在根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据方面,所述数字处理模块具体用于:In a feasible embodiment, in terms of determining data in a single symbol period according to the digital signal and the intermediate frequency of a single symbol period, the digital processing module is specifically configured to:
对所述单个符号周期的所述数字信号进行傅里叶分析,得到第三峰值;performing Fourier analysis on the digital signal of the single symbol period to obtain a third peak value;
将所述第三峰值的频率与所述中频频率进行比较,若所述第三峰值的频率大于所述中频频率,则确定所述单个符号周期内的数据为1;若所述第三峰值的频率小于所述中频频率,则确定所述单个符号周期内的数据为0。Compare the frequency of the third peak with the intermediate frequency, and if the frequency of the third peak is greater than the intermediate frequency, determine that the data in the single symbol period is 1; If the frequency is less than the intermediate frequency, it is determined that the data in the single symbol period is 0.
在一种可行的实施例中,在回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内方面,所述数字处理模块具体用于:In a feasible embodiment, in terms of recalling the local oscillator frequency of the numerically controlled oscillator so that the intermediate frequency frequency is within the second preset range, the digital processing module is specifically used for:
根据所述数控振荡器的本振频率相对于所述数字信号的频率的偏差情况,按第一预设步长改变所述数控振荡器的控制字逐步回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。According to the deviation of the local oscillator frequency of the numerically controlled oscillator relative to the frequency of the digital signal, changing the control word of the numerically controlled oscillator according to the first preset step size gradually recalls the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency is within the second preset range.
在一种可行的实施例中,所述接收天线,还用于接收所述发射装置发射的测试信号,所述测试信号用于供所述数字处理模块进行载波捕获和本振频率调节;In a feasible embodiment, the receiving antenna is further configured to receive a test signal transmitted by the transmitting device, and the test signal is used for the digital processing module to perform carrier acquisition and local oscillator frequency adjustment;
在进行载波捕获和本振调节方面,所述数字处理模块具体用于:In terms of carrier acquisition and local oscillator adjustment, the digital processing module is specifically used for:
固定所述增益可调放大器的增益;fixing the gain of the adjustable gain amplifier;
以第一输出频率开始,以第二预设步长调节所述数控振荡器的本振频率,直至所述数控振荡器的本振频率调节至第二输出频率;所述数控振荡器的输出频率的范围在所述第一输出频率至所述第二输出频率内;Starting with the first output frequency, the local oscillator frequency of the numerically controlled oscillator is adjusted with a second preset step size until the local oscillator frequency of the numerically controlled oscillator is adjusted to the second output frequency; the output frequency of the numerically controlled oscillator The range is within the first output frequency to the second output frequency;
在调节的过程中,获取幅值最大的两个幅度出现的位置,将该两个幅度中第一次出现最大幅值的位置对应的本振频率,确定为所述数控振荡器的待设置本振频率;During the adjustment process, the positions where the two amplitudes with the largest amplitudes appear are obtained, and the local oscillator frequency corresponding to the position where the largest amplitude appears for the first time among the two amplitudes is determined as the to-be-set local frequency of the numerically controlled oscillator. vibration frequency;
根据所述待设置本振频率和第一次出现最大幅值保存的频率得到所述发射装置的载波频率;Obtain the carrier frequency of the transmitting device according to the to-be-set local oscillator frequency and the frequency saved with the maximum amplitude for the first time;
根据所述发射装置的载波频率调节所述数控振荡器的本振频率。The local oscillator frequency of the numerically controlled oscillator is adjusted according to the carrier frequency of the transmitting device.
本申请实施例第二方面提供了一种信号跟踪解调方法,包括:A second aspect of the embodiments of the present application provides a signal tracking and demodulation method, including:
接收模数转换器发送的数字信号,所述数字信号由所述模数转换器对接收到的FSK信号进行转化得到,所述FSK信号由发射装置发出,由接收天线接收,依次经过带通滤波器滤除带外干扰、低噪声放大器放大、混频器混频、低通滤波器滤除高频成分后传输至所述模数转换器;Receive the digital signal sent by the analog-to-digital converter, the digital signal is obtained by converting the received FSK signal by the analog-to-digital converter, the FSK signal is sent by the transmitting device, received by the receiving antenna, and then undergoes band-pass filtering in turn Filter out out-of-band interference, low-noise amplifier amplification, mixer mixing, low-pass filter to filter out high-frequency components and then transmit to the analog-to-digital converter;
根据所述数字信号的大小调整增益可调放大器的增益;Adjust the gain of the adjustable gain amplifier according to the size of the digital signal;
根据预设数量个符号周期的所述数字信号获取当前中频频率,以及根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据;Acquire the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, and determine the data in the single symbol period according to the digital signal of a single symbol period and the intermediate frequency frequency;
在所述中频频率超出预设范围的情况下,回调数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。When the intermediate frequency frequency exceeds the preset range, the local oscillator frequency of the numerically controlled oscillator is recalled, so that the intermediate frequency frequency is within the second preset range.
在一种可行的实施例中,所述根据接收到的所述数字信号的大小调整增益可调放大器的增益,包括:In a feasible embodiment, the adjusting the gain of the adjustable gain amplifier according to the size of the received digital signal includes:
每预设时间周期结束时,获取该预设时间周期内所述数字信号的最大值和最小值,根据所述最大值和所述最小值得到峰峰值;At the end of each preset time period, obtain the maximum value and the minimum value of the digital signal within the preset time period, and obtain the peak-to-peak value according to the maximum value and the minimum value;
将所述峰峰值与阈值进行比较,根据比较结果调整所述增益可调放大器的增益。The peak-to-peak value is compared with a threshold value, and the gain of the adjustable gain amplifier is adjusted according to the comparison result.
在一种可行的实施例中,所述根据预设数量个符号周期的所述数字信号获取当前中频频率,包括:In a feasible embodiment, the obtaining the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods includes:
对所述预设数量个符号周期的所述数字信号进行傅里叶分析得到第一峰值和第二峰值;Performing Fourier analysis on the digital signal of the preset number of symbol periods to obtain a first peak value and a second peak value;
获取所述第一峰值和所述第二峰值的频率的均值,用该均值表示所述中频频率。The average value of the frequencies of the first peak and the second peak is obtained, and the average value is used to represent the intermediate frequency.
在一种可行的实施例中,所述根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据,包括:In a feasible embodiment, the determining the data in the single symbol period according to the digital signal and the intermediate frequency of the single symbol period includes:
对所述单个符号周期的所述数字信号进行傅里叶分析,得到第三峰值;performing Fourier analysis on the digital signal of the single symbol period to obtain a third peak value;
将所述第三峰值的频率与所述中频频率进行比较,若所述第三峰值的频率大于所述中频频率,则确定所述单个符号周期内的数据为1;若所述第三峰值的频率小于所述中频频率,则确定所述单个符号周期内的数据为0。Compare the frequency of the third peak with the intermediate frequency, and if the frequency of the third peak is greater than the intermediate frequency, determine that the data in the single symbol period is 1; If the frequency is less than the intermediate frequency, it is determined that the data in the single symbol period is 0.
在一种可行的实施例中,所述回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内,包括:In a feasible embodiment, the callback of the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency frequency is within a second preset range, includes:
根据所述数控振荡器的本振频率相对于所述数字信号的频率的偏差情况,按第一预设步长改变所述数控振荡器的控制字逐步回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。According to the deviation of the local oscillator frequency of the numerically controlled oscillator relative to the frequency of the digital signal, changing the control word of the numerically controlled oscillator according to the first preset step size gradually recalls the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency is within the second preset range.
在一种可行的实施例中,在接收模数转换器发送的数字信号之前,所述方法还包括:In a feasible embodiment, before receiving the digital signal sent by the analog-to-digital converter, the method further includes:
接收所述发射装置发射的测试信号,所述测试信号用于进行载波捕获和本振频率调节;receiving a test signal transmitted by the transmitting device, the test signal is used for carrier acquisition and local oscillator frequency adjustment;
固定所述增益可调放大器的增益;fixing the gain of the adjustable gain amplifier;
从第一输出频率开始,以第二预设步长调节所述数控振荡器的本振频率,直至所述数控振荡器的本振频率达到第二输出频率;所述数控振荡器的输出频率的范围在所述第一输出频率至所述第二输出频率内;Starting from the first output frequency, the local oscillator frequency of the numerically controlled oscillator is adjusted with a second preset step size until the local oscillator frequency of the numerically controlled oscillator reaches the second output frequency; a range within the first output frequency to the second output frequency;
在调节的过程中,获取幅值最大的两个幅度出现的位置,将该两个幅度中第一次出现最大幅值的位置对应的本振频率,确定为所述数控振荡器的待设置本振频率;During the adjustment process, the positions where the two amplitudes with the largest amplitudes appear are obtained, and the local oscillator frequency corresponding to the position where the largest amplitude appears for the first time among the two amplitudes is determined as the to-be-set local frequency of the numerically controlled oscillator. vibration frequency;
根据所述待设置本振频率和第一次出现最大幅值保存的频率得到所述发射装置的载波频率;Obtain the carrier frequency of the transmitting device according to the to-be-set local oscillator frequency and the frequency saved with the maximum amplitude for the first time;
根据所述发射装置的载波频率调节所述数控振荡器的本振频率。The local oscillator frequency of the numerically controlled oscillator is adjusted according to the carrier frequency of the transmitting device.
本申请实施例第三方面还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第二方面的全部或部分方法。A third aspect of the embodiments of the present application further provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute As in all or part of the method of the second aspect.
本申请的上述方案至少包括以下有益效果:The above-mentioned scheme of the present application includes at least the following beneficial effects:
可以看出,本申请实施例在对发射装置发射的FSK信号依次进行滤除带外干扰、放大、混频、滤除高频成分后,将其转化为数字信号,数字处理模块根据所述数字信号的大小调整增益可调放大器的增益;根据预设数量个符号周期的所述数字信号获取当前中频频率,以及根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据;在所述中频频率超出预设范围的情况下,回调数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。这样可以实时跟踪发射装置发射的FSK信号的载波频率,在不干扰信号接收的情况下实现对载波频率较快速和较大变化的FSK信号的解调,有利于满足植入式医疗设备通讯高数据率、高可靠性的要求。It can be seen that in the embodiment of the present application, after filtering out out-of-band interference, amplifying, mixing, and filtering high-frequency components sequentially, the FSK signal transmitted by the transmitting device is converted into a digital signal, and the digital processing module is based on the digital signal. The size of the signal adjusts the gain of the gain-adjustable amplifier; obtains the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, and determines the frequency within the single symbol period according to the digital signal and the intermediate frequency of a single symbol period In the case that the intermediate frequency frequency exceeds the preset range, the local oscillator frequency of the numerically controlled oscillator is recalled, so that the intermediate frequency frequency is within the second preset range. In this way, the carrier frequency of the FSK signal transmitted by the transmitting device can be tracked in real time, and the demodulation of the FSK signal whose carrier frequency is relatively fast and greatly changed can be realized without interfering with the signal reception, which is beneficial to meet the high data communication requirements of implantable medical equipment. efficiency and high reliability requirements.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例提供的一种信号跟踪解调装置的结构示意图;FIG. 1 is a schematic structural diagram of an apparatus for signal tracking and demodulation provided by an embodiment of the present application;
图2为本申请实施例提供的一种发射装置的结构示意图;FIG. 2 is a schematic structural diagram of a transmitter according to an embodiment of the present application;
图3为本申请实施例提供的一种模数转换器工作特性的示意图;3 is a schematic diagram of the working characteristics of an analog-to-digital converter provided by an embodiment of the present application;
图4为本申请实施例提供的一种发射装置工作流程的示意图;FIG. 4 is a schematic diagram of a workflow of a transmitting device provided by an embodiment of the present application;
图5为本申请实施例提供的一种信号跟踪解方法的流程示意图。FIG. 5 is a schematic flowchart of a signal tracking solution method provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
本申请说明书、权利要求书和附图中出现的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。The appearances of the terms "comprising" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices. In addition, the terms "first", "second", "third", etc. are used to distinguish different objects and not to describe a specific order.
请参见图1,图1为本申请实施例提供的一种信号跟踪解调装置的结构示意图,如图1所示,该信号跟踪解调装置包括:接收天线、带通滤波器、低噪声放大器、数控振荡器、混频器、低通滤波器、增益可调放大器、模数转换器和数字处理模块。该数控振荡器的输出频率在420MHz~500MHz范围内,低通滤波器带宽10MHz,增益可调放大器3dB带宽10MHz,增益最高为50dB,采用4位增益控制,采用10位模数转换器,模数转换器采样频率固定为40MHz,如图3所示,40MHz采样的模数转换器,频率最高只有20MHz,其采样过程对FSK信号频率进行折叠,因此,输入频率高于20MHz的频率都会被折叠到20MHz以内,例如:45MHz的信号,经模数转换器采样后输出频率在5MHz。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a signal tracking and demodulation apparatus provided by an embodiment of the present application. As shown in FIG. 1, the signal tracking and demodulation apparatus includes: a receiving antenna, a band-pass filter, and a low noise amplifier , numerically controlled oscillators, mixers, low-pass filters, gain-adjustable amplifiers, analog-to-digital converters and digital processing modules. The output frequency of the numerically controlled oscillator is in the range of 420MHz to 500MHz, the low-pass filter bandwidth is 10MHz, the gain adjustable amplifier is 3dB, the bandwidth is 10MHz, and the gain is up to 50dB. The sampling frequency of the converter is fixed at 40MHz. As shown in Figure 3, the analog-to-digital converter sampling at 40MHz has a maximum frequency of only 20MHz. The sampling process folds the FSK signal frequency. Therefore, the input frequency higher than 20MHz will be folded to Within 20MHz, for example: 45MHz signal, the output frequency is 5MHz after sampling by the analog-to-digital converter.
其中,在本申请具体实施例中,上述接收天线,用于接收发射装置发射的FSK信号。请参见图2,图2为本申请实施例提供的一种发射装置的结构示意图,该发射装置包括:基带处理模块、数控振荡器、功率放大器、带通滤波器和发射天线,各部分依次连接,植入式医疗设备采集的数据经过该基带处理模块进行编码、滤波、选择载波频率和FSK调制系数等操作,实现数据帧的建立和数据校正,产生控制信号,控制信号传输至该数控振荡器进行调频产生调频信号,调频信号经过该功率放大器进行放大,然后由该带通滤波器滤除谐波成分,由发射天线将最终的FSK信号辐射出。发射装置输出频率范围在430MHz~490MHz内,发射功率0dBm,数据率2Mbps,频偏2MHz。在一些示例中,所述发射装置可以理解为植入式医疗设备,在另一些示例中,所述发射装置也可以理解为植入式医疗设备的发射机。Wherein, in the specific embodiment of the present application, the above-mentioned receiving antenna is used to receive the FSK signal transmitted by the transmitting device. Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of a transmitting device according to an embodiment of the application. The transmitting device includes: a baseband processing module, a numerically controlled oscillator, a power amplifier, a band-pass filter, and a transmitting antenna, and each part is connected in sequence. , the data collected by the implantable medical equipment is encoded, filtered, selected by the carrier frequency and FSK modulation coefficient through the baseband processing module, to realize the establishment of data frames and data correction, and to generate control signals, which are transmitted to the numerically controlled oscillator. Frequency modulation is performed to generate a frequency modulation signal, the frequency modulation signal is amplified by the power amplifier, and then the harmonic components are filtered out by the band-pass filter, and the final FSK signal is radiated by the transmitting antenna. The output frequency range of the transmitter is 430MHz to 490MHz, the transmit power is 0dBm, the data rate is 2Mbps, and the frequency offset is 2MHz. In some examples, the transmitting device can be understood as an implantable medical device, and in other examples, the transmitting device can also be understood as a transmitter of the implantable medical device.
接收天线将接收到的FSK信号传输至信号跟踪解调装置的带通滤波器,该带通滤波器,用于滤除接收到的FSK信号的带外干扰,然后将其传输至低噪声放大器;低噪声放大器,用于对接收到的FSK信号进行放大后传输至所述混频器;混频器,用于将低噪声放大器发送的FSK信号与跟踪解调装置的数控振荡器输出的本振信号进行混频,然后将混频后的FSK信号传输至低通滤波器;低通滤波器,用于滤除混频器发送的FSK信的高频成分,之后将其发送至模数转换器;模数转换器,用于将低通滤波器发送的FSK信号转化为数字信号,并将数字信号传输至数字处理模块进行幅度及频率检测与处理、以及解码处理等,最后完成发射装置发射的数据的接收。The receiving antenna transmits the received FSK signal to the band-pass filter of the signal tracking demodulation device, the band-pass filter is used to filter out the out-of-band interference of the received FSK signal, and then transmits it to the low noise amplifier; The low noise amplifier is used to amplify the received FSK signal and then transmit it to the mixer; the mixer is used to combine the FSK signal sent by the low noise amplifier with the local oscillator output by the numerical control oscillator of the tracking demodulation device The signal is mixed, and then the mixed FSK signal is transmitted to a low-pass filter; the low-pass filter is used to filter out the high-frequency components of the FSK signal sent by the mixer, and then sent to the analog-to-digital converter ; analog-to-digital converter, used to convert the FSK signal sent by the low-pass filter into a digital signal, and transmit the digital signal to the digital processing module for amplitude and frequency detection and processing, as well as decoding processing, etc., and finally complete the transmission of the transmitting device. data reception.
具体的,数字处理模块可以是FPGA(Field Programmable Gate Array,现场可编程门阵列)模块或其他集成数字模块,用于根据接收到的数字信号的大小调整增益可调放大器的增益。Specifically, the digital processing module may be an FPGA (Field Programmable Gate Array, Field Programmable Gate Array) module or other integrated digital module, which is used to adjust the gain of the adjustable gain amplifier according to the size of the received digital signal.
在一种可行的实施方式中,在根据接收到的所述数字信号的大小调整所述增益可调放大器的增益方面,所述数字处理模块具体用于:In a feasible implementation manner, in terms of adjusting the gain of the adjustable gain amplifier according to the size of the received digital signal, the digital processing module is specifically configured to:
每预设时间周期结束时,获取该预设时间周期内所述数字信号的最大值和最小值,根据所述最大值和所述最小值得到峰峰值;At the end of each preset time period, obtain the maximum value and the minimum value of the digital signal within the preset time period, and obtain the peak-to-peak value according to the maximum value and the minimum value;
将所述峰峰值与阈值进行比较,根据比较结果调整所述增益可调放大器的增益。The peak-to-peak value is compared with a threshold value, and the gain of the adjustable gain amplifier is adjusted according to the comparison result.
其中,在本申请具体实施例中,预设时间周期可以是5uS,由于两个寄存器会存储5uS数字信号内的最大值和最小值,所以每5uS数字处理模块都会读取寄存器存储的最大值和最小值,最大值和最小值的差值即为峰峰值,阈值可根据实际情况设定,若峰峰值高于该阈值,则减小增益可调放大器的增益,若峰峰值高于该阈值,则增大增益可调放大器的增益,使得峰峰值约为模数转换器参考电压一半。每5uS对增益可调放大器的增益进行调整,有利于使模数转换器之前的信号强度保持稳定,不受接收天线接收到的FSK信号强度的影响。可选的,每次增益调节完成后,需要对最大值和最小值寄存器进行“清零”操作,将记录的最大值和最小值的平均值赋给这两个寄存器,以便于寄存器记录下一个5uS内的最大值和最小值。Among them, in the specific embodiment of the present application, the preset time period may be 5uS. Since the two registers will store the maximum value and the minimum value in the 5uS digital signal, the digital processing module will read the maximum value and the minimum value stored in the register every 5uS. The difference between the minimum value, the maximum value and the minimum value is the peak-to-peak value. The threshold value can be set according to the actual situation. If the peak-to-peak value is higher than the threshold, the gain of the gain adjustable amplifier will be reduced. Then increase the gain of the adjustable gain amplifier so that the peak-to-peak value is about half the reference voltage of the analog-to-digital converter. The gain of the adjustable gain amplifier is adjusted every 5uS, which is beneficial to keep the signal strength before the analog-to-digital converter stable, and is not affected by the strength of the FSK signal received by the receiving antenna. Optionally, after each gain adjustment is completed, it is necessary to "clear" the maximum and minimum registers, and assign the average value of the recorded maximum and minimum values to these two registers, so that the registers can record the next Maximum and minimum within 5uS.
具体的,数字处理模块还用于根据预设数量个符号周期的所述数字信号获取当前中频频率,根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据。Specifically, the digital processing module is further configured to acquire the current intermediate frequency according to the digital signal of a preset number of symbol periods, and determine the data in the single symbol period according to the digital signal and the intermediate frequency of a single symbol period.
在一种可行的实施方式中,在根据预设数量个符号周期的所述数字信号获取当前中频频率方面,所述数字处理模块具体用于:In a feasible implementation manner, in terms of obtaining the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, the digital processing module is specifically configured to:
对所述预设数量个符号周期的所述数字信号进行傅里叶分析得到第一峰值和第二峰值;Performing Fourier analysis on the digital signal of the preset number of symbol periods to obtain a first peak value and a second peak value;
获取所述第一峰值和所述第二峰值的频率的均值,用该均值表示所述中频频率。The average value of the frequencies of the first peak and the second peak is obtained, and the average value is used to represent the intermediate frequency.
其中,在本申请具体实施例中,预设数量个符号周期可以自定义,例如:N个符号周期,通过对N个符号周期内的数字信号进行傅里叶分析会得到两个峰值,将第一次出现的峰值记为第一峰值,将第二次出现的峰值记为第二峰值,第一峰值的位置(频率)为F0,第二峰值的位置为F1,分别对应‘0’和‘1’信号的频率,求取两个峰值的频率的均值Fc,该均值Fc就是当前中频频率的估计值。本方案中,在接收发射装置发出的FSK信号的过程中,数字处理模块依然是每5uS进行一次中频频率的估计,其精度可以达到0.2MHz。Among them, in the specific embodiment of the present application, the preset number of symbol periods can be customized, for example: N symbol periods, two peaks are obtained by performing Fourier analysis on the digital signal in the N symbol periods, and the first The first peak is recorded as the first peak, the second peak is recorded as the second peak, the position (frequency) of the first peak is F 0 , and the position of the second peak is F 1 , corresponding to '0' respectively and the frequency of the '1' signal, to obtain the average Fc of the frequencies of the two peaks, and the average Fc is the estimated value of the current intermediate frequency. In this scheme, in the process of receiving the FSK signal sent by the transmitting device, the digital processing module still estimates the intermediate frequency every 5uS, and the accuracy can reach 0.2MHz.
在一种可行的实施方式中,在根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据方面,所述数字处理模块具体用于:In a feasible implementation manner, in terms of determining data in a single symbol period according to the digital signal and the intermediate frequency of a single symbol period, the digital processing module is specifically configured to:
对所述单个符号周期的所述数字信号进行傅里叶分析,得到第三峰值;performing Fourier analysis on the digital signal of the single symbol period to obtain a third peak value;
将所述第三峰值的频率与所述中频频率进行比较,若所述第三峰值的频率大于所述中频频率,则确定所述单个符号周期内的数据为1;若所述第三峰值的频率小于所述中频频率,则确定所述单个符号周期内的数据为0。Compare the frequency of the third peak with the intermediate frequency, and if the frequency of the third peak is greater than the intermediate frequency, determine that the data in the single symbol period is 1; If the frequency is less than the intermediate frequency, it is determined that the data in the single symbol period is 0.
其中,在本申请具体实施例中,数字处理模块每0.5uS对单个符号周期的数字信号进行一次傅里叶分析,得到一个峰值,记为第三峰值,其位置为Fd,将第三峰值的频率Fd与中频频率Fc进行比较,Fd>Fc,表示该单个符号周期内的数据为1,Fd<Fc,表示该单个符号周期内的数据为0。该单个符号周期可以是上述N个符号周期中的一个,确定出的“1”或“0”就是信号跟踪解调装置最终解码得到的数据。Among them, in the specific embodiment of the present application, the digital processing module performs a Fourier analysis on the digital signal of a single symbol period every 0.5uS, and obtains a peak value, which is denoted as the third peak value, and its position is Fd. The frequency Fd is compared with the intermediate frequency frequency Fc, where Fd>Fc means that the data in the single symbol period is 1, and Fd<Fc means that the data in the single symbol period is 0. The single symbol period may be one of the above N symbol periods, and the determined "1" or "0" is the data finally decoded by the signal tracking and demodulation apparatus.
具体的,数字处理模块还用于在所述中频频率超出预设范围的情况下,回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。Specifically, the digital processing module is further configured to call back the local oscillator frequency of the numerically controlled oscillator when the intermediate frequency frequency exceeds a preset range, so that the intermediate frequency frequency is within the second preset range.
在一种可选的实施方式中,在回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内方面,所述数字处理模块具体用于:In an optional implementation manner, in terms of recalling the local oscillator frequency of the numerically controlled oscillator so that the intermediate frequency frequency is within the second preset range, the digital processing module is specifically configured to:
根据所述数控振荡器的本振频率相对于所述数字信号的频率的偏差情况,按第一预设步长改变所述数控振荡器的控制字逐步回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。According to the deviation of the local oscillator frequency of the numerically controlled oscillator relative to the frequency of the digital signal, changing the control word of the numerically controlled oscillator according to the first preset step size gradually recalls the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency is within the second preset range.
其中,在本申请具体实施例中,第一预设范围为5MHz±1MHz,第一预设步长可以取0.2MHz,第二预设范围为5MHz±0.3MHz。中频频率Fc超出该第一预设范围,说明跟踪解调装置的数控振荡器的本振频率与接收到的信号载波偏差较大,若中频频率Fc相对于5MHz±1MHz的范围偏大,则每10uS减小所述数控振荡器的控制字0.2MHz,以调节数控振荡器的本振频率,直至中频频率Fc进入5MHz±0.3MHz内,相反,若中频频率Fc相对于5MHz±1MHz的范围偏小,则每10uS增大所述数控振荡器的控制字0.2MHz。每次计算出中频频率Fc后,检测中频频率Fc是否超出第一预设范围,在超出时,及时调整使中频频率Fc进入第二预设范围,有利于实现FSK信号的自动跟踪。Wherein, in the specific embodiment of the present application, the first preset range is 5MHz±1MHz, the first preset step size may be 0.2MHz, and the second preset range is 5MHz±0.3MHz. The intermediate frequency Fc exceeds the first preset range, indicating that the local oscillator frequency of the numerically controlled oscillator of the tracking demodulation device has a large deviation from the received signal carrier. If the intermediate frequency Fc is larger than the range of 5MHz±1MHz, every Reduce the control word of the numerical control oscillator by 0.2MHz for 10uS to adjust the local oscillator frequency of the numerical control oscillator until the intermediate frequency Fc enters 5MHz±0.3MHz. On the contrary, if the intermediate frequency Fc is smaller than the range of 5MHz±1MHz , the control word of the numerically controlled oscillator is increased by 0.2MHz every 10uS. After each calculation of the intermediate frequency Fc, it is detected whether the intermediate frequency Fc exceeds the first preset range, and when it exceeds, the intermediate frequency Fc is adjusted in time to enter the second preset range, which is conducive to the automatic tracking of the FSK signal.
在一种可行的实施方式中,所述接收天线,还用于接收所述发射装置发射的测试信号,所述测试信号用于供所述数字处理模块进行载波捕获和本振频率调节;In a feasible implementation manner, the receiving antenna is further configured to receive a test signal transmitted by the transmitting device, and the test signal is used for the digital processing module to perform carrier acquisition and local oscillator frequency adjustment;
在进行载波捕获和本振调节方面,所述数字处理模块具体用于:In terms of carrier acquisition and local oscillator adjustment, the digital processing module is specifically used for:
固定所述增益可调放大器的增益;fixing the gain of the adjustable gain amplifier;
从第一输出频率开始,以第二预设步长调节所述数控振荡器的本振频率,直至所述数控振荡器的本振频率达到第二输出频率;所述数控振荡器的输出频率的范围在所述第一输出频率至所述第二输出频率内;Starting from the first output frequency, the local oscillator frequency of the numerically controlled oscillator is adjusted with a second preset step size until the local oscillator frequency of the numerically controlled oscillator reaches the second output frequency; a range within the first output frequency to the second output frequency;
在调节的过程中,获取幅值最大的两个幅度出现的位置,将该两个幅度中第一次出现最大幅值的位置对应的本振频率,确定为所述数控振荡器的待设置本振频率;During the adjustment process, the positions where the two amplitudes with the largest amplitudes appear are obtained, and the local oscillator frequency corresponding to the position where the largest amplitude appears for the first time among the two amplitudes is determined as the to-be-set local frequency of the numerically controlled oscillator. vibration frequency;
根据所述待设置本振频率和第一次出现最大幅值保存的频率得到所述发射装置的载波频率;Obtain the carrier frequency of the transmitting device according to the to-be-set local oscillator frequency and the frequency saved with the maximum amplitude for the first time;
根据所述发射装置的载波频率调节所述数控振荡器的本振频率。The local oscillator frequency of the numerically controlled oscillator is adjusted according to the carrier frequency of the transmitting device.
其中,在本申请具体实施例中,第一输出频率即指数控振荡器输出频率范围的最低值,即420MHz,第二输出频率即指数控振荡器输出频率范围的最高值,即500MHz,第二预设步长取10MHz,待设置本振频率即指数控振荡器需要设置的本振频率。通信开始时,信号跟踪解调装置不确定发射装置的工作频率,因此,发射装置在发射正常帧之前通常需要发射15uS的连续‘0’数据,也就是说发射装置在每次通信时,都会发射15uS的连续‘0’数据,上述测试信号(可以理解为固定前导码)即指该15uS的连续‘0’数据,发射装置的发射的工作流程可如图4所示。Among them, in the specific embodiment of the present application, the first output frequency is the lowest value of the output frequency range of the exponentially controlled oscillator, that is, 420MHz, the second output frequency is the highest value of the output frequency range of the exponentially controlled oscillator, that is, 500MHz, and the second The preset step size is 10MHz, and the LO frequency to be set is the LO frequency that needs to be set for the exponentially controlled oscillator. At the beginning of communication, the signal tracking and demodulation device does not determine the operating frequency of the transmitting device. Therefore, the transmitting device usually needs to transmit 15uS continuous '0' data before transmitting a normal frame. For 15uS continuous '0' data, the above test signal (which can be understood as a fixed preamble) refers to the 15uS continuous '0' data, and the transmission workflow of the transmitting device is shown in FIG. 4 .
信号跟踪解调装置利用这15uS的时间对发射装置的载波频率进行捕获和对本地数控振荡器的本振频率进行调节。具体的,数字处理模块首先固定增益可调放大器的增益为25dB,然后,从420MHz开始以每10MHz的步长增加数控振荡器的本振频率,每次增加后等待约0.1uS,待本振频率稳定后,采集1uS的信号进行傅里叶分析,得到频谱,保存最大值频率和幅度,直至将数控振荡器的本振频率增加到500MHz。The signal tracking demodulation device uses the time of 15uS to capture the carrier frequency of the transmitting device and adjust the local oscillator frequency of the local numerical control oscillator. Specifically, the digital processing module firstly fixes the gain of the adjustable gain amplifier to 25dB, and then increases the local oscillator frequency of the numerically controlled oscillator in steps of 10MHz from 420MHz, and waits for about 0.1uS after each increase. After stabilization, collect the 1uS signal for Fourier analysis, obtain the spectrum, save the maximum frequency and amplitude, until the local oscillator frequency of the numerical control oscillator is increased to 500MHz.
请参见表1,表1为本申请中从420MHz开始调节本振频率的过程中对载波频率、本振频率、中频频率和模数转换器采样频率进行傅里叶分析后的频率记录:Please refer to Table 1. Table 1 is the frequency record after Fourier analysis is performed on the carrier frequency, the local oscillator frequency, the intermediate frequency frequency and the sampling frequency of the analog-to-digital converter in the process of adjusting the local oscillator frequency from 420MHz in this application:
表1Table 1
表1中一共记录9个频率和9个幅度,用时9.8uS,计算这9个幅度中幅值最大的两个幅度及其出现的位置,这两个位置对应的本振频率与预设载波频率(表1中为450MHz)的差值不大于10MHz,可见,9个幅度中,最大的两个出现在序号4和序号5,其对应的本振频率分别为450MHz和460MHz,即第一次出现最大幅值的位置对应的本振频率为450MHz,该450MHz即为数控振荡器的待设置本振频率。第一次出现最大幅值的位置保存的频率即预设载波频率与本振频率的差值,假设该差值为4MHz,则可根据该差值4MHz和待设置本振频率450MHz计算得到发射装置的载波频率为454MHz,由此便完成载波频率的捕获操作,根据捕获到的载波频率粗调数控振荡器的本振频率,使得接收测试信号过程中的中频频率进入第一预设范围内,即5MHz±1MHz的范围,在本振频率粗调后,数字处理模块开始执行每5uS根据寄存器记录的最大值和最小值进行增益调节的操作。从表1中可以看到,测试信号在序号3到序号5对应的位置经过低通滤波器未出现衰减,且记录的频率都在±10MHz范围内,且第一次出现最大幅值的位置对应的中频频率与模数转换器采样后得到的频率一致,因此,此位置可以较准确地计算出载波频率。发射装置在发射完15uS的测试信号后,开始发射正常帧,即FSK信号,信号跟踪解调装置执行前述的跟踪解调操作。A total of 9 frequencies and 9 amplitudes are recorded in Table 1. It takes 9.8uS to calculate the two amplitudes with the largest amplitudes among the 9 amplitudes and their positions. The corresponding local oscillator frequencies and preset carrier frequencies of these two positions The difference (450MHz in Table 1) is not more than 10MHz. It can be seen that among the 9 amplitudes, the largest two appear in the serial number 4 and the serial number 5, and the corresponding local oscillator frequencies are 450MHz and 460MHz respectively, that is, the first occurrence The local oscillator frequency corresponding to the position of the maximum amplitude is 450MHz, and the 450MHz is the local oscillator frequency to be set for the numerically controlled oscillator. The frequency saved at the position where the maximum amplitude first appears is the difference between the preset carrier frequency and the local oscillator frequency. Assuming that the difference is 4MHz, the transmitter can be calculated based on the difference of 4MHz and the to-be-set local oscillator frequency of 450MHz. The carrier frequency is 454MHz, so the capture operation of the carrier frequency is completed, and the local oscillator frequency of the numerically controlled oscillator is roughly adjusted according to the captured carrier frequency, so that the intermediate frequency frequency in the process of receiving the test signal enters the first preset range, that is, In the range of 5MHz±1MHz, after the local oscillator frequency is roughly adjusted, the digital processing module starts to perform the gain adjustment operation according to the maximum and minimum values recorded in the register every 5uS. It can be seen from Table 1 that the test signal has not been attenuated through the low-pass filter at the positions corresponding to No. 3 to No. 5, and the recorded frequencies are all within the range of ±10MHz, and the position where the maximum amplitude occurs for the first time corresponds to The IF frequency of , is consistent with the frequency obtained after sampling by the analog-to-digital converter, so the carrier frequency can be calculated more accurately at this position. After transmitting the 15uS test signal, the transmitting device starts to transmit the normal frame, that is, the FSK signal, and the signal tracking and demodulation device performs the aforementioned tracking and demodulation operation.
可以看出,本申请实施例提供的信号跟踪解调装置在对发射装置发射的FSK信号依次进行滤除带外干扰、放大、混频、滤除高频成分后,将其转化为数字信号,数字处理模块根据所述数字信号的大小调整增益可调放大器的增益;根据预设数量个符号周期的所述数字信号获取当前中频频率,以及根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据;在所述中频频率超出预设范围的情况下,回调数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。这样可以实时跟踪发射装置发射的FSK信号的载波频率,在不干扰信号接收的情况下实现对载波频率较快速和较大变化的FSK信号的解调,有利于满足植入式医疗设备通讯高数据率、高可靠性的要求。It can be seen that the signal tracking and demodulation device provided by the embodiment of the present application converts the FSK signal transmitted by the transmitting device into a digital signal after sequentially filtering out out-of-band interference, amplifying, mixing, and filtering out high-frequency components, The digital processing module adjusts the gain of the adjustable gain amplifier according to the size of the digital signal; obtains the current intermediate frequency according to the digital signal of a preset number of symbol periods, and obtains the current intermediate frequency according to the digital signal of a single symbol period and the intermediate frequency Determining data in the single symbol period; when the intermediate frequency exceeds a preset range, recalling the local oscillator frequency of the numerically controlled oscillator so that the intermediate frequency is within a second preset range. In this way, the carrier frequency of the FSK signal transmitted by the transmitting device can be tracked in real time, and the demodulation of the FSK signal whose carrier frequency is relatively fast and greatly changed can be realized without interfering with the signal reception, which is beneficial to meet the high data communication requirements of implantable medical equipment. efficiency and high reliability requirements.
基于图1-图4所示装置实施例的描述,请参见图5,图5为本申请实施例提供的一种信号跟踪解调方法的流程示意图,如图5所示,包括以下步骤:Based on the descriptions of the device embodiments shown in FIGS. 1-4, please refer to FIG. 5. FIG. 5 is a schematic flowchart of a signal tracking and demodulation method provided by an embodiment of the present application. As shown in FIG. 5, the following steps are included:
S51、接收模数转换器发送的数字信号;S51. Receive a digital signal sent by an analog-to-digital converter;
其中,在本申请具体实施例中,所述数字信号由所述模数转换器对接收到的FSK信号进行转化得到,所述FSK信号由发射装置发出,由接收天线接收,依次经过带通滤波器滤除带外干扰、低噪声放大器放大、混频器混频、低通滤波器滤除高频成分后传输至所述模数转换器;Wherein, in the specific embodiment of the present application, the digital signal is obtained by converting the received FSK signal by the analog-to-digital converter, and the FSK signal is sent by the transmitting device, received by the receiving antenna, and then undergoes band-pass filtering in turn. Filter out out-of-band interference, low-noise amplifier amplification, mixer mixing, low-pass filter to filter out high-frequency components and then transmit to the analog-to-digital converter;
S52、根据所述数字信号的大小调整增益可调放大器的增益;S52, adjust the gain of the adjustable gain amplifier according to the size of the digital signal;
S53、根据预设数量个符号周期的所述数字信号获取当前中频频率,以及根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据;S53, obtaining the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods, and determining the data in the single symbol period according to the digital signal and the intermediate frequency frequency of a single symbol period;
S54、在所述中频频率超出预设范围的情况下,回调数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。S54. When the intermediate frequency exceeds a preset range, recall the local oscillator frequency of the numerically controlled oscillator so that the intermediate frequency falls within the second preset range.
在一种可行的实施方式中,所述根据接收到的所述数字信号的大小调整增益可调放大器的增益,包括:In a feasible implementation manner, the adjusting the gain of the adjustable gain amplifier according to the size of the received digital signal includes:
每预设时间周期结束时,获取该预设时间周期内所述数字信号的最大值和最小值,根据所述最大值和所述最小值得到峰峰值;At the end of each preset time period, obtain the maximum value and the minimum value of the digital signal within the preset time period, and obtain the peak-to-peak value according to the maximum value and the minimum value;
将所述峰峰值与阈值进行比较,根据比较结果调整所述增益可调放大器的增益。The peak-to-peak value is compared with a threshold value, and the gain of the adjustable gain amplifier is adjusted according to the comparison result.
在一种可行的实施方式中,所述根据预设数量个符号周期的所述数字信号获取当前中频频率,包括:In a feasible implementation manner, the obtaining the current intermediate frequency frequency according to the digital signal of a preset number of symbol periods includes:
对所述预设数量个符号周期的所述数字信号进行傅里叶分析得到第一峰值和第二峰值;Performing Fourier analysis on the digital signal of the preset number of symbol periods to obtain a first peak value and a second peak value;
获取所述第一峰值和所述第二峰值的频率的均值,用该均值表示所述中频频率。The average value of the frequencies of the first peak and the second peak is obtained, and the average value is used to represent the intermediate frequency.
在一种可行的实施方式中,所述根据单个符号周期的所述数字信号和所述中频频率确定所述单个符号周期内的数据,包括:In a feasible implementation manner, the determining the data in the single symbol period according to the digital signal and the intermediate frequency of the single symbol period includes:
对所述单个符号周期的所述数字信号进行傅里叶分析,得到第三峰值;performing Fourier analysis on the digital signal of the single symbol period to obtain a third peak value;
将所述第三峰值的频率与所述中频频率进行比较,若所述第三峰值的频率大于所述中频频率,则确定所述单个符号周期内的数据为1;若所述第三峰值的频率小于所述中频频率,则确定所述单个符号周期内的数据为0。Compare the frequency of the third peak with the intermediate frequency, and if the frequency of the third peak is greater than the intermediate frequency, determine that the data in the single symbol period is 1; If the frequency is less than the intermediate frequency, it is determined that the data in the single symbol period is 0.
在一种可行的实施方式中,所述回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内,包括:In a feasible implementation manner, the callback of the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency frequency is within a second preset range, includes:
根据所述数控振荡器的本振频率相对于所述数字信号的频率的偏差情况,按第一预设步长改变所述数控振荡器的控制字逐步回调所述数控振荡器的本振频率,以使所述中频频率处于第二预设范围内。According to the deviation of the local oscillator frequency of the numerically controlled oscillator relative to the frequency of the digital signal, changing the control word of the numerically controlled oscillator according to the first preset step size gradually recalls the local oscillator frequency of the numerically controlled oscillator, so that the intermediate frequency is within the second preset range.
在一种可行的实施方式中,在接收模数转换器发送的数字信号之前,所述方法还包括:In a feasible implementation manner, before receiving the digital signal sent by the analog-to-digital converter, the method further includes:
接收所述发射装置发射的测试信号,所述测试信号用于进行载波捕获和本振频率调节;receiving a test signal transmitted by the transmitting device, the test signal is used for carrier acquisition and local oscillator frequency adjustment;
固定所述增益可调放大器的增益;fixing the gain of the adjustable gain amplifier;
从第一输出频率开始,以第二预设步长调节所述数控振荡器的本振频率,直至所述数控振荡器的本振频率达到第二输出频率;所述数控振荡器的输出频率的范围在所述第一输出频率至所述第二输出频率内;Starting from the first output frequency, the local oscillator frequency of the numerically controlled oscillator is adjusted with a second preset step size until the local oscillator frequency of the numerically controlled oscillator reaches the second output frequency; a range within the first output frequency to the second output frequency;
在调节的过程中,获取幅值最大的两个幅度出现的位置,将该两个幅度中第一次出现最大幅值的位置对应的本振频率,确定为所述数控振荡器的待设置本振频率;During the adjustment process, the positions where the two amplitudes with the largest amplitudes appear are obtained, and the local oscillator frequency corresponding to the position where the largest amplitude appears for the first time among the two amplitudes is determined as the to-be-set local frequency of the numerically controlled oscillator. vibration frequency;
根据所述待设置本振频率和第一次出现最大幅值保存的频率得到所述发射装置的载波频率;Obtain the carrier frequency of the transmitting device according to the to-be-set local oscillator frequency and the frequency saved with the maximum amplitude for the first time;
根据所述发射装置的载波频率调节所述数控振荡器的本振频率。The local oscillator frequency of the numerically controlled oscillator is adjusted according to the carrier frequency of the transmitting device.
其中,上述步骤S51-S54的具体实施方式可参见图1-图4所示实施例的相关描述,为避免重复,此处不再赘述。For the specific implementation of the above steps S51-S54, reference may be made to the relevant descriptions of the embodiments shown in Figs.
本申请实施例还提供了一种计算机存储介质,计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述计算机执行如图5所示实施例的全部或部分方法。An embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, cause the computer to execute the implementation as shown in FIG. 5 . all or part of the method.
示例性的,计算机存储介质的计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。Exemplarily, the computer program of the computer storage medium includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, and the like. The computer storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.
Claims (6)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010041060.3A CN113132282B (en) | 2020-01-14 | 2020-01-14 | Signal tracking demodulation device and method |
PCT/CN2020/129194 WO2021143335A1 (en) | 2020-01-14 | 2020-11-16 | Signal tracking demodulation apparatus, and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010041060.3A CN113132282B (en) | 2020-01-14 | 2020-01-14 | Signal tracking demodulation device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113132282A CN113132282A (en) | 2021-07-16 |
CN113132282B true CN113132282B (en) | 2022-08-16 |
Family
ID=76771338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010041060.3A Active CN113132282B (en) | 2020-01-14 | 2020-01-14 | Signal tracking demodulation device and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113132282B (en) |
WO (1) | WO2021143335A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113708736B (en) * | 2021-08-27 | 2024-06-04 | 北京安达维尔科技股份有限公司 | Numerical control automatic gain loop shared by LOC and VDB and method |
CN114209312A (en) * | 2021-12-02 | 2022-03-22 | 广州众诺电子技术有限公司 | Adaptive gain adjustment method, device, central processing unit and storage medium |
CN114759936B (en) * | 2022-04-13 | 2024-06-04 | 安徽欧思微科技有限公司 | Signal transmitting module, signal transmitting method and signal transmitting equipment |
CN118381699B (en) * | 2024-06-21 | 2024-09-10 | 山东云海国创云计算装备产业创新中心有限公司 | Signal modulation method, system, device and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108521292A (en) * | 2018-06-15 | 2018-09-11 | 常熟达顺威尔通信技术有限公司 | Ultra-broadband digital satellite beacon method of reseptance based on software radio and receiver |
CN109905138A (en) * | 2017-12-08 | 2019-06-18 | 瑞萨电子株式会社 | Radio receiver and intermediate frequency signal generation method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7349680B2 (en) * | 2002-04-29 | 2008-03-25 | Broadcom Corporation | Method and system for using PSK sync word for fine tuning frequency adjustment |
US8411799B1 (en) * | 2009-11-13 | 2013-04-02 | Maxim Integrated Products, Inc. | Receiver with intermediate frequency error correction |
CN102195677B (en) * | 2010-03-10 | 2014-03-12 | 青岛东软载波科技股份有限公司 | Receiving circuit, transmitting circuit, microcontroller and power-line carrier communication method |
CN102175994B (en) * | 2011-03-11 | 2012-12-12 | 北方通用电子集团有限公司 | Receiving phase reference made weather radar |
CN103188191A (en) * | 2011-12-28 | 2013-07-03 | 中兴通讯股份有限公司 | Multi-carrier receiver and gain calibration method thereof |
WO2014040216A1 (en) * | 2012-09-11 | 2014-03-20 | 华为技术有限公司 | Method and device for adjusting signal frequency |
CN104682978B (en) * | 2013-12-02 | 2017-08-29 | 上海东软载波微电子有限公司 | Carrier wave frequency deviation treating method and apparatus and receiver |
CN106506019B (en) * | 2016-12-16 | 2019-01-22 | 中国电子科技集团公司第五十四研究所 | A kind of broadband Larger Dynamic radiofrequency receiving chip |
CN107966620A (en) * | 2017-11-21 | 2018-04-27 | 中国电子科技集团公司第四十研究所 | A kind of phase noise measurement device and method of digital frequency discrimination |
-
2020
- 2020-01-14 CN CN202010041060.3A patent/CN113132282B/en active Active
- 2020-11-16 WO PCT/CN2020/129194 patent/WO2021143335A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905138A (en) * | 2017-12-08 | 2019-06-18 | 瑞萨电子株式会社 | Radio receiver and intermediate frequency signal generation method |
CN108521292A (en) * | 2018-06-15 | 2018-09-11 | 常熟达顺威尔通信技术有限公司 | Ultra-broadband digital satellite beacon method of reseptance based on software radio and receiver |
Non-Patent Citations (1)
Title |
---|
Performance enhanced GFSK demodulator using phase-domain ADC for zero-IF receivers;Jinjia Liu;《IEEE》;20140227;全文 * |
Also Published As
Publication number | Publication date |
---|---|
WO2021143335A1 (en) | 2021-07-22 |
CN113132282A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113132282B (en) | Signal tracking demodulation device and method | |
JP2004527187A (en) | Quadrature envelope sampling of intermediate frequency signals at the receiver | |
EP2538569A1 (en) | Micro-controller, processing method and device for power line carrier signal reception | |
CN1282151A (en) | Power amplifying circuit with power supply regulator for controlling adjacent and alternate channel power | |
CN207070285U (en) | Wireless headset and its control system based on ultrasonic wave | |
CN115865115B (en) | System and method for suppressing image interference in zero-IF architecture software radio | |
CN110896315A (en) | Wireless radio frequency communication system | |
CN107919881A (en) | Automatic gain control receiver | |
CN107396228A (en) | Wireless headset and its control system based on ultrasonic wave | |
JP6306375B2 (en) | Wireless communication apparatus and jamming wave detection method | |
JP5650625B2 (en) | Receiving system | |
CN206698207U (en) | A kind of device and receiver for realizing orthogonal signalling processing | |
US20210083698A1 (en) | Signal processing apparatus and signal processing method | |
JP4695323B2 (en) | Wireless receiver | |
CN104052509A (en) | Multi-mode receiver comprising a plurality of filters | |
CN111224681A (en) | Signal processing device and method and electronic equipment | |
CN212364612U (en) | Nonlinear node detector | |
CN213367767U (en) | Roland-C signal receiving all-in-one machine | |
CN205195658U (en) | Up -conversion circuit | |
CN105024961B (en) | Implanted UWB BPSK emission systems and method based on carrier frequency tracking technology | |
CN222602405U (en) | Solid-state high-power amplitude modulation short wave transmitter circuit with digital predistortion function | |
CN205961101U (en) | A radio frequency receiver | |
CN213426176U (en) | Full standard base station interference analysis device | |
CN101340411B (en) | Method for amplitude modulation and transmitter | |
US9214974B2 (en) | Method for sensing wireless microphones using augmented spectral correlation function |
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 |