[go: up one dir, main page]

CN116614146A - Device, method and chip for detecting and suppressing power line communication narrowband interference - Google Patents

Device, method and chip for detecting and suppressing power line communication narrowband interference Download PDF

Info

Publication number
CN116614146A
CN116614146A CN202310764720.4A CN202310764720A CN116614146A CN 116614146 A CN116614146 A CN 116614146A CN 202310764720 A CN202310764720 A CN 202310764720A CN 116614146 A CN116614146 A CN 116614146A
Authority
CN
China
Prior art keywords
narrowband
detection
target
interference
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310764720.4A
Other languages
Chinese (zh)
Inventor
周春良
王连成
迟海明
刘斌
陈永利
甘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202310764720.4A priority Critical patent/CN116614146A/en
Publication of CN116614146A publication Critical patent/CN116614146A/en
Pending legal-status Critical Current

Links

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
    • H04B1/1036Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal with automatic suppression of narrow band noise or interference, e.g. by using tuneable notch filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Noise Elimination (AREA)

Abstract

The embodiment of the disclosure discloses a device, a method and a chip for detecting and suppressing narrowband interference of power line communication, and relates to the technical field of power line communication. The device comprises: the narrow-band detection and suppression unit acquires OFDM signals and synchronous state information; when the current state of the channel is determined to be an idle state based on the synchronous state information, detecting an OFDM signal in a parallel mode to obtain and send a first detection result to a main control unit; responding to the working mode switched to the serial mode, carrying out narrow-band interference suppression and detecting the suppressed OFDM signal to obtain and send a second detection result to the main control unit; the main control unit receives the first detection result and the second detection result; switching the narrowband detection and suppression unit working mode into a series mode when the narrowband interference is determined to exist based on the first detection result; and determining whether the narrowband interference disappears based on the second detection result. Accurate detection and suppression of narrowband interference is achieved through a simple device with low performance requirements.

Description

电力线通信窄带干扰检测与抑制装置、方法及芯片Power line communication narrowband interference detection and suppression device, method and chip

技术领域technical field

本公开涉及电力线通信技术领域,具体涉及一种电力线通信窄带干扰检测与抑制装置、方法及芯片。The present disclosure relates to the technical field of power line communication, in particular to a power line communication narrowband interference detection and suppression device, method and chip.

背景技术Background technique

电力线通信(power line communication,PLC)是指利用电力线传输数据和媒体信号的一种通信方式,因其建设成本低、覆盖范围广等优势,在用电信息采集系统中得到了大范围的推广和应用。电力线主要是为输送电能设计的,在其作为通信信道时,在低压电力线信道中普遍存在严重的窄带干扰。如果窄带干扰强度大、频点多,将会严重影响电力线通信性能,故需要对电力线信道中的窄带干扰进行抑制。Power line communication (power line communication, PLC) refers to a communication method that uses power lines to transmit data and media signals. application. The power line is mainly designed for the transmission of electric energy. When it is used as a communication channel, severe narrowband interference generally exists in the low-voltage power line channel. If the narrowband interference is strong and has many frequency points, it will seriously affect the power line communication performance, so it is necessary to suppress the narrowband interference in the power line channel.

目前,在对电力线信道中的窄带干扰进行检测与抑制时,通常对接收的信号进行时频变换或利用信道频域响应,然后在频域上根据各频点的平均功率及峰值功率,判断是否存在窄带干扰。若存在窄带干扰,则在频域对应的窄带干扰点进行限幅和置零操作,或者在时域配置相应的陷波器。然而,上述方式在利用时频变换进行窄带检测与干扰时,若通过硬件装置实现,则所需的硬件装置规模大且复杂,而若通过软件方式实现,则对中央处理器(central processing unit,CPU)的性能要求较高。而在利用信道频域响应来进行窄带干扰检测与抑制时,由于电力线信道具有较强的频率选择性,在接收信号时时频域窄带的判决阈值难以选取,存在一定的检测误差概率。At present, when detecting and suppressing narrowband interference in power line channels, time-frequency transformation is usually performed on the received signal or channel frequency domain response is used, and then in the frequency domain, it is judged whether the There is narrowband interference. If there is narrow-band interference, perform clipping and zeroing operations at the corresponding narrow-band interference point in the frequency domain, or configure a corresponding notch filter in the time domain. However, when the above-mentioned method utilizes time-frequency conversion to perform narrowband detection and interference, if it is realized by hardware devices, the required hardware device scale is large and complicated; CPU) has high performance requirements. When using the frequency domain response of the channel to detect and suppress narrowband interference, due to the strong frequency selectivity of the power line channel, it is difficult to select the judgment threshold of the time-frequency domain narrowband when receiving signals, and there is a certain probability of detection error.

因此,如何以低性能要求的简单装置实现对窄带干扰的准确检测与抑制,成为一项亟待解决的技术问题。Therefore, how to accurately detect and suppress narrowband interference with a simple device with low performance requirements has become an urgent technical problem to be solved.

发明内容Contents of the invention

为了解决相关技术中的问题,本公开实施例提供一种电力线通信窄带干扰检测与抑制装置、方法及芯片。In order to solve problems in related technologies, embodiments of the present disclosure provide a power line communication narrowband interference detection and suppression device, method and chip.

第一方面,本公开实施例中提供了一种电力线通信窄带干扰检测与抑制装置。In a first aspect, an embodiment of the present disclosure provides a device for detecting and suppressing narrowband interference in power line communication.

具体地,所述电力线通信窄带干扰检测与抑制装置,包括:窄带检测与抑制单元和主控单元;Specifically, the narrowband interference detection and suppression device for power line communication includes: a narrowband detection and suppression unit and a main control unit;

所述窄带检测与抑制单元,用于获取正交频分复用技术(orthogonal frequencydivision multiplexing,OFDM)信号和同步状态信息;基于所述同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对所述OFDM信号进行检测,得到第一检测结果;向所述主控单元发送所述第一检测结果;以及响应于工作模式被切换为串联模式,在所述串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果;向所述主控单元发送所述第二检测结果;The narrowband detection and suppression unit is used to obtain an orthogonal frequency division multiplexing (orthogonal frequency division multiplexing, OFDM) signal and synchronization state information; when the current state of the channel is determined to be an idle state based on the synchronization state information, in parallel mode Next, detect the OFDM signal to obtain a first detection result; send the first detection result to the main control unit; and perform narrowband interference suppression in the series mode in response to the working mode being switched to the series mode , and detecting the suppressed OFDM signal to obtain a second detection result; sending the second detection result to the main control unit;

所述主控单元,用于接收所述第一检测结果;基于所述第一检测结果确定是否存在窄带干扰;响应于存在窄带干扰,将所述窄带检测与抑制单元的所述工作模式切换为串联模式;以及接收所述第二检测结果;基于所述第二检测结果确定抑制后的窄带干扰是否消失。The main control unit is configured to receive the first detection result; determine whether there is narrowband interference based on the first detection result; and switch the working mode of the narrowband detection and suppression unit to series mode; and receiving the second detection result; determining whether the suppressed narrowband interference disappears based on the second detection result.

在本公开的一种实现方式中,所述主控单元,还用于基于所述窄带检测与抑制单元的工作频段为所述窄带检测与抑制单元配置多个检测参数组,所述检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个所述窄带中心频点互不相同,且多个所述窄带中心频点覆盖所述工作频段。In an implementation manner of the present disclosure, the main control unit is further configured to configure multiple detection parameter groups for the narrowband detection and suppression unit based on the working frequency band of the narrowband detection and suppression unit, and the detection parameter groups It includes a narrowband central frequency point, a notch bandwidth, and a power calculation length; wherein, the multiple narrowband central frequency points are different from each other, and the multiple narrowband central frequency points cover the working frequency band.

在本公开的一种实现方式中,所述窄带检测与抑制单元包括至少一个窄带组件,所述窄带组件包括陷波器和功率计算单元;In an implementation manner of the present disclosure, the narrowband detection and suppression unit includes at least one narrowband component, and the narrowband component includes a wave trap and a power calculation unit;

在所述并联模式下,所述窄带组件中的所述陷波器的第一端与所述窄带检测与抑制单元的输入端连接,所述陷波器的第二端与所述窄带组件中的所述功率计算单元的第二端连接,所述功率计算单元的第一端与所述陷波器的第一端连接;In the parallel connection mode, the first end of the wave notch filter in the narrowband component is connected to the input end of the narrowband detection and suppression unit, and the second end of the wave notch filter is connected to the input end of the narrowband component. The second end of the power calculation unit is connected, and the first end of the power calculation unit is connected to the first end of the wave trap;

在所述串联模式下,所述窄带组件中的所述陷波器的第一端分别与第一输入端和所述窄带组件中的所述功率计算单元的第一端连接,所述陷波器的第二端分别与第二输出端和所述功率计算单元的第二端连接。In the series mode, the first end of the wave notch filter in the narrowband component is respectively connected to the first input end and the first end of the power calculation unit in the narrowband component, and the notch The second terminal of the device is respectively connected with the second output terminal and the second terminal of the power calculation unit.

在本公开的一种实现方式中,所述窄带检测与抑制单元包括一个窄带组件时,所述第一输入端为所述窄带检测与抑制单元的输入端,所述第二输出端为所述窄带检测与抑制单元的输出端。In an implementation manner of the present disclosure, when the narrowband detection and suppression unit includes a narrowband component, the first input terminal is the input terminal of the narrowband detection and suppression unit, and the second output terminal is the The output terminal of the narrowband detection and suppression unit.

在本公开的一种实现方式中,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的首端时,所述第一输入端为所述窄带检测与抑制单元的输入端,所述第二输出端为第一窄带组件中第一陷波器的第一端,或者所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第一窄带组件位于所述窄带组件之后,且所述第一窄带组件与所述窄带组件之间无其它窄带组件。In an implementation manner of the present disclosure, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located at the head end of the plurality of narrowband components, the first input end is the narrowband detection and the input end of the suppression unit, the second output end is the first end of the first notch filter in the first narrowband component, or the second output end is the output end of the narrowband detection and suppression unit; wherein, The first narrow belt component is located behind the narrow belt component, and there is no other narrow belt component between the first narrow belt component and the narrow belt component.

在本公开的一种实现方式中,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的中间时,所述第一输入端为第二窄带组件中第二陷波器的第二端,或者所述第一输入端为所述窄带检测与抑制单元的输入端;所述第二输出端为第一窄带组件中第一陷波器的第一端,或者所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第二窄带组件位于所述窄带组件之前,所述第一窄带组件位于所述窄带组件之后,且所述第一窄带组件与所述窄带组件之间以及所述第二窄带组件与所述窄带组件之间无其它窄带组件。In an implementation manner of the present disclosure, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located in the middle of the plurality of narrowband components, the first input end is in the second narrowband component The second end of the second notch filter, or the first input end is the input end of the narrowband detection and suppression unit; the second output end is the first end of the first notch filter in the first narrowband component , or the second output terminal is the output terminal of the narrowband detection and suppression unit; wherein, the second narrowband component is located before the narrowband component, the first narrowband component is located after the narrowband component, and the There are no other narrow belt components between the first narrow belt component and the narrow belt component and between the second narrow belt component and the narrow belt component.

在本公开的一种实现方式中,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的末端时,所述第一输入端为第二窄带组件中第二陷波器的第二端,或者所述第一输入端为所述窄带检测与抑制单元的输入端;所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第二窄带组件位于所述窄带组件之前,且所述第二窄带组件与所述窄带组件之间无其它窄带组件。In an implementation manner of the present disclosure, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located at the end of the plurality of narrowband components, the first input end is in the second narrowband component The second end of the second notch filter, or the first input end is the input end of the narrowband detection and suppression unit; the second output end is the output end of the narrowband detection and suppression unit; wherein, the The second narrow belt component is located before the narrow belt component, and there is no other narrow belt component between the second narrow belt component and the narrow belt component.

在本公开的一种实现方式中,所述窄带组件,用于In an implementation manner of the present disclosure, the narrowband assembly is used for

在并联模式下获取至少一个所述检测参数组;acquiring at least one detection parameter set in a parallel mode;

基于所述检测参数组确定接收的OFDM信号输入所述窄带组件中陷波器的第一端时对应的第一信号功率和所述OFDM信号输出所述陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the wave notch filter in the narrowband component and the corresponding first signal power when the OFDM signal is output to the second end of the wave notch filter based on the detection parameter group Two signal power;

基于所述第一信号功率和所述第二信号功率生成所述第一检测结果;generating the first detection result based on the first signal power and the second signal power;

向所述主控单元发送至少一个所述第一检测结果。Sending at least one of the first detection results to the main control unit.

在本公开的一种实现方式中,所述主控单元,用于In an implementation manner of the present disclosure, the main control unit is configured to

接收来自至少一个所述窄带组件的多个所述第一检测结果;receiving a plurality of said first detection results from at least one of said narrowband components;

根据多个所述第一检测结果,基于预设的第一公式确定多个干扰信噪比(signalto interference plus noise ratio,SINR);determining a plurality of interference signal-to-noise ratios (signalto interference plus noise ratio, SINR) based on a preset first formula according to the plurality of first detection results;

从所述多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from the plurality of interference signal-to-noise ratios;

响应于所述目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or,

响应于所述目标干扰信噪比大于或等于所述干扰信噪比阈值,确定预设数量的所述目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio;

响应于所述标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists.

在本公开的一种实现方式中,所述主控单元,用于In an implementation manner of the present disclosure, the main control unit is configured to

响应于存在窄带干扰,确定数值小于所述干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者,从预设数量的所述目标干扰信噪比中确定两个数值最小的目标干扰信噪比,并确定与数值最小的所述目标干扰信噪比对应的目标窄带中心频点;In response to the existence of narrowband interference, determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the minimum of two values from the preset number of the target interference signal-to-noise ratio The target interference signal-to-noise ratio, and determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value;

基于所述目标窄带中心频点的数量,从所述至少一个窄带组件中确定目标窄带组件,所述目标窄带组件的数量小于或等于所述目标窄带中心频点的数量、且所述目标窄带组件位于所述至少一个窄带组件的前端;Determine a target narrowband component from the at least one narrowband component based on the number of target narrowband center frequency points, the number of the target narrowband component is less than or equal to the number of target narrowband center frequency points, and the target narrowband component at the front end of the at least one narrowband assembly;

将所述目标窄带组件的工作模式切换为串联模式。Switch the working mode of the target narrowband component to a serial mode.

在本公开的一种实现方式中,所述目标窄带组件,用于In an implementation manner of the present disclosure, the target narrowband component is used to

在串联模式下确定在所述目标窄带中心频点下接收的OFDM信号输入所述目标窄带组件中目标陷波器的第一端时对应的第一目标信号功率和所述OFDM信号输出所述目标陷波器的第二端时对应的第二目标信号功率;Determine the corresponding first target signal power when the OFDM signal received at the target narrowband central frequency point is input to the first end of the target notch filter in the target narrowband component in the series mode and the OFDM signal is output to the target The corresponding second target signal power at the second end of the notch filter;

基于所述第一目标信号功率和所述第二目标信号功率生成第二检测结果;generating a second detection result based on the first target signal power and the second target signal power;

向所述主控单元发送所述第二检测结果。Sending the second detection result to the main control unit.

在本公开的一种实现方式中,所述主控单元,用于In an implementation manner of the present disclosure, the main control unit is configured to

接收所述目标窄带组件的所述第二检测结果;receiving the second detection result of the target narrowband component;

基于所述第二检测结果和所述第一公式确定目标干扰信噪比;determining a target interference signal-to-noise ratio based on the second detection result and the first formula;

响应于所述目标干扰信噪比大于所述干扰信噪比阈值和预设的干扰信噪比余量之和,确定在所述目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, determine that the narrowband interference at the target narrowband center frequency point disappears.

在本公开的一种实现方式中,所述主控单元,还用于In an implementation manner of the present disclosure, the main control unit is also used to

响应于窄带干扰消失,将发送所述第二检测结果的所述目标窄带组件的工作模式切换为并联模式。In response to the narrowband interference disappearing, switch the working mode of the target narrowband component that sends the second detection result to a parallel mode.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

发送单元,用于基于原始数据生成并发送OFDM信号。a sending unit, configured to generate and send an OFDM signal based on the original data.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

模拟前端单元,位于所述发送单元之后,用于对接收到的所述OFDM信号进行信号放大、滤波和模/数转换处理。An analog front-end unit, located behind the sending unit, is used to perform signal amplification, filtering and analog-to-digital conversion processing on the received OFDM signal.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

自动增益控制单元,位于所述模拟前端单元之后,用于调节所述模拟前端单元的增益,以使输入所述自动增益控制单元的OFDM信号的幅度落在预设解调范围内。An automatic gain control unit, located behind the analog front-end unit, is used to adjust the gain of the analog front-end unit, so that the amplitude of the OFDM signal input to the automatic gain control unit falls within a preset demodulation range.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

数字带通滤波器,位于所述自动增益控制单元之后,用于确定接收到的OFDM信号输入数字带通滤波器时对应的第一功率和该OFDM信号输出数字带通滤波器时对应的第二功率;A digital band-pass filter, located after the automatic gain control unit, is used to determine the corresponding first power when the received OFDM signal is input to the digital band-pass filter and the corresponding second power when the OFDM signal is output to the digital band-pass filter. power;

响应于第一功率和第二功率的差值大于或等于预设功率差阈值,向自动增益控制单元发送第一模式切换指令,该第一模式切换指令用于指示将工作模式切换为慢速模式。In response to the difference between the first power and the second power being greater than or equal to a preset power difference threshold, a first mode switching instruction is sent to the automatic gain control unit, and the first mode switching instruction is used to instruct switching the working mode to the slow mode .

在本公开的一种实现方式中,所述窄带检测与抑制单元,还用于响应于工作模式被切换为串联模式,向所述自动增益控制单元发送第一模式切换指令,所述第一模式切换指令用于指示将工作模式切换为慢速模式;In an implementation manner of the present disclosure, the narrowband detection and suppression unit is further configured to send a first mode switching instruction to the automatic gain control unit in response to the working mode being switched to the series mode, and the first mode The switch command is used to indicate to switch the working mode to the slow mode;

响应于工作模式未被切换为串联模式,向所述自动增益控制单元发送第二模式切换指令,所述第二模式切换指令用于指示将工作模式切换为正常模式。In response to the working mode not being switched to the series mode, a second mode switching instruction is sent to the automatic gain control unit, and the second mode switching instruction is used to instruct switching the working mode to the normal mode.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

