Power line communication narrowband interference detection and suppression apparatus, method and chip
By employing a combination of a narrowband detection and suppression unit and a main control unit in power line communication, and utilizing parallel and series mode switching, accurate narrowband interference detection and suppression with simple hardware is achieved, reducing the performance requirements of the main control unit and decreasing detection errors.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
- Filing Date
- 2023-06-27
- Publication Date
- 2026-05-12
AI Technical Summary
Existing technologies for narrowband interference detection and suppression in power line communication involve complex hardware devices and high CPU performance requirements, and frequency selectivity leads to a high probability of detection errors.
A combination of a narrowband detection and suppression unit and a main control unit is used to detect and suppress narrowband interference by switching between parallel and series modes. The detection is performed when the channel is idle using synchronization status information, and the system switches to series mode to suppress narrowband interference when it is present.
It achieves accurate narrowband interference detection and suppression with simple hardware devices, reduces the performance requirements of the main control unit, and avoids detection errors caused by the frequency selectivity of the power line channel.
Smart Images

Figure CN116614146B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of power line communication technology, specifically to a power line communication narrowband interference detection and suppression device, method, and chip. Background Technology
[0002] Power line communication (PLC) is a communication method that uses power lines to transmit data and media signals. Due to its advantages such as low construction cost and wide coverage, it has been widely promoted and applied in electricity information collection systems. Power lines are primarily designed for transmitting electrical energy, and when used as communication channels, severe narrowband interference is prevalent in low-voltage power line channels. If the narrowband interference is strong and occurs at multiple frequencies, it will seriously affect the performance of power line communication; therefore, it is necessary to suppress narrowband interference in power line channels.
[0003] Currently, when detecting and suppressing narrowband interference in power line channels, the received signal is typically subjected to time-frequency transformation or the channel's frequency domain response is utilized. Then, the presence of narrowband interference is determined in the frequency domain based on the average and peak power at each frequency point. If narrowband interference is present, limiting and zeroing operations are performed at the corresponding narrowband interference point in the frequency domain, or a notch filter is configured in the time domain. However, when using time-frequency transformation for narrowband interference detection and suppression, the hardware required is large and complex if implemented, while software implementation places high demands on the performance of the central processing unit (CPU). Furthermore, when using the channel's frequency domain response for narrowband interference detection and suppression, the strong frequency selectivity of the power line channel makes it difficult to select the appropriate decision threshold for the time-frequency narrowband signal, leading to a certain probability of detection error.
[0004] Therefore, how to achieve accurate detection and suppression of narrowband interference with simple devices that have low performance requirements has become a technical problem that urgently needs to be solved. Summary of the Invention
[0005] To address the problems in the related technologies, this disclosure provides a power line communication narrowband interference detection and suppression device, method, and chip.
[0006] In a first aspect, this disclosure provides a power line communication narrowband interference detection and suppression device.
[0007] Specifically, the power line communication narrowband interference detection and suppression device includes: a narrowband detection and suppression unit and a main control unit;
[0008] The narrowband detection and suppression unit is used to acquire orthogonal frequency division multiplexing (OFDM) signals and synchronization status information; when the current channel state is determined to be idle based on the synchronization status information, it detects the OFDM signal in parallel mode to obtain a first detection result; sends the first detection result to the main control unit; and in response to the operating mode being switched to serial mode, it performs narrowband interference suppression in serial mode and detects the suppressed OFDM signal to obtain a second detection result; and sends the second detection result to the main control unit.
[0009] The main control unit is configured to receive the first detection result; determine whether narrowband interference exists based on the first detection result; switch the operating mode of the narrowband detection and suppression unit to a serial mode in response to the presence of narrowband interference; and receive the second detection result; and determine whether the suppressed narrowband interference has disappeared based on the second detection result.
[0010] In one implementation of this disclosure, 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 groups include the narrowband center frequency, notch bandwidth, and power calculation length. The multiple narrowband center frequencies are different from each other, and the multiple narrowband center frequencies cover the operating frequency band.
[0011] In one implementation of this disclosure, the narrowband detection and suppression unit includes at least one narrowband component, which includes a notch filter and a power calculation unit;
[0012] In the parallel mode, the first end of the notch filter in the narrowband assembly is connected to the input end of the narrowband detection and suppression unit, the second end of the notch filter is connected to the second end of the power calculation unit in the narrowband assembly, and the first end of the power calculation unit is connected to the first end of the notch filter.
[0013] In the series mode, the first end of the notch filter in the narrowband assembly is connected to the first input terminal and the first end of the power calculation unit in the narrowband assembly, respectively, and the second end of the notch filter is connected to the second output terminal and the second end of the power calculation unit, respectively.
[0014] In one implementation of this 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 output terminal of the narrowband detection and suppression unit.
[0015] In one implementation of this disclosure, when the narrowband detection and suppression unit includes multiple narrowband components and the narrowband components are located at the beginning 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 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 first narrowband component is located after the narrowband components, and there are no other narrowband components between the first narrowband component and the narrowband components.
[0016] In one implementation of this disclosure, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband components are 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 component, or the first input terminal is the input terminal of the narrowband detection and suppression unit; the second output terminal 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 there are no other narrowband components between the first narrowband component and the narrowband component, or between the second narrowband component and the narrowband component.
[0017] In one implementation of this disclosure, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband components are located at the ends 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 terminal is the input terminal of the narrowband detection and suppression unit; 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 there are no other narrowband components between the second narrowband component and the narrowband component.
[0018] In one implementation of this disclosure, the narrowband component is used for
[0019] At least one of the detection parameter groups is acquired in parallel mode;
[0020] Based on the detection parameter set, determine the first signal power corresponding to the first end of the notch filter in the narrowband component when the received OFDM signal is input to the first end of the notch filter and the second signal power corresponding to the second end of the notch filter when the OFDM signal is output from the second end of the notch filter.
[0021] The first detection result is generated based on the first signal power and the second signal power;
[0022] Send at least one of the first detection results to the main control unit.
[0023] In one implementation of this disclosure, the main control unit is used for
[0024] Receive multiple first detection results from at least one of the narrowband components;
[0025] Based on multiple first detection results, multiple interference signal-to-noise ratios (SINRs) are determined using a preset first formula;
[0026] A preset number of target interference signal-to-noise ratios are determined from the plurality of interference signal-to-noise ratios;
[0027] In response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, it is determined that narrowband interference exists; or,
[0028] In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to the target interference signal-to-noise ratio are determined;
[0029] If the standard deviation is greater than a preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
[0030] In one implementation of this disclosure, the main control unit is used for
[0031] In response to the presence of narrowband interference, a target narrowband center frequency point corresponding to a target interference signal-to-noise ratio with a value less than the interference signal-to-noise ratio threshold is determined; or, two target interference signal-to-noise ratios with the smallest values are determined from a preset number of target interference signal-to-noise ratios, and a target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value is determined.
[0032] Based on the number of target narrowband center frequencies, a target narrowband component is determined from the at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of the at least one narrowband component;
[0033] Switch the operating mode of the target narrowband component to serial mode.
[0034] In one implementation of this disclosure, the target narrowband component is used for
[0035] In the serial mode, the first target signal power corresponding to the input of the OFDM signal received at the center frequency of the target narrowband to the first end of the target notch filter in the target narrowband component and the second target signal power corresponding to the output of the OFDM signal to the second end of the target notch filter are determined.
[0036] A second detection result is generated based on the first target signal power and the second target signal power;
[0037] The second detection result is sent to the main control unit.
[0038] In one implementation of this disclosure, the main control unit is used for
[0039] Receive the second detection result of the target narrowband component;
[0040] The target interference signal-to-noise ratio is determined based on the second detection result and the first formula;
[0041] In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
[0042] In one implementation of this disclosure, the main control unit is further used for
[0043] In response to the disappearance of narrowband interference, the operating mode of the target narrowband component that transmits the second detection result is switched to parallel mode.
[0044] In one implementation of this disclosure, the apparatus further includes:
[0045] The transmitting unit is used to generate and transmit OFDM signals based on the raw data.
[0046] In one implementation of this disclosure, the apparatus further includes:
[0047] The analog front-end unit, located after the transmitting unit, is used to amplify, filter, and perform analog-to-digital conversion on the received OFDM signal.
[0048] In one implementation of this disclosure, the apparatus further includes:
[0049] An automatic gain control unit, located after 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.
[0050] In one implementation of this disclosure, the apparatus further includes:
[0051] A digital bandpass filter, located after the automatic gain control unit, is used to determine the first power corresponding to the input of the received OFDM signal into the digital bandpass filter and the second power corresponding to the output of the OFDM signal into the digital bandpass filter;
[0052] 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 command is sent to the automatic gain control unit. The first mode switching command is used to indicate that the operating mode is switched to slow mode.
[0053] In one implementation of this disclosure, the narrowband detection and suppression unit is further configured to send a first mode switching command to the automatic gain control unit in response to the operating mode being switched to serial mode, the first mode switching command being configured to indicate that the operating mode is switched to slow mode.
[0054] In response to the fact that the operating mode has not been switched to the serial mode, a second mode switching command is sent to the automatic gain control unit, the second mode switching command being used to instruct the operating mode to be switched to the normal mode.
[0055] In one implementation of this disclosure, the apparatus further includes:
[0056] The synchronization unit, located after 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 to send the synchronization state information to the narrowband detection and suppression unit based on the current synchronization state.
[0057] In one implementation of this 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 an initial frame synchronization state. The third mode switching instruction is used to indicate that the working mode is switched to the stop mode.
[0058] In one implementation of this disclosure, the apparatus further includes:
[0059] The demodulation and decoding unit, located after the synchronization unit, is used to demodulate and decode the received OFDM signal to determine the original data carried in the OFDM signal.
[0060] Secondly, this disclosure provides a method for detecting and suppressing narrowband interference in power line communication.
[0061] Specifically, the method is applied to a narrowband detection and suppression unit including at least one narrowband component, and the method includes:
[0062] Acquire OFDM signals and synchronization status information;
[0063] 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 a first detection result;
[0064] Send the first detection result to the main control unit;
[0065] In response to the narrowband detection and suppression unit being switched to series mode, narrowband interference suppression is performed in series mode, and the suppressed OFDM signal is detected to obtain a second detection result.
[0066] The second detection result is sent to the main control unit.
[0067] In one implementation of this disclosure, the step of detecting the OFDM signal in parallel mode to obtain a first detection result includes:
[0068] Multiple sets of detection parameters are acquired in parallel mode;
[0069] Based on the detection parameter set, determine the first signal power corresponding to the first end of the notch filter in the narrowband component when the received OFDM signal is input to the first end of the notch filter and the second signal power corresponding to the second end of the notch filter when the OFDM signal is output from the second end of the notch filter.
[0070] The first detection result is generated based on the first signal power and the second signal power;
[0071] Sending the first detection result to the main control unit includes:
[0072] Multiple first detection results are sent to the main control unit.
[0073] In one implementation of this disclosure, the step of detecting the suppressed OFDM signal to obtain a second detection result includes:
[0074] The system determines the 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 second target signal power when the OFDM signal is output to the second end of the target notch filter. The target narrowband component is the narrowband component whose operating mode is switched to serial mode in the at least one narrowband component. The target narrowband center frequency is the narrowband center frequency with narrowband interference determined by the main control unit based on the first detection result.
[0075] The second detection result is generated based on the first target signal power and the second target signal power.
[0076] Thirdly, this disclosure provides a method for detecting and suppressing narrowband interference in power line communication.
[0077] Specifically, the method is applied to the main control unit, and the method includes:
[0078] Receive a first detection result from the narrowband detection and suppression unit, and determine whether narrowband interference exists based on the first detection result;
[0079] In response to the presence of narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to serial mode;
[0080] Receive a second detection result from the narrowband detection and suppression unit, and determine whether the suppressed narrowband interference has disappeared based on the second detection result;
[0081] In response to the disappearance of the narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to parallel mode.
[0082] In one implementation of this disclosure, receiving a first detection result from the narrowband detection and suppression unit, and determining whether narrowband interference exists based on the first detection result, includes:
[0083] Receive multiple first detection results from at least one narrowband component in the narrowband detection and suppression unit;
[0084] Based on multiple first detection results, multiple interference signal-to-noise ratios are determined using a preset first formula;
[0085] A preset number of target interference signal-to-noise ratios are determined from the plurality of interference signal-to-noise ratios;
[0086] In response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, it is determined that narrowband interference exists; or,
[0087] In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to the target interference signal-to-noise ratio are determined;
[0088] If the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
[0089] In one implementation of this disclosure, switching the operating mode of the narrowband detection and suppression unit to a serial mode in response to the presence of narrowband interference includes:
[0090] In response to the presence of narrowband interference, the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with a value less than the interference signal-to-noise ratio threshold is determined, or the two smallest target interference signal-to-noise ratios are determined from a preset number of target interference signal-to-noise ratios, and the target narrowband center frequency point corresponding to the smallest target interference signal-to-noise ratio is determined.
[0091] Based on the number of target narrowband center frequencies, a target narrowband component is determined from the at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of the at least one narrowband component;
[0092] The operating mode of the target narrowband component in the narrowband detection and suppression unit is switched to serial mode.
[0093] In one implementation of this disclosure, receiving a second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference has disappeared based on the second detection result, includes:
[0094] Receive a second detection result from the target narrowband component in the narrowband detection and suppression unit;
[0095] The target interference signal-to-noise ratio is determined based on the second detection result and the first formula;
[0096] In response to the target interference signal-to-noise ratio being greater than the sum of the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
[0097] In one implementation of this disclosure, the step of switching the operating mode of the narrowband detection and suppression unit to parallel mode in response to the disappearance of the narrowband interference includes:
[0098] In response to the disappearance of narrowband interference, the operating mode of the target narrowband component that transmits the second detection result is switched to parallel mode.
[0099] In one implementation of this disclosure, the method further includes:
[0100] Based on the operating frequency band of the narrowband detection and suppression unit, multiple detection parameter groups are configured for the narrowband detection and suppression unit. The detection parameter groups include the narrowband center frequency, notch bandwidth, and power calculation length. The multiple narrowband center frequencies are different from each other and cover the operating frequency band.
[0101] Fourthly, this disclosure provides a chip comprising: at least one processor for implementing the functions involved in the second aspect and any implementation thereof, or the third aspect and any implementation thereof.
[0102] The technical effects provided by the embodiments of this disclosure may include the following beneficial effects:
[0103] The above technical solution provides a power line communication narrowband interference detection and suppression device. This device includes a narrowband detection and suppression unit and a main control unit. The narrowband detection and suppression unit can acquire OFDM signals and synchronization status information. When the current channel state is determined to be idle based on the synchronization status information, it detects the OFDM signal in parallel mode to obtain a first detection result and sends this first detection result to the main control unit. The main control unit can receive the first detection result and determine whether narrowband interference exists based on it. If narrowband interference exists, the operating mode of the narrowband detection and suppression unit is switched to series mode. When the narrowband detection and suppression unit determines that its operating mode has been switched to series mode, it indicates the presence of narrowband interference. It then performs narrowband interference suppression in series mode and continues to detect the suppressed OFDM signal to obtain a second detection result, which is then sent to the main control unit. The main control unit can receive the second detection result and determine whether the suppressed narrowband interference has disappeared based on it. Because this disclosure uses the same hardware device for narrowband detection and suppression, the implementation of the hardware device is relatively simple. Furthermore, this disclosure detects narrowband interference when the channel is idle, taking advantage of the slow spread characteristic of narrowband interference in the power line channel, thus avoiding detection errors caused by the frequency selectivity of the power line channel. In addition, since the main control unit only performs basic decisions on narrowband interference, the performance requirements for the main control unit are also low. Therefore, accurate detection and suppression of narrowband interference are achieved with a simple device that has low performance requirements.
[0104] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0105] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
[0106] Figure 1 A structural block diagram of a power line communication narrowband interference detection and suppression device according to an embodiment of the present disclosure is shown.
[0107] Figure 2 A structural diagram of a narrowband component in parallel mode according to an embodiment of the present disclosure is shown.
[0108] Figure 3 A structural diagram of a narrowband component in serial mode according to an embodiment of the present disclosure is shown.
[0109] Figure 4 Another structural block diagram of a power line communication narrowband interference detection and suppression device according to an embodiment of the present disclosure is shown.
[0110] Figure 5A flowchart is shown for a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of the present disclosure.
[0111] Figure 6 Another flowchart of a power line communication narrowband interference detection and suppression method according to an embodiment of the present disclosure is shown. Detailed Implementation
[0112] In the following, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings to enable those skilled in the art to readily implement them. Furthermore, for clarity, portions unrelated to the description of exemplary embodiments have been omitted from the drawings.
[0113] In this disclosure, it should be understood that terms such as “comprising” or “having” are intended to indicate the presence of features, figures, steps, behaviors, components, parts or combinations thereof disclosed in this specification, and are not intended to exclude the possibility of the presence or addition of one or more other features, figures, steps, behaviors, components, parts or combinations thereof.
[0114] It should also be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0115] As mentioned above, current methods for detecting and suppressing narrowband interference in power line channels typically involve time-frequency transformation of the received signal or utilizing the channel's frequency domain response. The presence of narrowband interference is then determined in the frequency domain based on the average and peak power at each frequency point. If interference is present, limiting and zeroing operations are performed at the corresponding narrowband interference point in the frequency domain, or a notch filter is configured in the time domain. However, when using time-frequency transformation for narrowband interference detection, hardware implementation requires large and complex devices, while software implementation places high demands on CPU performance. Furthermore, when using the channel's frequency domain response for narrowband interference detection and suppression, the strong frequency selectivity of power line channels makes it difficult to select the appropriate decision threshold for narrowband interference in the time and frequency domains, leading to a certain probability of detection error. Therefore, achieving accurate detection and suppression of narrowband interference with a simple device with low performance requirements has become a pressing technical problem.
[0116] In view of the above-mentioned deficiencies, this 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 acquire OFDM signals and synchronization status information. When the current channel state is determined to be idle based on the synchronization status information, it detects the OFDM signal in parallel mode to obtain a first detection result and sends this first detection result to the main control unit. The main control unit can receive the first detection result and determine whether narrowband interference exists based on it. If narrowband interference exists, the operating mode of the narrowband detection and suppression unit is switched to series mode. When the narrowband detection and suppression unit determines that its operating mode has been switched to series mode, it indicates the presence of narrowband interference. It then performs narrowband interference suppression in series mode and continues to detect the suppressed OFDM signal to obtain a second detection result, which is then sent to the main control unit. The main control unit can receive the second detection result and determine whether the suppressed narrowband interference has disappeared based on it. Because this disclosure uses the same hardware device for narrowband detection and suppression, the implementation of the hardware device is relatively simple. Furthermore, this disclosure detects narrowband interference when the channel is idle, taking advantage of the slow spread characteristic of narrowband interference in the power line channel, thus avoiding detection errors caused by the frequency selectivity of the power line channel. In addition, since the main control unit only performs basic decisions on narrowband interference, the performance requirements for the main control unit are also low. Therefore, accurate detection and suppression of narrowband interference are achieved with a simple device that has low performance requirements.
[0117] The details of the embodiments of this disclosure are described in detail below through specific examples.
[0118] Figure 1 A structural block diagram of a power line communication narrowband interference detection and suppression device according to an embodiment of the present disclosure is shown.
[0119] like Figure 1 As shown, the device includes a narrowband detection and suppression unit and a main control unit.
[0120] The narrowband detection and suppression unit is used to acquire OFDM signals and synchronization status information; when the current channel state is determined to be idle based on the synchronization status information, it detects the OFDM signal in parallel mode to obtain a first detection result; sends the first detection result to the main control unit; and in response to the working mode being switched to serial mode, it performs narrowband interference suppression in serial mode and detects the suppressed OFDM signal to obtain a second detection result; and sends the second detection result to the main control unit.
[0121] In this embodiment, the narrowband detection and suppression unit primarily detects the acquired OFDM signal, i.e., detects narrowband interference. This allows the main control unit to determine the presence of narrowband interference and whether the suppressed narrowband interference has disappeared based on the detection results, thereby adjusting the operating mode of the narrowband detection and suppression unit. The narrowband detection and suppression unit includes both parallel and series operating modes. Secondly, the narrowband detection and suppression unit primarily suppresses narrowband interference.
[0122] When detecting narrowband interference, the narrowband detection and suppression unit, in parallel mode, obtains a first detection result by detecting the acquired OFDM signal. The main control unit then uses this first detection result to determine whether narrowband interference exists. If narrowband interference is present, the main control unit switches the operating mode of the narrowband detection and suppression unit to series mode. Conversely, if the narrowband detection and suppression unit detects a switch from parallel to series mode, it indicates the presence of narrowband interference.
[0123] When suppressing narrowband interference, the narrowband interference can be suppressed by using the cascade mode.
[0124] When further detecting the suppressed narrowband interference, the narrowband detection and suppression unit can continue to detect the suppressed OFDM signal in series mode to obtain a second detection result, so that the main control unit can determine whether the narrowband interference still exists based on the second detection result. If the narrowband interference still exists, the main control unit does not switch the operating mode of the narrowband detection and suppression unit; if the narrowband interference no longer exists, the main control unit switches the operating mode of the narrowband detection and suppression unit back to parallel mode. Correspondingly, if the narrowband detection and suppression unit finds that the operating mode is still in series mode, it indicates that the narrowband interference still exists, and it continues to suppress the narrowband interference in series mode; if the narrowband detection and suppression unit finds that the operating mode has switched back to parallel mode, it indicates that the narrowband interference no longer exists, and it can continue to detect the acquired OFDM signal in parallel mode.
[0125] In some embodiments, when the narrowband detection and suppression unit performs initial detection of the OFDM signal, the initial operating mode of the narrowband detection and suppression unit is parallel mode.
[0126] The prerequisite for the narrowband detection and suppression unit to detect OFDM signals is to ensure that the current state of the channel is idle. Whether the channel is idle can be determined by the acquired synchronization status information, which may include three synchronization states: initial frame synchronization status, frame synchronization status, or bit synchronization status.
[0127] In some embodiments, the narrowband detection and suppression unit may obtain synchronization status information from the synchronization unit, which refers to the current synchronization status of the synchronization unit.
[0128] In some embodiments, if the synchronization status information does not indicate any of the initial frame synchronization status, frame synchronization status, or bit synchronization status, the current state of the channel can be determined to be an idle state.
[0129] The main control unit is used to receive a first detection result; determine whether narrowband interference exists based on the first detection result; switch the working mode of the narrowband detection and suppression unit to a series mode in response to the existence of narrowband interference; and receive a second detection result; and determine whether the suppressed narrowband interference has disappeared based on the second detection result.
[0130] In this embodiment, the main control unit is primarily responsible for making basic decisions on the detection results sent by the narrowband detection and suppression unit to determine whether narrowband interference exists and whether the suppressed narrowband interference has disappeared. Specifically, it determines whether narrowband interference exists based on the first detection result and whether the narrowband interference has disappeared based on the second detection result. Simultaneously, the main control unit can also control the operating mode of the narrowband detection and suppression unit based on the decision results. Specifically, when narrowband interference is detected, the operating mode of the narrowband detection and suppression unit is switched to serial mode; when narrowband interference is not detected, the operating mode of the narrowband detection and suppression unit is switched to parallel mode.
[0131] In some embodiments, the main control unit may be a CPU.
[0132] In this embodiment, since the same hardware device is used for both narrowband interference detection and suppression, the hardware implementation is relatively simple. Furthermore, by detecting narrowband interference when the channel is idle, it leverages the slow-spreading characteristic of narrowband interference in the power line channel, avoiding detection errors caused by the frequency selectivity of the power line channel. In addition, since the main control unit only performs basic decisions on narrowband interference, the performance requirements for the main control unit are also low. Therefore, accurate detection and suppression of narrowband interference are achieved with a simple device that has low performance requirements.
[0133] 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 operating frequency band of the narrowband detection and suppression unit. The detection parameter groups include the narrowband center frequency, notch bandwidth, and power calculation length. The multiple narrowband center frequencies are different from each other and cover the operating frequency band.
[0134] In this embodiment, the main control unit can configure multiple detection parameter groups for the narrowband detection and suppression unit, enabling the unit to detect narrowband interference in the acquired OFDM signal based on the configured detection parameter groups. The configured multiple detection parameter groups include multiple narrowband center frequencies that are different from each other, and these center frequencies exactly cover the operating frequency band of the narrowband detection and suppression unit. The multiple notch bandwidths included in the configured multiple detection parameter groups can be the same or different. The multiple power calculation lengths included in the configured multiple detection parameter groups can be the same.
[0135] The following is combined Figure 2 and Figure 3 The structure of the narrowband detection and suppression unit is described in detail.
[0136] In this embodiment of the disclosure, the narrowband detection and suppression unit includes at least one narrowband component, which includes a notch filter and a power calculation unit.
[0137] The narrowband component has two operating modes: parallel mode and series mode. In parallel mode, the narrowband component can detect the acquired OFDM signal to determine the presence of narrowband interference, and in series mode, it can suppress narrowband interference and detect whether the suppressed narrowband interference has disappeared.
[0138] In some embodiments, the narrowband detection and suppression unit may include five narrowband components. In some embodiments, the notch filter included in each narrowband component may be an infinite impulse response digital filter (IIR) notch filter.
[0139] Figure 2 A structural diagram of a narrowband component in parallel mode according to an embodiment of the present disclosure is shown.
[0140] like Figure 2 As shown, for any narrowband component in the narrowband detection and suppression unit, in parallel mode, the first end of the notch filter in the narrowband component is connected to the input end of the narrowband detection and suppression unit, the second end of the notch filter 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 notch filter.
[0141] It is understandable that the narrowband component in parallel mode does not process the OFDM signal, but only detects narrowband interference in the OFDM signal. The narrowband detection is the same as the OFDM signal input and output of the suppression unit.
[0142] Figure 3 A structural diagram of a narrowband component in serial mode according to an embodiment of the present disclosure is shown.
[0143] like Figure 3 As shown, for any narrowband component in the narrowband detection and suppression unit, in the series mode, the first end of the notch filter in the narrowband component is connected to the first input terminal and the first end of the power calculation unit in the narrowband component, respectively, and the second end of the notch filter is connected to the second output terminal and the second end of the power calculation unit, respectively.
[0144] 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.
[0145] In some embodiments, when the narrowband detection and suppression unit includes a plurality of narrowband components and the narrowband component is located at the beginning of the plurality of narrowband components, the first input terminal is the input terminal of the narrowband detection and suppression unit, the second output terminal 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.
[0146] The first narrowband component is located after the narrowband component, and there are no other narrowband components between the first narrowband component and the narrowband component.
[0147] It can be understood that if the first narrowband component operates in series mode, then the second output terminal is the first end of the first notch filter in the first narrowband component; if the first narrowband component operates in parallel mode, then the second output terminal is the output terminal of the narrowband detection and suppression unit.
[0148] 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 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 terminal is the input terminal of the narrowband detection and suppression unit; the second output terminal 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.
[0149] The second narrowband component is located before the first narrowband component, and the first narrowband component is located after the first narrowband component. There are no other narrowband components between the first narrowband component and the first narrowband component, or between the second narrowband component and the first narrowband component.
[0150] It can be understood that if the second narrowband component operates in series mode, then the first input terminal is the second terminal of the second notch filter in the second narrowband component; if the second narrowband component operates in parallel mode, then the first input terminal is the input terminal of the narrowband detection and suppression unit. Similarly, if the first narrowband component operates in series mode, then the second output terminal is the first terminal of the first notch filter in the first narrowband component; if the first narrowband component operates in parallel mode, then the second output terminal is the output terminal of the narrowband detection and suppression unit.
[0151] 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 terminal is the second end of the second notch filter in the second narrowband component, or the first input terminal is the input terminal of the narrowband detection and suppression unit; the second output terminal is the output terminal of the narrowband detection and suppression unit.
[0152] The second narrowband component is located before the narrowband component, and there are no other narrowband components between the second narrowband component and the narrowband component.
[0153] It can also be understood that the narrowband component in the series mode suppresses narrowband interference. The input and output OFDM signals of the narrowband detection and suppression unit are different, and its output is the suppressed OFDM signal.
[0154] The functions of the narrowband components and the main control unit are further described below to understand the implementation process of narrowband interference detection and suppression.
[0155] In an optional implementation of this embodiment, a narrowband component is used for
[0156] Acquire at least one set of detection parameters in parallel mode;
[0157] The first signal power corresponding to the first end of the notch filter in the narrowband component and the second signal power corresponding to the second end of the notch filter when the received OFDM signal is output are determined based on the detection parameter set.
[0158] A first detection result is generated based on the first signal power and the second signal power;
[0159] Send at least one first detection result to the main control unit.
[0160] In this embodiment, when the narrowband detection and suppression unit performs initial detection on the acquired OFDM signal, the operating mode of each narrowband component is switched to 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 acquire at least one detection parameter set in parallel mode. When acquiring detection parameter sets, the detection parameter sets acquired by each narrowband component are different, and the total number of detection parameter sets acquired by all narrowband components is equal to the number of detection parameter sets pre-configured by the main control unit.
[0161] In some embodiments, the number of detection parameter groups acquired by the narrowband components is the same, that is, the same number of detection parameter groups are allocated to each narrowband component according to the number of detection parameter groups pre-configured by the main control unit and the number of narrowband components.
[0162] After acquiring a certain number of detection parameter sets, each narrowband component can obtain at least one first detection result based on the at least one detection parameter set it has acquired. Each narrowband component sends its at least one first detection result to the main control unit, so that the main control unit can obtain the same number of first detection results as the pre-configured detection parameter sets.
[0163] For example, if the main control unit is pre-configured with 100 sets of detection parameters, and the narrowband detection and suppression device contains 5 narrowband components, then narrowband component A can acquire sets 1-20 of detection parameters, narrowband component B can acquire sets 21-40, narrowband component C can acquire sets 41-60, narrowband component D can acquire sets 61-80, and narrowband component E can acquire sets 81-100. Accordingly, narrowband component A sends sets 1-20 of the first detection results to the main control unit, narrowband component B sends sets 21-40, narrowband component C sends sets 41-60, narrowband component D sends sets 61-80, and narrowband component E sends sets 81-100. Therefore, the main control unit obtains 100 first detection results.
[0164] It is understandable that, since the multiple narrowband center frequencies in the multiple detection parameter groups configured by the main control unit are different, the 100 first detection results also correspond to 100 narrowband center frequencies respectively.
[0165] For any narrowband component, when determining a corresponding first detection result based on a set of detection parameters, since the set of detection parameters indicates a narrowband center frequency, a notch bandwidth, and a power calculation length, the power of the OFDM signal before and after the notch filter in the narrowband component can be calculated at the corresponding notch bandwidth at the narrowband center frequency. That is, the first power calculation is performed when the OFDM signal is input to the first end of the notch filter, and the second power calculation is performed when the OFDM signal is output to the second end of the notch filter. In this embodiment, the power calculation can be performed using an integration method. Once the integration length equals the power calculation length indicated by the set of detection parameters, the narrowband component stores 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 can be called the first signal power, and the second power integral when the OFDM signal is output to the second end of the notch filter can be called the second signal power. Then, the first signal power and the second signal power can be combined to form a first detection result, which is the detection result at the narrowband center frequency indicated by the set of detection parameters. Therefore, the narrowband component can obtain at least one first detection result corresponding to at least one set of detection parameters in this way.
[0166] In some embodiments, during initial detection, the main control unit switches the operating mode of all narrowband components in the narrowband detection and suppression unit to parallel mode.
[0167] In some embodiments, if the narrowband component does not acquire the detection parameter set, the narrowband component will not operate.
[0168] 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.
[0169] In an optional implementation of this embodiment, the main control unit is used for
[0170] Receive multiple first detection results from at least one narrowband component;
[0171] Based on multiple first detection results, multiple interference signal-to-noise ratios are determined using a preset first formula;
[0172] Determine a preset number of target interference signal-to-noise ratios from multiple interference signal-to-noise ratios;
[0173] In response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, narrowband interference is determined to exist; or,
[0174] In response to a target interference signal-to-noise ratio being greater than or equal to an interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to target interference signal-to-noise ratios are determined.
[0175] If the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
[0176] In this embodiment, after receiving the same number of first detection results as the configured detection parameter set, i.e., receiving multiple first detection results from at least one narrowband component, the main control unit can determine whether narrowband interference exists based on these multiple first detection results. The main control unit can determine whether narrowband interference exists through steps 1) to 3) below.
[0177] 1) For each first detection result, the interference signal-to-noise ratio corresponding to the first detection result can be obtained based on the first detection result and the preset first formula.
[0178] The interference signal-to-noise ratio (SNR), also known as the signal-to-interference-plus-noise ratio, 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 SNR can be represented by SINR0. In some embodiments, the first formula is as follows:
[0179] SINR0 = 10log 10(Second signal power / (First signal power - Second signal power));
[0180] It is understandable that the first formula can yield an equivalent number of interference signal-to-noise ratios to the first detection results. For example, if the main control unit receives 100 first detection results, then the first formula can yield 100 interference signal-to-noise ratios accordingly.
[0181] 2) Determine the minimum number of target interference signal-to-noise ratios from multiple interference signal-to-noise ratios.
[0182] The main control unit can select the few smallest interference signal-to-noise ratios from among multiple interference signal-to-noise ratios (SNRs) as target interference SNRs. In some embodiments, the number of target interference SNRs is determined by a preset number. In some embodiments, the preset number can be 8. For example, the 8 smallest interference SNRs can be selected from 100 interference SNRs as target interference SNRs.
[0183] In some embodiments, before determining the target interference signal-to-noise ratio (SNR), the multiple interference SNRs can be sorted according to their numerical values. That is, the target interference SNR is then determined from the sorted multiple interference SNRs.
[0184] 3) Compare the target interference signal-to-noise ratio with the preset interference signal-to-noise ratio threshold to determine whether interference exists. At this time, the following situations 1 and 2 may exist.
[0185] Case 1: If at least one of the preset number of target interference signal-to-noise ratios is less than the preset interference signal-to-noise ratio threshold, it indicates that narrowband interference exists.
[0186] Case 2: If the signal-to-noise ratio of each target interference in the preset number of target interference signals-to-noise ratios is greater than or equal to the preset interference signal-to-noise ratio threshold, it indicates that there is no narrowband interference in the channel or there are multiple narrowband interferences with similar intensity.
[0187] Therefore, a corresponding standard deviation can be calculated based on the preset number of target interference signal-to-noise ratios. This standard deviation can be compared with the preset interference signal-to-noise ratio standard deviation threshold, and can be further divided into the following cases a and b.
[0188] Case a: If the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, it indicates that there are multiple narrowband interferences with similar intensity.
[0189] Scenario b: If the standard deviation is less than or equal to the preset interference signal-to-noise ratio standard deviation threshold, it indicates that there is no narrowband interference. In this case, the main control unit does not need to switch the operating mode of the narrowband component, allowing it to continue detecting narrowband interference in parallel mode.
[0190] In some embodiments, the above-mentioned interference signal-to-noise ratio threshold can be determined in the following manner:
[0191] SINR2=SINR1+△ SINR0 ;
[0192] Where SINR2 is the interference signal-to-noise ratio threshold, SINR1 is the minimum interference signal-to-noise ratio that the narrowband interference detection and suppression device can tolerate, Δ SINR0 This is the first interference signal-to-noise ratio margin, used to prevent misjudgment of narrowband interference, △ SINR0 >0.
[0193] It should be understood that the above-mentioned interference signal-to-noise ratio standard deviation threshold can be set by those skilled in the art according to actual needs, and this disclosure does not limit it, and all are within the scope of protection.
[0194] In an optional implementation of this embodiment, the main control unit is used for
[0195] In response to the presence of narrowband interference, the target narrowband center frequency corresponding to the target interference signal-to-noise ratio with a value less than the interference signal-to-noise ratio threshold is determined; or, the two smallest target interference signal-to-noise ratios are determined from a preset number of target interference signal-to-noise ratios, and the target narrowband center frequency corresponding to the smallest target interference signal-to-noise ratio is determined.
[0196] Based on the number of target narrowband center frequencies, a target narrowband component is determined from at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of at least one narrowband component;
[0197] Switch the target narrowband component to serial mode.
[0198] In this embodiment, when the main control unit determines that narrowband interference exists, it can further switch the working mode of the target narrowband component in the narrowband detection and suppression unit to the serial mode through steps 1) to 3) below, so that the target narrowband component can suppress the narrowband interference in the serial mode.
[0199] 1) When narrowband interference is confirmed, the target narrowband center frequency is determined based on the following different situations.
[0200] Scenario 1: If at least one of the aforementioned preset number of target interference signal-to-noise ratios is less than a preset interference signal-to-noise ratio threshold, the main control unit can determine the target narrowband center frequency corresponding to the target interference signal-to-noise ratio that is less than the interference signal-to-noise ratio threshold based on the correspondence between the locally stored detection parameter group, narrowband center frequency, first detection result, and interference signal-to-noise ratio. It can be understood that narrowband interference exists at the target narrowband center frequency.
[0201] For example, if target interference SNR1 and target interference SNR2 among the eight target interference SNRs are less than a preset interference SNR threshold, it indicates the presence of narrowband interference. Therefore, it can be determined that narrowband interference exists at target narrowband center frequency 1 corresponding to target interference SNR1, and narrowband interference exists at target narrowband center frequency 2 corresponding to target interference SNR2. No narrowband interference exists at the six target narrowband center frequencies corresponding to the other six target interference SNRs.
[0202] Case 2: For cases where the standard deviation is greater than the preset threshold for the standard deviation of the interference signal-to-noise ratio, the two target interference signal-to-noise ratios with the smallest values can be found from the preset number of target interference signal-to-noise ratios. Then, the two target narrowband center frequencies corresponding to these two target interference signal-to-noise ratios are determined. That is, narrowband interference exists at both of these target narrowband center frequencies.
[0203] 2) Determine the target narrowband component based on the determined narrowband center frequency.
[0204] After determining the target narrowband center frequency, the main control unit can further identify the target narrowband component whose operating mode needs to be switched from multiple narrowband components based on the number of target narrowband center frequencies. The following two conditions must be met when determining the target narrowband component.
[0205] One condition: the number of target narrowband components is at most the number of target narrowband center frequency points.
[0206] For example, if the number of target narrowband center frequencies is determined to be 3, one narrowband component can be selected from multiple narrowband components as the target narrowband component, so that the narrowband component can suppress narrowband interference at the 3 target narrowband center frequencies; or two narrowband components can be selected as the target narrowband components, so that one of the narrowband components can suppress narrowband interference at one of the 3 target narrowband center frequencies; or three narrowband components can be selected as the target narrowband components, so that each narrowband component can suppress narrowband interference at one target narrowband center frequency.
[0207] It is understandable that when the narrowband detection and suppression unit includes only one narrowband component, that narrowband component is the target narrowband component.
[0208] Another condition: the target narrowband component is located at the front of multiple narrowband components. For example, the target narrowband component is determined by the first two narrowband components out of five.
[0209] 3) Switch the operating mode of the target narrowband component to serial mode.
[0210] After identifying the target narrowband component, the main control unit can switch the operating mode of the target narrowband component from parallel mode to series mode, so that the target narrowband component can suppress narrowband interference in series mode. Correspondingly, if the narrowband detection and suppression unit detects that the operating mode of a narrowband component has been switched to series mode, it can determine that narrowband interference exists.
[0211] In some embodiments, the main control unit may also find the target detection parameter group corresponding to the center frequency point of each target narrowband locally and send the target detection parameter group to the target narrowband component.
[0212] For example, the main control unit determines target narrowband center frequency 1, target narrowband center frequency 2, and target narrowband center frequency 3, as well as target narrowband component 1, target narrowband component 2, and target narrowband component 3. Then, the main control unit can first find target detection parameter group 1 corresponding to target narrowband center frequency 1 and send it to target narrowband component 1; find target detection parameter group 2 corresponding to target narrowband center frequency 2 and send it to target narrowband component 2; find target detection parameter group 3 corresponding to target narrowband center frequency 3 and send it to target narrowband component 3.
[0213] In an optional implementation of this embodiment, the target narrowband component is used for
[0214] In the serial mode, the first target signal power corresponding to the input of the OFDM signal received at the center frequency of the target narrowband to the first end of the target notch filter in the target narrowband component and the second target signal power corresponding to the output of the OFDM signal to the second end of the target notch filter are determined.
[0215] A second detection result is generated based on the power of the first target signal and the power of the second target signal.
[0216] Send the second detection result to the main control unit.
[0217] In this embodiment, when the operating mode of the target narrowband component switches from parallel mode to series mode, it can suppress narrowband interference through the target notch filter in the series mode. During the narrowband interference suppression process, in order to monitor whether the narrowband interference has disappeared, the target narrowband component can detect the OFDM signal at the center frequency of the target narrowband at preset time intervals and periodically report the detection results to the main control unit.
[0218] In any detection of the OFDM signal at the target narrowband center frequency by the target narrowband component, similar to the parallel mode detection method, the target narrowband component still determines the two target power values before and after the target narrowband component at the target narrowband center frequency in the series mode. 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 second target power integral when the OFDM signal is output to the second end of the target notch filter is called the second target signal power. Then, the first target signal power and the second target signal power can be combined to form a second detection result, which indicates the result of detecting suppressed narrowband interference at a target narrowband center frequency.
[0219] In some embodiments, if the number of target narrowband center frequency points allocated by the main control unit to a target narrowband component is at least two, the target narrowband component may send the second detection result corresponding to each target narrowband center frequency point to the main control unit separately, or it may send the second detection result corresponding to at least two target narrowband center frequency points to the main control unit at the same time.
[0220] In an optional implementation of this embodiment, the main control unit is used for
[0221] Receive the second detection result of the target narrowband component;
[0222] The target interference signal-to-noise ratio is determined based on the second detection result and the first formula;
[0223] In response to the sum of the target interference signal-to-noise ratio being greater than the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
[0224] In this embodiment, each time the main control unit receives a second detection result, it calculates the corresponding target interference signal-to-noise ratio (SNR) based on the first formula described above. If the target interference SNR is greater than the sum of the interference SNR threshold and the preset interference SNR margin, it indicates that the narrowband interference at the target narrowband center frequency indicated by the second detection result has disappeared; if the target interference SNR is less than or equal to the sum of the interference SNR threshold and the preset interference SNR margin, it indicates that the narrowband interference at the target narrowband center frequency indicated by the second detection result has not yet disappeared.
[0225] In some embodiments, the preset interference signal-to-noise ratio (SNR) margin is a preset second interference SNR margin. The first interference SNR margin and the second interference SNR margin may be different. The first interference SNR margin and the second interference SNR margin can be set by those skilled in the art according to actual needs, and this disclosure does not limit them in this regard; both are within the scope of protection.
[0226] In some embodiments, when the narrowband interference at the target narrowband center frequency disappears, the target interference signal-to-noise ratio satisfies the following condition:
[0227] SINR 0` >SINR2+△ SINR1 ;
[0228] In some embodiments, when the narrowband interference at the target narrowband center frequency does not disappear, the target interference signal-to-noise ratio satisfies the following condition:
[0229] SINR 0` ≤SINR2+△ SINR1 ;
[0230] Where SINR2 is the interference signal-to-noise ratio threshold, Δ SINR1 For the second interference signal-to-noise ratio margin, △ SINR1 >0, SINR 0` To interfere with the signal-to-noise ratio of the target.
[0231] In an optional implementation of this embodiment, the main control unit is further configured to switch the operating mode of the target narrowband component that sends the second detection result to parallel mode in response to the disappearance of narrowband interference.
[0232] 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, it switches the working mode of the target narrowband component that sent the second detection result back to the parallel mode so that it can continue to detect narrowband interference.
[0233] In some embodiments, if a target narrowband component needs to suppress narrowband interference at at least two target narrowband center frequency points, the main control unit can switch the operating mode of the target narrowband component back to parallel mode when it receives at least two second detection results sent by the target narrowband component and determines that the signal-to-noise ratio of each of the at least two target interference signals-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.
[0234] In some embodiments, when the main control unit switches the operating mode of a target narrowband component back to parallel mode, if the target narrowband component is located at the beginning or middle of multiple target narrowband components, then while switching the operating mode of the target narrowband component back to parallel mode, the target narrowband component is placed at the end of the multiple target narrowband components. That is, the target narrowband component in series mode is always placed in front of the multiple narrowband components, and the narrowband component in parallel mode is placed behind all the target narrowband components.
[0235] Figure 4 Another structural block diagram of a power line communication narrowband interference detection and suppression device according to an embodiment of the present disclosure is shown.
[0236] like Figure 4 As shown, the device includes, in addition to Figure 1 In addition to the narrowband detection and suppression unit and the main control unit shown, it may also include: a transmission unit, an analog front-end unit, an automatic gain control unit, a digital bandpass filter, a synchronization unit, and a demodulation and decoding unit.
[0237] The new units will be introduced below.
[0238] The transmitting unit is used to generate and transmit OFDM signals based on the raw data.
[0239] In this embodiment, when the transmitting unit acquires the raw data to be transmitted, it can perform digital encoding and modulation on the raw data to generate an OFDM signal that can be used for power line communication. In some embodiments, the raw data may include: raw data of frame control information and raw data of payload.
[0240] The analog front-end unit, located after the transmitting unit, is used to amplify, filter, and perform analog-to-digital conversion on the received OFDM signal.
[0241] In this embodiment, the analog front-end unit may include: an analog-to-digital converter (ADC), a programmable gain amplifier (PGA), an analog bandpass filter, and a digital-to-analog converter (DAC). The analog bandpass filter is used to filter the received OFDM signal; the ADC converts the OFDM signal from an analog signal to a digital signal; the PGA amplifies the OFDM signal; and the DAC converts the processed OFDM signal from a digital signal back to an analog signal before outputting it to the automatic gain control unit.
[0242] The automatic gain control unit, located after 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.
[0243] In this embodiment, the automatic gain control unit determines the amplitude of the received OFDM signal. If the amplitude of the OFDM signal does not fall within a preset demodulation range, it can reversely adjust the gain of the programmable gain amplifier in the analog front-end unit, thereby ensuring that the amplitude of the OFDM signal output by the analog front-end unit falls within the preset demodulation range, thus improving the output signal-to-noise ratio of the analog-to-digital converter in the analog front-end unit. Here, the amplitude of the OFDM signal is the voltage value of the OFDM signal.
[0244] In some embodiments, the preset demodulation range is the optimal range suitable for the demodulation / decryption unit to perform demodulation.
[0245] The automatic gain control unit has three modes: normal adjustment mode, slow adjustment mode, and stop adjustment mode. In normal adjustment mode, the gain of the programmable gain amplifier is adjusted at normal time intervals (e.g., once per second); in slow adjustment mode, the gain of the programmable gain amplifier is adjusted at longer time intervals (e.g., once every 10 seconds); and in stop adjustment mode, the gain of the programmable gain amplifier is stopped.
[0246] In some embodiments, the automatic gain control unit can increase the locally preset target power to increase the power of the received OFDM signal while entering slow mode.
[0247] In some embodiments, the operating mode of the automatic gain control unit can be adjusted based on feedback from the digital bandpass filter, the narrowband detection and suppression unit, and the synchronization unit.
[0248] The digital bandpass filter, located after the automatic gain control unit, is used to determine the first power corresponding to the input of the received OFDM signal into the digital bandpass filter and the second power corresponding to the output of the OFDM signal into the digital bandpass filter. 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 command is sent to the automatic gain control unit. The first mode switching command is used to indicate that the operating mode is switched to slow mode.
[0249] In this embodiment, the digital bandpass filter has power calculation units deployed at both its front and back ends. These two power calculation units allow the digital bandpass filter to determine the magnitude of out-of-band noise or interference power. When the digital bandpass filter receives an OFDM signal output from the automatic gain control unit, the front-end power calculation unit determines the first power corresponding to the OFDM signal just input to the digital bandpass filter. After the digital bandpass filter filters the OFDM signal, just as the filtered OFDM signal is about to exit the digital bandpass filter, the back-end power calculation unit determines the second power corresponding to the OFDM signal at this moment. If the difference between the first power and the second power is greater than or equal to a preset power difference threshold, it indicates that there is significant out-of-band noise or narrowband interference. Therefore, the digital bandpass filter feeds back a first mode switching command to the automatic gain control unit, instructing the automatic gain control unit to switch from the current operating mode to a slow mode.
[0250] In some embodiments, the digital bandpass filter may also be based on, for example... Figure 2 The operating frequency band of the device shown is set to the bandwidth of the digital bandpass filter.
[0251] The synchronization unit, located after 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 to send synchronization state information to the narrowband detection and suppression unit based on the current synchronization state.
[0252] In this embodiment, the synchronization unit can determine the corresponding synchronization state based on the current analysis stage of the received OFDM signal. If the process of normal frame reception to determine whether an OFDM signal has been received has begun, the unit enters the initial frame synchronization state; if the process of determining whether the received OFDM signal is a genuine signal has begun, the unit enters the frame synchronization state; if the process of determining the start and end positions of the received OFDM signal has begun, the unit enters the bit synchronization state. If none of the above three processes are currently being executed, the channel is considered to be in an idle state. In this case, 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 channel is currently in an idle state, the synchronization state information can be empty.
[0253] In some embodiments, the synchronization unit can detect a valid physical layer protocol data unit based on the special structure of the OFDM signal preamble and mark the boundaries of each part of the OFDM signal.
[0254] It is understandable that the synchronization unit only analyzes the OFDM signal, and the OFDM signal received by the synchronization unit is the same as the OFDM signal output.
[0255] The demodulation and decoding unit, located after the synchronization unit, is used to demodulate and decode the received OFDM signal in order to determine the original data carried in the OFDM signal.
[0256] In this embodiment, the decryption and demodulation unit can perform time-frequency transformation and frequency domain processing on the received OFDM signal to demodulate the OFDM signal. At the same time, it can also perform bit and symbol-level processing to decode the OFDM signal, thereby recovering the original data of the frame control information and the original data of the payload.
[0257] like Figure 4 The device shown may also have the following functions in its narrowband detection and suppression unit, synchronization unit, and main control unit.
[0258] In some embodiments, the narrowband detection and suppression unit is further configured to send a first mode switching command to the automatic gain control unit in response to the operating mode being switched to serial mode, the first mode switching command being configured to instruct the operating mode to be switched to slow mode; and to send a second mode switching command to the automatic gain control unit in response to the operating mode not being switched to serial mode, the second mode switching command being configured to instruct the operating mode to be switched to normal mode.
[0259] In this embodiment, if the narrowband detection and suppression unit's operating mode is switched to series mode, it can be determined that narrowband interference exists. Therefore, a first mode switching command is fed back to the automatic gain control unit to instruct it to switch to slow mode, thus preventing oscillations caused by narrowband interference. If the narrowband detection and suppression unit's operating mode is not switched to series mode, it can be determined that no narrowband interference exists. Therefore, a second mode switching command is fed back to the automatic gain control unit to instruct it to switch to normal mode, thus switching it to normal mode.
[0260] 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. The third mode switching instruction is used to indicate that the operating mode is switched to the stop mode.
[0261] In this embodiment, if the current synchronization state of the synchronization unit is the initial frame synchronization state, it indicates that the normal frame reception process has been entered. Then, a third mode switching command is fed back to the automatic gain control unit to indicate that the working mode is switched to the stop mode, so that the automatic gain control unit stops working.
[0262] In some embodiments, if the synchronization status information sent by the synchronization unit to the narrowband detection and suppression unit indicates that the current state is the initial frame synchronization state, the target narrowband component in the narrowband detection and suppression unit in series mode stops generating the second detection result, the already generated second detection result is cleared, and the narrowband component in the narrowband detection and suppression unit in parallel mode stops detection and also stops sending the first detection result to the main control unit. The narrowband component in parallel mode compares the power calculation length with the length of the symbols required for the initial frame synchronization, discards the last few invalid narrowband detection first signal power and second signal power, calculates the interference signal-to-noise ratio for the remaining valid first signal power and second signal power and makes a narrowband interference decision, and updates the parameters in the detection parameter group so that reception can enter the normal frame wave frame listening stage and perform narrowband detection again.
[0263] In some embodiments, when determining the operating frequency band of the narrowband detection and suppression unit, the main control unit may, according to, such as Figure 4 The operating frequency band of the device shown, the characteristics of the analog bandpass filter and the digital bandpass filter in the analog front-end unit (e.g., passband, stopband, and transition band) determine the total amplitude frequency response, and then the operating frequency band of the narrowband detection and suppression unit is determined based on the total amplitude frequency response. This operating frequency band includes the passband and part of the transition band corresponding to the total amplitude frequency response.
[0264] In some embodiments, the main control unit can also... Figure 4The other units of the device are configured with parameters.
[0265] In some embodiments, the master control unit can also implement transmit / receive scheduling control, that is, determine the time when the transmitting unit transmits OFDM signals and the time when other units between the transmitting unit and the synchronization unit receive OFDM signals. In some embodiments, the transmitting time and receiving time determined by the master control unit are staggered.
[0266] In some embodiments, while reporting the first detection result to the main control unit, the narrowband component may also report the gain value of the programmable gain amplifier adjusted by the automatic gain control unit to the main control unit.
[0267] In this embodiment, since the same hardware device is used for both narrowband interference detection and suppression, the hardware implementation is relatively simple. Furthermore, by detecting narrowband interference when the channel is idle, it leverages the slow-spreading characteristic of narrowband interference in the power line channel, avoiding detection errors caused by the frequency selectivity of the power line channel. In addition, since the main control unit only performs basic decisions on narrowband interference, the performance requirements for the main control unit are also low. Therefore, accurate detection and suppression of narrowband interference are achieved with a simple device that has low performance requirements.
[0268] This disclosure also provides a method for detecting and suppressing narrowband interference in power line communication, which is described below in conjunction with... Figure 5 and Figure 6 The methods provided in this disclosure are described.
[0269] Figure 5 A flowchart is shown illustrating a method for detecting and suppressing narrowband interference in power line communication according to an embodiment of this disclosure. Figure 5 As shown, the method includes the following steps:
[0270] In step S501, OFDM signal and synchronization status information are acquired.
[0271] In step S502, 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.
[0272] In step S503, the first detection result is sent to the main control unit.
[0273] In step S504, in response to the narrowband detection and suppression unit's operating mode being switched to serial mode, narrowband interference suppression is performed in serial mode, and the suppressed OFDM signal is detected to obtain a second detection result.
[0274] In step S505, the second detection result is sent to the main control unit.
[0275] In an optional implementation of this embodiment, the step of detecting the OFDM signal in parallel mode to obtain a first detection result includes:
[0276] Multiple sets of detection parameters are acquired in parallel mode;
[0277] The first signal power corresponding to the input of the received OFDM signal to the first end of the notch filter in the narrowband component and the second signal power corresponding to the output of the OFDM signal to the second end of the notch filter are determined based on the detection parameter set.
[0278] A first detection result is generated based on the first signal power and the second signal power;
[0279] Sending the first detection result to the main control unit includes:
[0280] Multiple first detection results are sent to the main control unit.
[0281] In an optional implementation of this embodiment, the step of detecting the suppressed OFDM signal to obtain a second detection result includes:
[0282] The first target signal power corresponding to the input of the OFDM signal received at the target narrowband center frequency to the first end of the target notch filter of the target narrowband component in at least one narrowband component and the second target signal power corresponding to the output of the OFDM signal to the second end of the target notch filter are determined. The target narrowband component is a narrowband component whose working mode is switched to serial mode in at least one narrowband component. The target narrowband center frequency is the narrowband center frequency with narrowband interference determined by the main control unit based on the first detection result.
[0283] A second detection result is generated based on the power of the first target signal and the power of the second target signal.
[0284] In this embodiment, the above-mentioned power line communication narrowband interference detection and suppression method can be implemented. Figures 1 to 4 This is performed on the narrowband detection and suppression unit shown. It should be noted that the power line communication narrowband interference detection and suppression method in this embodiment is different from... Figures 1 to 4 The functions and effects of the narrowband detection and suppression units described in the text correspond to those described above, and will not be repeated here.
[0285] Figure 6 Another flowchart of a power line communication narrowband interference detection and suppression method according to an embodiment of the present disclosure is shown. Figure 6 As shown, the method includes the following steps:
[0286] In step S601, a first detection result from the narrowband detection and suppression unit is received, and the presence of narrowband interference is determined based on the first detection result.
[0287] In step S602, in response to the presence of narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to serial mode.
[0288] In step S603, a second detection result from the narrowband detection and suppression unit is received, and it is determined whether the suppressed narrowband interference has disappeared based on the second detection result.
[0289] In step S604, in response to the disappearance of narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to parallel mode.
[0290] In an optional implementation of this embodiment, receiving a first detection result from the narrowband detection and suppression unit and determining whether narrowband interference exists based on the first detection result includes:
[0291] Receive multiple first detection results from at least one narrowband component in the narrowband detection and suppression unit;
[0292] Based on multiple first detection results, multiple interference signal-to-noise ratios are determined using a preset first formula;
[0293] Determine a preset number of target interference signal-to-noise ratios from multiple interference signal-to-noise ratios;
[0294] In response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, narrowband interference is determined to exist; or,
[0295] In response to a target interference signal-to-noise ratio being greater than or equal to an interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to target interference signal-to-noise ratios are determined.
[0296] If the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
[0297] In an optional implementation of this embodiment, switching the operating mode of the narrowband detection and suppression unit to a serial mode in response to the presence of narrowband interference includes:
[0298] In response to the presence of narrowband interference, the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with a value less than the interference signal-to-noise ratio threshold is determined, or the two smallest target interference signal-to-noise ratios are determined from a preset number of target interference signal-to-noise ratios, and the target narrowband center frequency point corresponding to the smallest target interference signal-to-noise ratio is determined.
[0299] Based on the number of target narrowband center frequencies, a target narrowband component is determined from at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of at least one narrowband component;
[0300] Switch the operating mode of the target narrowband component in the narrowband detection and suppression unit to serial mode.
[0301] In an optional implementation of this embodiment, receiving a second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference has disappeared based on the second detection result, includes:
[0302] Receive a second detection result from the target narrowband component in the narrowband detection and suppression unit;
[0303] The target interference signal-to-noise ratio is determined based on the second detection result and the first formula;
[0304] In response to the sum of the target interference signal-to-noise ratio being greater than the interference signal-to-noise ratio threshold and the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
[0305] In an optional implementation of this embodiment, switching the operating mode of the narrowband detection and suppression unit to parallel mode in response to the disappearance of narrowband interference includes:
[0306] In response to the disappearance of narrowband interference, the operating mode of the target narrowband component that transmits the second detection result is switched to parallel mode.
[0307] In an optional implementation of this embodiment, the method further includes:
[0308] Based on the operating frequency band of the narrowband detection and suppression unit, multiple detection parameter groups are configured for the narrowband detection and suppression unit. These detection parameter groups include the narrowband center frequency, notch bandwidth, and power calculation length. Among them, the multiple narrowband center frequencies are different from each other, and the multiple narrowband center frequencies cover the operating frequency band.
[0309] In this embodiment, the above-mentioned power line communication narrowband interference detection and suppression method can be implemented. Figure 1 or Figure 4 This is executed on the main control unit shown. It should be noted that the power line communication narrowband interference detection and suppression method in this embodiment is different from... Figure 1 or Figure 4 The functions and effects of the main control unit described in the text correspond to those described above. For specific details, please refer to the previous description, which will not be repeated here.
[0310] In another aspect, this disclosure also provides a chip including at least one processor for implementing Figure 1 or Figure 4 The functions involved in the main control unit or narrowband detection and suppression unit.
[0311] In one possible design, the chip also includes a memory for storing program instructions and data, which may be located inside or outside the processor.
[0312] In another aspect, this disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the apparatus described in the above embodiments; or it may be a standalone computer-readable storage medium not assembled into a device. The computer-readable storage medium stores one or more programs that are used by one or more processors to perform the methods described in this disclosure.
[0313] In another aspect, this disclosure also provides a computer program product, including a computer program / instruction, which, when permitted, implements a method for detecting and suppressing narrowband interference in power line communication.
[0314] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0315] The units or modules described in the embodiments of this disclosure can be implemented in software or hardware. The described units or modules can also be located in a processor, and the names of these units or modules do not necessarily constitute a limitation on the unit or module itself.
[0316] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
Claims
1. A power line communication narrowband interference detection and suppression device, characterized in that, include: Narrowband detection and suppression unit and main control unit; the narrowband detection and suppression unit includes at least one narrowband component, the narrowband component includes a notch filter and a power calculation unit; The narrowband detection and suppression unit is used to acquire OFDM signals and synchronization status information; when the current channel state is determined to be idle based on the synchronization status information, the unit detects the OFDM signals in parallel mode to obtain a first detection result; and sends the first detection result to the main control unit. In response to the operating mode being switched to serial mode, narrowband interference suppression is performed in the serial mode, and the suppressed OFDM signal is detected to obtain a second detection result; Send the second detection result to the main control unit; The main control unit is used to receive the first detection result and determine whether narrowband interference exists based on the first detection result. In response to the presence of narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to serial mode; And receive the second detection result; Based on the second detection result, determine whether the suppressed narrowband interference has disappeared; The main control unit is configured to receive multiple first detection results from at least one of the narrowband components; Based on multiple first detection results, multiple interference signal-to-noise ratios are determined according to a preset first formula; a preset number of target interference signal-to-noise ratios are determined from the multiple interference signal-to-noise ratios; in response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, narrowband interference is determined to exist; or, in response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to the target interference signal-to-noise ratios are determined; in response to the standard deviation being greater than a preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
2. The apparatus according to claim 1, characterized in that, 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 groups include the narrowband center frequency, notch bandwidth, and power calculation length. The multiple narrowband center frequencies are different from each other and cover the operating frequency band.
3. The apparatus according to claim 2, characterized in that, In the parallel mode, the first end of the notch filter in the narrowband assembly is connected to the input end of the narrowband detection and suppression unit, the second end of the notch filter is connected to the second end of the power calculation unit in the narrowband assembly, and the first end of the power calculation unit is connected to the first end of the notch filter. In the series mode, the first end of the notch filter in the narrowband assembly is connected to the first input terminal and the first end of the power calculation unit in the narrowband assembly, respectively, and the second end of the notch filter is connected to the second output terminal and the second end of the power calculation unit, respectively.
4. The apparatus according to claim 3, characterized in that, 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.
5. The apparatus according to claim 3, characterized in that, When the narrowband detection and suppression unit includes multiple narrowband components and the narrowband components are located at the beginning 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 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 first narrowband component is located after the narrowband components, and there are no other narrowband components between the first narrowband component and the narrowband components.
6. The apparatus according to claim 3, characterized in that, When the narrowband detection and suppression unit includes multiple narrowband components and the narrowband components are located in the middle of the multiple narrowband components, the first input terminal is the second end of the second notch filter in the second narrowband component, or the first input terminal is the input terminal of the narrowband detection and suppression unit; the second output terminal 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 there are no other narrowband components between the first narrowband component and the narrowband component, or between the second narrowband component and the narrowband component.
7. The apparatus according to claim 3, characterized in that, When the narrowband detection and suppression unit includes multiple narrowband components and the narrowband components are located at the ends of the multiple narrowband components, the first input terminal is the second end of the second notch filter in the second narrowband component, or the first input terminal is the input terminal of the narrowband detection and suppression unit; 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 there are no other narrowband components between the second narrowband component and the narrowband component.
8. The apparatus according to claim 3, characterized in that, The narrowband component is used for At least one of the detection parameter groups is acquired in parallel mode; Based on the detection parameter set, determine the first signal power corresponding to the first end of the notch filter in the narrowband component when the received OFDM signal is input to the first end of the notch filter and the second signal power corresponding to the second end of the notch filter when the OFDM signal is output from the second end of the notch filter. The first detection result is generated based on the first signal power and the second signal power; Send at least one of the first detection results to the main control unit.
9. The apparatus according to claim 1, characterized in that, The main control unit is used for In response to the presence of narrowband interference, the target narrowband center frequency corresponding to the target interference signal-to-noise ratio (SNR) value less than the interference SNR threshold is determined; alternatively, the two smallest target interference SNR values are determined from a preset number of target interference SNR values. And determine the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with the smallest value; Based on the number of target narrowband center frequencies, a target narrowband component is determined from the at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of the at least one narrowband component; Switch the operating mode of the target narrowband component to serial mode.
10. The apparatus according to claim 9, characterized in that, The target narrowband component is used for In the serial mode, the first target signal power corresponding to the input of the OFDM signal received at the center frequency of the target narrowband to the first end of the target notch filter in the target narrowband component and the second target signal power corresponding to the output of the OFDM signal to the second end of the target notch filter are determined. A second detection result is generated based on the first target signal power and the second target signal power; The second detection result is sent to the main control unit.
11. The apparatus according to claim 10, characterized in that, The main control unit is used for Receive the second detection result of the target narrowband component; The target interference signal-to-noise ratio is determined 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 the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
12. The apparatus according to claim 11, characterized in that, The main control unit is also used for In response to the disappearance of narrowband interference, the operating mode of the target narrowband component that transmits the second detection result is switched to parallel mode.
13. The apparatus according to any one of claims 1 to 12, characterized in that, The device further includes: The transmitting unit is used to generate and transmit OFDM signals based on the raw data.
14. The apparatus according to claim 13, characterized in that, The device further includes: The analog front-end unit, located after the transmitting unit, is used to amplify, filter, and perform analog-to-digital conversion on the received OFDM signal.
15. The apparatus according to claim 14, characterized in that, The device further includes: An automatic gain control unit, located after 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.
16. The apparatus according to claim 15, characterized in that, The device further includes: A digital bandpass filter, located after the automatic gain control unit, is used to determine the first power corresponding to the input of the received OFDM signal into the digital bandpass filter and the second power corresponding to the output of the OFDM signal into the digital bandpass filter; 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 command is sent to the automatic gain control unit. The first mode switching command is used to indicate that the operating mode is switched to slow mode.
17. The apparatus according to claim 15, characterized in that, The narrowband detection and suppression unit is further configured to send a first mode switching command to the automatic gain control unit in response to the operating mode being switched to serial mode. The first mode switching command is used to indicate that the operating mode is switched to slow mode. In response to the fact that the operating mode has not been switched to the serial mode, a second mode switching command is sent to the automatic gain control unit, the second mode switching command being used to instruct the operating mode to be switched to the normal mode.
18. The apparatus according to claim 17, characterized in that, The device further includes: The synchronization unit, located after 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 to send the synchronization state information to the narrowband detection and suppression unit based on the current synchronization state.
19. The apparatus according to claim 18, characterized in that, 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. The third mode switching instruction is used to indicate that the working mode is switched to the stop mode.
20. The apparatus according to claim 19, characterized in that, The device further includes: The demodulation and decoding unit, located after the synchronization unit, is used to demodulate and decode the received OFDM signal to determine the original data carried in the OFDM signal.
21. A method for detecting and suppressing narrowband interference in power line communication, characterized in that, The method, applied to a narrowband detection and suppression unit including at least one narrowband component, comprises: Acquire OFDM signals and synchronization status 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 a first detection result; Send the first detection result to the main control unit; In response to the narrowband detection and suppression unit being switched to series mode, narrowband interference suppression is performed in series mode, and the suppressed OFDM signal is detected to obtain a second detection result. Send the second detection result to the main control unit; The switching of the serial mode is performed by the main control unit when it determines the presence of narrowband interference based on the first detection result. The main control unit is configured to receive multiple first detection results from at least one narrowband component in the narrowband detection and suppression unit; determine multiple interference signal-to-noise ratios (SNRs) based on a preset first formula according to the multiple first detection results; determine a preset number of target interference SNRs from the multiple interference SNRs; determine the presence of narrowband interference in response to the target interference SNR being less than a preset interference SNR threshold; or, determine the standard deviation corresponding to a preset number of the target interference SNRs in response to the target interference SNR being greater than or equal to the interference SNR threshold; and determine the presence of narrowband interference in response to the standard deviation being greater than a preset interference SNR standard deviation threshold.
22. The method according to claim 21, characterized in that, The detection of the OFDM signal in parallel mode to obtain a first detection result includes: Multiple sets of detection parameters are acquired in parallel mode; Based on the detection parameter set, determine the first signal power corresponding to the first end of the notch filter in the narrowband component when the received OFDM signal is input to the first end of the notch filter and the second signal power corresponding to the second end of the notch filter when the OFDM signal is output from the second end of the notch filter. The first detection result is generated based on the first signal power and the second signal power; Sending the first detection result to the main control unit includes: Multiple first detection results are sent to the main control unit.
23. The method according to claim 21 or 22, characterized in that, The detection of the suppressed OFDM signal to obtain a second detection result includes: The system determines the 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 second target signal power when the OFDM signal is output to the second end of the target notch filter. The target narrowband component is the narrowband component whose operating mode is switched to serial mode in the at least one narrowband component. The target narrowband center frequency is the narrowband center frequency with narrowband interference determined by the main control unit 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.
24. A method for detecting and suppressing narrowband interference in power line communication, characterized in that, Applied to the main control unit, the method includes: Receive a first detection result from the narrowband detection and suppression unit, and determine whether narrowband interference exists based on the first detection result; In response to the presence of narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to serial mode; Receive a second detection result from the narrowband detection and suppression unit, and determine whether the suppressed narrowband interference has disappeared based on the second detection result; In response to the disappearance of the narrowband interference, the operating mode of the narrowband detection and suppression unit is switched to parallel mode; The step of receiving a first detection result from the narrowband detection and suppression unit and determining whether narrowband interference exists based on the first detection result includes: Receive multiple first detection results from at least one narrowband component in the narrowband detection and suppression unit; Based on multiple first detection results, multiple interference signal-to-noise ratios are determined using a preset first formula; A preset number of target interference signal-to-noise ratios are determined from the plurality of interference signal-to-noise ratios; In response to the target interference signal-to-noise ratio being less than a preset interference signal-to-noise ratio threshold, it is determined that narrowband interference exists; or, In response to the target interference signal-to-noise ratio being greater than or equal to the interference signal-to-noise ratio threshold, a preset number of standard deviations corresponding to the target interference signal-to-noise ratio are determined; If the standard deviation is greater than the preset interference signal-to-noise ratio standard deviation threshold, narrowband interference is determined to exist.
25. The method according to claim 24, characterized in that, The step of switching the operating mode of the narrowband detection and suppression unit to a series mode in response to the presence of narrowband interference includes: In response to the presence of narrowband interference, the target narrowband center frequency point corresponding to the target interference signal-to-noise ratio with a value less than the interference signal-to-noise ratio threshold is determined, or the two smallest target interference signal-to-noise ratios are determined from a preset number of target interference signal-to-noise ratios, and the target narrowband center frequency point corresponding to the smallest target interference signal-to-noise ratio is determined. Based on the number of target narrowband center frequencies, a target narrowband component is determined from the at least one narrowband component, wherein the number of target narrowband components is less than or equal to the number of target narrowband center frequencies, and the target narrowband component is located at the front end of the at least one narrowband component; The operating mode of the target narrowband component in the narrowband detection and suppression unit is switched to serial mode.
26. The method according to claim 25, characterized in that, Receiving a second detection result from the narrowband detection and suppression unit, and determining whether the suppressed narrowband interference has disappeared based on the second detection result, includes: Receive a second detection result from the target narrowband component in the narrowband detection and suppression unit; The target interference signal-to-noise ratio is determined 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 the preset interference signal-to-noise ratio margin, it is determined that the narrowband interference at the target narrowband center frequency point has disappeared.
27. The method according to claim 26, characterized in that, The step of switching the operating mode of the narrowband detection and suppression unit to parallel mode in response to the disappearance of the narrowband interference includes: In response to the disappearance of narrowband interference, the operating mode of the target narrowband component that transmits the second detection result is switched to parallel mode.
28. The method according to any one of claims 24 to 27, characterized in that, The method further includes: Based on the operating frequency band of the narrowband detection and suppression unit, multiple detection parameter groups are configured for the narrowband detection and suppression unit. The detection parameter groups include the narrowband center frequency, notch bandwidth, and power calculation length. The multiple narrowband center frequencies are different from each other and cover the operating frequency band.
29. A chip, characterized in that, include: At least one processor is configured to implement the functions involved in the method as described in any one of claims 21 to 28.