WO2022127476A1 - Harmonic elimination method and apparatus, storage medium, and terminal - Google Patents

Harmonic elimination method and apparatus, storage medium, and terminal Download PDF

Info

Publication number
WO2022127476A1
WO2022127476A1 PCT/CN2021/130950 CN2021130950W WO2022127476A1 WO 2022127476 A1 WO2022127476 A1 WO 2022127476A1 CN 2021130950 W CN2021130950 W CN 2021130950W WO 2022127476 A1 WO2022127476 A1 WO 2022127476A1
Authority
WO
WIPO (PCT)
Prior art keywords
harmonic
data block
input data
current
frequency point
Prior art date
Application number
PCT/CN2021/130950
Other languages
French (fr)
Chinese (zh)
Inventor
王致远
Original Assignee
展讯通信(上海)有限公司
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 展讯通信(上海)有限公司 filed Critical 展讯通信(上海)有限公司
Publication of WO2022127476A1 publication Critical patent/WO2022127476A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/1027Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/1027Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal
    • H04B2001/1072Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal by tuning the receiver frequency

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method and device for eliminating harmonics, a storage medium and a terminal.
  • the receiver works on some specific frequency points, and the harmonic components of the clock signal of some system modules on the mainboard of the mobile phone will be coupled into the receiver, resulting in the receiver being in a weak field. Sensitivity will be severely affected, which may lead to dropped calls or reduced call signal quality.
  • Option 1 Find the source of clock interference and reduce the clock amplitude, thereby reducing the harmonic components of the clock
  • Option 2 Find the source of clock interference and add an analog filter, such as a low-pass filter, to the clock to attenuate High frequency components, reduce the clock harmonic components
  • Scheme 3 find the source of clock interference, change the frequency of the clock, thereby changing the frequency of the clock harmonics, and the clock harmonic components avoid the receiving frequency of the receiver.
  • the reduction of the clock amplitude in the first solution will reduce the system stability; the second solution needs to increase the hardware cost, and it is often limited by the area, which is difficult to increase. If it is interference caused by spatial coupling, even if the filter is added, the interference cannot be effectively suppressed; Scheme 3 The clock frequency is often fixed and cannot be modified at will. In addition, even if modified, if the receiver's receiving frequency band is relatively wide, its clock harmonic interference is difficult to avoid.
  • the technical problem solved by the present invention is how to realize the elimination of the harmonic interference of the receiver without affecting the stability of the system.
  • an embodiment of the present invention provides a harmonic elimination method.
  • the harmonic elimination method includes: determining an initial frequency point of a current search period, and determining a preset number of currently to-be-searched frequency points according to a preset search interval,
  • the current frequency point to be searched includes the initial frequency point;
  • the harmonic component of the current input data block is determined according to the correlation between the current input data block and each current frequency point to be searched; at least according to the current input data block
  • the harmonic component estimates the harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block; according to the harmonic correlation value and the harmonic component of the current input data block Harmonic cancellation is performed on the next block of input data described above.
  • the method further includes: determining the next harmonic component by using the harmonic component of the current input data block.
  • the initial frequency points of the search period are searched, and a preset number of next frequency points to be searched are determined according to a preset search interval, and the next frequency points to be searched include the initial frequency points of the next search period.
  • the search frequency points are used to calculate the harmonic components of the next input data block.
  • the determining the initial frequency point of the next search period by using the harmonic component of the current input data block includes: if the sum of the initial frequency point of the current search period and a preset value is less than the current input data If the initial frequency of the current search period is increased by the preset search interval, it is used as the initial frequency of the next search period; if the initial frequency of the current search period is the same as the preset frequency If the sum of the set values is greater than the harmonic component of the current input data block, the initial frequency point of the current search period is reduced by the preset search interval to serve as the initial frequency point of the next search period.
  • the following formula is used to calculate the preset value: (SearchNum/2) ⁇ F_search_step, where SearchNum is the preset number, and F_search_step is the preset search interval for searching.
  • the determining the harmonic component of the current input data block according to the correlation between the current input data block and each currently to-be-searched frequency point includes: calculating the search correlation value of the current input data block and each currently to-be-searched frequency point. ; determine the current to-be-searched frequency point corresponding to the search correlation value greater than the preset threshold as the harmonic component of the input data block of the current cycle.
  • performing harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic component of the current input data block includes: calculating the harmonic correlation value and the current input data block.
  • the product of the harmonic components of the data blocks; the difference between the next input data block and the product is calculated as the data block after harmonic elimination.
  • the determining the initial frequency point of the current search period includes: if the current search period is the first search period, determining that the initial frequency point of the current search period is a preset initial frequency point; If the search period is not the first search period, the harmonic component of the previous input data block is used to determine the initial frequency point of the current search period.
  • the preset initial frequency point is obtained by performing harmonic component testing on multiple input data blocks.
  • Correlation(m-1) represents the harmonic correlation value between the m-1th input data block and the mth input data block
  • N represents the number of chips or symbols
  • Input(m-1) represents the m-th 1 input data block
  • F_init represents the initial frequency point
  • F_search_step represents the preset search interval.
  • the search period of the harmonic component is less than or equal to the data period of the input data block.
  • the harmonic elimination device includes: an initial frequency point determination module, which is used to determine the initial frequency point of the current search period, and determine the initial frequency point according to a preset search interval.
  • the embodiment of the present invention also discloses a storage medium on which a computer program is stored, and the computer program executes the steps of the harmonic elimination method when the computer program is run by a processor.
  • An embodiment of the present invention further discloses a terminal, including a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor executes the harmonic when running the computer program Steps of the elimination method.
  • the technical scheme of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency point to be searched and the input data block; at the same time, when determining the frequency point to be searched in the current data cycle, the initial frequency point is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
  • FIG. 1 is a flowchart of a method for eliminating harmonics according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a specific application scenario of an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a harmonic elimination device according to an embodiment of the present invention.
  • the reduction of the clock amplitude in the first solution will result in a decrease in system stability; the second solution requires an increase in hardware cost, which is often limited by the area and is difficult to increase. If it is interference caused by spatial coupling, even if the filter is added, the The interference cannot be effectively suppressed; the clock frequency of scheme 3 is often fixed and cannot be modified at will. In addition, even if the modification is made, if the receiving frequency band of the receiver is relatively wide, its clock harmonic interference is difficult to avoid.
  • the technical scheme of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency point to be searched and the input data block; at the same time, when determining the frequency point to be searched in the current data cycle, the initial frequency point is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
  • the technical solution of the present invention will not affect the clock signal that generates interference, that is, It will not affect the performance stability of the system module.
  • the technical solution of the present invention can be applied to traditional mobile communication systems, such as Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE) systems, and can also be used in New Radio (New Radio, NR) systems ) system, such as 5th generation mobile networks or 5th generation wireless systems (5G), or a newer communication system, which is not limited in this embodiment of the present invention.
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • NR New Radio
  • 5G 5th generation wireless systems
  • 5G 5th generation wireless systems
  • FIG. 1 is a flowchart of a harmonic elimination method according to an embodiment of the present invention.
  • the harmonic elimination method shown in FIG. 1 can be used on the terminal device side, and specifically, it can be a terminal device equipped with a receiver.
  • the method shown in Figure 1 can perform harmonic elimination on the received signal of the receiver, so as to improve the signal-to-noise ratio of the received signal and improve the signal quality.
  • the harmonic elimination method shown in FIG. 1 may include the following steps:
  • Step S101 Determine the initial frequency points of the current search period, and determine a preset number of current frequency points to be searched according to a preset search interval, and the current frequency points to be searched include the initial frequency points;
  • Step S102 Determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched;
  • Step S103 Estimate the harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block according to at least the harmonic component of the current input data block;
  • Step S104 Perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic components of the current input data block.
  • the input data block refers to the data block received by the receiver, the input data block is periodic data, and the transmission period thereof is called the data period.
  • the harmonic elimination method may be implemented by a software program, and the software program runs in a processor integrated in a chip or a chip module.
  • the method can also be implemented by combining software with hardware, which is not limited in this application.
  • step S101 and step S102 harmonic estimation is performed on the current input data block, that is, the size of the harmonic component of the current input data block is estimated.
  • first determine a plurality of frequency points to be searched specifically take the initial frequency point as the center/start frequency point/end frequency point/any intermediate frequency point, and select them according to the preset search interval ; Calculate the correlation between the current input data block and each current frequency to be searched.
  • the higher the correlation between the input data block and the frequency point to be searched means that the balance of the input data block and the frequency point to be searched is close, so that the frequency point to be searched closest to the input data block can be determined according to the size of the correlation as the current input Harmonic components of the data block.
  • the initial frequency point is 2140MHz, with the initial frequency point as the center, the preset search interval is 5MHz, and the preset number is 13, then the frequency points to be searched are 2110, 2115, 2120, and 2125 respectively. , 2130, 2135, 2140, 2145, 2150, 2155, 2160, 2165, 2170 (in MHz).
  • the specific values of the preset search interval and the preset number can be set according to the requirements of the actual application scenario. For example, the smaller the preset search interval and the greater the preset number, the higher the estimation accuracy.
  • the computational complexity also increases accordingly, which is not limited in this embodiment of the present invention.
  • step S103 and step S104 harmonic elimination of the next input data block is realized. Since the harmonics are relatively stable and do not change suddenly, it is difficult to estimate and eliminate the harmonics in the next cycle in real time. Therefore, in the embodiment of the present invention, the harmonic components of the current input data block are used for the harmonic components of the current input data block. A block of input data for harmonic cancellation.
  • Output(m) Input(m)-Correlation(m-1) ⁇ ref_value(m-1), where Output(m) is the output of the mth data block after harmonic elimination, Input( m) is the mth input data block, Correlation(m-1) is the correlation value between the harmonic components of the m-1th data block and the harmonic components of the mth data block, ref_value(m-1) is the Harmonic components of m-1 data blocks.
  • the harmonic correlation value represents the degree of similarity between the harmonic components of the current input data block and the harmonic components of the next input data block.
  • the harmonic correlation value between the harmonic components of the current input data block and the harmonic components of the next input data block can be estimated based on the harmonic components of the current input data block.
  • the initial frequency point of the data block and the preset search interval are estimated.
  • the harmonic correlation value can be calculated using the following formula:
  • N represents the number of chips in the communication system (such as the number of chips in WCDMA) or the number of symbols (such as the number of symbols in LTE/NR)
  • Input(m-1) represents the m-1th input data block
  • F_init represents the initial frequency point
  • F_search_step represents the preset search interval.
  • N is the number of chips or symbols depending on the communication system used by the terminal. If the communication system used by the terminal is WCDMA, N is the number of chips; if the terminal uses a 4G/5G communication system, Since it belongs to LTE/NR, and its modulation method is Orthogonal Frequency Division Multiplexing (OFDM), N is the number of symbols.
  • WCDMA Wideband Code Division Multiple Access
  • 4G/5G communication system Since it belongs to LTE/NR, and its modulation method is Orthogonal Frequency Division Multiplexing (OFDM), N is the number of symbols.
  • OFDM Orthogonal Frequency Division Multiplexing
  • the technical scheme of the present invention avoids additional processing of the source of the clock signal, and only needs to complete the estimation, dynamic tracking and elimination of harmonics through the software-controlled digital baseband, thereby reducing the system risk and effectively improving the sensitivity performance.
  • harmonic estimation may be performed on the next input data block, that is, the magnitude of the harmonic components of the next input data block may be estimated.
  • the specific calculation method is similar to the previous steps, that is, firstly determine a plurality of frequency points to be searched, and specifically select the initial frequency point as the center/start frequency point/end frequency point/any intermediate frequency point according to the preset search interval ; Calculate the correlation between the next input data block and each next frequency to be searched. The higher the correlation between the input data block and the frequency to be searched, means that the balance of the input data block and the frequency to be searched is close. Harmonic components of the input data block.
  • the initial frequency of the next search period and the initial frequency of the current search period may be the same or different.
  • the initial frequency point of the next search period may be determined according to the relative position of the harmonic component of the current input data block and the initial frequency point of the current search period.
  • the initial frequency point of the current search period is increased by the preset search interval; otherwise, the current search period
  • the difference between the initial frequency point of the current search period and the preset value is greater than the harmonic component of the current input data block, then the initial frequency point of the current search period is reduced by the preset search interval, as the initial frequency point of the next search period. Frequency.
  • the preset value may be (SearchNum/2) ⁇ F_search_step, where SearchNum is a preset number and F_search_step is a preset search interval.
  • step S102 shown in FIG. 1 may include the following steps: calculating the search correlation value between the current input data block and each current frequency to be searched; determining that the search correlation value greater than a preset threshold corresponds to The current frequency point to be searched is taken as the harmonic component of the input data block of the current cycle.
  • step S104 shown in FIG. 1 may include the following steps: calculating the product of the harmonic correlation value and the harmonic component of the current input data block; calculating the next input data block The difference with the product is used as the data block after harmonic cancellation.
  • the harmonic correlation value represents the similarity between the current input data block and the next input data block.
  • the harmonic components of the current input data block can be used to eliminate the harmonics of the next input data block.
  • the wave components are simply removed from the input data block.
  • step S101 shown in FIG. 1 may include the following steps: if the current search period is the first search period, determining that the initial frequency point of the current search period is a preset initial frequency point ; If the current search period is not the first search period, use the harmonic component of the last input data block to determine the initial frequency point of the current search period.
  • the initial frequency used for each search cycle is dynamically updated. Specifically, it is determined according to the harmonic components calculated in the previous search period. If there is no previous search period, it is directly determined as the preset initial frequency point.
  • the initial frequency point of the current search period is determined according to the harmonic components calculated in the previous search period, if the sum of the initial frequency point of the previous search period and the preset value is less than the harmonic component, the initial frequency point of the previous search period is increased.
  • the frequency point is used as the initial frequency point of the current search period; on the contrary, if the sum of the initial frequency point of the previous search period and the preset value is greater than the harmonic component, the initial frequency point of the previous search period is reduced as the current search period. initial frequency.
  • the preset initial frequency point is obtained by performing harmonic component testing on a plurality of input data blocks.
  • the interference harmonic component generated by the clock signal to the input data block is usually stable, so a frequency point for determining the harmonic component can be obtained by testing multiple input data blocks in advance, as a preset initial Frequency.
  • the search period of the harmonic component is less than or equal to the data period of the input data block.
  • the update process of the initial frequency point is described with reference to a specific example.
  • WCDMA Wideband Code Division Multiple Access
  • the downlink frequency range of broadband is 2110M-2170MHz.
  • harmonic estimation is performed on the mth data block to obtain the harmonic reference value of the mth data block.
  • Harmonic cancellation is performed on the m+1th data block using the harmonic reference value of the mth data block.
  • FIG. 3 is a schematic structural diagram of a harmonic elimination device according to an embodiment of the present invention.
  • Harmonic cancellation device 30 may include:
  • the initial frequency point determination module 301 is configured to determine the initial frequency point of the current search period, and determine a preset number of current frequency points to be searched according to a preset search interval, and the current frequency points to be searched include the initial frequency points;
  • a harmonic component estimation module 302 configured to determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency to be searched;
  • a harmonic correlation value calculation module 303 configured to estimate a harmonic correlation value between the harmonic components of the current input data block and the harmonic components of the next input data block according to at least the harmonic components of the current input data block;
  • a harmonic elimination module 304 configured to perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic components of the current input data block.
  • the embodiment of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency to be searched and the input data block; at the same time, when determining the frequency to be searched in the current data cycle, the initial frequency is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
  • the above harmonic elimination device may correspond to a chip with a harmonic elimination function in the terminal device, such as an SOC (System-On-a-Chip, system on chip), a baseband chip, etc.; A chip module with harmonic elimination function; or a chip module with a data processing function chip, or a terminal device.
  • SOC System-On-a-Chip, system on chip
  • baseband chip etc.
  • a chip module with harmonic elimination function or a chip module with a data processing function chip, or a terminal device.
  • each module/unit included in each device and product described in the above-mentioned embodiments it may be a software module/unit, a hardware module/unit, or a part of a software module/unit and a part of a hardware module/unit .
  • each module/unit included therein may be implemented by hardware such as circuits, or at least some of the modules/units may be implemented by a software program.
  • the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the chip module, the modules/units contained therein can be They are all implemented by hardware such as circuits, and different modules/units can be located in the same component of the chip module (such as chips, circuit modules, etc.) or in different components, or at least some of the modules/units can be implemented by software programs.
  • the software program runs on the processor integrated inside the chip module, and the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the terminal, each module contained in it
  • the units/units may all be implemented in hardware such as circuits, and different modules/units may be located in the same component (eg, chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules/units may be implemented by software programs Realization, the software program runs on the processor integrated inside the terminal, and the remaining (if any) part of the modules/units can be implemented in hardware such as circuits.
  • An embodiment of the present invention also discloses a storage medium, which is a computer-readable storage medium, and stores a computer program thereon. When the computer program runs, the steps of the harmonic elimination method shown in FIG. 1 can be executed.
  • the storage medium may include ROM, RAM, magnetic or optical disks, and the like.
  • the storage medium may also include a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory and the like.
  • An embodiment of the present invention further discloses a terminal, where the terminal may include a memory and a processor, and the memory stores a computer program that can run on the processor.
  • the processor may execute the steps of the harmonic elimination method shown in FIG. 1 when the computer program is executed.
  • the terminals include but are not limited to terminal devices such as mobile phones, computers, and tablet computers.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can also be a system on chip (SoC), a central processor unit (CPU), or a network processing unit It can be a network processor (NP), a digital signal processing circuit (DSP), a microcontroller (MCU), or a programmable logic device (PLD). ) or other integrated chips.
  • SoC system on chip
  • CPU central processor unit
  • NP network processor
  • DSP digital signal processing circuit
  • MCU microcontroller
  • PLD programmable logic device
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory mentioned in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