同步单元,位于所述窄带检测与抑制单元之后,用于基于对接收的OFDM信号的分析确定所述同步单元当前的同步状态;基于当前的所述同步状态向所述窄带检测与抑制单元发送所述同步状态信息。A synchronization unit, located after the narrowband detection and suppression unit, is configured to determine the current synchronization state of the synchronization unit based on the analysis of the received OFDM signal; send the narrowband detection and suppression unit based on the current synchronization state Synchronization status information described above.

在本公开的一种实现方式中,所述同步单元,还用于响应于所述同步状态为初始帧同步状态,向所述自动增益控制单元发送第三模式切换指令,所述第三模式切换指令用于指示将工作模式切换为停止模式。In an implementation manner of the present disclosure, the synchronization unit is further configured to send a third mode switching instruction to the automatic gain control unit in response to the synchronization state being the initial frame synchronization state, and the third mode switching The instruction is used to instruct to switch the working mode to the stop mode.

在本公开的一种实现方式中,所述装置还包括:In an implementation of the present disclosure, the device further includes:

解调解码单元,位于所述同步单元之后,用于对接收的OFDM信号进行解调和解码,以确定出所述OFDM信号中携带的所述原始数据。The demodulation and decoding unit, located after the synchronization unit, is used to demodulate and decode the received OFDM signal, so as to determine the original data carried in the OFDM signal.

第二方面,本公开实施例中提供了一种电力线通信窄带干扰检测与抑制方法。In a second aspect, embodiments of the present disclosure provide a method for detecting and suppressing narrowband interference in power line communication.

具体地,所述方法应用于包括至少一个窄带组件的窄带检测与抑制单元,所述方法包括:Specifically, the method is applied to a narrowband detection and suppression unit including at least one narrowband component, and the method includes:

获取OFDM信号和同步状态信息;Obtain OFDM signal and synchronization status information;

基于所述同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对所述OFDM信号进行检测,得到第一检测结果;When it is determined that the current state of the channel is an idle state based on the synchronization state information, the OFDM signal is detected in parallel mode to obtain a first detection result;

向主控单元发送所述第一检测结果;sending the first detection result to the main control unit;

响应于所述窄带检测与抑制单元的工作模式被切换为串联模式,在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果;In response to switching the working mode of the narrowband detection and suppression unit to a series mode, narrowband interference suppression is performed in the series mode, and the suppressed OFDM signal is detected to obtain a second detection result;

向主控单元发送所述第二检测结果。Sending the second detection result to the main control unit.

在本公开的一种实现方式中,所述在并联模式下对所述OFDM信号进行检测,得到第一检测结果,包括:In an implementation manner of the present disclosure, the detection of the OFDM signal in parallel mode to obtain a first detection result includes:

在并联模式下获取多个检测参数组;Acquire multiple detection parameter groups in parallel mode;

基于所述检测参数组确定接收的OFDM信号输入所述窄带组件中陷波器的第一端时对应的第一信号功率和所述OFDM信号输出所述陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the wave notch filter in the narrowband component and the corresponding first signal power when the OFDM signal is output to the second end of the wave notch filter based on the detection parameter group Two signal power;

基于所述第一信号功率和所述第二信号功率生成所述第一检测结果;generating the first detection result based on the first signal power and the second signal power;

所述向主控单元发送所述第一检测结果,包括:The sending the first detection result to the main control unit includes:

向所述主控单元发送多个所述第一检测结果。Sending multiple first detection results to the main control unit.

在本公开的一种实现方式中,所述对抑制后的OFDM信号进行检测,得到第二检测结果,包括:In an implementation manner of the present disclosure, the detection of the suppressed OFDM signal to obtain a second detection result includes:

确定在目标窄带中心频点下接收的OFDM信号输入所述至少一个窄带组件中目标窄带组件的目标陷波器的第一端时对应的第一目标信号功率和所述OFDM信号输出所述目标陷波器的第二端时对应的第二目标信号功率,所述目标窄带组件为所述至少一个窄带组件中工作模式被切换为串联模式的窄带组件,所述目标窄带中心频点为所述主控单元基于所述第一检测结果确定的存在窄带干扰的窄带中心频点;determining the corresponding first target signal power when the OFDM signal received at the target narrowband center frequency is input to the first end of the target notch filter of the target narrowband component in the at least one narrowband component and the OFDM signal outputting the target notch The second terminal of the oscilloscope is the corresponding second target signal power, the target narrowband component is the narrowband component whose working mode is switched to series mode in the at least one narrowband component, and the target narrowband center frequency point is the main The control unit determines the narrowband central frequency point where narrowband interference exists based on the first detection result;

基于所述第一目标信号功率和所述第二目标信号功率生成所述第二检测结果。The second detection result is generated based on the first target signal power and the second target signal power.

第三方面,本公开实施例中提供了一种电力线通信窄带干扰检测与抑制方法。In a third aspect, embodiments of the present disclosure provide a method for detecting and suppressing narrowband interference in power line communication.

具体地,所述方法应用于主控单元,所述方法包括:Specifically, the method is applied to the main control unit, and the method includes:

接收来自窄带检测与抑制单元的第一检测结果,并基于所述第一检测结果确定是否存在窄带干扰;receiving a first detection result from the narrowband detection and suppression unit, and determining whether there is narrowband interference based on the first detection result;

响应于存在窄带干扰,将所述窄带检测与抑制单元的工作模式切换为串联模式;In response to the presence of narrowband interference, switching the working mode of the narrowband detection and suppression unit to a series mode;

接收来自所述窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失;receiving a second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference disappears based on the second detection result;

响应于所述窄带干扰消失,将所述窄带检测与抑制单元的工作模式切换为并联模式。In response to the disappearance of the narrowband interference, the working mode of the narrowband detection and suppression unit is switched to a parallel mode.

在本公开的一种实现方式中,所述接收来自窄带检测与抑制单元的第一检测结果,并基于所述第一检测结果确定是否存在窄带干扰,包括:In an implementation manner of the present disclosure, the receiving the first detection result from the narrowband detection and suppression unit, and determining whether there is narrowband interference based on the first detection result includes:

接收来自所述窄带检测与抑制单元中至少一个窄带组件的多个所述第一检测结果;receiving a plurality of first detection results from at least one narrowband component in the narrowband detection and suppression unit;

根据多个所述第一检测结果,基于预设的第一公式确定多个干扰信噪比;Determining multiple interference signal-to-noise ratios based on a preset first formula according to multiple first detection results;

从所述多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from the plurality of interference signal-to-noise ratios;

响应于所述目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or,

响应于所述目标干扰信噪比大于或等于所述干扰信噪比阈值,确定预设数量的所述目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio;

响应于标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists.

在本公开的一种实现方式中,所述响应于存在窄带干扰,将窄带检测与抑制单元的工作模式切换为串联模式,包括:In an implementation manner of the present disclosure, the switching the working mode of the narrowband detection and suppression unit to the series mode in response to the presence of narrowband interference includes:

响应于存在窄带干扰,确定数值小于所述干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者从预设数量的所述目标干扰信噪比中确定两个数值最小的目标干扰信噪比,并确定与数值最小的所述目标干扰信噪比对应的目标窄带中心频点;In response to the presence of narrowband interference, determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the two minimum values from the preset number of the target interference signal-to-noise ratio Target interference signal-to-noise ratio, and determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value;

基于所述目标窄带中心频点的数量,从所述至少一个窄带组件中确定目标窄带组件,所述目标窄带组件的数量小于或等于所述目标窄带中心频点的数量、且所述目标窄带组件位于所述至少一个窄带组件的前端;Determine a target narrowband component from the at least one narrowband component based on the number of target narrowband center frequency points, the number of the target narrowband component is less than or equal to the number of target narrowband center frequency points, and the target narrowband component at the front end of the at least one narrowband assembly;

将所述窄带检测与抑制单元中所述目标窄带组件的工作模式切换为串联模式。Switching the working mode of the target narrowband component in the narrowband detection and suppression unit to a series mode.

在本公开的一种实现方式中,所述接收来自所述窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失,包括:In an implementation manner of the present disclosure, the receiving the second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference disappears based on the second detection result includes:

接收来自所述窄带检测与抑制单元中所述目标窄带组件的第二检测结果;receiving a second detection result from the target narrowband component in the narrowband detection and suppression unit;

基于所述第二检测结果和所述第一公式确定目标干扰信噪比;determining a target interference signal-to-noise ratio based on the second detection result and the first formula;

响应于所述目标干扰信噪比大于所述干扰信噪比阈值和预设的干扰信噪比余量之和,确定在所述目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, determine that the narrowband interference at the target narrowband center frequency point disappears.

在本公开的一种实现方式中,所述响应于所述窄带干扰消失,将所述窄带检测与抑制单元的工作模式切换为并联模式,包括:In an implementation manner of the present disclosure, the switching the working mode of the narrowband detection and suppression unit to a parallel mode in response to the disappearance of the narrowband interference includes:

响应于窄带干扰消失,将发送所述第二检测结果的目标窄带组件的工作模式切换为并联模式。In response to the narrowband interference disappearing, switch the working mode of the target narrowband component sending the second detection result to a parallel mode.

在本公开的一种实现方式中,所述方法还包括:In an implementation of the present disclosure, the method further includes:

基于所述窄带检测与抑制单元的工作频段为所述窄带检测与抑制单元配置多个检测参数组,所述检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个所述窄带中心频点互不相同,且多个所述窄带中心频点覆盖所述工作频段。Configure multiple detection parameter groups for the narrowband detection and suppression unit based on the operating frequency band of the narrowband detection and suppression unit, the detection parameter groups include narrowband center frequency points, notch bandwidths, and power calculation lengths; The narrowband central frequency points are different from each other, and multiple narrowband central frequency points cover the working frequency band.

第四方面,本公开实施例中提供了一种芯片,包括:至少一个处理器,用于实现上述第二方面及第二方面任一种实现方式、或第三方面及第三方面任一种实现方式中所涉及的功能。In a fourth aspect, an embodiment of the present disclosure provides a chip, including: at least one processor, configured to implement any implementation manner of the second aspect and the second aspect, or any one of the third aspect and the third aspect The functions involved in the implementation.

本公开实施例提供的技术效果可以包括以下有益效果:The technical effects provided by the embodiments of the present disclosure may include the following beneficial effects:

上述技术方案提供了一种电力线通信窄带干扰检测与抑制装置,该装置包括窄带检测与抑制单元和主控单元,该窄带检测与抑制单元可获取OFDM信号和同步状态信息,在基于同步状态信息确定出信道当前的状态为空闲状态时,则在并联模式下对OFDM信号进行检测以得到第一检测结果,并将该第一检测结果发送给主控单元。主控单元可接收第一检测结果,并基于第一检测结果确定是否存在窄带干扰,若存在窄带干扰,则将窄带检测与抑制单元的工作模式切换为串联模式。窄带检测与抑制单元在判断出工作模式被切换为串联模式时,说明存在窄带干扰,则其在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号继续检测以得到第二检测结果,并将该第二检测结果发送给主控单元。主控单元可接收第二检测结果,从而基于第二检测结果判断抑制后的窄带干扰是否消失。由于本公开对窄带检测与抑制采用同一套硬件装置,硬件装置的实现就比较简单,且本公开在信道空闲时对窄带干扰进行检测,利用了电力线信道中窄带干扰慢遍的特点,避免了电力线信道频率选择性带来的检测误差。此外,由于主控单元只对窄带干扰进行基本的判决,对主控单元的性能要求也较低。因此,以低性能要求的简单装置实现了对窄带干扰的准确检测与抑制。The above technical solution provides a power line communication narrowband interference detection and suppression device, the device includes a narrowband detection and suppression unit and a main control unit, the narrowband detection and suppression unit can obtain OFDM signals and synchronization state information, and determine based on the synchronization state information When the current state of the outgoing channel is the idle state, the OFDM signal is detected in parallel mode to obtain a first detection result, and the first detection result is sent to the main control unit. The main control unit can receive the first detection result, and determine whether there is narrow-band interference based on the first detection result, and switch the working mode of the narrow-band detection and suppression unit to the series mode if there is narrow-band interference. When the narrowband detection and suppression unit determines that the working mode is switched to the series mode, it indicates that there is narrowband interference, then it performs narrowband interference suppression in the series mode, and continues to detect the suppressed OFDM signal to obtain the second detection result, and Send the second detection result to the main control unit. The main control unit may receive the second detection result, so as to determine whether the suppressed narrowband interference disappears based on the second detection result. Since the present disclosure uses the same set of hardware devices for narrowband detection and suppression, the implementation of the hardware device is relatively simple, and the present disclosure detects narrowband interference when the channel is idle, and utilizes the characteristics of slow passage of narrowband interference in the power line channel to avoid power line interference. Detection error caused by channel frequency selectivity. In addition, since the main control unit only makes basic judgments on narrowband interference, the performance requirements for the main control unit are relatively low. Therefore, accurate detection and suppression of narrowband interference is realized with a simple device with low performance requirements.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

结合附图,通过以下非限制性实施方式的详细描述,本公开的其它特征、目的和优点将变得更加明显。在附图中:Other features, objects and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the attached picture:

图1示出根据本公开一实施例的电力线通信窄带干扰检测与抑制装置的结构框图。Fig. 1 shows a structural block diagram of a narrowband interference detection and suppression device for power line communication according to an embodiment of the present disclosure.

图2示出根据本公开一实施例的在并联模式下窄带组件的结构图。Fig. 2 shows a structural diagram of a narrowband component in a parallel mode according to an embodiment of the present disclosure.

图3示出根据本公开一实施例的在串联模式下窄带组件的结构图。FIG. 3 shows a structural diagram of a narrowband component in series mode according to an embodiment of the present disclosure.

图4示出根据本公开一实施例的电力线通信窄带干扰检测与抑制装置的另一结构框图。Fig. 4 shows another structural block diagram of a narrowband interference detection and suppression device for power line communication according to an embodiment of the present disclosure.

图5示出根据本公开一实施方式的电力线通信窄带干扰检测与抑制方法的流程图。Fig. 5 shows a flow chart of a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of the present disclosure.

图6示出根据本公开一实施方式的电力线通信窄带干扰检测与抑制方法的另一流程图。Fig. 6 shows another flow chart of a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of the present disclosure.

具体实施方式Detailed ways

下文中,将参考附图详细描述本公开的示例性实施例,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施例无关的部分。Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily realize them. Also, for clarity, parts not related to describing the exemplary embodiments are omitted in the drawings.

在本公开中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的特征、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他特征、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude one or a plurality of other features, numbers, steps, acts, parts, parts or combinations thereof exist or are added.

另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

上文提及,目前,在对电力线信道中的窄带干扰进行检测与抑制时,通常对接收的信号进行时频变换或利用信道频域响应,然后在频域上根据各频点的平均功率及峰值功率,判断是否存在窄带干扰。若存在窄带干扰,则在频域对应的窄带干扰点进行限幅和置零操作,或者在时域配置相应的陷波器。然而,上述方式在利用时频变换进行窄带检测与干扰时,若通过硬件装置实现,则所需的硬件装置规模大且复杂,而若通过软件方式实现,则对CPU的性能要求较高。而在利用信道频域响应来进行窄带干扰检测与抑制时,由于电力线信道具有较强的频率选择性,在接收信号时时频域窄带的判决阈值难以选取,存在一定的检测误差概率。因此,如何以低性能要求的简单装置实现对窄带干扰的准确检测与抑制,成为一项亟待解决的技术问题。As mentioned above, at present, when detecting and suppressing narrowband interference in power line channels, time-frequency conversion is usually performed on the received signal or the frequency domain response of the channel is used, and then in the frequency domain according to the average power of each frequency point and Peak power, to determine whether there is narrow-band interference. If there is narrow-band interference, perform clipping and zeroing operations at the corresponding narrow-band interference point in the frequency domain, or configure a corresponding notch filter in the time domain. However, when the above method uses time-frequency transformation to perform narrowband detection and interference, if it is implemented by hardware devices, the required hardware device scale is large and complex, and if it is implemented by software, it requires high CPU performance. When using the frequency domain response of the channel to detect and suppress narrowband interference, due to the strong frequency selectivity of the power line channel, it is difficult to select the judgment threshold of the time-frequency domain narrowband when receiving signals, and there is a certain probability of detection error. Therefore, how to accurately detect and suppress narrowband interference with a simple device with low performance requirements has become an urgent technical problem to be solved.

考虑到上述缺陷,本公开提供了一种电力线通信窄带干扰检测与抑制装置,该装置包括窄带检测与抑制单元和主控单元,该窄带检测与抑制单元可获取OFDM信号和同步状态信息,在基于同步状态信息确定出信道当前的状态为空闲状态时,则在并联模式下对OFDM信号进行检测以得到第一检测结果,并将该第一检测结果发送给主控单元。主控单元可接收第一检测结果,并基于第一检测结果确定是否存在窄带干扰,若存在窄带干扰,则将窄带检测与抑制单元的工作模式切换为串联模式。窄带检测与抑制单元在判断出工作模式被切换为串联模式时,说明存在窄带干扰,则其在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号继续检测以得到第二检测结果,并将该第二检测结果发送给主控单元。主控单元可接收第二检测结果,从而基于第二检测结果判断抑制后的窄带干扰是否消失。由于本公开对窄带检测与抑制采用同一套硬件装置,硬件装置的实现就比较简单,且本公开在信道空闲时对窄带干扰进行检测,利用了电力线信道中窄带干扰慢遍的特点,避免了电力线信道频率选择性带来的检测误差。此外,由于主控单元只对窄带干扰进行基本的判决,对主控单元的性能要求也较低。因此,以低性能要求的简单装置实现了对窄带干扰的准确检测与抑制。In view of the above defects, the present disclosure provides a power line communication narrowband interference detection and suppression device, the device includes a narrowband detection and suppression unit and a main control unit, the narrowband detection and suppression unit can obtain OFDM signals and synchronization state information, based on When the synchronization state information determines that the current state of the channel is an idle state, the OFDM signal is detected in parallel mode to obtain a first detection result, and the first detection result is sent to the main control unit. The main control unit can receive the first detection result, and determine whether there is narrow-band interference based on the first detection result, and switch the working mode of the narrow-band detection and suppression unit to the series mode if there is narrow-band interference. When the narrowband detection and suppression unit determines that the working mode is switched to the series mode, it indicates that there is narrowband interference, then it performs narrowband interference suppression in the series mode, and continues to detect the suppressed OFDM signal to obtain the second detection result, and Send the second detection result to the main control unit. The main control unit may receive the second detection result, so as to determine whether the suppressed narrowband interference disappears based on the second detection result. Since the present disclosure uses the same set of hardware devices for narrowband detection and suppression, the implementation of the hardware device is relatively simple, and the present disclosure detects narrowband interference when the channel is idle, and utilizes the characteristics of slow passage of narrowband interference in the power line channel to avoid power line interference. Detection error caused by channel frequency selectivity. In addition, since the main control unit only makes basic judgments on narrowband interference, the performance requirements for the main control unit are relatively low. Therefore, accurate detection and suppression of narrowband interference is realized with a simple device with low performance requirements.

下面通过具体实施例详细介绍本公开实施例的细节。Details of the embodiments of the present disclosure will be described in detail below through specific embodiments.

图1示出根据本公开一实施例的电力线通信窄带干扰检测与抑制装置的结构框图。Fig. 1 shows a structural block diagram of a narrowband interference detection and suppression device for power line communication according to an embodiment of the present disclosure.

如图1所示,该装置包括:窄带检测与抑制单元和主控单元。As shown in Figure 1, the device includes: a narrowband detection and suppression unit and a main control unit.

其中,窄带检测与抑制单元,用于获取OFDM信号和同步状态信息;基于同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对OFDM信号进行检测,得到第一检测结果;向主控单元发送第一检测结果;以及响应于工作模式被切换为串联模式,在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果;向主控单元发送第二检测结果。Among them, the narrowband detection and suppression unit is used to obtain OFDM signals and synchronization state information; when the current state of the channel is determined to be idle based on the synchronization state information, the OFDM signal is detected in parallel mode to obtain the first detection result; The control unit sends the first detection result; and in response to the working mode being switched to the serial mode, narrowband interference suppression is performed in the serial mode, and the suppressed OFDM signal is detected to obtain the second detection result; the second detection result is sent to the main control unit 2. Test results.

本实施例中,窄带检测与抑制单元一方面主要对获取的OFDM信号进行检测,即对窄带干扰进行检测,以使得主控单元根据检测结果来判断是否存在窄带干扰以及抑制后的窄带干扰是否消失,从而调节窄带检测与抑制单元的工作模式。其中,窄带检测与抑制单元包括并联模式和串联模式两种工作模式。窄带检测与抑制单元另一方面主要对窄带干扰进行抑制。In this embodiment, on the one hand, the narrowband detection and suppression unit mainly detects the acquired OFDM signal, that is, detects narrowband interference, so that the main control unit judges whether there is narrowband interference and whether the suppressed narrowband interference disappears according to the detection result. , so as to adjust the working mode of the narrowband detection and suppression unit. Wherein, the narrowband detection and suppression unit includes two working modes: parallel mode and series mode. On the other hand, the narrowband detection and suppression unit mainly suppresses narrowband interference.

在对窄带干扰进行检测时,窄带检测与抑制单元在并联模式下可通过对获取的OFDM信号的检测得到第一检测结果,以使主控单元根据该第一检测结果来确定是否存在窄带干扰,若存在窄带干扰,则主控单元将窄带检测与抑制单元的工作模式切换为串联模式。相应地,若窄带检测与抑制单元发现工作模式由并联模式切换到了串联模式,则说明存在窄带干扰。When detecting narrowband interference, the narrowband detection and suppression unit can obtain a first detection result by detecting the obtained OFDM signal in parallel mode, so that the main control unit can determine whether there is narrowband interference according to the first detection result, If there is narrow-band interference, the main control unit switches the working mode of the narrow-band detection and suppression unit to a serial mode. Correspondingly, if the narrowband detection and suppression unit finds that the working mode has been switched from the parallel mode to the series mode, it indicates that there is narrowband interference.

在对窄带干扰进行抑制时,通过串联模式就可实现对窄带干扰的抑制。When suppressing narrowband interference, the suppression of narrowband interference can be realized through the series mode.

在对抑制后的窄带干扰进一步检测时,窄带检测与抑制单元可继续在串联模式下通过对抑制后的OFDM信号进行检测来得到第二检测结果,以使主控单元可根据第二检测结果来确定窄带干扰是否还存在。若仍旧存在窄带干扰,则主控单元不切换窄带检测与抑制单元的工作模式;若不再存在窄带干扰,则主控单元将窄带检测与抑制单元的工作模式切换回并联模式。相应地,若窄带检测与抑制单元发现工作模式仍旧为串联模式,说明仍旧存在窄带干扰,则继续在串联模式下进行窄带干扰的抑制;若窄带检测与抑制单元发现工作模式切换回了并联模式,说明窄带干扰不再存在,则可在并联模式下继续对获取的OFDM进行检测。When further detecting the suppressed narrowband interference, the narrowband detection and suppression unit can continue to obtain the second detection result by detecting the suppressed OFDM signal in series mode, so that the main control unit can be based on the second detection result. Determine if narrowband interference is still present. If the narrowband interference still exists, the main control unit does not switch the working mode of the narrowband detection and suppression unit; if there is no narrowband interference, the main control unit switches the working mode of the narrowband detection and suppression unit back to the parallel mode. Correspondingly, if the narrowband detection and suppression unit finds that the working mode is still in series mode, indicating that there is still narrowband interference, continue to suppress narrowband interference in series mode; if the narrowband detection and suppression unit finds that the working mode is switched back to parallel mode, It means that the narrowband interference no longer exists, then the obtained OFDM can continue to be detected in the parallel mode.

在一些实施例中,窄带检测与抑制单元对OFDM信号进行初始检测时,该窄带检测与抑制单元的初始工作模式为并联模式。In some embodiments, when the narrowband detection and suppression unit initially detects OFDM signals, the initial working mode of the narrowband detection and suppression unit is parallel mode.

窄带检测与抑制单元对OFDM信号进行检测的前提时确保信道当前的状态为空闲状态,而信道的状态是否空闲可通过获取的同步状态信息确定,该同步状态信息可包括:初始帧同步状态、帧同步状态或位同步状态三种同步状态。The premise of the narrowband detection and suppression unit detecting the OFDM signal is to ensure that the current state of the channel is an idle state, and whether the state of the channel is idle can be determined by the acquired synchronization state information, which may include: initial frame synchronization state, frame Synchronous state or bit synchronous state Three kinds of synchronous states.

在一些实施例中,窄带检测与抑制单元可从同步单元处获取到同步状态信息,该同步状态信息用于指的同步单元当前的同步状态。In some embodiments, the narrowband detection and suppression unit can obtain synchronization state information from the synchronization unit, and the synchronization state information is used to refer to the current synchronization state of the synchronization unit.

在一些实施例中,若同步状态信息中未指示初始帧同步状态、帧同步状态或位同步状态中的任何一种时,可确定信道当前的状态为空闲状态。In some embodiments, if any one of the initial frame synchronization state, the frame synchronization state or the bit synchronization state is not indicated in the synchronization state information, it may be determined that the current state of the channel is an idle state.

其中,主控单元,用于接收第一检测结果;基于第一检测结果确定是否存在窄带干扰;响应于存在窄带干扰,将窄带检测与抑制单元的工作模式切换为串联模式;以及接收第二检测结果;基于第二检测结果确定抑制后的窄带干扰是否消失。Wherein, the main control unit is used to receive the first detection result; determine whether there is narrow-band interference based on the first detection result; in response to the presence of narrow-band interference, switch the working mode of the narrow-band detection and suppression unit to the series mode; and receive the second detection Result; determining whether the suppressed narrowband interference disappears based on the second detection result.

本实施例中,主控单元主要负责对窄带检测与抑制单元发送的检测结果进行基本的判决,以确定是否存在窄带干扰以及抑制后的窄带干扰是否消失,即根据第一检测结果判断是否存在窄带干扰以及根据第二检测结果判断窄带干扰是否消失。同时,主控单元还可基于判决结果来控制窄带检测与抑制单元的工作模式,即判断出存在窄带干扰时,将窄带检测与抑制单元的工作模式切换为串联模式;判断出不存在窄带干扰时,将窄带检测与抑制单元的工作模式切换为并联模式。In this embodiment, the main control unit is mainly responsible for making basic judgments on the detection results sent by the narrowband detection and suppression unit to determine whether there is narrowband interference and whether the suppressed narrowband interference disappears, that is, to judge whether there is narrowband interference based on the first detection result. Interference and judging whether the narrowband interference disappears according to the second detection result. At the same time, the main control unit can also control the working mode of the narrowband detection and suppression unit based on the judgment result, that is, when it is judged that there is narrowband interference, the working mode of the narrowband detection and suppression unit is switched to the series mode; when it is judged that there is no narrowband interference , switch the working mode of the narrowband detection and suppression unit to the parallel mode.

在一些实施例中,主控单元可以为CPU。In some embodiments, the main control unit may be a CPU.

本公开实施例中,由于对窄带干扰进行检测与抑制采用的是同一套硬件装置,硬件装置的实现比较简单,且在信道空闲时对窄带干扰进行检测,利用了电力线信道中窄带干扰慢遍的特点,避免了电力线信道频率选择性带来的检测误差。除此此外,由于主控单元只对窄带干扰进行基本的判决,对主控单元的性能要求也较低。因此,以低性能要求的简单装置实现了对窄带干扰的准确检测与抑制。In the embodiment of the present disclosure, since the detection and suppression of narrowband interference use the same set of hardware devices, the implementation of the hardware device is relatively simple, and the detection of narrowband interference when the channel is idle takes advantage of the fact that the narrowband interference in the power line channel is slow. It avoids the detection error caused by the frequency selectivity of the power line channel. In addition, since the main control unit only makes basic decisions on narrowband interference, the performance requirements for the main control unit are also relatively low. Therefore, accurate detection and suppression of narrowband interference is realized with a simple device with low performance requirements.

在本实施例的一个可选实现方式中,主控单元,还用于基于窄带检测与抑制单元的工作频段为窄带检测与抑制单元配置多个检测参数组,该检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个窄带中心频点互不相同,且多个窄带中心频点覆盖该工作频段。In an optional implementation of this embodiment, the main control unit is further configured to configure multiple detection parameter groups for the narrowband detection and suppression unit based on the working frequency band of the narrowband detection and suppression unit, and the detection parameter group includes a narrowband center frequency point , notch bandwidth and power calculation length; wherein, the multiple narrowband center frequency points are different from each other, and the multiple narrowband center frequency points cover the working frequency band.

本实施例中,主控单元可为窄带检测与抑制单元配置多个检测参数组,以使窄带检测与抑制单元可基于配置的检测参数组对获取的OFDM信号进行窄带干扰的检测。其中,所配置的多个检测参数组包括的多个窄带中心频点互不相同,且这些窄带中心频点刚好覆盖窄带检测与抑制单元的工作频段。其中,所配置的多个检测参数组包括的多个陷波带宽可以相同,也可以不同。其中,所配置的多个检测参数组包括的多个功率计算长度可以相同。In this embodiment, the main control unit can configure multiple detection parameter sets for the narrowband detection and suppression unit, so that the narrowband detection and suppression unit can detect narrowband interference on the acquired OFDM signal based on the configured detection parameter sets. Wherein, the plurality of narrowband central frequency points included in the multiple configured detection parameter groups are different from each other, and these narrowband central frequency points just cover the working frequency band of the narrowband detection and suppression unit. Wherein, the multiple notch bandwidths included in the multiple configured detection parameter groups may be the same or different. Wherein, the multiple power calculation lengths included in the multiple configured detection parameter groups may be the same.

下面结合图2和图3对窄带检测与抑制单元的结构进行详细介绍。The structure of the narrowband detection and suppression unit will be described in detail below with reference to FIG. 2 and FIG. 3 .

本公开实施例中,窄带检测与抑制单元包括至少一个窄带组件,该窄带组件包括陷波器和功率计算单元。In the embodiment of the present disclosure, the narrowband detection and suppression unit includes at least one narrowband component, and the narrowband component includes a wave notch filter and a power calculation unit.

其中,窄带组件具有并联模式和串联模式两种工作模式。窄带组件可在并联模式下对获取的OFDM信号进行检测以确定是否存在窄带干扰,也可在串联模式下对窄带干扰进行抑制,以及检测抑制后的窄带干扰是否消失。Among them, the narrowband component has two working modes: parallel mode and series mode. The narrowband component can detect the obtained OFDM signal in parallel mode to determine whether there is narrowband interference, or suppress narrowband interference in series mode, and detect whether the suppressed narrowband interference disappears.

在一些实施例中,窄带检测与抑制单元可以包括5个窄带组件。在一些实施例中,每个窄带组件中所包括的陷波器可以为无线脉冲响应数字滤波器(infinite impulseresponse digital filter,IIR)陷波器。In some embodiments, the narrowband detection and suppression unit may include 5 narrowband components. In some embodiments, the wave trap included in each narrowband component may be an wireless impulse response digital filter (infinite impulse response digital filter, IIR) wave trap.

图2示出根据本公开一实施例的在并联模式下窄带组件的结构图。Fig. 2 shows a structural diagram of a narrowband component in a parallel mode according to an embodiment of the present disclosure.

如图2所示,对于窄带检测与抑制单元中任意一个窄带组件,在并联模式下该窄带组件中的陷波器的第一端与窄带检测与抑制单元的输入端连接,该陷波器的第二端与该窄带组件中的功率计算单元的第二端连接,该功率计算单元的第一端与该陷波器的第一端连接。As shown in Figure 2, for any narrowband component in the narrowband detection and suppression unit, the first end of the notch filter in the narrowband component is connected to the input end of the narrowband detection and suppression unit in parallel mode, and the notch filter The second end is connected to the second end of the power calculation unit in the narrowband component, and the first end of the power calculation unit is connected to the first end of the wave trap.

可以理解,并联模式下的窄带组件对OFDM信号并不作处理,仅对OFDM信号进行窄带干扰的检测,窄带检测与抑制单元输入和输出的OFDM信号相同。It can be understood that the narrowband component in the parallel mode does not process the OFDM signal, but only detects narrowband interference on the OFDM signal, and the narrowband detection is the same as the OFDM signal input and output by the suppression unit.

图3示出根据本公开一实施例的在串联模式下窄带组件的结构图。FIG. 3 shows a structural diagram of a narrowband component in series mode according to an embodiment of the present disclosure.

如图3所示,对于窄带检测与抑制单元中任意一个窄带组件,在串联模式下该窄带组件中的陷波器的第一端分别与第一输入端和该窄带组件中的功率计算单元的第一端连接,该陷波器的第二端分别与第二输出端和该功率计算单元的第二端连接。As shown in Figure 3, for any narrowband component in the narrowband detection and suppression unit, in the series mode, the first end of the trap filter in the narrowband component is connected to the first input terminal and the power calculation unit in the narrowband component respectively The first terminal is connected, and the second terminal of the trap is respectively connected with the second output terminal and the second terminal of the power calculation unit.

在一些实施例中,窄带检测与抑制单元包括一个窄带组件时,第一输入端为窄带检测与抑制单元的输入端,第二输出端为该窄带检测与抑制单元的输出端。In some embodiments, when the narrowband detection and suppression unit includes a narrowband component, the first input terminal is the input terminal of the narrowband detection and suppression unit, and the second output terminal is the output terminal of the narrowband detection and suppression unit.

在一些实施例中,窄带检测与抑制单元包括多个窄带组件且该窄带组件位于多个窄带组件的首端时,第一输入端为窄带检测与抑制单元的输入端,第二输出端为第一窄带组件中第一陷波器的第一端,或者第二输出端为窄带检测与抑制单元的输出端。In some embodiments, when the narrowband detection and suppression unit includes multiple narrowband components and the narrowband component is located at the head end of the multiple narrowband components, the first input terminal is the input terminal of the narrowband detection and suppression unit, and the second output terminal is the first The first terminal or the second output terminal of the first trap filter in a narrowband component is the output terminal of the narrowband detection and suppression unit.

其中,第一窄带组件位于该窄带组件之后,且第一窄带组件与该窄带组件之间无其它窄带组件。Wherein, the first narrowband component is located behind the narrowband component, and there is no other narrowband component between the first narrowband component and the narrowband component.

可以理解,若第一窄带组件的工作模式为串联模式,则第二输出端为第一窄带组件中第一陷波器的第一端;若第一窄带组件的工作模式为并联模式,则第二输出端为窄带检测与抑制单元的输出端。It can be understood that if the working mode of the first narrowband component is the series mode, then the second output terminal is the first end of the first trap filter in the first narrowband component; if the working mode of the first narrowband component is the parallel mode, then the second output The second output end is the output end of the narrowband detection and suppression unit.

在一些实施例中,窄带检测与抑制单元包括多个窄带组件且该窄带组件位于多个窄带组件的中间时,第一输入端为第二窄带组件中第二陷波器的第二端,或者第一输入端为窄带检测与抑制单元的输入端;第二输出端为第一窄带组件中第一陷波器的第一端,或者第二输出端为窄带检测与抑制单元的输出端。In some embodiments, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located in the middle of the multiple narrowband components, the first input end is the second end of the second trap in the second narrowband component, or The first input end is the input end of the narrowband detection and suppression unit; the second output end is the first end of the first notch filter in the first narrowband component, or the second output end is the output end of the narrowband detection and suppression unit.

其中,第二窄带组件位于该窄带组件之前,第一窄带组件位于该窄带组件之后,且第一窄带组件与该窄带组件之间以及第二窄带组件与该窄带组件之间无其它窄带组件。Wherein, the second narrowband component is located before the narrowband component, the first narrowband component is located behind the narrowband component, and there are no other narrowband components between the first narrowband component and the narrowband component and between the second narrowband component and the narrowband component.

可以理解,若第二窄带组件的工作模式为串联模式,则第一输入端为第二窄带组件中第二陷波器的第二端;若第二窄带组件的工作模式为并联模式,则第一输入端为窄带检测与抑制单元的输入端。同样地,若第一窄带组件的工作模式为串联模式,则第二输出端为第一窄带组件中第一陷波器的第一端;若第一窄带组件的工作模式为并联模式,则第二输出端为窄带检测与抑制单元的输出端。It can be understood that if the working mode of the second narrowband component is the series mode, then the first input end is the second end of the second trap filter in the second narrowband component; if the working mode of the second narrowband component is the parallel mode, then the first input terminal is One input end is the input end of the narrowband detection and suppression unit. Similarly, if the working mode of the first narrowband component is the series mode, then the second output terminal is the first end of the first trap filter in the first narrowband component; if the working mode of the first narrowband component is the parallel mode, then the second The second output end is the output end of the narrowband detection and suppression unit.

在一些实施例中,窄带检测与抑制单元包括多个窄带组件且该窄带组件位于多个窄带组件的末端时,第一输入端为第二窄带组件中第二陷波器的第二端,或者第一输入端为窄带检测与抑制单元的输入端;第二输出端为窄带检测与抑制单元的输出端。In some embodiments, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located at the end of the plurality of narrowband components, the first input end is the second end of the second trap in the second narrowband component, or The first input end is the input end of the narrowband detection and suppression unit; the second output end is the output end of the narrowband detection and suppression unit.