A harmonic elimination method and apparatus, a storage medium, and a terminal. The harmonic elimination method comprises: determining an initial frequency point of a current search period, and determining, according to a preset search interval, a preset number of current frequency points to be searched for, said frequency points comprising the initial frequency point; determining, according to the correlation between a current input data block and each current frequency point to be searched for, a harmonic component of the current input data block; estimating a harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block according to at least the harmonic component of the current input data block; and performing harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic component of the current input data block. According to the technical solution of the present invention, harmonic interference of a receiver can be eliminated without affecting system stability.

Description

谐波消除方法及装置、存储介质、终端Harmonic elimination method and device, storage medium and terminal
本申请要求2020年12月14日提交中国专利局、申请号为202011461607.1、发明名称为“谐波消除方法及装置、存储介质、终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 14, 2020 with the application number 202011461607.1 and the invention titled "harmonic elimination method and device, storage medium, terminal", the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种谐波消除方法及装置、存储介质、终端。The present invention relates to the field of communication technologies, and in particular, to a method and device for eliminating harmonics, a storage medium and a terminal.
背景技术Background technique
在第五代移动通信中,接收机工作在某些特定的频点上,手机主板上的某些系统模块的时钟信号的谐波分量会耦合进入接收机,导致接收机在弱场情况下,灵敏度会受到比较严重的影响,可能导致掉话或者通话信号质量下降。In the fifth-generation mobile communication, the receiver works on some specific frequency points, and the harmonic components of the clock signal of some system modules on the mainboard of the mobile phone will be coupled into the receiver, resulting in the receiver being in a weak field. Sensitivity will be severely affected, which may lead to dropped calls or reduced call signal quality.
目前消除谐波干扰的主要方案是从干扰源头处理。现有主流方案有三种:方案一:找到时钟干扰源头,降低时钟幅度,从而降低时钟谐波分量;方案二:找到时钟干扰源头,给时钟加上模拟滤波器,比如低通滤波器,从而衰减高频分量,降低时钟谐波分量;方案三:找到时钟干扰源头,改变时钟的频率,从而改变时钟谐波的频率,时钟谐波分量避开接收机的接收频点。At present, the main solution to eliminate harmonic interference is to deal with the interference source. There are three existing mainstream solutions: Option 1: Find the source of clock interference and reduce the clock amplitude, thereby reducing the harmonic components of the clock; Option 2: Find the source of clock interference and add an analog filter, such as a low-pass filter, to the clock to attenuate High frequency components, reduce the clock harmonic components; Scheme 3: find the source of clock interference, change the frequency of the clock, thereby changing the frequency of the clock harmonics, and the clock harmonic components avoid the receiving frequency of the receiver.
但是,方案一降低时钟幅度会造成系统稳定性下降;方案二需要增加硬件成本,而且往往受限于面积,难以增加,如果是空间耦合造成的干扰,即使增加滤波器,也无法有效抑制干扰;方案三时钟频率往往是固定的,不能随意修改,另外即使修改,如果接收机的接收频带比较宽,其时钟谐波干扰也很难避开。However, the reduction of the clock amplitude in the first solution will reduce the system stability; the second solution needs to increase the hardware cost, and it is often limited by the area, which is difficult to increase. If it is interference caused by spatial coupling, even if the filter is added, the interference cannot be effectively suppressed; Scheme 3 The clock frequency is often fixed and cannot be modified at will. In addition, even if modified, if the receiver's receiving frequency band is relatively wide, its clock harmonic interference is difficult to avoid.
发明内容SUMMARY OF THE INVENTION
本发明解决的技术问题是如何在不影响系统稳定性的情况下实现对接收机谐波干扰的消除。The technical problem solved by the present invention is how to realize the elimination of the harmonic interference of the receiver without affecting the stability of the system.
为解决上述技术问题,本发明实施例提供一种谐波消除方法,谐波消除方法包括:确定当前搜索周期的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。In order to solve the above technical problem, an embodiment of the present invention provides a harmonic elimination method. The harmonic elimination method includes: determining an initial frequency point of a current search period, and determining a preset number of currently to-be-searched frequency points according to a preset search interval, The current frequency point to be searched includes the initial frequency point; the harmonic component of the current input data block is determined according to the correlation between the current input data block and each current frequency point to be searched; at least according to the current input data block The harmonic component estimates the harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block; according to the harmonic correlation value and the harmonic component of the current input data block Harmonic cancellation is performed on the next block of input data described above.
可选的,所述根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分之后还包括:利用所述当前输入数据块的谐波分量确定下一搜索周期的初始频点,并按照预设搜索间隔确定预设数量个下一待搜索频点,所述下一待搜索频点包括所述下一搜索周期的初始频点,所述下一待搜索频点用于计算所述下一输入数据块的谐波分量。Optionally, after determining the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched, the method further includes: determining the next harmonic component by using the harmonic component of the current input data block. The initial frequency points of the search period are searched, and a preset number of next frequency points to be searched are determined according to a preset search interval, and the next frequency points to be searched include the initial frequency points of the next search period. The search frequency points are used to calculate the harmonic components of the next input data block.
可选的,所述利用所述当前输入数据块的谐波分量确定下一搜索周期的初始频点包括:如果所述当前搜索周期的初始频点与预设值之和小于所述当前输入数据块的谐波分量,则将所述当前搜索周期的初始频点增加所述预设搜索间隔,以作为所述下一搜索周期的初始频点;如果所述当前搜索周期的初始频点与预设值之和大于所述当前输入数据块的谐波分量,则将所述当前搜索周期的初始频点减小所述预设搜索间隔,以作为所述下一搜索周期的初始频点。Optionally, the determining the initial frequency point of the next search period by using the harmonic component of the current input data block includes: if the sum of the initial frequency point of the current search period and a preset value is less than the current input data If the initial frequency of the current search period is increased by the preset search interval, it is used as the initial frequency of the next search period; if the initial frequency of the current search period is the same as the preset frequency If the sum of the set values is greater than the harmonic component of the current input data block, the initial frequency point of the current search period is reduced by the preset search interval to serve as the initial frequency point of the next search period.
可选的,采用以下公式计算所述预设值:(SearchNum/2)×F_search_step,其中,SearchNum为所述预设数量,F_search_step为搜索预设搜索间隔。Optionally, the following formula is used to calculate the preset value: (SearchNum/2)×F_search_step, where SearchNum is the preset number, and F_search_step is the preset search interval for searching.
可选的,所述根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量包括:计算当前输入数据块与 各个当前待搜索频点的搜索相关值;确定大于预设门限的所述搜索相关值对应的当前待搜索频点作为所述当前周期的输入数据块的谐波分量。Optionally, the determining the harmonic component of the current input data block according to the correlation between the current input data block and each currently to-be-searched frequency point includes: calculating the search correlation value of the current input data block and each currently to-be-searched frequency point. ; determine the current to-be-searched frequency point corresponding to the search correlation value greater than the preset threshold as the harmonic component of the input data block of the current cycle.
可选的,所述根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除包括:计算所述谐波相关值和所述当前输入数据块的谐波分量的乘积;计算所述下一输入数据块与所述乘积的差值,以作为谐波消除后的数据块。Optionally, performing harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic component of the current input data block includes: calculating the harmonic correlation value and the current input data block. The product of the harmonic components of the data blocks; the difference between the next input data block and the product is calculated as the data block after harmonic elimination.
可选的,所述确定当前搜索周期的初始频点包括:如果所述当前搜索周期为首个搜索周期,则确定所述当前搜索周期的初始频点为预设的初始频点;如果所述当前搜索周期非首个搜索周期,则利用上一输入数据块的谐波分量确定所述当前搜索周期的初始频点。Optionally, the determining the initial frequency point of the current search period includes: if the current search period is the first search period, determining that the initial frequency point of the current search period is a preset initial frequency point; If the search period is not the first search period, the harmonic component of the previous input data block is used to determine the initial frequency point of the current search period.
可选的,所述预设的初始频点是通过对多个输入数据块进行谐波分量测试得到的。Optionally, the preset initial frequency point is obtained by performing harmonic component testing on multiple input data blocks.
可选的,采用以下公式计算所述谐波相关值:Optionally, use the following formula to calculate the harmonic correlation value:
Figure PCTCN2021130950-appb-000001
Figure PCTCN2021130950-appb-000001
其中,Correlation(m-1)表示第m-1个输入数据块与第m个输入数据块的谐波相关值,N表示码片的数量或者符号数量,Input(m-1)表示第m-1个输入数据块,F_init表示所述初始频点,F_search_step表示所述预设搜索间隔。Among them, Correlation(m-1) represents the harmonic correlation value between the m-1th input data block and the mth input data block, N represents the number of chips or symbols, and Input(m-1) represents the m-th 1 input data block, F_init represents the initial frequency point, and F_search_step represents the preset search interval.
可选的,所述谐波分量的搜索周期小于等于输入数据块的数据周期。Optionally, the search period of the harmonic component is less than or equal to the data period of the input data block.
为解决上述技术问题,本发明实施例还公开了一种谐波消除装置,谐波消除装置包括:初始频点确定模块,用于确定当前搜索周期 的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;谐波分量估计模块,用于根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;谐波相关值计算模块,用于至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;谐波消除模块,用于根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。In order to solve the above technical problem, the embodiment of the present invention also discloses a harmonic elimination device. The harmonic elimination device includes: an initial frequency point determination module, which is used to determine the initial frequency point of the current search period, and determine the initial frequency point according to a preset search interval. A preset number of currently to-be-searched frequency points, the current to-be-searched frequency points including the initial frequency point; a harmonic component estimation module for determining the Harmonic components of the current input data block; a harmonic correlation value calculation module, configured to estimate the harmonic components of the current input data block and the harmonic components of the next input data block at least according to the harmonic components of the current input data block a harmonic correlation value of the component; a harmonic elimination module configured to perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic component of the current input data block.
本发明实施例还公开了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时执行所述谐波消除方法的步骤。The embodiment of the present invention also discloses a storage medium on which a computer program is stored, and the computer program executes the steps of the harmonic elimination method when the computer program is run by a processor.
本发明实施例还公开了一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器运行所述计算机程序时执行所述谐波消除方法的步骤。An embodiment of the present invention further discloses a terminal, including a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor executes the harmonic when running the computer program Steps of the elimination method.
与现有技术相比,本发明实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following beneficial effects:
本发明技术方案通过计算待搜索频点与输入数据块的相关性可以准确地估计出输入数据块中的谐波分量;同时,在确定当前数据周期的待搜索频点时,初始频点是根据上一输入数据块的谐波分量实时更新的,能够动态跟踪并估算出时钟谐波的频点和能量;进而基于谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除,大幅提高通话信号质量,减少掉话概率。The technical scheme of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency point to be searched and the input data block; at the same time, when determining the frequency point to be searched in the current data cycle, the initial frequency point is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
附图说明Description of drawings
图1是本发明实施例一种谐波消除方法的流程图;1 is a flowchart of a method for eliminating harmonics according to an embodiment of the present invention;
图2是本发明实施例一种具体应用场景的示意图;2 is a schematic diagram of a specific application scenario of an embodiment of the present invention;
图3是本发明实施例一种谐波消除装置的结构示意图。FIG. 3 is a schematic structural diagram of a harmonic elimination device according to an embodiment of the present invention.
具体实施方式Detailed ways
如背景技术中所述,方案一降低时钟幅度会造成系统稳定性下降;方案二需要增加硬件成本,而且往往受限于面积,难以增加,如果是空间耦合造成的干扰,即使增加滤波器,也无法有效抑制干扰;方案三时钟频率往往是固定的,不能随意修改,另外即使修改,如果接收机的接收频带比较宽,其时钟谐波干扰也很难避开。As mentioned in the Background Art, the reduction of the clock amplitude in the first solution will result in a decrease in system stability; the second solution requires an increase in hardware cost, which is often limited by the area and is difficult to increase. If it is interference caused by spatial coupling, even if the filter is added, the The interference cannot be effectively suppressed; the clock frequency of scheme 3 is often fixed and cannot be modified at will. In addition, even if the modification is made, if the receiving frequency band of the receiver is relatively wide, its clock harmonic interference is difficult to avoid.
本发明技术方案通过计算待搜索频点与输入数据块的相关性可以准确地估计出输入数据块中的谐波分量;同时,在确定当前数据周期的待搜索频点时,初始频点是根据上一输入数据块的谐波分量实时更新的,能够动态跟踪并估算出时钟谐波的频点和能量;进而基于谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除,大幅提高通话信号质量,减少掉话概率。The technical scheme of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency point to be searched and the input data block; at the same time, when determining the frequency point to be searched in the current data cycle, the initial frequency point is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
相对于现有技术中对产生干扰的时钟信号进行修改,而修改时钟信号会导致使用该时钟信号的系统模块性能不稳定,本发明技术方案则不会对产生干扰的时钟信号产生影响,也就不会影响系统模块性能稳定性。Compared with the modification of the clock signal that generates interference in the prior art, and the modification of the clock signal will lead to unstable performance of the system module using the clock signal, the technical solution of the present invention will not affect the clock signal that generates interference, that is, It will not affect the performance stability of the system module.
本发明技术方案可以应用于传统移动通信系统,例如宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)系统,也可以用于新无线(New Radio,NR)系统,如第五代移动通信技术(5th generation mobile networks or 5th generation wireless systems,5G),或者更新的通信系统,本发明实施例对此不作限制。The technical solution of the present invention can be applied to traditional mobile communication systems, such as Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE) systems, and can also be used in New Radio (New Radio, NR) systems ) system, such as 5th generation mobile networks or 5th generation wireless systems (5G), or a newer communication system, which is not limited in this embodiment of the present invention.
为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例一种谐波消除方法的流程图。FIG. 1 is a flowchart of a harmonic elimination method according to an embodiment of the present invention.
图1所示谐波消除方法可以用于终端设备侧,具体可以是配置有接收机的终端设备。图1所示方法能够对接收机的接收信号进行谐波 消除,以提升接收信号的信噪比,提升信号质量。The harmonic elimination method shown in FIG. 1 can be used on the terminal device side, and specifically, it can be a terminal device equipped with a receiver. The method shown in Figure 1 can perform harmonic elimination on the received signal of the receiver, so as to improve the signal-to-noise ratio of the received signal and improve the signal quality.
具体地,图1所示谐波消除方法可以包括以下步骤:Specifically, the harmonic elimination method shown in FIG. 1 may include the following steps:
步骤S101:确定当前搜索周期的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;Step S101: Determine the initial frequency points of the current search period, and determine a preset number of current frequency points to be searched according to a preset search interval, and the current frequency points to be searched include the initial frequency points;
步骤S102:根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;Step S102: Determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched;
步骤S103:至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;Step S103: Estimate the harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block according to at least the harmonic component of the current input data block;
步骤S104:根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。Step S104: Perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic components of the current input data block.
需要指出的是,本实施例中各个步骤的序号并不代表对各个步骤的执行顺序的限定。It should be noted that the sequence numbers of the steps in this embodiment do not represent limitations on the execution order of the steps.
本实施例中,输入数据块是指接收机接收到的数据块,输入数据块是周期性数据,其传输周期称为数据周期。In this embodiment, the input data block refers to the data block received by the receiver, the input data block is periodic data, and the transmission period thereof is called the data period.
可以理解的是,在具体实施中,所述谐波消除方法可以采用软件程序的方式实现,该软件程序运行于芯片或芯片模组内部集成的处理器中。该方法也可以采用软件结合硬件的方式实现,本申请不作限制。It can be understood that, in a specific implementation, the harmonic elimination method may be implemented by a software program, and the software program runs in a processor integrated in a chip or a chip module. The method can also be implemented by combining software with hardware, which is not limited in this application.
在步骤S101和步骤S102的具体实施中,对当前输入数据块进行谐波估计,也即估计出当前输入数据块的谐波分量的大小。为了准确地估计出谐波分量的大小,首先确定多个待搜索频点,具体是以初始频点为中心/起始频点/结束频点/任意中间频点,按照预设搜索间隔来选取;再计算当前输入数据块与各个当前待搜索频点的相关性。输入数据块与待搜索频点的相关性越高,表示输入数据块与待搜索频点余额接近,从而可以依据相关性的大小确定与输入数据块最接近的待搜 索频点,以作为当前输入数据块的谐波分量。In the specific implementation of step S101 and step S102, harmonic estimation is performed on the current input data block, that is, the size of the harmonic component of the current input data block is estimated. In order to accurately estimate the size of the harmonic components, first determine a plurality of frequency points to be searched, specifically take the initial frequency point as the center/start frequency point/end frequency point/any intermediate frequency point, and select them according to the preset search interval ; Calculate the correlation between the current input data block and each current frequency to be searched. The higher the correlation between the input data block and the frequency point to be searched, means that the balance of the input data block and the frequency point to be searched is close, so that the frequency point to be searched closest to the input data block can be determined according to the size of the correlation as the current input Harmonic components of the data block.
需要说明的是,可以采用现有技术中任意可实施的算法计算相关性,本发明实施例对此不作限制。It should be noted that, any executable algorithm in the prior art may be used to calculate the correlation, which is not limited in this embodiment of the present invention.
在一个非限制性的例子中,初始频点为2140MHz,以初始频点为中心,预设搜索间隔为5MHz,预设数量为13,则各个待搜索频点分别为2110、2115、2120、2125、2130、2135、2140、2145、2150、2155、2160、2165、2170(单位为MHz)。In a non-limiting example, the initial frequency point is 2140MHz, with the initial frequency point as the center, the preset search interval is 5MHz, and the preset number is 13, then the frequency points to be searched are 2110, 2115, 2120, and 2125 respectively. , 2130, 2135, 2140, 2145, 2150, 2155, 2160, 2165, 2170 (in MHz).
可以理解的是,预设搜索间隔、预设数量的具体数值可以根据实际应用场景的需求来设置,如预设搜索间隔越小、预设数量越多,估计的准确性越高。计算的复杂度也相应增加,本发明实施例对此不作限制。It can be understood that the specific values of the preset search interval and the preset number can be set according to the requirements of the actual application scenario. For example, the smaller the preset search interval and the greater the preset number, the higher the estimation accuracy. The computational complexity also increases accordingly, which is not limited in this embodiment of the present invention.
在步骤S103和步骤S104的具体实施中,实现对下一输入数据块的谐波消除。由于谐波是相对稳态的,不会突变,同时实时对下一周期进行谐波估计和消除在实现上比较困难,因此本发明实施例是利用当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。In the specific implementation of step S103 and step S104, harmonic elimination of the next input data block is realized. Since the harmonics are relatively stable and do not change suddenly, it is difficult to estimate and eliminate the harmonics in the next cycle in real time. Therefore, in the embodiment of the present invention, the harmonic components of the current input data block are used for the harmonic components of the current input data block. A block of input data for harmonic cancellation.
具体而言,Output(m)=Input(m)-Correlation(m-1)×ref_value(m-1),其中,Output(m)是第m个数据块经过谐波消除后的输出,Input(m)是第m个输入数据块,Correlation(m-1)是第m-1个数据块的谐波分量与第m个数据块的谐波分量的相关值,ref_value(m-1)是第m-1个数据块的谐波分量。Specifically, Output(m)=Input(m)-Correlation(m-1)×ref_value(m-1), where Output(m) is the output of the mth data block after harmonic elimination, Input( m) is the mth input data block, Correlation(m-1) is the correlation value between the harmonic components of the m-1th data block and the harmonic components of the mth data block, ref_value(m-1) is the Harmonic components of m-1 data blocks.
具体而言,谐波相关值表示所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的相似程度。当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值可以基于当前输入数据块的谐波分量进行估计,具体可以根据当前输入数据块的谐波分量、当前输入数据块的初始频点以及预设搜索间隔进行估计。Specifically, the harmonic correlation value represents the degree of similarity between the harmonic components of the current input data block and the harmonic components of the next input data block. The harmonic correlation value between the harmonic components of the current input data block and the harmonic components of the next input data block can be estimated based on the harmonic components of the current input data block. The initial frequency point of the data block and the preset search interval are estimated.
在一个非限制性的实施例中,谐波相关值可以采用以下公式计算:In a non-limiting example, the harmonic correlation value can be calculated using the following formula:
Figure PCTCN2021130950-appb-000002
Figure PCTCN2021130950-appb-000002
其中,N表示通信系统中码片的数量(如WCDMA中码片的数量)或者符号数量(如LTE/NR中符号数量),Input(m-1)表示第m-1个输入数据块,F_init表示所述初始频点,F_search_step表示所述预设搜索间隔。Among them, N represents the number of chips in the communication system (such as the number of chips in WCDMA) or the number of symbols (such as the number of symbols in LTE/NR), Input(m-1) represents the m-1th input data block, F_init represents the initial frequency point, and F_search_step represents the preset search interval.
具体地,N是码片数量或符号数量取决于终端所使用的通信系统,如果终端使用的通信系统是WCDMA,则N为码片(chip)数量;如果终端使用的是4G/5G通信系统,由于其隶属于LTE/NR,其调制方式是正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM),则N为符号(symbol)数量。Specifically, N is the number of chips or symbols depending on the communication system used by the terminal. If the communication system used by the terminal is WCDMA, N is the number of chips; if the terminal uses a 4G/5G communication system, Since it belongs to LTE/NR, and its modulation method is Orthogonal Frequency Division Multiplexing (OFDM), N is the number of symbols.
本发明技术方案避免对时钟信号的源头做额外处理,只需要通过软件控制数字基带完成谐波的估算、动态跟踪和消除,减少了系统风险,并有效提升灵敏度性能。The technical scheme of the present invention avoids additional processing of the source of the clock signal, and only needs to complete the estimation, dynamic tracking and elimination of harmonics through the software-controlled digital baseband, thereby reducing the system risk and effectively improving the sensitivity performance.
在一个非限制性的实施例中,可以对下一输入数据块进行谐波估计,也即估计出下一输入数据块的谐波分量的大小。具体的计算方式与前述步骤类似,也即首先确定多个待搜索频点,具体是以初始频点为中心/起始频点/结束频点/任意中间频点,按照预设搜索间隔来选取;再计算下一输入数据块与各个下一待搜索频点的相关性。输入数据块与待搜索频点的相关性越高,表示输入数据块与待搜索频点余额接近,从而可以依据相关性的大小确定与输入数据块最接近的待搜索频点,以作为下一输入数据块的谐波分量。In a non-limiting embodiment, harmonic estimation may be performed on the next input data block, that is, the magnitude of the harmonic components of the next input data block may be estimated. The specific calculation method is similar to the previous steps, that is, firstly determine a plurality of frequency points to be searched, and specifically select the initial frequency point as the center/start frequency point/end frequency point/any intermediate frequency point according to the preset search interval ; Calculate the correlation between the next input data block and each next frequency to be searched. The higher the correlation between the input data block and the frequency to be searched, means that the balance of the input data block and the frequency to be searched is close. Harmonic components of the input data block.
其中,在确定下一待搜索频点时,下一搜索周期的初始频点与当前搜索周期的初始频点可以相同,也可以不同。下一搜索周期的初始频点具体可以根据当前输入数据块的谐波分量与当前搜索周期的初始频点的相对位置来确定。Wherein, when determining the next frequency to be searched, the initial frequency of the next search period and the initial frequency of the current search period may be the same or different. Specifically, the initial frequency point of the next search period may be determined according to the relative position of the harmonic component of the current input data block and the initial frequency point of the current search period.
具体地,当前搜索周期的初始频点与预设值之和小于当前输入数据块的谐波分量,则将所述当前搜索周期的初始频点增加所述预设搜索间隔;反之,当前搜索周期的初始频点与预设值之差大于当前输入 数据块的谐波分量,则将所述当前搜索周期的初始频点减小所述预设搜索间隔,以作为所述下一搜索周期的初始频点。Specifically, if the sum of the initial frequency point of the current search period and the preset value is less than the harmonic component of the current input data block, the initial frequency point of the current search period is increased by the preset search interval; otherwise, the current search period The difference between the initial frequency point of the current search period and the preset value is greater than the harmonic component of the current input data block, then the initial frequency point of the current search period is reduced by the preset search interval, as the initial frequency point of the next search period. Frequency.
在一个非限制性的例子中,预设值可以是(SearchNum/2)×F_search_step,其中,SearchNum为预设数量,F_search_step为预设搜索间隔。In a non-limiting example, the preset value may be (SearchNum/2)×F_search_step, where SearchNum is a preset number and F_search_step is a preset search interval.
通过对每个数据周期进行谐波估计所采用的初始频点进行更新,可以实现对谐波频点的动态追踪,实现谐波估计的准确性。By updating the initial frequency point used for harmonic estimation in each data period, the dynamic tracking of the harmonic frequency point can be realized, and the accuracy of the harmonic estimation can be achieved.
在一个非限制性的实施例中,图1所示步骤S102可以包括以下步骤:计算当前输入数据块与各个当前待搜索频点的搜索相关值;确定大于预设门限的所述搜索相关值对应的当前待搜索频点作为所述当前周期的输入数据块的谐波分量。In a non-limiting embodiment, step S102 shown in FIG. 1 may include the following steps: calculating the search correlation value between the current input data block and each current frequency to be searched; determining that the search correlation value greater than a preset threshold corresponds to The current frequency point to be searched is taken as the harmonic component of the input data block of the current cycle.
如前所述,输入数据块与待搜索频点的相关性越高,表示输入数据块与待搜索频点余额接近,故而本实施例选取搜索相关值的最大值对应的当前待搜索频点作为所述当前周期的输入数据块的谐波分量。As mentioned above, the higher the correlation between the input data block and the frequency to be searched, means that the balance between the input data block and the frequency to be searched is close. Therefore, in this embodiment, the current frequency to be searched corresponding to the maximum value of the search correlation value is selected as The harmonic components of the input data block for the current period.
在一个非限制性的实施例中,图1所示步骤S104可以包括以下步骤:计算所述谐波相关值和所述当前输入数据块的谐波分量的乘积;计算所述下一输入数据块与所述乘积的差值,以作为谐波消除后的数据块。In a non-limiting embodiment, step S104 shown in FIG. 1 may include the following steps: calculating the product of the harmonic correlation value and the harmonic component of the current input data block; calculating the next input data block The difference with the product is used as the data block after harmonic cancellation.
谐波相关值表示当前输入数据块与下一输入数据块的相似度,在此基础上,可以利用当前输入数据块的谐波分量对下一输入数据块进行谐波消除,也即将相应的谐波分量从输入数据块中剔除即可。The harmonic correlation value represents the similarity between the current input data block and the next input data block. On this basis, the harmonic components of the current input data block can be used to eliminate the harmonics of the next input data block. The wave components are simply removed from the input data block.
在一个非限制性的实施例中,图1所示步骤S101可以包括以下步骤:如果所述当前搜索周期为首个搜索周期,则确定所述当前搜索周期的初始频点为预设的初始频点;如果所述当前搜索周期非首个搜索周期,则利用所述上一输入数据块的谐波分量确定所述当前搜索周期的初始频点。In a non-limiting embodiment, step S101 shown in FIG. 1 may include the following steps: if the current search period is the first search period, determining that the initial frequency point of the current search period is a preset initial frequency point ; If the current search period is not the first search period, use the harmonic component of the last input data block to determine the initial frequency point of the current search period.
每一搜索周期所使用的初始频点是动态更新的。具体是根据上一 搜索周期计算得到的谐波分量确定的,如果不存在上一搜索周期,则直接确定为预设的初始频点。The initial frequency used for each search cycle is dynamically updated. Specifically, it is determined according to the harmonic components calculated in the previous search period. If there is no previous search period, it is directly determined as the preset initial frequency point.
在根据上一搜索周期计算得到的谐波分量确定当前搜索周期的初始频点时,上一搜索周期的初始频点与预设值之和小于谐波分量,则增大上一搜索周期的初始频点,作为当前搜索周期的初始频点;反之,上一搜索周期的初始频点与预设值之和大于谐波分量,则减小上一搜索周期的初始频点,作为当前搜索周期的初始频点。When the initial frequency point of the current search period is determined according to the harmonic components calculated in the previous search period, if the sum of the initial frequency point of the previous search period and the preset value is less than the harmonic component, the initial frequency point of the previous search period is increased. The frequency point is used as the initial frequency point of the current search period; on the contrary, if the sum of the initial frequency point of the previous search period and the preset value is greater than the harmonic component, the initial frequency point of the previous search period is reduced as the current search period. initial frequency.
进一步而言,所述预设的初始频点是通过对多个输入数据块进行谐波分量测试得到的。Further, the preset initial frequency point is obtained by performing harmonic component testing on a plurality of input data blocks.
本实施例中,时钟信号对输入数据块产生的干扰谐波分量通常是稳定的,因此可以通过预先对多个输入数据块进行测试,获得一个确定谐波分量的频点,作为预设的初始频点。In this embodiment, the interference harmonic component generated by the clock signal to the input data block is usually stable, so a frequency point for determining the harmonic component can be obtained by testing multiple input data blocks in advance, as a preset initial Frequency.
在一个非限制性的实施例中,所述谐波分量的搜索周期小于等于输入数据块的数据周期。In a non-limiting embodiment, the search period of the harmonic component is less than or equal to the data period of the input data block.
在一个具体的应用场景中,结合具体例子对初始频点的更新过程进行说明。以宽带码分多址(Wideband Code Division Multiple Access,WCDMA)为例,宽带的下行频率范围是2110M-2170MHz。In a specific application scenario, the update process of the initial frequency point is described with reference to a specific example. Taking Wideband Code Division Multiple Access (WCDMA) as an example, the downlink frequency range of broadband is 2110M-2170MHz.
1、设置预设的初始初始频点Finit=2140MHz,搜索10M范围内的频点,即搜索频率范围为2139M-2149M。1. Set the preset initial initial frequency point Finit=2140MHz, and search for frequency points within the range of 10M, that is, the search frequency range is 2139M-2149M.
2、以100KHz为预设搜索间隔搜索谐波(spur),即F_search_step=100KHz。2. Search for harmonics (spur) with 100KHz as the preset search interval, that is, F_search_step=100KHz.
3、移动间隔F_step=100KHz。3. The moving interval F_step=100KHz.
4、共搜索SearchNum=(2145M-2135M)/0.1M=100个频点。4. A total of SearchNum=(2145M-2135M)/0.1M=100 frequency points are searched.
5、如果谐波的位置在2145.1M,计算F_init+(SearchNum/2)×F_search_step=2140+(100/2)*0.1=2140+5=2145M;F_init+(SearchNum/2)×F_search_step<Ftone,即2145M<2145.1M。5. If the position of the harmonic is at 2145.1M, calculate F_init+(SearchNum/2)×F_search_step=2140+(100/2)*0.1=2140+5=2145M; F_init+(SearchNum/2)×F_search_step<Ftone, that is, 2145M <2145.1M.
6、更新初始频点F_init=F_init+F_step=2140+0.1M=2140.1M,继续迭代。6. Update the initial frequency point F_init=F_init+F_step=2140+0.1M=2140.1M, and continue the iteration.
7、如果谐波的位置在2139.9M,计算F_init+(SearchNum/2)×F_search_step=2140.1+(100/2)*0.1=2140+5=2145.1M,F_init+(SearchNum/2)×F_search_step>Ftone,即2145.1M>2139.9M。7. If the harmonic position is at 2139.9M, calculate F_init+(SearchNum/2)×F_search_step=2140.1+(100/2)*0.1=2140+5=2145.1M, F_init+(SearchNum/2)×F_search_step>Ftone, that is 2145.1M>2139.9M.
8、更新初始频点F_init=F_init-F_step=2140.1-0.1M=2140M,继续迭代。8. Update the initial frequency point F_init=F_init-F_step=2140.1-0.1M=2140M, and continue the iteration.
在另一个具体的应用场景中,请参照图2,对第m-1个数据块进行谐波估计,得到第m-1个数据块的谐波参考值。利用第m-1个数据块的谐波参考值对第m个数据块进行谐波消除。In another specific application scenario, please refer to FIG. 2 , perform harmonic estimation on the m-1 th data block, and obtain the harmonic reference value of the m-1 th data block. Harmonic cancellation is performed on the mth data block using the harmonic reference value of the m-1th data block.
以此类推,对第m个数据块进行谐波估计,得到第m个数据块的谐波参考值。利用第m个数据块的谐波参考值对第m+1个数据块进行谐波消除。By analogy, harmonic estimation is performed on the mth data block to obtain the harmonic reference value of the mth data block. Harmonic cancellation is performed on the m+1th data block using the harmonic reference value of the mth data block.
具体的谐波估计和谐波消除的实施方式可参照前述实施例,此处不再赘述。For specific implementations of harmonic estimation and harmonic elimination, reference may be made to the foregoing embodiments, which will not be repeated here.
图3是本发明实施例一种谐波消除装置的结构示意图。谐波消除装置30可以包括:FIG. 3 is a schematic structural diagram of a harmonic elimination device according to an embodiment of the present invention. Harmonic cancellation device 30 may include:
初始频点确定模块301,用于确定当前搜索周期的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;The initial frequency point determination module 301 is configured to determine the initial frequency point of the current search period, and determine a preset number of current frequency points to be searched according to a preset search interval, and the current frequency points to be searched include the initial frequency points;
谐波分量估计模块302,用于根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;a harmonic component estimation module 302, configured to determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency to be searched;
谐波相关值计算模块303,用于至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;a harmonic correlation value calculation module 303, configured to estimate a harmonic correlation value between the harmonic components of the current input data block and the harmonic components of the next input data block according to at least the harmonic components of the current input data block;
谐波消除模块304,用于根据所述谐波相关值和所述当前输入数 据块的谐波分量对所述下一输入数据块进行谐波消除。A harmonic elimination module 304, configured to perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic components of the current input data block.
本发明实施例通过计算待搜索频点与输入数据块的相关性可以准确地估计出输入数据块中的谐波分量;同时,在确定当前数据周期的待搜索频点时,初始频点是根据上一输入数据块的谐波分量实时更新的,能够动态跟踪并估算出时钟谐波的频点和能量;进而基于谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除,大幅提高通话信号质量,减少掉话概率。The embodiment of the present invention can accurately estimate the harmonic components in the input data block by calculating the correlation between the frequency to be searched and the input data block; at the same time, when determining the frequency to be searched in the current data cycle, the initial frequency is based on The harmonic components of the previous input data block are updated in real time, and the frequency and energy of clock harmonics can be dynamically tracked and estimated; and then based on the harmonic correlation value and the harmonic components of the current input data block, the next Harmonic elimination is performed on the input data block, which greatly improves the quality of the call signal and reduces the probability of dropped calls.
关于所述谐波消除装置30的工作原理、工作方式的更多内容,可以参照图1至图2中的相关描述,这里不再赘述。For more details on the working principle and working mode of the harmonic elimination device 30, reference may be made to the relevant descriptions in FIG. 1 to FIG. 2, which will not be repeated here.
在具体实施中,上述谐波消除装置可以对应于终端设备中具有谐波消除功能的芯片,例如SOC(System-On-a-Chip,片上系统)、基带芯片等;或者对应于终端设备中包括具有谐波消除功能的芯片模组;或者对应于具有数据处理功能芯片的芯片模组,或者对应于终端设备。In a specific implementation, the above harmonic elimination device may correspond to a chip with a harmonic elimination function in the terminal device, such as an SOC (System-On-a-Chip, system on chip), a baseband chip, etc.; A chip module with harmonic elimination function; or a chip module with a data processing function chip, or a terminal device.
关于上述实施例中描述的各个装置、产品包含的各个模块/单元,其可以是软件模块/单元,也可以是硬件模块/单元,或者也可以部分是软件模块/单元,部分是硬件模块/单元。例如,对于应用于或集成于芯片的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于芯片模组的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于芯片模组的同一组件(例如芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片模组内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于终端的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模 块/单元可以位于终端内同一组件(例如,芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于终端内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现。Regarding each module/unit included in each device and product described in the above-mentioned embodiments, it may be a software module/unit, a hardware module/unit, or a part of a software module/unit and a part of a hardware module/unit . For example, for each device or product applied to or integrated in a chip, each module/unit included therein may be implemented by hardware such as circuits, or at least some of the modules/units may be implemented by a software program. Running on the processor integrated inside the chip, the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the chip module, the modules/units contained therein can be They are all implemented by hardware such as circuits, and different modules/units can be located in the same component of the chip module (such as chips, circuit modules, etc.) or in different components, or at least some of the modules/units can be implemented by software programs. The software program runs on the processor integrated inside the chip module, and the remaining (if any) part of the modules/units can be implemented by hardware such as circuits; for each device and product applied to or integrated in the terminal, each module contained in it The units/units may all be implemented in hardware such as circuits, and different modules/units may be located in the same component (eg, chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules/units may be implemented by software programs Realization, the software program runs on the processor integrated inside the terminal, and the remaining (if any) part of the modules/units can be implemented in hardware such as circuits.
本发明实施例还公开了一种存储介质,所述存储介质为计算机可读存储介质,其上存储有计算机程序,所述计算机程序运行时可以执行图1中所示的谐波消除方法的步骤。所述存储介质可以包括ROM、RAM、磁盘或光盘等。所述存储介质还可以包括非挥发性存储器(non-volatile)或者非瞬态(non-transitory)存储器等。An embodiment of the present invention also discloses a storage medium, which is a computer-readable storage medium, and stores a computer program thereon. When the computer program runs, the steps of the harmonic elimination method shown in FIG. 1 can be executed. . The storage medium may include ROM, RAM, magnetic or optical disks, and the like. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory and the like.
本发明实施例还公开了一种终端,所述终端可以包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序。所述处理器运行所述计算机程序时可以执行图1中所示的谐波消除方法的步骤。所述终端包括但不限于手机、计算机、平板电脑等终端设备。An embodiment of the present invention further discloses a terminal, where the terminal may include a memory and a processor, and the memory stores a computer program that can run on the processor. The processor may execute the steps of the harmonic elimination method shown in FIG. 1 when the computer program is executed. The terminals include but are not limited to terminal devices such as mobile phones, computers, and tablet computers.
应理解,上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可 编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the above-mentioned processor can be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can also be a system on chip (SoC), a central processor unit (CPU), or a network processing unit It can be a network processor (NP), a digital signal processing circuit (DSP), a microcontroller (MCU), or a programmable logic device (PLD). ) or other integrated chips. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
还应理解,本发明实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be understood that the memory mentioned in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor. It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不 应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.

Claims (13)

  1. 一种谐波消除方法,其特征在于,包括:A method for eliminating harmonics, comprising:
    确定当前搜索周期的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;determining an initial frequency point of the current search period, and determining a preset number of currently to-be-searched frequency points according to a preset search interval, where the current to-be-searched frequency point includes the initial frequency point;
    根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;Determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched;
    至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;estimating a harmonic correlation value of the harmonic component of the current input data block and the harmonic component of the next input data block according to at least the harmonic component of the current input data block;
    根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。Harmonic cancellation is performed on the next input data block based on the harmonic correlation value and the harmonic components of the current input data block.
  2. 根据权利要求1所述的谐波消除方法,其特征在于,所述根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分之后还包括:The harmonic elimination method according to claim 1, wherein after determining the harmonic division of the current input data block according to the correlation between the current input data block and each current frequency point to be searched, the method further comprises:
    利用所述当前输入数据块的谐波分量确定下一搜索周期的初始频点,并按照预设搜索间隔确定预设数量个下一待搜索频点,所述下一待搜索频点包括所述下一搜索周期的初始频点,所述下一待搜索频点用于计算所述下一输入数据块的谐波分量。The initial frequency point of the next search period is determined by using the harmonic component of the current input data block, and a preset number of next frequency points to be searched are determined according to a preset search interval, and the next frequency points to be searched include the The initial frequency point of the next search period, the next frequency point to be searched is used to calculate the harmonic component of the next input data block.
  3. 根据权利要求2所述的谐波消除方法,其特征在于,所述利用所述当前输入数据块的谐波分量确定下一搜索周期的初始频点包括:The harmonic elimination method according to claim 2, wherein the determining the initial frequency point of the next search period by using the harmonic components of the current input data block comprises:
    如果所述当前搜索周期的初始频点与预设值之和小于所述当前输入数据块的谐波分量,则将所述当前搜索周期的初始频点增加所述预设搜索间隔,以作为所述下一搜索周期的初始频点;If the sum of the initial frequency point of the current search period and the preset value is less than the harmonic component of the current input data block, the initial frequency point of the current search period is increased by the preset search interval, as the Describe the initial frequency point of the next search period;
    如果所述当前搜索周期的初始频点与预设值之和大于所述当前输入数据块的谐波分量,则将所述当前搜索周期的初始频点减小所述预设搜索间隔,以作为所述下一搜索周期的初始频点。If the sum of the initial frequency point of the current search period and the preset value is greater than the harmonic component of the current input data block, the initial frequency point of the current search period is reduced by the preset search interval, as The initial frequency point of the next search period.
  4. 根据权利要求3所述的谐波消除方法,其特征在于,采用以下公式计算所述预设值:(SearchNum/2)×F_search_step,其中,SearchNum为所述预设数量,F_search_step为搜索预设搜索间隔。The harmonic elimination method according to claim 3, wherein the preset value is calculated by the following formula: (SearchNum/2)×F_search_step, wherein SearchNum is the preset number, and F_search_step is the search preset search interval.
  5. 根据权利要求1所述的谐波消除方法,其特征在于,所述根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量包括:The harmonic elimination method according to claim 1, wherein the determining the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched comprises:
    计算当前输入数据块与各个当前待搜索频点的搜索相关值;Calculate the search correlation value between the current input data block and each current frequency to be searched;
    确定大于预设门限的搜索相关值对应的当前待搜索频点作为所述当前周期的输入数据块的谐波分量。The current frequency to be searched corresponding to the search correlation value greater than the preset threshold is determined as the harmonic component of the input data block of the current cycle.
  6. 根据权利要求1所述的谐波消除方法,其特征在于,所述根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除包括:The harmonic elimination method according to claim 1, wherein the performing harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic component of the current input data block comprises:
    计算所述谐波相关值和所述当前输入数据块的谐波分量的乘积;calculating the product of the harmonic correlation value and the harmonic component of the current input data block;
    计算所述下一输入数据块与所述乘积的差值,以作为谐波消除后的数据块。The difference between the next input data block and the product is calculated as a harmonic-eliminated data block.
  7. 根据权利要求1所述的谐波消除方法,其特征在于,所述确定当前搜索周期的初始频点包括:The harmonic elimination method according to claim 1, wherein the determining the initial frequency point of the current search period comprises:
    如果所述当前搜索周期为首个搜索周期,则确定所述当前搜索周期的初始频点为预设的初始频点;If the current search period is the first search period, then determine that the initial frequency point of the current search period is a preset initial frequency point;
    如果所述当前搜索周期非首个搜索周期,则利用上一输入数据块的谐波分量确定所述当前搜索周期的初始频点。If the current search period is not the first search period, the initial frequency point of the current search period is determined by using the harmonic components of the previous input data block.
  8. 根据权利要求7所述的谐波消除方法,其特征在于,所述预设的初始频点是通过对多个输入数据块进行谐波分量测试得到的。The harmonic elimination method according to claim 7, wherein the preset initial frequency point is obtained by performing harmonic component testing on a plurality of input data blocks.
  9. 根据权利要求1所述的谐波消除方法,其特征在于,采用以下公式计算所述谐波相关值:The harmonic elimination method according to claim 1, wherein the harmonic correlation value is calculated by the following formula:
    Figure PCTCN2021130950-appb-100001
    ;其中,Correlation(m-1)表示第m-1个输入数据块与第m个输入数据块的谐波相关值,N表示码片的数量或者符号数量,Input(m-1)表示第m-1个输入数据块,F_init表示所述初始频点,F_search_step表示所述预设搜索间隔。
    Figure PCTCN2021130950-appb-100001
    ; where Correlation(m-1) represents the harmonic correlation value between the m-1th input data block and the mth input data block, N represents the number of chips or symbols, and Input(m-1) represents the mth -1 input data block, F_init represents the initial frequency point, and F_search_step represents the preset search interval.
  10. 根据权利要求1所述的谐波消除方法,其特征在于,所述谐波分量的搜索周期小于等于输入数据块的数据周期。The harmonic elimination method according to claim 1, wherein the search period of the harmonic components is less than or equal to the data period of the input data block.
  11. 一种谐波消除装置,其特征在于,包括:A device for eliminating harmonics, comprising:
    初始频点确定模块,用于确定当前搜索周期的初始频点,并按照预设搜索间隔确定预设数量个当前待搜索频点,所述当前待搜索频点包括所述初始频点;an initial frequency point determination module, configured to determine the initial frequency point of the current search period, and determine a preset number of currently to-be-searched frequency points according to a preset search interval, and the current to-be-searched frequency points include the initial frequency point;
    谐波分量估计模块,用于根据当前输入数据块与各个当前待搜索频点的相关性确定所述当前输入数据块的谐波分量;a harmonic component estimation module, configured to determine the harmonic component of the current input data block according to the correlation between the current input data block and each current frequency point to be searched;
    谐波相关值计算模块,用于至少根据所述当前输入数据块的谐波分量估计所述当前输入数据块的谐波分量与下一输入数据块的谐波分量的谐波相关值;a harmonic correlation value calculation module for estimating a harmonic correlation value between the harmonic components of the current input data block and the harmonic components of the next input data block according to at least the harmonic components of the current input data block;
    谐波消除模块,用于根据所述谐波相关值和所述当前输入数据块的谐波分量对所述下一输入数据块进行谐波消除。A harmonic elimination module, configured to perform harmonic elimination on the next input data block according to the harmonic correlation value and the harmonic components of the current input data block.
  12. 一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时执行权利要求1至10中任一项所述谐波消除方法的步骤。A storage medium having a computer program stored thereon, characterized in that, when the computer program is run by a processor, the steps of the harmonic elimination method according to any one of claims 1 to 10 are executed.
  13. 一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器运行所述计算机程序时执行权利要求1至10中任一项所述谐波消除方法的 步骤。A terminal, comprising a memory and a processor, the memory stores a computer program that can be run on the processor, wherein the processor executes any one of claims 1 to 10 when the processor runs the computer program. A step of the harmonic cancellation method.
PCT/CN2021/130950 2020-12-14 2021-11-16 Harmonic elimination method and apparatus, storage medium, and terminal WO2022127476A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011461607.1 2020-12-14
CN202011461607.1A CN112235002B (en) 2020-12-14 2020-12-14 Harmonic elimination method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
WO2022127476A1 true WO2022127476A1 (en) 2022-06-23

Family

ID=74124631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130950 WO2022127476A1 (en) 2020-12-14 2021-11-16 Harmonic elimination method and apparatus, storage medium, and terminal

Country Status (2)

Country Link
CN (1) CN112235002B (en)
WO (1) WO2022127476A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235002B (en) * 2020-12-14 2021-03-09 展讯通信(上海)有限公司 Harmonic elimination method and device, storage medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288232A1 (en) * 2006-04-04 2007-12-13 Samsung Electronics Co., Ltd. Method and apparatus for estimating harmonic information, spectral envelope information, and degree of voicing of speech signal
CN105264781A (en) * 2013-03-15 2016-01-20 阿斯阿科斯有限公司 Processing interference in a wireless network
CN107222226A (en) * 2016-03-21 2017-09-29 华为技术有限公司 The method and apparatus of harmonic carcellation interference
CN108345039A (en) * 2018-01-12 2018-07-31 吉林大学 A method of eliminating adjacent frequency harmonic wave interference in ground nuclear magnetic resonance data
CN110931035A (en) * 2019-12-09 2020-03-27 广州酷狗计算机科技有限公司 Audio processing method, device, equipment and storage medium
CN112235002A (en) * 2020-12-14 2021-01-15 展讯通信(上海)有限公司 Harmonic elimination method and device, storage medium and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007049547A1 (en) * 2005-10-24 2007-05-03 Matsushita Electric Industrial Co., Ltd. Interfering signal characterizing quantity storing method and device, interfering signal characterizing quantity acquiring method and device, and interfering signal suppressing method and device
WO2011024227A1 (en) * 2009-08-28 2011-03-03 三菱電機株式会社 Radio receiver
GB2502281B (en) * 2012-05-21 2014-11-26 Aceaxis Ltd Detection of intermodulation products
CN104868956B (en) * 2015-04-14 2017-12-26 陈景竑 Data communications method based on sound wave channel
CN111443362B (en) * 2018-12-29 2022-04-01 上海司南卫星导航技术股份有限公司 Receiving device, terminal device and computer readable storage medium
DE102019135901A1 (en) * 2019-02-25 2020-08-27 Samsung Electronics Co., Ltd. WIRELESS COMMUNICATION DEVICE AND CHANNEL ESTIMATE METHOD OF IT

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288232A1 (en) * 2006-04-04 2007-12-13 Samsung Electronics Co., Ltd. Method and apparatus for estimating harmonic information, spectral envelope information, and degree of voicing of speech signal
CN105264781A (en) * 2013-03-15 2016-01-20 阿斯阿科斯有限公司 Processing interference in a wireless network
CN107222226A (en) * 2016-03-21 2017-09-29 华为技术有限公司 The method and apparatus of harmonic carcellation interference
CN108345039A (en) * 2018-01-12 2018-07-31 吉林大学 A method of eliminating adjacent frequency harmonic wave interference in ground nuclear magnetic resonance data
CN110931035A (en) * 2019-12-09 2020-03-27 广州酷狗计算机科技有限公司 Audio processing method, device, equipment and storage medium
CN112235002A (en) * 2020-12-14 2021-01-15 展讯通信(上海)有限公司 Harmonic elimination method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN112235002B (en) 2021-03-09
CN112235002A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
US9791834B1 (en) Fast digital to time converter linearity calibration to improve clock jitter performance
WO2020037974A1 (en) Signal capturing method and apparatus
WO2022127476A1 (en) Harmonic elimination method and apparatus, storage medium, and terminal
CN113050030B (en) Positioning method and device based on angle of arrival ranging
CN111628946A (en) Channel estimation method and receiving equipment
CN110648680A (en) Voice data processing method and device, electronic equipment and readable storage medium
CN111404853B (en) Carrier frequency offset estimation method, device and computer storage medium
WO2022161330A1 (en) Data storage method and apparatus, storage medium, user equipment, and network side device
WO2013109620A1 (en) Intercell frequency offset compensation for frequency domain interference cancellation and equalization for downlink cellular systems
US9002311B2 (en) Frequency domain interference cancellation and equalization for downlink cellular systems
JP6286592B2 (en) Device and method for calculating channel estimates
CN111198673B (en) Word length adjusting method, device, equipment and storage medium
CN114755629B (en) Method and device for improving indoor positioning accuracy
CN112822139B (en) Data input and data conversion method and device
WO2017080359A1 (en) Interference cancellation method and apparatus, and base station
CN109074814A (en) A kind of noise detecting method and terminal device
CN113419210A (en) Data processing method and device, electronic equipment and storage medium
CN113359161A (en) High dynamic satellite communication signal capturing method, device, medium and computing equipment
CN110970008A (en) Embedded sound mixing method and device, embedded equipment and storage medium
CN114514525B (en) Method for estimating carrier frequency, initial phase and phase noise and related equipment
CN112769725B (en) Costas sequence time-frequency joint synchronization method based on full-phase spectrum correction
CN116455719B (en) Frequency offset estimation method, device, communication equipment and readable storage medium
CN115396055B (en) Channel prediction method and device
US9148319B2 (en) Dynamic task scheduling for multi-receive-path equalizer
CN115967459B (en) Method, apparatus, device, medium and program product for processing phase random sequence

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21905405

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21905405

Country of ref document: EP

Kind code of ref document: A1