其中,所述第二窄带组件位于所述窄带组件之前,且所述第二窄带组件与所述窄带组件之间无其它窄带组件。Wherein, the second narrow belt component is located before the narrow belt component, and there is no other narrow belt component between the second narrow belt component and the narrow belt component.

还可以理解,串联模式下的窄带组件对窄带干扰进行抑制,窄带检测与抑制单元输入和输出的OFDM信号不同,其输出的为抑制后的OFDM信号。It can also be understood that the narrowband components in series mode suppress narrowband interference, and the OFDM signals input and output by the narrowband detection and suppression unit are different, and the output of the narrowband detection and suppression unit is a suppressed OFDM signal.

下面对窄带组件和主控单元的功能进一步介绍,以便了解窄带干扰检测与抑制的实现过程。The following is a further introduction to the functions of the narrowband components and the main control unit, so as to understand the implementation process of narrowband interference detection and suppression.

在本实施例的一个可选实现方式中,窄带组件,用于In an optional implementation of this embodiment, the narrowband component is used for

在并联模式下获取至少一个检测参数组;Obtaining at least one detection parameter set in parallel mode;

基于检测参数组确定接收的OFDM信号输入窄带组件中陷波器的第一端时对应的第一信号功率和OFDM信号输出陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the notch filter in the narrowband component and the corresponding second signal power when the OFDM signal is output to the second end of the notch filter based on the detection parameter group;

基于第一信号功率和第二信号功率生成第一检测结果;generating a first detection result based on the first signal power and the second signal power;

向主控单元发送至少一个第一检测结果。Send at least one first detection result to the main control unit.

本实施例中,窄带检测与抑制单元在对获取的OFDM信号进行初始检测时,每个窄带组件的工作模式都被主控单元切换为并联模式。由于主控单元预先为窄带检测与抑制单元配置了多个检测参数组,则每个窄带组件均可在并联模式下获取到至少一个检测参数组。在获取检测参数组时,窄带组件之间所获取的检测参数组互不相同,且所有窄带组件获取的检测参数组的总数量等于主控单元预先配置的检测参数组的数量。In this embodiment, when the narrowband detection and suppression unit initially detects the acquired OFDM signal, the working mode of each narrowband component is switched to the parallel mode by the main control unit. Since the main control unit pre-configures multiple detection parameter sets for the narrowband detection and suppression unit, each narrowband component can obtain at least one detection parameter set in parallel mode. When acquiring detection parameter sets, the detection parameter sets acquired by the narrowband components are different from each other, and the total number of detection parameter sets acquired by all the narrowband components is equal to the number of detection parameter sets pre-configured by the main control unit.

在一些实施例中,窄带组件之间获取的检测参数组的数量相同,即根据主控单元预先配置的检测参数组的数量和窄带组件的数量为每个窄带组件分配同等数量的检测参数组。In some embodiments, the number of detection parameter sets obtained between the narrowband components is the same, that is, the same number of detection parameter sets are assigned to each narrowband component according to the number of detection parameter sets preconfigured by the main control unit and the number of narrowband components.

每个窄带组件在获取到一定数量的检测参数组后,每个窄带组件均可基于各自获取的至少一个检测参数组得到至少一个第一检测结果,并且每个窄带组件均将各自得到的至少一个第一检测结果发送给主控单元,从而使得主控单元可得到与预先配置的检测参数组的数量相同的第一检测结果。After each narrowband component obtains a certain number of detection parameter groups, each narrowband component can obtain at least one first detection result based on at least one detection parameter group obtained respectively, and each narrowband component will obtain at least one The first detection result is sent to the main control unit, so that the main control unit can obtain the same number of first detection results as the number of pre-configured detection parameter groups.

例如,主控单元预先配置了100个检测参数组,且窄带检测与抑制装置中窄带组件的数量为5个,则窄带组件A可获取第1~20个检测参数组,窄带组件B可获取第21~40个检测参数组,窄带组件C可获取第41~60个检测参数组,窄带组件D可获取第61~80个检测参数组,窄带组件E可获取第81~100个检测参数组。相应地,窄带组件A向主控单元发送第1~20个第一检测结果,窄带组件B向主控单元发送第21~40个第一检测结果,窄带组件C向主控单元发送第41~60个第一检测结果,窄带组件D向主控单元发送第61~80个第一检测结果,窄带组件E向主控单元发送第81~100个第一检测结果。因此,主控单元得到100个第一检测结果。For example, if the main control unit is pre-configured with 100 detection parameter groups, and the number of narrowband components in the narrowband detection and suppression device is 5, then narrowband component A can obtain the 1st to 20th detection parameter groups, and narrowband component B can obtain the 1st to 20th detection parameter groups. 21 to 40 detection parameter groups, narrowband component C can obtain the 41st to 60th detection parameter group, narrowband component D can obtain the 61st to 80th detection parameter group, narrowband component E can obtain the 81st to 100th detection parameter group. Correspondingly, the narrowband component A sends the 1st to 20th first detection results to the main control unit, the narrowband component B sends the 21st to 40th first detection results to the main control unit, and the narrowband component C sends the 41st to 40th first detection results to the main control unit. For 60 first detection results, the narrowband component D sends the 61st to 80th first detection results to the main control unit, and the narrowband component E sends the 81st to 100th first detection results to the main control unit. Therefore, the main control unit obtains 100 first detection results.

可以理解,由于主控单元所配置的多个检测参数组中的多个窄带中心频点互不相同。因此,100个第一检测结果也分别对应100个窄带中心频点。It can be understood that the multiple narrowband center frequency points in the multiple detection parameter groups configured by the main control unit are different from each other. Therefore, the 100 first detection results also correspond to 100 narrowband center frequency points respectively.

对于任意一个窄带组件,其在根据一个检测参数组确定对应的一个第一检测结果时,由于该检测参数组中指示了一个窄带中心频点、一个陷波带宽和一个功率计算长度,则可在该窄带中心频点下以相应的陷波带宽对该窄带组件中陷波器前后的OFDM信号进行功率计算,即在OFDM信号输入该陷波器的第一端时进行第一功率计算以及在OFDM信号输出该陷波器的第二端时进行第二功率计算。本实施例的功率计算可采用积分的方式,一旦积分长度等于该检测参数组所指示的功率计算长度,则窄带组件就保存该陷波器前后的两个功率值。可将OFDM信号输入该陷波器的第一端时的第一功率积分称为第一信号功率,将OFDM信号输出该陷波器的第二端时的第二功率积分称为第二信号功率。之后,第一信号功率和第二信号功率就可组成一个第一检测结果,该第一检测结果为该检测参数组所指示的窄带中心频点下的检测结果。因此,该窄带组件可通过该方式来得到所获取的至少一个检测参数组对应的至少一个第一检测结果。For any narrowband component, when determining a corresponding first detection result according to a detection parameter group, since a narrowband center frequency point, a notch bandwidth and a power calculation length are indicated in the detection parameter group, it can be used in Under the narrowband center frequency point, the power calculation of the OFDM signal before and after the notch filter in the narrowband component is performed with the corresponding notch bandwidth, that is, the first power calculation is performed when the OFDM signal is input to the first end of the notch filter and the OFDM The second power calculation is performed when the signal is output from the second terminal of the notch filter. The power calculation in this embodiment can be done in an integral manner. Once the integral length is equal to the power calculation length indicated by the detection parameter set, the narrowband component will save the two power values before and after the notch filter. The first power integral when the OFDM signal is input to the first end of the notch filter is called the first signal power, and the second power integral when the OFDM signal is output to the second end of the notch filter is called the second signal power . Afterwards, the first signal power and the second signal power can form a first detection result, and the first detection result is a detection result under the narrowband center frequency point indicated by the detection parameter set. Therefore, the narrowband component can obtain at least one first detection result corresponding to the acquired at least one detection parameter set in this manner.

在一些实施例中,初始检测时,主控单元将窄带检测与抑制单元中所有窄带组件的工作模式切换为并联模式。In some embodiments, during initial detection, the main control unit switches the working modes of all narrowband components in the narrowband detection and suppression unit to parallel mode.

在一些实施例中,若窄带组件没有获取到检测参数组,则该窄带组件不工作。In some embodiments, if the narrowband component does not obtain the detection parameter set, the narrowband component does not work.

在一些实施例中,窄带组件在向主控单元发送第一检测结果时,还可向主控单元发送与该第一检测结果对应的窄带中心频点。In some embodiments, when the narrowband component sends the first detection result to the main control unit, it may also send the narrowband center frequency point corresponding to the first detection result to the main control unit.

在本实施例的一个可选实现方式中,主控单元,用于In an optional implementation of this embodiment, the main control unit is used to

接收来自至少一个窄带组件的多个第一检测结果;receiving a plurality of first detection results from at least one narrowband component;

根据多个第一检测结果,基于预设的第一公式确定多个干扰信噪比;Determining multiple interference signal-to-noise ratios based on a preset first formula according to multiple first detection results;

从多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from a plurality of interference signal-to-noise ratios;

响应于目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to a target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or,

响应于目标干扰信噪比大于或等于干扰信噪比阈值,确定预设数量的目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio;

响应于标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists.

本实施例中,主控单元在接收到与配置的检测参数组相同数量的第一检测结果,即接收到来自至少一个窄带组件的多个第一检测结果后,就可基于这多个第一检测结果来确定是否存在窄带干扰。主控单元可通过下面1)~3)确定是否存在窄带干扰。In this embodiment, after the main control unit receives the same number of first detection results as the configured detection parameter groups, that is, after receiving multiple first detection results from at least one narrowband component, it can then based on the multiple first detection results Test results to determine if narrowband interference exists. The main control unit can determine whether there is narrow-band interference through the following 1)~3).

1)针对每个第一检测结果,基于该第一检测结果和预设的第一公式可得到与该第一检测结果对应的干扰信噪比。1) For each first detection result, an interference signal-to-noise ratio corresponding to the first detection result can be obtained based on the first detection result and a preset first formula.

其中,干扰信噪比也可称为信号与干扰加噪声比,表示接收到的有用OFDM信号的强度与接收到的干扰信号(噪声和干扰)的强度的比值。在本实施例中,干扰信噪比可用SINR0表示。在一些实施例中,第一公式如下:Wherein, the interference signal-to-noise ratio may also be referred to as the signal-to-interference-plus-noise ratio, which represents the ratio of the strength of the received useful OFDM signal to the strength of the received interference signal (noise and interference). In this embodiment, the interference signal-to-noise ratio can be represented by SINR 0 . In some embodiments, the first formula is as follows:

SINR0=10log10(第二信号功率/(第一信号功率-第二信号功率));SINR 0 =10log 10 (second signal power/(first signal power−second signal power));

可以理解,通过该第一公式,可得到与第一检测结果同等数量的干扰信噪比。例如,主控单元接收到100个第一检测结果,则通过第一公式可相应得到100个干扰信噪比。It can be understood that, through the first formula, an interference signal-to-noise ratio equal to that of the first detection result can be obtained. For example, if the main control unit receives 100 first detection results, then 100 interference signal-to-noise ratios can be correspondingly obtained through the first formula.

2)从多个干扰信噪比中确定出预设数量的、数值最小的目标干扰信噪比。2) Determining a preset number of target interference signal-to-noise ratios with the smallest value from the plurality of interference signal-to-noise ratios.

主控单元在得到多个干扰信噪比中,可从中找出数值最小的几个干扰信噪比作为目标干扰信噪比。在一些实施例中,目标干扰信噪比的数量由预设数量决定。在一些实施例中,预设数量可以为8个。例如,可从100个干扰信噪比中找出数值最小的8个干扰信噪比作为目标干扰信噪比。The main control unit may find several interference signal-to-noise ratios with the smallest values among the obtained multiple interference signal-to-noise ratios as the target interference signal-to-noise ratio. In some embodiments, the quantity of the target interference signal-to-noise ratio is determined by a preset quantity. In some embodiments, the preset number may be 8. For example, 8 interference signal-to-noise ratios with the smallest values may be found from 100 interference signal-to-noise ratios as target interference signal-to-noise ratios.

在一些实施例中,在确定目标干扰信噪比之前,还可对多个干扰信噪比按照数值大小进行排序。即,从排序后的多个干扰信噪比中再确定目标干扰信噪比。In some embodiments, before determining the target interference signal-to-noise ratio, the multiple interference signal-to-noise ratios may also be sorted according to their numerical values. That is, the target interference signal-to-noise ratio is determined again from the sorted multiple interference signal-to-noise ratios.

3)将目标干扰信噪比与预设的干扰信噪比阈值比较,以确定是否存在干扰。此时,可存在下列情况1和情况2。3) Comparing the target interference signal-to-noise ratio with a preset interference signal-to-noise ratio threshold to determine whether there is interference. At this time, the following cases 1 and 2 may exist.

情况1:若预设数量的目标干扰信噪比中存在至少一个目标干扰信噪比小于预设的干扰信噪比阈值,则说明存在窄带干扰。Case 1: If at least one target interference signal-to-noise ratio among the preset number of target interference signal-to-noise ratios is smaller than a preset interference signal-to-noise ratio threshold, it indicates that narrowband interference exists.

情况2:若预设数量的目标干扰信噪比中每个目标干扰信噪比均大于或等于预设的干扰信噪比阈值,则表明信道中不存在窄带干扰或者存在多个强度相差不大的窄带干扰。Case 2: If each target interference SNR of the preset number of target interference SNRs is greater than or equal to the preset interference SNR threshold, it indicates that there is no narrowband interference in the channel or there are multiple narrowband interference.

因此,可根据预设数量的目标干扰信噪比计算出一个对应的标准差,将该标准差与预设的干扰信噪比标准差阈值比较,可进一步分为以下情况a和情况b。Therefore, a corresponding standard deviation can be calculated according to a preset number of target interference signal-to-noise ratios, and the standard deviation can be compared with a preset interference signal-to-noise ratio standard deviation threshold, which can be further divided into the following case a and case b.

情况a:若标准差大于预设的干扰信噪比标准差阈值,则说明存在多个强度相差不大的窄带干扰。Case a: If the standard deviation is greater than the preset standard deviation threshold of the interference signal-to-noise ratio, it indicates that there are multiple narrow-band interferences with similar intensities.

情况b:若标准差小于或等于预设的干扰信噪比标准差阈值,则说明不存在窄带干扰。此时,主控单元无需切换窄带组件的工作模式,使其继续在并联模式下进行窄带干扰的检测。Case b: If the standard deviation is less than or equal to the preset standard deviation threshold of the interference signal-to-noise ratio, it means that there is no narrowband interference. At this time, the main control unit does not need to switch the working mode of the narrowband component, so that it continues to detect narrowband interference in the parallel mode.

在一些实施例中,上述干扰信噪比阈值可通过如下方式确定:In some embodiments, the aforementioned interference signal-to-noise ratio threshold may be determined in the following manner:

SINR2=SINR1+△SINR0SINR 2 = SINR 1 +△ SINR0 ;

其中,SINR2为干扰信噪比阈值,SINR1为窄带干扰检测与抑制装置所能容忍的最小干扰信噪比,△SINR0为第一干扰信噪比余量,用于防止窄带干扰的误判,△SINR0>0。Among them, SINR 2 is the interference signal-to-noise ratio threshold, SINR 1 is the minimum interference signal-to-noise ratio that the narrowband interference detection and suppression device can tolerate, and △ SINR0 is the first interference signal-to-noise ratio margin, which is used to prevent misjudgment of narrowband interference , △ SINR0 >0.

应理解,上述干扰信噪比标准差阈值可由本领域技术人员根据实际需求设置,本公开对此不加以限制,均在保护范围内。It should be understood that the above threshold of the standard deviation of the interference signal-to-noise ratio can be set by those skilled in the art according to actual needs, and the present disclosure does not limit this, and all of them are within the scope of protection.

在本实施例的一个可选实现方式中,主控单元,用于In an optional implementation of this embodiment, the main control unit is used to

响应于存在窄带干扰,确定数值小于干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者,从预设数量的目标干扰信噪比中确定两个数值最小的目标干扰信噪比,并确定与数值最小的目标干扰信噪比对应的目标窄带中心频点;In response to the existence of narrowband interference, determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the target interference signal with the smallest value from the preset number of target interference signal-to-noise ratios. noise ratio, and determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value;

基于目标窄带中心频点的数量,从至少一个窄带组件中确定目标窄带组件,目标窄带组件的数量小于或等于目标窄带中心频点的数量、且目标窄带组件位于至少一个窄带组件的前端;Determine the target narrowband component from at least one narrowband component based on the number of target narrowband center frequency points, the number of target narrowband components is less than or equal to the number of target narrowband center frequency points, and the target narrowband component is located at the front end of at least one narrowband component;

将目标窄带组件的工作模式切换为串联模式。Switch the working mode of the target narrowband component to serial mode.

本实施例中,主控单元确定出存在窄带干扰时,可通过下面1)~3)进一步将窄带检测与抑制单元中目标窄带组件的工作模式切换为串联模式,以使目标窄带组件在串联模式下对窄带干扰进行抑制。In this embodiment, when the main control unit determines that there is narrowband interference, the operating mode of the target narrowband component in the narrowband detection and suppression unit can be further switched to the series mode through the following 1) to 3), so that the target narrowband component is in the series mode. Suppress narrowband interference.

1)确定存在窄带干扰时,基于以下不同情况确定目标窄带中心频点。1) When it is determined that there is narrowband interference, determine the target narrowband center frequency point based on the following different situations.

情况1,对于前述预设数量的目标干扰信噪比中存在至少一个目标干扰信噪比小于预设的干扰信噪比阈值的情况,主控单元可根据本地存储的检测参数组-窄带中心频点-第一检测结果-干扰信噪比之间的对应关系,确定出数值小于干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点。可以理解,在目标窄带中心频点处存在窄带干扰。Case 1, for the aforementioned preset number of target interference signal-to-noise ratios where at least one target interference signal-to-noise ratio is less than the preset interference signal-to-noise ratio threshold, the main control unit may, according to the locally stored detection parameter group-narrowband center frequency The corresponding relationship between the point-the first detection result-the interference signal-to-noise ratio determines the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is smaller than the interference signal-to-noise ratio threshold. It can be understood that narrowband interference exists at the target narrowband central frequency point.

例如,8个目标干扰信噪比中的目标干扰信噪比1和目标干扰信噪比2小于预设的干扰信噪比阈值,则说明存在窄带干扰。因此,可确定出与目标干扰信噪比1对应的目标窄带中心频点1处存在窄带干扰,以及与目标干扰信噪比2对应的目标窄带中心频点2处存在窄带干扰,其6个目标干扰信噪比对应的6个目标窄带中心频点处不存在窄带干扰。For example, if target interference signal-to-noise ratio 1 and target interference signal-to-noise ratio 2 among the eight target interference signal-to-noise ratios are smaller than a preset interference signal-to-noise ratio threshold, it indicates that narrowband interference exists. Therefore, it can be determined that there is narrowband interference at the target narrowband central frequency point 1 corresponding to the target interference signal-to-noise ratio 1, and there is narrowband interference at the target narrowband central frequency point 2 corresponding to the target interference signal-to-noise ratio 2, and the six target There is no narrowband interference at the 6 target narrowband center frequency points corresponding to the interference signal-to-noise ratio.

情况2,对于前述标准差大于预设的干扰信噪比标准差阈值的情况,可从预设数量的目标干扰信噪比中找出数值最小的两个目标干扰信噪比,再确定这两个目标干扰信噪比对应的两个目标窄带中心频点,即这两个目标窄带中心频点处均存在窄带干扰。Case 2, for the above-mentioned situation where the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, the two target interference signal-to-noise ratios with the smallest value can be found from the preset number of target interference signal-to-noise ratios, and then the two Two target narrowband center frequency points corresponding to a target interference signal-to-noise ratio, that is, narrowband interference exists at the two target narrowband center frequency points.

2)基于确定出的窄带中心频点确定目标窄带组件。2) Determine the target narrowband component based on the determined narrowband center frequency point.

主控单元在确定出目标窄带中心频点后,可进一步根据目标窄带中心频点的数量从多个窄带组件中确定出需要切换工作模式的目标窄带组件。在确定目标窄带组件时,需要满足如下两个条件。After the main control unit determines the target narrowband central frequency point, it can further determine the target narrowband component that needs to switch the working mode from the plurality of narrowband components according to the number of target narrowband central frequency points. When determining the target narrowband component, the following two conditions need to be met.

一个条件:目标窄带组件的数量最多为目标窄带中心频点的数量。One condition: the number of target narrowband components is at most the number of target narrowband center frequency points.

例如,若确定出目标窄带中心频点的数量为3个,则可从多个窄带组件中选择1个窄带组件作为目标窄带组件,使该窄带组件完成对3个目标窄带中心频点处的窄带干扰的抑制;也可以选择2个窄带组件作为目标窄带组件,使其中一个窄带组件完成对3个目标窄带中心频点中的一个目标窄带中心频点处窄带干扰的抑制;还可以选择3个窄带组件作为目标窄带组件,使每个窄带组件完成一个目标窄带中心频点处窄带干扰的抑制。For example, if it is determined that the number of target narrowband center frequency points is 3, then one narrowband component can be selected from multiple narrowband components as the target narrowband component, so that the narrowband component can complete the narrowband analysis of the three target narrowband center frequency points. Interference suppression; you can also choose 2 narrowband components as the target narrowband component, so that one of the narrowband components can suppress the narrowband interference at one of the 3 target narrowband center frequency points; you can also choose 3 narrowband components The components serve as target narrowband components, so that each narrowband component can suppress narrowband interference at a target narrowband center frequency point.

可以理解,在窄带检测与抑制单元只包括一个窄带组件时,该窄带组件就为目标窄带组件。It can be understood that when the narrowband detection and suppression unit includes only one narrowband component, the narrowband component is the target narrowband component.

另一个条件:目标窄带组件位于多个窄带组件的前端。例如,将5个窄带组件中最前面的2个窄带组件确定出目标窄带组件。Another condition: the target narrowband component is in front of multiple narrowband components. For example, the first two narrowband components among the five narrowband components are determined as target narrowband components.

3)将目标窄带组件的工作模式切换为串联模式。3) Switch the working mode of the target narrowband component to series mode.

在确定出目标窄带组件后,主控单元可将目标窄带组件的工作模式从并联模式切换为串联模式,以使目标窄带组件在串联模式下进行窄带干扰的抑制。相应地,若窄带检测与抑制单元发现有窄带组件的工作模式被切换为了串联模式,则可相应确定存在窄带干扰。After determining the target narrowband component, the main control unit can switch the working mode of the target narrowband component from the parallel mode to the series mode, so that the target narrowband component suppresses the narrowband interference in the series mode. Correspondingly, if the narrowband detection and suppression unit finds that the working mode of the narrowband component is switched to the series mode, it can determine that there is narrowband interference accordingly.

在一些实施例中,主控单元还可在本地查找出每个目标窄带中心频点所对应的目标检测参数组,将目标检测参数组发送给目标窄带组件。In some embodiments, the main control unit can also locally find out the target detection parameter set corresponding to each target narrowband center frequency point, and send the target detection parameter set to the target narrowband component.

例如,主控单元确定出目标窄带中心频点1、目标窄带中心频点2和目标窄带中心频点3,以及确定出目标窄带组件1、目标窄带组件2和目标窄带组件3。那么,主控单元可先查找到与目标窄带中心频点1对应的目标检测参数组1,将目标检测参数组1发送给目标窄带组件1;查找到与目标窄带中心频点2对应的目标检测参数组2,将目标检测参数组2发送给目标窄带组件2;查找到与目标窄带中心频点3对应的目标检测参数组3,将目标检测参数组3发送给目标窄带组件3。For example, the main control unit determines the target narrowband center frequency point 1, the target narrowband center frequency point 2 and the target narrowband center frequency point 3, and determines the target narrowband component 1, target narrowband component 2 and target narrowband component 3. Then, the main control unit can first find the target detection parameter group 1 corresponding to the target narrowband center frequency point 1, and send the target detection parameter group 1 to the target narrowband component 1; find the target detection parameter group corresponding to the target narrowband center frequency point 2 Parameter group 2, send the target detection parameter group 2 to the target narrowband component 2; find the target detection parameter group 3 corresponding to the target narrowband center frequency point 3, and send the target detection parameter group 3 to the target narrowband component 3.

在本实施例的一个可选实现方式中,目标窄带组件,用于In an optional implementation of this embodiment, the target narrowband component is used to

在串联模式下确定在目标窄带中心频点下接收的OFDM信号输入该目标窄带组件中目标陷波器的第一端时对应的第一目标信号功率和该OFDM信号输出目标陷波器的第二端时对应的第二目标信号功率;In the series mode, determine the corresponding first target signal power when the OFDM signal received at the target narrowband center frequency is input to the first end of the target notch filter in the target narrowband component and the second end of the OFDM signal output target wave filter The corresponding second target signal power at the terminal time;

基于第一目标信号功率和第二目标信号功率生成第二检测结果;generating a second detection result based on the first target signal power and the second target signal power;

向主控单元发送第二检测结果。Send the second detection result to the main control unit.

本实施例中,目标窄带组件的工作模式由并联模式切换到串联模式时,其在串联模式下通过该目标窄带组件中的目标陷波器就可实现对窄带干扰的抑制。而在对窄带干扰抑制的过程中,为了随时监测窄带干扰是否消失,目标窄带组件可按照预设时间间隔对目标窄带中心频点下的OFDM信号进行检测,定期向主控单元上报检测结果。In this embodiment, when the working mode of the target narrowband component is switched from the parallel mode to the series mode, the narrowband interference can be suppressed through the target trap in the target narrowband component in the series mode. In the process of narrowband interference suppression, in order to monitor whether the narrowband interference disappears at any time, the target narrowband component can detect the OFDM signal at the target narrowband center frequency according to the preset time interval, and report the detection results to the main control unit regularly.

在目标窄带组件对目标窄带中心频点下的OFDM信号的任意一次检测中,与并联模式的检测方式相同,目标窄带组件仍旧在串联模式下确定出在目标窄带中心频点下所计算的目标窄带组件前后的两个目标功率值,将OFDM信号输入目标陷波器的第一端时的第一目标功率积分称为第一目标信号功率,将OFDM信号输出目标陷波器的第二端时的第二目标功率积分称为第二目标信号功率。之后,第一目标信号功率和第二目标信号功率就可组成一个第二检测结果,该第二检测结果可指示在一个目标窄带中心频点下对抑制后的窄带干扰进行检测的结果。In any detection of the OFDM signal at the center frequency of the target narrowband by the target narrowband component, the detection method is the same as in the parallel mode, and the target narrowband component still determines the target narrowband calculated at the center frequency of the target narrowband in the series mode The two target power values before and after the component, the first target power integral when the OFDM signal is input to the first end of the target notch filter is called the first target signal power, and the first target power when the OFDM signal is output to the second end of the target notch filter The second target power integral is referred to as a second target signal power. Afterwards, the first target signal power and the second target signal power can form a second detection result, and the second detection result can indicate a detection result of the suppressed narrowband interference at a target narrowband center frequency point.

在一些实施例中,若主控单元为一个目标窄带组件分配的目标窄带中心频点的数量为至少两个,则该目标窄带组件可每确定出一个目标窄带中心频点下对应的第二检测结果就分别发送给主控单元,也可以在确定出至少两个目标窄带中心频点下对应的至少两个第二检测结果后再统一发送给主控单元。In some embodiments, if the number of target narrowband center frequency points assigned by the main control unit to a target narrowband component is at least two, then the target narrowband component can determine the corresponding second detection frequency for each target narrowband center frequency point. The results are sent to the main control unit respectively, or at least two second detection results corresponding to at least two target narrowband center frequency points are determined and then sent to the main control unit in a unified manner.

在本实施例的一个可选实现方式中,主控单元,用于In an optional implementation of this embodiment, the main control unit is used to

接收目标窄带组件的第二检测结果;receiving a second detection result of the target narrowband component;

基于第二检测结果和第一公式确定目标干扰信噪比;determining the target interference signal-to-noise ratio based on the second detection result and the first formula;

响应于目标干扰信噪比大于干扰信噪比阈值和预设的干扰信噪比余量之和,确定在目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point disappears.

本实施例中,主控单元每接收到一个第二检测结果,就同样基于前文介绍的第一公式来计算出对应的目标干扰信噪比。若该目标干扰信噪比大于干扰信噪比阈值和预设的干扰信噪比余量之和,说明在第二检测结果所指示的目标窄带中心频点下的窄带干扰已经消失;若该目标干扰信噪比小于或等于该干扰信噪比阈值和预设的干扰信噪比余量之和,说明在第二检测结果所指示的目标窄带中心频点下的窄带干扰仍旧未消失。In this embodiment, each time the main control unit receives a second detection result, it also calculates the corresponding target interference signal-to-noise ratio based on the first formula introduced above. If the target interference signal-to-noise ratio is greater than the sum of the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, it means that the narrowband interference at the target narrowband center frequency indicated by the second detection result has disappeared; if the target The interference signal-to-noise ratio is less than or equal to the sum of the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, indicating that the narrowband interference at the target narrowband center frequency indicated by the second detection result has not disappeared.

在一些实施例中,该预设的干扰信噪比余量为预设的第二干扰信噪比余量。第一干扰信噪比余量与第二干扰信噪比余量可以不同。第一干扰信噪比余量和第二干扰信噪比余量可由领域技术人员根据实际需求设置,本公开对此不加以限制,均在保护范围内。In some embodiments, the preset interference signal-to-noise ratio margin is a preset second interference signal-to-noise ratio margin. The first interference signal-to-noise ratio margin and the second interference signal-to-noise ratio margin may be different. The first interference signal-to-noise ratio margin and the second interference signal-to-noise ratio margin can be set by those skilled in the art according to actual needs, and the present disclosure does not limit this, and both are within the scope of protection.

在一些实施例中,目标窄带中心频点下的窄带干扰消失时,目标干扰信噪比满足如下条件:In some embodiments, when the narrowband interference at the target narrowband central frequency point disappears, the target interference signal-to-noise ratio satisfies the following conditions:

SINR0`>SINR2+△SINR1SINR 0` >SINR 2 +△ SINR1 ;

在一些实施例中,目标窄带中心频点下的窄带干扰未消失时,目标干扰信噪比满足如下条件:In some embodiments, when the narrowband interference at the target narrowband central frequency point does not disappear, the target interference signal-to-noise ratio satisfies the following conditions:

SINR0`≤SINR2+△SINR1SINR 0` ≤ SINR 2 + △ SINR1 ;

其中,SINR2为干扰信噪比阈值,△SINR1为第二干扰信噪比余量,△SINR1>0,SINR0`为目标干扰信噪比。Wherein, SINR 2 is the interference signal-to-noise ratio threshold, △ SINR1 is the second interference signal-to-noise ratio margin, △ SINR1 > 0, and SINR 0` is the target interference signal-to-noise ratio.

在本实施例的一个可选实现方式中,主控单元,还用于响应于窄带干扰消失,将发送所述第二检测结果的目标窄带组件的工作模式切换为并联模式。In an optional implementation manner of this embodiment, the main control unit is further configured to switch the working mode of the target narrowband component sending the second detection result to the parallel mode in response to the narrowband interference disappearing.

本实施例中,若主控单元确定出第二检测结果所指示的目标窄带中心频点下的窄带干扰已经消失,则将发送该第二检测结果的目标窄带组件的工作模式切换回并联模式,使其继续进行窄带干扰的检测。In this embodiment, if the main control unit determines that the narrowband interference at the target narrowband center frequency indicated by the second detection result has disappeared, then switch the working mode of the target narrowband component sending the second detection result back to the parallel mode, Make it continue to detect narrowband interference.

在一些实施例中,若一个目标窄带组件需要在至少两个目标窄带中心频点下进行窄带干扰的抑制,则主控单元可在接收到该目标窄带组件发送的至少两个第二检测结果,且确定出至少两个目标干扰信噪比中每个目标干扰信噪比均大于干扰信噪比阈值和预设的干扰信噪比余量之和时,再将该目标窄带组件的工作模式切换回并联模式。In some embodiments, if a target narrowband component needs to suppress narrowband interference at least two target narrowband center frequency points, the main control unit may receive at least two second detection results sent by the target narrowband component, And when it is determined that each target interference signal-to-noise ratio of at least two target interference signal-to-noise ratios is greater than the sum of the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, then switch the working mode of the target narrowband component back to parallel mode.

在一些实施例中,在主控单元将一个目标窄带组件的工作模式切换回并联模式时,若该目标窄带组件位于多个目标窄带组件的首端、或中间,则在将该目标窄带组件的工作模式切换回并联模式的同时,将该目标窄带组件放置于多个目标窄带组件的末端。即,始终保持串联模式的目标窄带组件位于多个窄带组件的前面,并联模式的窄带组件位于所有目标窄带组件的后面。In some embodiments, when the main control unit switches the working mode of a target narrowband component back to the parallel mode, if the target narrowband component is located at the head end or in the middle of multiple target narrowband components, then the When the working mode is switched back to the parallel mode, the target narrowband component is placed at the end of multiple target narrowband components. That is, the target narrowband components in serial mode are always located in front of multiple narrowband components, and the narrowband components in parallel mode are located behind all target narrowband components.

图4示出根据本公开一实施例的电力线通信窄带干扰检测与抑制装置的另一结构框图。Fig. 4 shows another structural block diagram of a narrowband interference detection and suppression device for power line communication according to an embodiment of the present disclosure.

如图4所示,该装置除了包括图1所示的窄带检测与抑制单元和主控单元外,还可以包括:发送单元、模拟前端单元、自动增益控制单元、数字带通滤波器、同步单元和解调解码单元。As shown in Figure 4, in addition to the narrowband detection and suppression unit and the main control unit shown in Figure 1, the device may also include: a sending unit, an analog front-end unit, an automatic gain control unit, a digital bandpass filter, and a synchronization unit and a demodulation and decoding unit.

下面对新增的各单元分别介绍。The newly added units are introduced separately below.

其中,发送单元,用于基于原始数据生成并发送OFDM信号。Wherein, the sending unit is configured to generate and send OFDM signals based on the original data.

本实施例中,发送单元获取到待发送的原始数据时,可对原始数据进行数字编码调制,以生成可用于电力线通信的OFDM信号。在一些实施例中,原始数据可以包括:帧控制信息的原始数据和载荷的原始数据。In this embodiment, when the sending unit obtains the original data to be sent, it can digitally encode and modulate the original data to generate an OFDM signal that can be used for power line communication. In some embodiments, the original data may include: original data of the frame control information and original data of the payload.

其中,模拟前端单元,位于发送单元之后,用于对接收到的OFDM信号进行信号放大、滤波和模/数转换处理。Wherein, the analog front-end unit is located behind the sending unit, and is used for performing signal amplification, filtering and analog/digital conversion processing on the received OFDM signal.

本实施例中,模拟前端单元可包括:模数转换器、可编程增益放大器、模拟带通滤波器和数模转换器。其中,模拟带通滤波器用于对接收的OFDM信号进行滤波;模数转换器用于将OFDM信号由模拟信号转换为数字信号;可编程增益放大器用于对OFDM信号进行放大;数模转换器用于将处理后的OFDM信号由数字信号转换为模拟信号后输出给自动增益控制单元。In this embodiment, the analog front-end unit may include: an analog-to-digital converter, a programmable gain amplifier, an analog band-pass filter, and a digital-to-analog converter. Among them, the analog bandpass filter is used to filter the received OFDM signal; the analog-to-digital converter is used to convert the OFDM signal from analog signal to digital signal; the programmable gain amplifier is used to amplify the OFDM signal; the digital-to-analog converter is used to The processed OFDM signal is converted from a digital signal to an analog signal and then output to an automatic gain control unit.

其中,自动增益控制单元,位于模拟前端单元之后,用于调节模拟前端单元的增益,以使输入自动增益控制单元的OFDM信号的幅度落在预设的解调范围内。Wherein, the automatic gain control unit is located behind the analog front-end unit, and is used to adjust the gain of the analog front-end unit, so that the amplitude of the OFDM signal input to the automatic gain control unit falls within a preset demodulation range.

本实施例中,自动增益控制单元对接收到的OFDM信号的幅度进行判断,若该OFMD信号的幅度没有落在预设的解调范围内,则可反向调节模拟前端单元中可编程增益放大器的增益,从而使得模拟前端单元输出的OFDM信号的幅度落在预设的解调范围内,从而提高模拟前端单元中模数转换器的输出信噪比。其中,OFDM信号的幅度为OFDM信号的电压值。In this embodiment, the automatic gain control unit judges the amplitude of the received OFDM signal, and if the amplitude of the OFDM signal does not fall within the preset demodulation range, it can reversely adjust the programmable gain amplifier in the analog front-end unit The gain, so that the amplitude of the OFDM signal output by the analog front-end unit falls within the preset demodulation range, thereby improving the output signal-to-noise ratio of the analog-to-digital converter in the analog front-end unit. Wherein, the amplitude of the OFDM signal is the voltage value of the OFDM signal.

在一些实施例中,该预设的解调范围为适合解调解密单元进行解调的最佳范围。In some embodiments, the preset demodulation range is an optimal range suitable for the demodulation and decryption unit to perform demodulation.

自动增益控制单元具有正常调整模式、慢速调整模式和停止调整模式三种模式。其中,正常调整模式以正常的时间间隔调整可编程增益放大器的增益(例如,1秒调整一次);慢速调整模式以较长的时间间隔调整可编程增益放大器的增益(例如,10秒调整一次);停止调整模式停止调整可编程增益放大器的增益。The automatic gain control unit has three modes: normal adjustment mode, slow adjustment mode and stop adjustment mode. Among them, the normal adjustment mode adjusts the gain of the programmable gain amplifier at normal time intervals (for example, one adjustment per second); the slow adjustment mode adjusts the gain of the programmable gain amplifier at longer time intervals (for example, one adjustment per 10 seconds) ); stop adjustment mode to stop adjusting the gain of the programmable gain amplifier.

在一些实施例中,自动增益控制单元在进入慢速模式的同时,可将本地预设的目标功率调大以增加接收OFDM信号的功率。In some embodiments, when the automatic gain control unit enters the slow mode, it can increase the locally preset target power to increase the power of the received OFDM signal.

在一些实施例中,自动增益控制单元的工作模式可基于数字带通滤波器、窄带检测与抑制单元和同步单元的反馈进行调整。In some embodiments, the working mode of the automatic gain control unit can be adjusted based on the feedback from the digital bandpass filter, the narrowband detection and rejection unit and the synchronization unit.

其中,数字带通滤波器,位于自动增益控制单元之后,用于确定接收到的OFDM信号输入数字带通滤波器时对应的第一功率和该OFDM信号输出数字带通滤波器时对应的第二功率;响应于第一功率和第二功率的差值大于或等于预设功率差阈值,向自动增益控制单元发送第一模式切换指令,该第一模式切换指令用于指示将工作模式切换为慢速模式。Wherein, the digital band-pass filter is located after the automatic gain control unit, and is used to determine the corresponding first power when the received OFDM signal is input to the digital band-pass filter and the corresponding second power when the OFDM signal is output to the digital band-pass filter. Power; in response to the difference between the first power and the second power being greater than or equal to the preset power difference threshold, a first mode switching instruction is sent to the automatic gain control unit, and the first mode switching instruction is used to indicate that the working mode is switched to slow speed mode.

本实施例中,数字带通滤波器中的前端和后端分别部署有功率计算单元,数字带通滤波器可通过这两个功率计算单元来确定带外噪声或干扰功率的大小。数字带通滤波器在接收到来自自动增益控制单元输出的OFDM信号时,可通过前端的功率计算单元确定出刚刚输入数字带通滤波器的OFDM信号对应的第一功率。在数字带通滤波器对OFDM信号滤波后,在滤波后的OFDM信号刚刚要输出数字带通滤波器时,可通过后端的功率计算单元确定出此时的OFDM信号对应的第二功率。若第一功率与第二功率之间的差值大于或等于预设的功率差阈值,则表明带外存在较大的噪声或窄带干扰。因此,数字带通滤波器向自动增益增益控制单元反馈第一模式切换指令,以指示自动增益控制单元由当前的工作模式切换到慢速模式。In this embodiment, the front end and the back end of the digital bandpass filter are respectively equipped with power calculation units, and the digital bandpass filter can determine the magnitude of out-of-band noise or interference power through these two power calculation units. When the digital bandpass filter receives the OFDM signal output from the automatic gain control unit, the first power corresponding to the OFDM signal just input to the digital bandpass filter can be determined through the front-end power calculation unit. After the digital band-pass filter filters the OFDM signal, when the filtered OFDM signal is about to be output to the digital band-pass filter, the second power corresponding to the OFDM signal at this time can be determined through the power calculation unit at the back end. If the difference between the first power and the second power is greater than or equal to the preset power difference threshold, it indicates that there is relatively large noise or narrowband interference out of band. Therefore, the digital bandpass filter feeds back the first mode switching instruction to the automatic gain control unit to instruct the automatic gain control unit to switch from the current working mode to the slow mode.

在一些实施例中,数字带通滤波器也可根据如图2所示装置的工作频段设置该数字带通滤波器的带宽。In some embodiments, the bandwidth of the digital bandpass filter can also be set according to the operating frequency band of the device shown in FIG. 2 .

其中,同步单元,位于窄带检测与抑制单元之后,用于基于对接收的OFDM信号的分析确定同步单元当前的同步状态;基于当前的同步状态向窄带检测与抑制单元发送同步状态信息。Wherein, the synchronization unit, located behind the narrowband detection and suppression unit, is used to determine the current synchronization state of the synchronization unit based on the analysis of the received OFDM signal; and send synchronization state information to the narrowband detection and suppression unit based on the current synchronization state.

本实施例中,同步单元可根据当前对接收的OFDM信号的分析阶段来确定相应的同步状态。若进入正常的帧接收以确定是否接收到OFDM信号的过程,则相应进入初始帧同步状态;若进入判断接收的OFDM信号是否为真正信号的过程,则相应进入帧同步状态;若进入判断接收的OFDM信号的起止位置的过程,则相应进入位同步状态。若当前未执行上述三种过程中的任一种,则认为信道当前的状态为空闲状态,此时,同步单元向窄带检测与抑制单元反馈的同步状态信息中不指示任何一种同步状态。在一些实施例中,在信道当前的状态为空闲状态时,同步状态信息可以为空信息。In this embodiment, the synchronization unit may determine the corresponding synchronization status according to the current analysis phase of the received OFDM signal. If it enters the process of normal frame reception to determine whether OFDM signals are received, it will enter the initial frame synchronization state; if it enters the process of judging whether the received OFDM signal is a real signal, it will enter the frame synchronization state; The process of the start and end positions of the OFDM signal will enter the bit synchronization state accordingly. If any one of the above three processes is not currently performed, the current state of the channel is considered to be an idle state. At this time, the synchronization state information fed back by the synchronization unit to the narrowband detection and suppression unit does not indicate any synchronization state. In some embodiments, when the current state of the channel is an idle state, the synchronization state information may be empty information.

在一些实施例中,同步单元可根据OFDM信号前导的特殊结构,检测出一个合法的物理层协议数据单元,并标出该OFDM信号各个部分的边界。In some embodiments, the synchronization unit can detect a legal physical layer protocol data unit according to the special structure of the OFDM signal preamble, and mark the boundaries of each part of the OFDM signal.

可以理解,同步单元仅对OFDM信号进行分析,同步单元接收的OFDM信号与输出的OFDM信号相同。It can be understood that the synchronization unit only analyzes the OFDM signal, and the OFDM signal received by the synchronization unit is the same as the output OFDM signal.

其中,解调解码单元,位于同步单元之后,用于对接收的OFDM信号进行解调和解码,以确定出OFDM信号中携带的原始数据。Wherein, the demodulation and decoding unit is located after the synchronization unit, and is used to demodulate and decode the received OFDM signal, so as to determine the original data carried in the OFDM signal.

本实施例中,解密解调单元可对接收的OFDM信号进行时频变换和频域处理,以实现对OFDM信号的解调,同时也进行比特和符号级处理,以实现对OFDM信号的解码,从而恢复出帧控制信息的原始数据和载荷的原始数据。In this embodiment, the decryption demodulation unit can perform time-frequency conversion and frequency domain processing on the received OFDM signal to realize demodulation of the OFDM signal, and also perform bit and symbol level processing to realize the decoding of the OFDM signal. Therefore, the original data of the frame control information and the original data of the load are recovered.

如图4所示的装置,窄带检测与抑制单元、同步单元和主控单元还可具有如下功能。In the device shown in Fig. 4, the narrowband detection and suppression unit, the synchronization unit and the main control unit may also have the following functions.

在一些实施例中,窄带检测与抑制单元,还用于响应于工作模式被切换为串联模式,向自动增益控制单元发送第一模式切换指令,该第一模式切换指令用于指示将工作模式切换为慢速模式;响应于工作模式未被切换为串联模式,向自动增益控制单元发送第二模式切换指令,该第二模式切换指令用于指示将工作模式切换为正常模式。In some embodiments, the narrowband detection and suppression unit is further configured to send a first mode switching instruction to the automatic gain control unit in response to the working mode being switched to the series mode, and the first mode switching instruction is used to instruct to switch the working mode is the slow mode; in response to the working mode not being switched to the series mode, send a second mode switching instruction to the automatic gain control unit, where the second mode switching instruction is used to instruct switching the working mode to the normal mode.

本实施例中,若窄带检测与抑制单元的工作模式被切换为串联模式,可确定存在窄带干扰,则向自动增益控制单元反馈用于指示将工作模式切换为慢速模式的第一模式切换指令,以使自动增益控制单元从当前工作模式切换为慢速模式,以防止窄带干扰带来的振荡。若窄带检测与抑制单元的工作模式未被切换为串联模式,可确定出不存在窄带干扰,则向自动增益控制单元反馈用于指示将工作模式切换为正常模式的第二模式切换指令,以使自动增益控制单元从当前工作模式切换为正常模式。In this embodiment, if the working mode of the narrowband detection and suppression unit is switched to the series mode, it can be determined that there is narrowband interference, and the first mode switching instruction for instructing to switch the working mode to the slow mode is fed back to the automatic gain control unit , so that the automatic gain control unit switches from the current working mode to the slow mode, so as to prevent oscillation caused by narrow-band interference. If the working mode of the narrowband detection and suppression unit is not switched to the series mode, it can be determined that there is no narrowband interference, and then feed back to the automatic gain control unit a second mode switching instruction for instructing to switch the working mode to the normal mode, so that The automatic gain control unit switches from the current working mode to the normal mode.

在一些实施例中,同步单元,还用于响应于同步状态为初始帧同步状态,向自动增益控制单元发送第三模式切换指令,该第三模式切换指令用于指示将工作模式切换为停止模式。In some embodiments, the synchronization unit is further configured to send a third mode switching instruction to the automatic gain control unit in response to the synchronization state being the initial frame synchronization state, where the third mode switching instruction is used to instruct to switch the working mode to the stop mode .

本实施例中,若同步单元当前的同步状态为初始帧同步状态,则表明当前进入了正常的帧接收过程,则向自动增益控制单元反馈用于指示将工作模式切换为停止模式的第三模式切换指令,以使自动增益控制单元停止工作。In this embodiment, if the current synchronization state of the synchronization unit is the initial frame synchronization state, it indicates that the normal frame receiving process is currently entered, and the third mode for instructing to switch the working mode to the stop mode is fed back to the automatic gain control unit Toggle command to disable automatic gain control unit.

在一些实施例中,若同步单元向窄带检测与抑制单元发送的同步状态信息指示当前为初始帧同步状态,则窄带检测与抑制单元中处于串联模式的目标窄带组件停止生成第二检测结果,已经生成的第二检测结果清零,以及窄带检测与抑制单元中处于并联模式的窄带组件停止检测,也停止向主控单元发送第一检测结果。并联模式的窄带组件将功率计算长度和初始帧同步所需符号的长度进行比较,扔掉最后几个无效的窄带检测第一信号功率和第二信号功率,对剩余的有效的第一信号功率和第二信号功率进行干扰信噪比计算并进行窄带干扰的判决,同时更新检测参数组中的参数,以便接收转入正常的帧波帧听阶段,重新进行窄带检测。In some embodiments, if the synchronization state information sent by the synchronization unit to the narrowband detection and suppression unit indicates that it is currently in the initial frame synchronization state, the target narrowband component in the serial mode in the narrowband detection and suppression unit stops generating the second detection result, and has The generated second detection result is cleared, and the narrowband components in the parallel mode in the narrowband detection and suppression unit stop detection, and also stop sending the first detection result to the main control unit. The narrowband component in the parallel mode compares the length of the power calculation with the length of the symbol required for initial frame synchronization, discards the last few invalid narrowband detection first signal power and second signal power, and calculates the remaining effective first signal power and The second signal power is used to calculate the interference signal-to-noise ratio and judge the narrow-band interference. At the same time, the parameters in the detection parameter group are updated, so that the reception can be transferred to the normal frame wave frame listening stage, and the narrow-band detection is performed again.

在一些实施例中,主控单元在确定窄带检测与抑制单元的工作频段时,可根据如图4所示装置的工作频段、模拟前端单元中的模拟带通滤波器和数字带通滤波器的特性(例如,通带、阻带和过渡带)确定总幅频响应,进而基于总幅频响应确定出窄带检测与抑制单元的工作频段,该工作频段包括总幅频响应对应的通带和部分过渡带。In some embodiments, when the main control unit determines the operating frequency band of the narrowband detection and suppression unit, it can be based on the operating frequency band of the device shown in Figure 4, the analog band-pass filter and the digital band-pass filter in the analog front-end unit Characteristics (for example, passband, stopband, and transition band) determine the overall amplitude-frequency response, and then determine the operating frequency band of the narrow-band detection and suppression unit based on the overall amplitude-frequency response, which includes the corresponding passband and part of the overall amplitude-frequency response transition zone.

在一些实施例中,主控单元还可对图4所示装置的其它单元进行参数的配置。In some embodiments, the main control unit can also configure parameters of other units of the device shown in FIG. 4 .

在一些实施例中,主控单元还可实现收发调度控制,即确定发送单元发送OFDM信号的时间、发送单元与同步单元之间的其它单元接收OFDM信号的时间。在一些实施例中,主控单元确定的发送时间和接收时间错开。In some embodiments, the main control unit can also realize the scheduling control of sending and receiving, that is, determine the time when the sending unit sends the OFDM signal, and the time when other units between the sending unit and the synchronization unit receive the OFDM signal. In some embodiments, the sending time and receiving time determined by the main control unit are staggered.

在一些实施例中,窄带组件在将第一检测结果上报给主控单元的同时,还可将此时自动增益控制单元所调节的可编程增益放大器的增益值上报给主控单元。In some embodiments, while reporting the first detection result to the main control unit, the narrowband component can also report the gain value of the programmable gain amplifier adjusted by the automatic gain control unit to the main control unit at this time.

本公开实施例中,由于对窄带干扰进行检测与抑制采用的是同一套硬件装置,硬件装置的实现比较简单,且在信道空闲时对窄带干扰进行检测,利用了电力线信道中窄带干扰慢遍的特点,避免了电力线信道频率选择性带来的检测误差。除此此外,由于主控单元只对窄带干扰进行基本的判决,对主控单元的性能要求也较低。因此,以低性能要求的简单装置实现了对窄带干扰的准确检测与抑制。In the embodiment of the present disclosure, since the detection and suppression of narrowband interference use the same set of hardware devices, the implementation of the hardware device is relatively simple, and the detection of narrowband interference when the channel is idle takes advantage of the fact that the narrowband interference in the power line channel is slow. It avoids the detection error caused by the frequency selectivity of the power line channel. In addition, since the main control unit only makes basic decisions on narrowband interference, the performance requirements for the main control unit are also relatively low. Therefore, accurate detection and suppression of narrowband interference is realized with a simple device with low performance requirements.

本公开还提供了电力线通信窄带干扰检测与抑制方法,下面结合图5和图6对本公开所提供的方法进行介绍。The present disclosure also provides a power line communication narrowband interference detection and suppression method, and the method provided by the present disclosure will be introduced below with reference to FIG. 5 and FIG. 6 .

图5示出根据本公开一实施方式的电力线通信窄带干扰检测与抑制方法的流程图。如图5所示,该方法包括以下步骤:Fig. 5 shows a flow chart of a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of the present disclosure. As shown in Figure 5, the method includes the following steps:

在步骤S501中,获取OFDM信号和同步状态信息。In step S501, OFDM signals and synchronization state information are acquired.

在步骤S502中,基于同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对OFDM信号进行检测,得到第一检测结果。In step S502, when it is determined based on the synchronization state information that the current state of the channel is an idle state, the OFDM signal is detected in parallel mode to obtain a first detection result.

在步骤S503中,向主控单元发送第一检测结果。In step S503, the first detection result is sent to the main control unit.

在步骤S504中,响应于窄带检测与抑制单元的工作模式被切换为串联模式,在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果。In step S504, in response to switching the working mode of the narrowband detection and suppression unit to the series mode, narrowband interference suppression is performed in the series mode, and the suppressed OFDM signal is detected to obtain a second detection result.

在步骤S505中,向主控单元发送第二检测结果。In step S505, the second detection result is sent to the main control unit.

在本实施例的一个可选实现方式中,所述在并联模式下对OFDM信号进行检测,得到第一检测结果,包括:In an optional implementation of this embodiment, the detection of the OFDM signal in the parallel mode to obtain the first detection result includes:

在并联模式下获取多个检测参数组;Acquire multiple detection parameter groups in parallel mode;

基于检测参数组确定接收的OFDM信号输入窄带组件中陷波器的第一端时对应的第一信号功率和OFDM信号输出该陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the notch filter in the narrowband component and the corresponding second signal power when the OFDM signal is output to the second end of the notch filter based on the detection parameter set;

基于第一信号功率和第二信号功率生成第一检测结果;generating a first detection result based on the first signal power and the second signal power;

所述向主控单元发送第一检测结果,包括:The sending the first detection result to the main control unit includes:

向主控单元发送多个第一检测结果。Send a plurality of first detection results to the main control unit.

在本实施例的一个可选实现方式中,所述对抑制后的OFDM信号进行检测,得到第二检测结果,包括:In an optional implementation of this embodiment, the detection of the suppressed OFDM signal to obtain a second detection result includes:

确定在目标窄带中心频点下接收的OFDM信号输入至少一个窄带组件中目标窄带组件的目标陷波器的第一端时对应的第一目标信号功率和该OFDM信号输出该目标陷波器的第二端时对应的第二目标信号功率,目标窄带组件为至少一个窄带组件中工作模式被切换为串联模式的窄带组件,目标窄带中心频点为主控单元基于第一检测结果确定的存在窄带干扰的窄带中心频点;Determining the corresponding first target signal power when the OFDM signal received at the target narrowband center frequency is input to the first end of the target notch filter of the target narrowband component in at least one narrowband component and the first target signal power of the OFDM signal output to the target notch filter The second target signal power corresponding to the two ends, the target narrowband component is a narrowband component whose working mode is switched to series mode in at least one narrowband component, and the target narrowband center frequency point is determined by the main control unit based on the first detection result. The narrowband center frequency point of ;

基于第一目标信号功率和第二目标信号功率生成第二检测结果。A second detection result is generated based on the first target signal power and the second target signal power.

本实施例中,上述电力线通信窄带干扰检测与抑制方法可以在图1至图4所示的窄带检测与抑制单元上执行。需要说明的是,本实施例中的电力线通信窄带干扰检测与抑制方法与图1至图4中所介绍的窄带检测与抑制单元的功能和效果对应,具体细节可以参见前文描述,在此不再赘述。In this embodiment, the above narrowband interference detection and suppression method for power line communication may be executed on the narrowband detection and suppression unit shown in FIG. 1 to FIG. 4 . It should be noted that the power line communication narrowband interference detection and suppression method in this embodiment corresponds to the function and effect of the narrowband detection and suppression unit introduced in Fig. 1 to Fig. repeat.

图6示出根据本公开一实施方式的电力线通信窄带干扰检测与抑制方法的另一流程图。如图6所示,该方法包括以下步骤:Fig. 6 shows another flow chart of a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of the present disclosure. As shown in Figure 6, the method includes the following steps:

在步骤S601中,接收来自窄带检测与抑制单元的第一检测结果,并基于第一检测结果确定是否存在窄带干扰。In step S601, receive a first detection result from the narrowband detection and suppression unit, and determine whether there is narrowband interference based on the first detection result.

在步骤S602中,响应于存在窄带干扰,将窄带检测与抑制单元的工作模式切换为串联模式。In step S602, in response to the presence of narrowband interference, the working mode of the narrowband detection and suppression unit is switched to a series mode.

在步骤S603中,接收来自窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失。In step S603, a second detection result from the narrowband detection and suppression unit is received, and based on the second detection result, it is determined whether the suppressed narrowband interference disappears.

在步骤S604中,响应于窄带干扰消失,将窄带检测与抑制单元的工作模式切换为并联模式。In step S604, in response to the disappearance of the narrowband interference, the working mode of the narrowband detection and suppression unit is switched to a parallel mode.

在本实施例的一个可选实现方式中,所述接收来自窄带检测与抑制单元的第一检测结果,并基于第一检测结果确定是否存在窄带干扰,包括:In an optional implementation manner of this embodiment, the receiving the first detection result from the narrowband detection and suppression unit, and determining whether there is narrowband interference based on the first detection result includes:

接收来自窄带检测与抑制单元中至少一个窄带组件的多个第一检测结果;receiving a plurality of first detection results from at least one narrowband component in the narrowband detection and suppression unit;

根据多个第一检测结果,基于预设的第一公式确定多个干扰信噪比;Determining multiple interference signal-to-noise ratios based on a preset first formula according to multiple first detection results;

从多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from a plurality of interference signal-to-noise ratios;

响应于目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to a target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or,

响应于目标干扰信噪比大于或等于干扰信噪比阈值,确定预设数量的目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio;

响应于标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists.

在本实施例的一个可选实现方式中,所述响应于存在窄带干扰,将窄带检测与抑制单元的工作模式切换为串联模式,包括:In an optional implementation of this embodiment, the switching the working mode of the narrowband detection and suppression unit to the series mode in response to the presence of narrowband interference includes:

响应于存在窄带干扰,确定数值小于干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者从预设数量的目标干扰信噪比中确定两个数值最小的目标干扰信噪比,并确定与数值最小的目标干扰信噪比对应的目标窄带中心频点;In response to the presence of narrow-band interference, determine the target narrow-band center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the target interference signal-to-noise ratio with the smallest value from the preset number of target interference signal-to-noise ratios Ratio, and determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value;

基于目标窄带中心频点的数量,从至少一个窄带组件中确定目标窄带组件,目标窄带组件的数量小于或等于目标窄带中心频点的数量、且目标窄带组件位于至少一个窄带组件的前端;Determine the target narrowband component from at least one narrowband component based on the number of target narrowband center frequency points, the number of target narrowband components is less than or equal to the number of target narrowband center frequency points, and the target narrowband component is located at the front end of at least one narrowband component;

将窄带检测与抑制单元中目标窄带组件的工作模式切换为串联模式。The working mode of the target narrowband component in the narrowband detection and suppression unit is switched to a series mode.

在本实施例的一个可选实现方式中,所述接收来自窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失,包括:In an optional implementation of this embodiment, the receiving the second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference disappears based on the second detection result includes:

接收来自窄带检测与抑制单元中目标窄带组件的第二检测结果;receiving a second detection result from the target narrowband component in the narrowband detection and suppression unit;

基于第二检测结果和第一公式确定目标干扰信噪比;determining the target interference signal-to-noise ratio based on the second detection result and the first formula;

响应于目标干扰信噪比大于干扰信噪比阈值和预设的干扰信噪比余量之和,确定在目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point disappears.

在本实施例的一个可选实现方式中,所述响应于窄带干扰消失,将窄带检测与抑制单元的工作模式切换为并联模式,包括:In an optional implementation of this embodiment, the switching the working mode of the narrowband detection and suppression unit to the parallel mode in response to the disappearance of the narrowband interference includes:

响应于窄带干扰消失,将发送第二检测结果的目标窄带组件的工作模式切换为并联模式。In response to the disappearance of the narrowband interference, the working mode of the target narrowband component sending the second detection result is switched to a parallel mode.

在本实施例的一个可选实现方式中,该方法还包括:In an optional implementation manner of this embodiment, the method further includes:

基于窄带检测与抑制单元的工作频段为窄带检测与抑制单元配置多个检测参数组,该检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个窄带中心频点互不相同,且多个窄带中心频点覆盖该工作频段。Based on the working frequency band of the narrowband detection and suppression unit, a plurality of detection parameter groups are configured for the narrowband detection and suppression unit, and the detection parameter groups include a narrowband center frequency point, a notch bandwidth and a power calculation length; wherein, a plurality of narrowband center frequency points are different from each other The same, and multiple narrowband center frequency points cover the working frequency band.

本实施例中,上述电力线通信窄带干扰检测与抑制方法可以在图1或图4所示的主控单元上执行。需要说明的是,本实施例中的电力线通信窄带干扰检测与抑制方法与图1或图4中所介绍的主控单元的功能和效果对应,具体细节可以参见前文描述,在此不再赘述。In this embodiment, the above method for detecting and suppressing narrowband interference in power line communication can be executed on the main control unit shown in FIG. 1 or FIG. 4 . It should be noted that the power line communication narrowband interference detection and suppression method in this embodiment corresponds to the functions and effects of the main control unit introduced in FIG. 1 or FIG. 4 , and details can be found in the previous description, which will not be repeated here.

作为另一方面,本公开还提供了一种芯片,该芯片包括至少一个处理器,可用于实现图1或图4中主控单元或窄带检测与抑制单元所涉及的功能。As another aspect, the present disclosure also provides a chip, which includes at least one processor, which can be used to implement the functions involved in the main control unit or the narrowband detection and suppression unit in FIG. 1 or FIG. 4 .

在一种可能的设计中,该芯片还包括存储器,该存储器用于保存程序指令和数据,存储器位于处理器之内或处理器之外。In a possible design, the chip further includes a memory for storing program instructions and data, and the memory is located inside or outside the processor.

作为另一方面,本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施方式中所述装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本公开的方法。As another aspect, the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be the computer-readable storage medium included in the device described in the above-mentioned embodiments; A computer-readable storage medium assembled in a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the methods described in the present disclosure.

作为另一方面,本公开还提供一种计算机程序产品,包括计算机程序/指令,当计算机程序/指令被允许时,实现电力线通信窄带干扰检测与抑制方法。As another aspect, the present disclosure also provides a computer program product, including a computer program/instruction, and when the computer program/instruction is allowed, a power line communication narrowband interference detection and suppression method is implemented.

附图中的流程图和框图,图示了按照本公开各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a roadmap or block diagram may represent a module, program segment, or part of code that contains one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.

描述于本公开实施方式中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules involved in the embodiments described in the present disclosure may be implemented by means of software or hardware. The described units or modules may also be set in the processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principle. Those skilled in the art should understand that the scope of the invention involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but should also cover the technical solutions made by the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of or equivalent features thereof. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

Claims (31)

1.一种电力线通信窄带干扰检测与抑制装置,其特征在于,包括:窄带检测与抑制单元和主控单元;1. A power line communication narrowband interference detection and suppression device, characterized in that, comprising: a narrowband detection and suppression unit and a main control unit; 所述窄带检测与抑制单元,用于获取OFDM信号和同步状态信息;基于所述同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对所述OFDM信号进行检测,得到第一检测结果;向所述主控单元发送所述第一检测结果;以及响应于工作模式被切换为串联模式,在所述串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果;向所述主控单元发送所述第二检测结果;The narrowband detection and suppression unit is used to acquire OFDM signals and synchronization state information; when it is determined that the current state of the channel is an idle state based on the synchronization state information, the OFDM signal is detected in parallel mode to obtain the first detection result; sending the first detection result to the main control unit; and in response to switching the working mode to the series mode, performing narrowband interference suppression in the series mode, and detecting the suppressed OFDM signal, and obtaining the first Two detection results; sending the second detection result to the main control unit; 所述主控单元,用于接收所述第一检测结果;基于所述第一检测结果确定是否存在窄带干扰;响应于存在窄带干扰,将所述窄带检测与抑制单元的所述工作模式切换为串联模式;以及接收所述第二检测结果;基于所述第二检测结果确定抑制后的窄带干扰是否消失。The main control unit is configured to receive the first detection result; determine whether there is narrowband interference based on the first detection result; and switch the working mode of the narrowband detection and suppression unit to series mode; and receiving the second detection result; determining whether the suppressed narrowband interference disappears based on the second detection result. 2.根据权利要求1所述的装置,其特征在于,所述主控单元,还用于基于所述窄带检测与抑制单元的工作频段为所述窄带检测与抑制单元配置多个检测参数组,所述检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个所述窄带中心频点互不相同,且多个所述窄带中心频点覆盖所述工作频段。2. The device according to claim 1, wherein the main control unit is further configured to configure multiple detection parameter groups for the narrowband detection and suppression unit based on the operating frequency band of the narrowband detection and suppression unit, The detection parameter set includes a narrowband central frequency point, a notch bandwidth, and a power calculation length; wherein, the multiple narrowband central frequency points are different from each other, and the multiple narrowband central frequency points cover the working frequency band. 3.根据权利要求2所述的装置,其特征在于,所述窄带检测与抑制单元包括至少一个窄带组件,所述窄带组件包括陷波器和功率计算单元;3. The device according to claim 2, wherein the narrowband detection and suppression unit comprises at least one narrowband component, and the narrowband component comprises a wave trap and a power calculation unit; 在所述并联模式下,所述窄带组件中的所述陷波器的第一端与所述窄带检测与抑制单元的输入端连接,所述陷波器的第二端与所述窄带组件中的所述功率计算单元的第二端连接,所述功率计算单元的第一端与所述陷波器的第一端连接;In the parallel connection mode, the first end of the wave notch filter in the narrowband component is connected to the input end of the narrowband detection and suppression unit, and the second end of the wave notch filter is connected to the input end of the narrowband component. The second end of the power calculation unit is connected, and the first end of the power calculation unit is connected to the first end of the wave trap; 在所述串联模式下,所述窄带组件中的所述陷波器的第一端分别与第一输入端和所述窄带组件中的所述功率计算单元的第一端连接,所述陷波器的第二端分别与第二输出端和所述功率计算单元的第二端连接。In the series mode, the first end of the wave notch filter in the narrowband component is respectively connected to the first input end and the first end of the power calculation unit in the narrowband component, and the notch The second terminal of the device is respectively connected with the second output terminal and the second terminal of the power calculation unit. 4.根据权利要求3所述的装置,其特征在于,所述窄带检测与抑制单元包括一个窄带组件时,所述第一输入端为所述窄带检测与抑制单元的输入端,所述第二输出端为所述窄带检测与抑制单元的输出端。4. The device according to claim 3, wherein when the narrowband detection and suppression unit comprises a narrowband component, the first input terminal is the input terminal of the narrowband detection and suppression unit, and the second The output terminal is the output terminal of the narrowband detection and suppression unit. 5.根据权利要求3所述的装置,其特征在于,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的首端时,所述第一输入端为所述窄带检测与抑制单元的输入端,所述第二输出端为第一窄带组件中第一陷波器的第一端,或者所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第一窄带组件位于所述窄带组件之后,且所述第一窄带组件与所述窄带组件之间无其它窄带组件。5. The device according to claim 3, wherein the narrowband detection and suppression unit comprises a plurality of narrowband components and when the narrowband component is located at the head end of the plurality of narrowband components, the first input end is the input end of the narrowband detection and suppression unit, the second output end is the first end of the first notch filter in the first narrowband component, or the second output end is the input end of the narrowband detection and suppression unit Output end; wherein, the first narrowband component is located behind the narrowband component, and there is no other narrowband component between the first narrowband component and the narrowband component. 6.根据权利要求3所述的装置,其特征在于,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的中间时,所述第一输入端为第二窄带组件中第二陷波器的第二端,或者所述第一输入端为所述窄带检测与抑制单元的输入端;所述第二输出端为第一窄带组件中第一陷波器的第一端,或者所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第二窄带组件位于所述窄带组件之前,所述第一窄带组件位于所述窄带组件之后,且所述第一窄带组件与所述窄带组件之间以及所述第二窄带组件与所述窄带组件之间无其它窄带组件。6. The device according to claim 3, wherein the narrowband detection and suppression unit comprises a plurality of narrowband components and when the narrowband component is located in the middle of the plurality of narrowband components, the first input terminal is The second end of the second notch filter in the second narrowband assembly, or the first input end is the input end of the narrowband detection and suppression unit; the second output end is the first notch wave in the first narrowband assembly The first terminal of the device, or the second output terminal is the output terminal of the narrowband detection and suppression unit; wherein, the second narrowband component is located before the narrowband component, and the first narrowband component is located in the narrowband After the assembly, there are no other narrow belt components between the first narrow belt component and the narrow belt component and between the second narrow belt component and the narrow belt component. 7.根据权利要求3所述的装置,其特征在于,所述窄带检测与抑制单元包括多个窄带组件且所述窄带组件位于所述多个窄带组件的末端时,所述第一输入端为第二窄带组件中第二陷波器的第二端,或者所述第一输入端为所述窄带检测与抑制单元的输入端;所述第二输出端为所述窄带检测与抑制单元的输出端;其中,所述第二窄带组件位于所述窄带组件之前,且所述第二窄带组件与所述窄带组件之间无其它窄带组件。7. The device according to claim 3, wherein the narrowband detection and suppression unit comprises a plurality of narrowband components and when the narrowband component is located at the end of the plurality of narrowband components, the first input terminal is The second end of the second notch filter in the second narrowband component, or the first input end is the input end of the narrowband detection and suppression unit; the second output end is the output of the narrowband detection and suppression unit end; wherein, the second narrowband component is located in front of the narrowband component, and there is no other narrowband component between the second narrowband component and the narrowband component. 8.根据权利要求3所述的装置,其特征在于,所述窄带组件,用于8. The device according to claim 3, wherein the narrow band assembly is used for 在并联模式下获取至少一个所述检测参数组;acquiring at least one detection parameter set in a parallel mode; 基于所述检测参数组确定接收的OFDM信号输入所述窄带组件中陷波器的第一端时对应的第一信号功率和所述OFDM信号输出所述陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the wave notch filter in the narrowband component and the corresponding first signal power when the OFDM signal is output to the second end of the wave notch filter based on the detection parameter group Two signal power; 基于所述第一信号功率和所述第二信号功率生成所述第一检测结果;generating the first detection result based on the first signal power and the second signal power; 向所述主控单元发送至少一个所述第一检测结果。Sending at least one of the first detection results to the main control unit. 9.根据权利要求8所述的装置,其特征在于,所述主控单元,用于9. The device according to claim 8, wherein the main control unit is configured to 接收来自至少一个所述窄带组件的多个所述第一检测结果;receiving a plurality of said first detection results from at least one of said narrowband components; 根据多个所述第一检测结果,基于预设的第一公式确定多个干扰信噪比;Determining multiple interference signal-to-noise ratios based on a preset first formula according to multiple first detection results; 从所述多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from the plurality of interference signal-to-noise ratios; 响应于所述目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or, 响应于所述目标干扰信噪比大于或等于所述干扰信噪比阈值,确定预设数量的所述目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio; 响应于所述标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists. 10.根据权利要求9所述的装置,其特征在于,所述主控单元,用于10. The device according to claim 9, wherein the main control unit is configured to 响应于存在窄带干扰,确定数值小于所述干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者,从预设数量的所述目标干扰信噪比中确定两个数值最小的目标干扰信噪比,In response to the existence of narrowband interference, determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the minimum of two values from the preset number of the target interference signal-to-noise ratio The target interference signal-to-noise ratio of , 并确定与数值最小的所述目标干扰信噪比对应的目标窄带中心频点;And determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value; 基于所述目标窄带中心频点的数量,从所述至少一个窄带组件中确定目标窄带组件,所述目标窄带组件的数量小于或等于所述目标窄带中心频点的数量、且所述目标窄带组件位于所述至少一个窄带组件的前端;Determine a target narrowband component from the at least one narrowband component based on the number of target narrowband center frequency points, the number of the target narrowband component is less than or equal to the number of target narrowband center frequency points, and the target narrowband component at the front end of the at least one narrowband assembly; 将所述目标窄带组件的工作模式切换为串联模式。Switch the working mode of the target narrowband component to a series mode. 11.根据权利要求10所述的装置,其特征在于,所述目标窄带组件,用于11. The device according to claim 10, wherein the target narrowband assembly is used for 在串联模式下确定在所述目标窄带中心频点下接收的OFDM信号输入所述目标窄带组件中目标陷波器的第一端时对应的第一目标信号功率和所述OFDM信号输出所述目标陷波器的第二端时对应的第二目标信号功率;Determine the corresponding first target signal power when the OFDM signal received at the target narrowband central frequency point is input to the first end of the target notch filter in the target narrowband component in the series mode and the OFDM signal is output to the target The corresponding second target signal power at the second end of the notch filter; 基于所述第一目标信号功率和所述第二目标信号功率生成第二检测结果;generating a second detection result based on the first target signal power and the second target signal power; 向所述主控单元发送所述第二检测结果。Sending the second detection result to the main control unit. 12.根据权利要求11所述的装置,其特征在于,所述主控单元,用于12. The device according to claim 11, wherein the main control unit is configured to 接收所述目标窄带组件的所述第二检测结果;receiving the second detection result of the target narrowband component; 基于所述第二检测结果和所述第一公式确定目标干扰信噪比;determining a target interference signal-to-noise ratio based on the second detection result and the first formula; 响应于所述目标干扰信噪比大于所述干扰信噪比阈值和预设的干扰信噪比余量之和,确定在所述目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, determine that the narrowband interference at the target narrowband center frequency point disappears. 13.根据权利要求12所述的装置,其特征在于,所述主控单元,还用于13. The device according to claim 12, wherein the main control unit is also used to 响应于窄带干扰消失,将发送所述第二检测结果的目标窄带组件的工作模式切换为并联模式。In response to the narrowband interference disappearing, switch the working mode of the target narrowband component sending the second detection result to a parallel mode. 14.根据权利要求1至13中任一项所述的装置,其特征在于,所述装置还包括:14. The device according to any one of claims 1 to 13, further comprising: 发送单元,用于基于原始数据生成并发送OFDM信号。a sending unit, configured to generate and send an OFDM signal based on the original data. 15.根据权利要求14所述的装置,其特征在于,所述装置还包括:15. The device according to claim 14, further comprising: 模拟前端单元,位于所述发送单元之后,用于对接收到的所述OFDM信号进行信号放大、滤波和模/数转换处理。An analog front-end unit, located behind the sending unit, is used to perform signal amplification, filtering and analog-to-digital conversion processing on the received OFDM signal. 16.根据权利要求15所述的装置,其特征在于,所述装置还包括:16. The device according to claim 15, further comprising: 自动增益控制单元,位于所述模拟前端单元之后,用于调节所述模拟前端单元的增益,以使输入所述自动增益控制单元的OFDM信号的幅度落在预设解调范围内。An automatic gain control unit, located behind the analog front-end unit, is used to adjust the gain of the analog front-end unit, so that the amplitude of the OFDM signal input to the automatic gain control unit falls within a preset demodulation range. 17.根据权利要求16所述的装置,其特征在于,所述装置还包括:17. The device according to claim 16, further comprising: 数字带通滤波器,位于所述自动增益控制单元之后,用于确定接收到的OFDM信号输入数字带通滤波器时对应的第一功率和该OFDM信号输出数字带通滤波器时对应的第二功率;A digital band-pass filter, located after the automatic gain control unit, is used to determine the corresponding first power when the received OFDM signal is input to the digital band-pass filter and the corresponding second power when the OFDM signal is output to the digital band-pass filter. power; 响应于第一功率和第二功率的差值大于或等于预设功率差阈值,向自动增益控制单元发送第一模式切换指令,该第一模式切换指令用于指示将工作模式切换为慢速模式。In response to the difference between the first power and the second power being greater than or equal to a preset power difference threshold, a first mode switching instruction is sent to the automatic gain control unit, and the first mode switching instruction is used to instruct switching the working mode to the slow mode . 18.根据权利要求16所述的装置,其特征在于,所述窄带检测与抑制单元,还用于响应于工作模式被切换为串联模式,向所述自动增益控制单元发送第一模式切换指令,所述第一模式切换指令用于指示将工作模式切换为慢速模式;18. The device according to claim 16, wherein the narrowband detection and suppression unit is further configured to send a first mode switching instruction to the automatic gain control unit in response to the working mode being switched to the series mode, The first mode switching instruction is used to instruct to switch the working mode to the slow mode; 响应于工作模式未被切换为串联模式,向所述自动增益控制单元发送第二模式切换指令,所述第二模式切换指令用于指示将工作模式切换为正常模式。In response to the working mode not being switched to the series mode, a second mode switching instruction is sent to the automatic gain control unit, and the second mode switching instruction is used to instruct switching the working mode to the normal mode. 19.根据权利要求18所述的装置,其特征在于,所述装置还包括:19. The device according to claim 18, further comprising: 同步单元,位于所述窄带检测与抑制单元之后,用于基于对接收的OFDM信号的分析确定所述同步单元当前的同步状态;基于当前的所述同步状态向所述窄带检测与抑制单元发送所述同步状态信息。A synchronization unit, located after the narrowband detection and suppression unit, is configured to determine the current synchronization state of the synchronization unit based on the analysis of the received OFDM signal; send the narrowband detection and suppression unit based on the current synchronization state Synchronization status information described above. 20.根据权利要求19所述的装置,其特征在于,所述同步单元,还用于响应于所述同步状态为初始帧同步状态,向所述自动增益控制单元发送第三模式切换指令,所述第三模式切换指令用于指示将工作模式切换为停止模式。20. The device according to claim 19, wherein the synchronization unit is further configured to send a third mode switching instruction to the automatic gain control unit in response to the synchronization state being an initial frame synchronization state, the The third mode switch instruction is used to instruct to switch the working mode to the stop mode. 21.根据权利要求20所述的装置,其特征在于,所述装置还包括:21. The device according to claim 20, further comprising: 解调解码单元,位于所述同步单元之后,用于对接收的OFDM信号进行解调和解码,以确定出所述OFDM信号中携带的所述原始数据。The demodulation and decoding unit, located after the synchronization unit, is used to demodulate and decode the received OFDM signal, so as to determine the original data carried in the OFDM signal. 22.一种电力线通信窄带干扰检测与抑制方法,其特征在于,应用于包括至少一个窄带组件的窄带检测与抑制单元,所述方法包括:22. A power line communication narrowband interference detection and suppression method, characterized in that it is applied to a narrowband detection and suppression unit including at least one narrowband component, the method comprising: 获取OFDM信号和同步状态信息;Obtain OFDM signal and synchronization status information; 基于所述同步状态信息确定信道当前的状态为空闲状态时,在并联模式下对所述OFDM信号进行检测,得到第一检测结果;When it is determined that the current state of the channel is an idle state based on the synchronization state information, the OFDM signal is detected in parallel mode to obtain a first detection result; 向主控单元发送所述第一检测结果;sending the first detection result to the main control unit; 响应于所述窄带检测与抑制单元的工作模式被切换为串联模式,在串联模式下进行窄带干扰抑制,并对抑制后的OFDM信号进行检测,得到第二检测结果;In response to switching the working mode of the narrowband detection and suppression unit to a series mode, narrowband interference suppression is performed in the series mode, and the suppressed OFDM signal is detected to obtain a second detection result; 向主控单元发送所述第二检测结果。Sending the second detection result to the main control unit. 23.根据权利要求22所述的方法,其特征在于,所述在并联模式下对所述OFDM信号进行检测,得到第一检测结果,包括:23. The method according to claim 22, wherein said detecting said OFDM signal in a parallel mode to obtain a first detection result comprises: 在并联模式下获取多个检测参数组;Acquire multiple detection parameter groups in parallel mode; 基于所述检测参数组确定接收的OFDM信号输入所述窄带组件中陷波器的第一端时对应的第一信号功率和所述OFDM信号输出所述陷波器的第二端时对应的第二信号功率;Determine the corresponding first signal power when the received OFDM signal is input to the first end of the wave notch filter in the narrowband component and the corresponding first signal power when the OFDM signal is output to the second end of the wave notch filter based on the detection parameter group Two signal power; 基于所述第一信号功率和所述第二信号功率生成所述第一检测结果;generating the first detection result based on the first signal power and the second signal power; 所述向主控单元发送所述第一检测结果,包括:The sending the first detection result to the main control unit includes: 向所述主控单元发送多个所述第一检测结果。Sending multiple first detection results to the main control unit. 24.根据权利要求22或23所述的方法,其特征在于,所述对抑制后的OFDM信号进行检测,得到第二检测结果,包括:24. The method according to claim 22 or 23, wherein said detection of the suppressed OFDM signal to obtain a second detection result comprises: 确定在目标窄带中心频点下接收的OFDM信号输入所述至少一个窄带组件中目标窄带组件的目标陷波器的第一端时对应的第一目标信号功率和所述OFDM信号输出所述目标陷波器的第二端时对应的第二目标信号功率,所述目标窄带组件为所述至少一个窄带组件中工作模式被切换为串联模式的窄带组件,所述目标窄带中心频点为所述主控单元基于所述第一检测结果确定的存在窄带干扰的窄带中心频点;determining the corresponding first target signal power when the OFDM signal received at the target narrowband center frequency is input to the first end of the target notch filter of the target narrowband component in the at least one narrowband component and the OFDM signal outputting the target notch The second terminal of the oscilloscope is the corresponding second target signal power, the target narrowband component is the narrowband component whose working mode is switched to series mode in the at least one narrowband component, and the target narrowband center frequency point is the main The control unit determines the narrowband central frequency point where narrowband interference exists based on the first detection result; 基于所述第一目标信号功率和所述第二目标信号功率生成所述第二检测结果。The second detection result is generated based on the first target signal power and the second target signal power. 25.一种电力线通信窄带干扰检测与抑制方法,其特征在于,应用于主控单元,所述方法包括:25. A power line communication narrowband interference detection and suppression method, characterized in that it is applied to a main control unit, and the method includes: 接收来自窄带检测与抑制单元的第一检测结果,并基于所述第一检测结果确定是否存在窄带干扰;receiving a first detection result from the narrowband detection and suppression unit, and determining whether there is narrowband interference based on the first detection result; 响应于存在窄带干扰,将所述窄带检测与抑制单元的工作模式切换为串联模式;In response to the presence of narrowband interference, switching the working mode of the narrowband detection and suppression unit to a series mode; 接收来自所述窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失;receiving a second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference disappears based on the second detection result; 响应于所述窄带干扰消失,将所述窄带检测与抑制单元的工作模式切换为并联模式。In response to the disappearance of the narrowband interference, the working mode of the narrowband detection and suppression unit is switched to a parallel mode. 26.根据权利要求25所述的方法,其特征在于,所述接收来自窄带检测与抑制单元的第一检测结果,并基于所述第一检测结果确定是否存在窄带干扰,包括:26. The method according to claim 25, wherein the receiving the first detection result from the narrowband detection and suppression unit, and determining whether there is narrowband interference based on the first detection result, comprises: 接收来自所述窄带检测与抑制单元中至少一个窄带组件的多个所述第一检测结果;receiving a plurality of first detection results from at least one narrowband component in the narrowband detection and suppression unit; 根据多个所述第一检测结果,基于预设的第一公式确定多个干扰信噪比;Determining multiple interference signal-to-noise ratios based on a preset first formula according to multiple first detection results; 从所述多个干扰信噪比中确定预设数量的目标干扰信噪比;determining a preset number of target interference signal-to-noise ratios from the plurality of interference signal-to-noise ratios; 响应于所述目标干扰信噪比小于预设的干扰信噪比阈值,确定存在窄带干扰;或者,determining that narrowband interference exists in response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold; or, 响应于所述目标干扰信噪比大于或等于所述干扰信噪比阈值,确定预设数量的所述目标干扰信噪比对应的标准差;In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, determine a preset number of standard deviations corresponding to the target interference signal-to-noise ratio; 响应于标准差大于预设的干扰信噪比标准差阈值,确定存在窄带干扰。In response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, it is determined that narrowband interference exists. 27.根据权利要求26所述的方法,其特征在于,所述响应于存在窄带干扰,将窄带检测与抑制单元的工作模式切换为串联模式,包括:27. The method according to claim 26, wherein the switching the operating mode of the narrowband detection and suppression unit to a series mode in response to the presence of narrowband interference comprises: 响应于存在窄带干扰,确定数值小于所述干扰信噪比阈值的目标干扰信噪比对应的目标窄带中心频点,或者从预设数量的所述目标干扰信噪比中确定两个数值最小的目标干扰信噪比,并确定与数值最小的所述目标干扰信噪比对应的目标窄带中心频点;In response to the presence of narrowband interference, determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio whose value is less than the interference signal-to-noise ratio threshold, or determine the two minimum values from the preset number of the target interference signal-to-noise ratio Target interference signal-to-noise ratio, and determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value; 基于所述目标窄带中心频点的数量,从所述至少一个窄带组件中确定目标窄带组件,所述目标窄带组件的数量小于或等于所述目标窄带中心频点的数量、且所述目标窄带组件位于所述至少一个窄带组件的前端;Determine a target narrowband component from the at least one narrowband component based on the number of target narrowband center frequency points, the number of the target narrowband component is less than or equal to the number of target narrowband center frequency points, and the target narrowband component at the front end of the at least one narrowband assembly; 将所述窄带检测与抑制单元中所述目标窄带组件的工作模式切换为串联模式。Switching the working mode of the target narrowband component in the narrowband detection and suppression unit to a series mode. 28.根据权利要求27所述的方法,其特征在于,所述接收来自所述窄带检测与抑制单元的第二检测结果,基于第二检测结果确定抑制后的窄带干扰是否消失,包括:28. The method according to claim 27, wherein the receiving the second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference disappears based on the second detection result comprises: 接收来自所述窄带检测与抑制单元中所述目标窄带组件的第二检测结果;receiving a second detection result from the target narrowband component in the narrowband detection and suppression unit; 基于所述第二检测结果和所述第一公式确定目标干扰信噪比;determining a target interference signal-to-noise ratio based on the second detection result and the first formula; 响应于所述目标干扰信噪比大于所述干扰信噪比阈值和预设的干扰信噪比余量之和,确定在所述目标窄带中心频点下的窄带干扰消失。In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and a preset interference signal-to-noise ratio margin, determine that the narrowband interference at the target narrowband center frequency point disappears. 29.根据权利要求28所述的方法,其特征在于,所述响应于所述窄带干扰消失,将所述窄带检测与抑制单元的工作模式切换为并联模式,包括:29. The method according to claim 28, wherein in response to the disappearance of the narrowband interference, switching the operating mode of the narrowband detection and suppression unit to a parallel mode comprises: 响应于窄带干扰消失,将发送所述第二检测结果的目标窄带组件的工作模式切换为并联模式。In response to the narrowband interference disappearing, switch the working mode of the target narrowband component sending the second detection result to a parallel mode. 30.根据权利要求25至29中任一项所述的方法,其特征在于,所述方法还包括:30. The method according to any one of claims 25 to 29, further comprising: 基于所述窄带检测与抑制单元的工作频段为所述窄带检测与抑制单元配置多个检测参数组,所述检测参数组包括窄带中心频点、陷波带宽和功率计算长度;其中,多个所述窄带中心频点互不相同,且多个所述窄带中心频点覆盖所述工作频段。Configure multiple detection parameter groups for the narrowband detection and suppression unit based on the operating frequency band of the narrowband detection and suppression unit, the detection parameter groups include narrowband center frequency points, notch bandwidths, and power calculation lengths; The narrowband central frequency points are different from each other, and multiple narrowband central frequency points cover the working frequency band. 31.一种芯片,其特征在于,包括:至少一个处理器,用于实现如权利要求22至30中任一项所述的方法中所涉及的功能。31. A chip, characterized by comprising: at least one processor, configured to implement the functions involved in the method according to any one of claims 22 to 30.
CN202310764720.4A 2023-06-27 2023-06-27 Device, method and chip for detecting and suppressing power line communication narrowband interference Pending CN116614146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310764720.4A CN116614146A (en) 2023-06-27 2023-06-27 Device, method and chip for detecting and suppressing power line communication narrowband interference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310764720.4A CN116614146A (en) 2023-06-27 2023-06-27 Device, method and chip for detecting and suppressing power line communication narrowband interference

Publications (1)

Publication Number Publication Date
CN116614146A true CN116614146A (en) 2023-08-18

Family

ID=87680217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310764720.4A Pending CN116614146A (en) 2023-06-27 2023-06-27 Device, method and chip for detecting and suppressing power line communication narrowband interference

Country Status (1)

Country Link
CN (1) CN116614146A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807405B1 (en) * 1999-04-28 2004-10-19 Isco International, Inc. Method and a device for maintaining the performance quality of a code-division multiple access system in the presence of narrow band interference
CN101536324A (en) * 2006-11-06 2009-09-16 高通股份有限公司 Narrow-band interference canceller
CN103647580A (en) * 2008-06-06 2014-03-19 马克西姆综合产品公司 Jammer canceller for power-line communication
CN112217530A (en) * 2020-09-04 2021-01-12 北京四季豆信息技术有限公司 Narrow-band interference detection and suppression method, device, chip, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807405B1 (en) * 1999-04-28 2004-10-19 Isco International, Inc. Method and a device for maintaining the performance quality of a code-division multiple access system in the presence of narrow band interference
CN101536324A (en) * 2006-11-06 2009-09-16 高通股份有限公司 Narrow-band interference canceller
CN103647580A (en) * 2008-06-06 2014-03-19 马克西姆综合产品公司 Jammer canceller for power-line communication
CN112217530A (en) * 2020-09-04 2021-01-12 北京四季豆信息技术有限公司 Narrow-band interference detection and suppression method, device, chip, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周春良;王连成;迟海明;张晓辉;唐晓柯;: "高性能电力线通信基带收发器的设计", 电子设计工程, no. 02, 20 January 2020 (2020-01-20) *
胡爱群, 韩一明, 顾群: "电力线扩频通信中窄带干扰自适应抑制技术", 电力系统通信, no. 09, 25 October 2002 (2002-10-25) *

Similar Documents

Publication Publication Date Title
US7986966B2 (en) Wireless communication device and signal detection circuit
JP2005515683A (en) Method and apparatus for optimizing the dynamic range of a wideband analog / digital converter
US5388123A (en) Data receiving system
EP1798865B1 (en) Communication apparatus and communication method used in spectrum sharing environment
US20100272217A1 (en) Power Consumption Control Methods Applied to Communication Systems, and Related Devices
US7746807B2 (en) Band limiting method and wireless communication system
US6768441B2 (en) Methods of receiving communications signals including a plurality of digital filters having different bandwidths and related receivers
US20070279196A1 (en) Power Line Communications Device In Which Physical Communications Protocol Layer Operation Is Dynamically Selectable
US20120147928A1 (en) Radio communication apparatus
KR20160010033A (en) Layered detection method and apparatus for qam-fbmc system
JP4027565B2 (en) Digital receiver
US11303313B2 (en) Interference cancellation circuit and associated interference cancellation method
CN116614146A (en) Device, method and chip for detecting and suppressing power line communication narrowband interference
JP4708432B2 (en) Power line carrier communication modem
JP2011041060A (en) Receiving device
CN104756416B (en) A kind of method and the network equipment of wave channel bandwidth switching
JP4684308B2 (en) Demodulator
JP4035455B2 (en) Portable receiver
JP5306111B2 (en) OFDM receiver
WO2011032337A1 (en) Method and device for reducing peak clipping noise interference
CN120474505A (en) Automatic gain control system, method and receiver based on radio frequency envelope detection
CN113162640A (en) Interference cancellation circuit and related interference cancellation method
US20100303161A1 (en) Receiver apparatus
JP2008035413A (en) Receiving apparatus and receiving method
CN119052850A (en) Communication parameter reconfiguration method, device, communication equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination