CN103346848B - A kind of method and apparatus of noise measuring - Google Patents
A kind of method and apparatus of noise measuring Download PDFInfo
- Publication number
- CN103346848B CN103346848B CN201310261483.6A CN201310261483A CN103346848B CN 103346848 B CN103346848 B CN 103346848B CN 201310261483 A CN201310261483 A CN 201310261483A CN 103346848 B CN103346848 B CN 103346848B
- Authority
- CN
- China
- Prior art keywords
- subcarrier
- power value
- subcarriers
- value
- noise
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
本发明实施例提供一种噪声检测的方法和设备,涉及通信领域,以实现对信号噪声的精确检测,该方法包括:噪声检测设备获取待检测的正交频分复用OFDM符号内的子载波的功率值,并确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声,本发明实施例用于噪声检测。
Embodiments of the present invention provide a method and device for noise detection, which relate to the field of communication, so as to realize accurate detection of signal noise. The method includes: the noise detection device acquires the subcarriers in the orthogonal frequency division multiplexing OFDM symbol to be detected power value of the subcarrier, and determine the identity of the subcarrier set corresponding to the subcarrier, and obtain the corresponding noise detection threshold value according to the identity of the subcarrier set, and determine the power value of the subcarrier according to the noise detection threshold value to satisfy When using a noise detection strategy, it is determined that the subcarrier has noise, and this embodiment of the present invention is used for noise detection.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种噪声检测的方法和设备。The present invention relates to the communication field, in particular to a noise detection method and equipment.
背景技术Background technique
在PLC(Power Line Communication,电力线通信)系统中,窄带噪声干扰是比较常见的干扰,为了保证信号的正常传输,需要消除或者降低噪声对信号的干扰,而在消除或者降低噪声对信号的干扰前,需要检测信号是否存在噪声。In the PLC (Power Line Communication, power line communication) system, narrow-band noise interference is a relatively common interference. In order to ensure the normal transmission of the signal, it is necessary to eliminate or reduce the interference of the noise to the signal, and before eliminating or reducing the interference of the noise to the signal , it is necessary to detect whether there is noise in the signal.
现有技术中,主要是将子载波的功率值与通过计算得到的待检测的OFDM(Orthogonal Frequency Division Multiplexing,正交频分复用)符号对应的全部子载波的平均功率值的比值与预设门限值进行比较,若确定该比值大于或等于预设门限值,则确定该子载波存在噪声。但是,对于在频域上的深衰落信道中信号的噪声检测,现有的噪声检测技术过于简单,采用现有的噪声检测技术计算的平均功率值与实际的子载波功率值误差较大,容易造成对噪声的错检和漏检,从而影响信号的传输。In the prior art, the ratio of the power value of the subcarrier to the average power value of all subcarriers corresponding to the OFDM (Orthogonal Frequency Division Multiplexing, Orthogonal Frequency Division Multiplexing, Orthogonal Frequency Division Multiplexing) symbol to be detected and the preset The threshold value is compared, and if it is determined that the ratio is greater than or equal to the preset threshold value, it is determined that the subcarrier has noise. However, for the noise detection of signals in deep fading channels in the frequency domain, the existing noise detection technology is too simple. Causes false detection and missed detection of noise, thereby affecting signal transmission.
发明内容Contents of the invention
本发明的实施例提供一种噪声检测的方法和设备,以实现对信号噪声的精确检测。Embodiments of the present invention provide a method and device for detecting noise, so as to realize accurate detection of signal noise.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,提供一种噪声检测的方法,包括:In the first aspect, a method for noise detection is provided, including:
噪声检测设备获取待检测的正交频分复用OFDM符号内的子载波的功率值;The noise detection device obtains the power value of the subcarrier in the orthogonal frequency division multiplexing OFDM symbol to be detected;
确定所述子载波对应的子载波集合的标识,并根据所述子载波集合的标识获得对应的噪声检测门限值;其中,所述子载波集合为所述噪声检测设备从所述待检测的OFDM符号内的子载波中根据预设元素数确定的集合;Determine the identity of the subcarrier set corresponding to the subcarrier, and obtain the corresponding noise detection threshold value according to the identity of the subcarrier set; wherein, the subcarrier set is the A set determined according to a preset number of elements in subcarriers in an OFDM symbol;
在根据所述噪声检测门限值确定所述子载波的功率值满足噪声检测策略时,确定所述子载波存在噪声。When it is determined according to the noise detection threshold that the power value of the subcarrier satisfies a noise detection strategy, it is determined that the subcarrier has noise.
在第一方面第一种可能的实现方式中,在所述确定所述子载波对应的子载波集合的标识前,所述方法还包括:In the first possible implementation manner of the first aspect, before determining the identity of the subcarrier set corresponding to the subcarrier, the method further includes:
从所述待检测的OFDM符号内的子载波中根据预设元素数确定所述子载波集合。The set of subcarriers is determined from the subcarriers in the OFDM symbol to be detected according to a preset number of elements.
结合第一方面或第一方面第一种可能的实现方式,在第二种可能的实现方式中,所述噪声检测设备获取待检测的OFDM符号内的子载波的功率值包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the acquiring the power value of the subcarrier in the OFDM symbol to be detected by the noise detection device includes:
从接收的OFDM符号中确定样本OFDM符号,其中,所述样本OFDM符号为用于获得所述待检测的OFDM符号内子载波的功率值所确定的样本符号;Determining a sample OFDM symbol from the received OFDM symbol, wherein the sample OFDM symbol is a sample symbol determined for obtaining a power value of a subcarrier in the OFDM symbol to be detected;
根据所述样本OFDM符号通过公式:According to the sample OFDM symbol passing formula:
得到所述待检测的OFDM符号内的子载波的功率值;其中,P(n)为所述待检测的OFDM符号内的子载波的功率值,M为所述样本OFDM符号的数量,m为所述样本OFDM符号的标识,n为所述子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; Wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the quantity of the sample OFDM symbol, and m is The identifier of the sample OFDM symbol, n is the identifier of the subcarrier, r m, n is the nth subcarrier in the mth sample OFDM symbol.
结合第二种可能的实现方式,在第三种可能的实现方式中,所述确定所述子载波对应的子载波集合的标识,并根据所述子载波集合的标识获得对应的噪声检测门限值包括:With reference to the second possible implementation manner, in a third possible implementation manner, the determination of the identity of the subcarrier set corresponding to the subcarrier, and obtaining the corresponding noise detection threshold according to the identity of the subcarrier set Values include:
通过所述子载波集合的标识对应的子载波集合内全部子载波的功率值之和与所述子载波集合内的子载波的数量的比值得到第一平均功率值,其中,所述第一平均功率值为所述子载波集合内子载波的平均功率值;The first average power value is obtained by the ratio of the sum of the power values of all subcarriers in the subcarrier set corresponding to the identifier of the subcarrier set to the number of subcarriers in the subcarrier set, wherein the first average The power value is the average power value of the subcarriers in the subcarrier set;
从所述子载波集合内子载波的功率值中确定最大功率值;determining a maximum power value from power values of subcarriers within the set of subcarriers;
根据所述第一平均功率值和所述最大功率值得到检测门限值。A detection threshold is obtained according to the first average power value and the maximum power value.
结合第三种可能的实现方式,在第四种可能的实现方式中,所述根据所述第一平均功率值和所述最大功率值得到噪声检测门限值包括:With reference to the third possible implementation manner, in a fourth possible implementation manner, the obtaining the noise detection threshold value according to the first average power value and the maximum power value includes:
根据所述第一平均功率值得到第一检测门限值:其中,所述第一检测门限值为:A·Pa(d-1)A first detection threshold value is obtained according to the first average power value: wherein, the first detection threshold value is: A· Pa (d-1)
根据所述第一平均功率值得到第二检测门限值:其中,所述第二检测门限值为:A·Pa(d+1)A second detection threshold value is obtained according to the first average power value: wherein, the second detection threshold value is: A·P a (d+1)
根据所述第一平均功率值得到第三检测门限值:其中,所述第三检测门限值为:A·Pa(d)A third detection threshold value is obtained according to the first average power value: wherein, the third detection threshold value is: A·P a (d)
根据所述最大功率值得到第四检测门限值:其中,所述第四检测门限值为: A fourth detection threshold value is obtained according to the maximum power value: wherein, the fourth detection threshold value is:
其中,d为所述子载波集合的标识,Pa(d)为所述第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为所述子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identifier of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of the subcarriers in the d+1th subcarrier set, and P a (d-1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, B is the second preset parameter.
结合第四种可能的实现方式,在第五种可能的实现方式中,所述在确定所述子载波存在噪声前,所述方法还包括:With reference to the fourth possible implementation manner, in a fifth possible implementation manner, before determining that the subcarrier has noise, the method further includes:
通过公式:By formula:
从所述待检测的OFDM符号内的子载波中根据预设元素数确定所述子载波集合的数量,其中,W为所述子载波集合的数量,N为所述待检测的OFDM符号内的子载波的数量,NS为所述预设元素数;Determine the number of subcarrier sets from the subcarriers in the OFDM symbols to be detected according to the preset number of elements, where W is the number of the subcarrier sets, and N is the number of subcarriers in the OFDM symbols to be detected. The number of subcarriers, NS is the preset number of elements;
通过公式:By formula:
得到第二平均功率值;其中,所述Pt为所述第二平均功率,Pa(d)为所述第一平均功率值,d为所述子载波集合的标识,W为所述子载波集合的数量,所述第二平均功率值为根据所述待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值;Obtain a second average power value; wherein, the P t is the second average power, P a (d) is the first average power value, d is the identity of the subcarrier set, and W is the subcarrier set The number of carrier sets, the second average power value is an average power value obtained from the average power value of subcarriers in all subcarrier sets in the OFDM symbol to be detected;
所述在根据所述噪声检测门限值确定所述子载波的功率值满足噪声检测策略时,确定所述子载波存在噪声包括:When determining that the power value of the subcarrier satisfies the noise detection strategy according to the noise detection threshold value, determining that there is noise in the subcarrier includes:
在确定所述子载波的功率值大于或等于所述第一检测门限值时,将预设变量值加1,其中,所述预设变量值的起始值为0;When it is determined that the power value of the subcarrier is greater than or equal to the first detection threshold value, adding 1 to the preset variable value, where the initial value of the preset variable value is 0;
在确定所述子载波的功率值大于或等于所述第二检测门限值时,将所述预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the second detection threshold value, adding 1 to the preset variable value;
在确定所述子载波的功率值大于或等于所述第三检测门限值且大于或等于所述第四检测门限值时,将所述预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the third detection threshold and greater than or equal to the fourth detection threshold, add 1 to the preset variable value;
在确定所述预设变量值大于1且所述第二平均功率值大于或等于预设功率门限值时,确定所述子载波存在噪声。When it is determined that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, it is determined that the subcarrier has noise.
结合第五种可能的实现方式,在第六种可能的实现方式中,在确定所述子载波的功率值小于所述第三检测门限值,和/或确定所述子载波的功率值小于所述第四检测门限值时,将所述预设变量值清零。With reference to the fifth possible implementation manner, in a sixth possible implementation manner, after determining that the power value of the subcarrier is less than the third detection threshold value, and/or determining that the power value of the subcarrier is less than When the fourth detection threshold value is reached, the preset variable value is cleared to zero.
结合第五种可能的实现方式或第六种可能的实现方式,在第七种可能的实现方式中,在确定所述子载波存在噪声后,所述方法还包括:With reference to the fifth possible implementation manner or the sixth possible implementation manner, in a seventh possible implementation manner, after determining that the subcarrier has noise, the method further includes:
继续确定所述待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略;其中,所述下一个子载波包括将所述子载波的标识加一后得到的标识对应的子载波;Continue to determine whether the power value of the next subcarrier in the OFDM symbol to be detected meets the noise detection strategy; wherein the next subcarrier includes the subcarrier corresponding to the identifier obtained by adding one to the identifier of the subcarrier;
在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果,其中,所述噪声检测结果包括满足噪声检测策略的子载波对应的标识。When the power values of the subcarriers whose preset values are continuously determined do not satisfy the noise detection strategy, determine a noise detection result, wherein the noise detection result includes an identifier corresponding to a subcarrier that satisfies the noise detection strategy.
第二方面,提供一种噪声检测设备,包括:In a second aspect, a noise detection device is provided, including:
获取单元,用于获取待检测的正交频分复用OFDM符号内的子载波的功率值;An acquisition unit, configured to acquire the power value of the subcarrier in the orthogonal frequency division multiplexing OFDM symbol to be detected;
处理单元,用于确定所述子载波对应的子载波集合的标识,并根据所述子载波集合的标识获得对应的噪声检测门限值,并在根据所述噪声检测门限值确定所述获取单元获取的子载波的功率值满足噪声检测策略时,确定所述子载波存在噪声;其中,所述子载波集合为所述噪声检测设备从所述待检测的OFDM符号内的子载波中根据预设元素数确定的集合。a processing unit, configured to determine an identifier of a subcarrier set corresponding to the subcarrier, obtain a corresponding noise detection threshold value according to the identifier of the subcarrier set, and determine the acquired When the power value of the subcarrier obtained by the unit satisfies the noise detection strategy, it is determined that the subcarrier has noise; wherein the subcarrier set is the noise detection device from the subcarriers in the OFDM symbol to be detected according to the preset Set a set with a certain number of elements.
在第二方面第一种可能的实现方式中,所述处理单元还用于,在所述确定所述子载波对应的子载波集合的标识前,从所述待检测的OFDM符号内的子载波中根据预设元素数确定所述子载波集合。In the first possible implementation manner of the second aspect, the processing unit is further configured to, before determining the identity of the subcarrier set corresponding to the subcarrier, from the subcarriers in the OFDM symbol to be detected The set of subcarriers is determined according to the preset number of elements.
结合第二方面或第一种可能的实现方式,在第二种可能的实现方式中,所述获取单元具体用于,从接收的OFDM符号中确定样本OFDM符号,其中,所述样本OFDM符号为用于获得所述待检测的OFDM符号内子载波的功率值所确定的样本符号;With reference to the second aspect or the first possible implementation manner, in a second possible implementation manner, the obtaining unit is specifically configured to determine sample OFDM symbols from received OFDM symbols, where the sample OFDM symbols are Used to obtain the sample symbol determined by the power value of the subcarrier in the OFDM symbol to be detected;
根据所述样本OFDM符号通过公式:According to the sample OFDM symbol passing formula:
得到所述待检测的OFDM符号内的子载波的功率值;其中,P(n)为所述待检测的OFDM符号内的子载波的功率值,M为所述样本OFDM符号的数量,m为所述样本OFDM符号的标识,n为所述子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; Wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the quantity of the sample OFDM symbol, and m is The identifier of the sample OFDM symbol, n is the identifier of the subcarrier, r m, n is the nth subcarrier in the mth sample OFDM symbol.
结合第二种可能的实现方式,在第三种可能的实现方式中,所述处理单元具体用于,通过所述子载波集合的标识对应的子载波集合内全部子载波的功率值之和与所述子载波集合内的子载波的数量的比值得到第一平均功率值,从所述子载波集合内子载波的功率值中确定最大功率值,并根据所述第一平均功率值和所述最大功率值得到检测门限值,其中,所述第一平均功率值为所述子载波集合内子载波的平均功率值。With reference to the second possible implementation manner, in a third possible implementation manner, the processing unit is specifically configured to combine the sum of the power values of all subcarriers in the subcarrier set corresponding to the identifier of the subcarrier set with The first average power value is obtained from the ratio of the number of subcarriers in the subcarrier set, the maximum power value is determined from the power values of the subcarriers in the subcarrier set, and according to the first average power value and the maximum A detection threshold value is obtained as a power value, wherein the first average power value is an average power value of subcarriers in the subcarrier set.
结合第三种可能的实现方式,在第四种可能的实现方式中,所述处理单元具体用于,根据所述第一平均功率值得到第一检测门限值:其中,所述第一检测门限值为:A·Pa(d-1)With reference to the third possible implementation manner, in a fourth possible implementation manner, the processing unit is specifically configured to obtain a first detection threshold value according to the first average power value: wherein, the first detection threshold value The threshold value is: A·P a (d-1)
根据所述第一平均功率值得到第二检测门限值:其中,所述第二检测门限值为:A·Pa(d+1)A second detection threshold value is obtained according to the first average power value: wherein, the second detection threshold value is: A·P a (d+1)
根据所述第一平均功率值得到第三检测门限值:其中,所述第三检测门限值为:A·Pa(d)A third detection threshold value is obtained according to the first average power value: wherein, the third detection threshold value is: A·P a (d)
根据所述最大功率值得到第四检测门限值:其中,所述第四检测门限值为: A fourth detection threshold value is obtained according to the maximum power value: wherein, the fourth detection threshold value is:
其中,d为所述子载波集合的标识,Pa(d)为所述第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为所述子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identifier of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of the subcarriers in the d+1th subcarrier set, and P a (d-1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, B is the second preset parameter.
结合第四种可能的实现方式,在第五种可能的实现方式中,所述处理单元还用于,在所述确定所述子载波存在噪声前,通过公式:With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the processing unit is further configured to, before determining that the subcarrier has noise, use a formula:
从所述待检测的OFDM符号内的子载波中根据预设元素数确定所述子载波集合的数量,其中,W为所述子载波集合的数量,N为所述待检测的OFDM符号内的子载波的数量,NS为所述预设元素数;Determine the number of subcarrier sets from the subcarriers in the OFDM symbols to be detected according to the preset number of elements, where W is the number of the subcarrier sets, and N is the number of subcarriers in the OFDM symbols to be detected. The number of subcarriers, NS is the preset number of elements;
通过公式:By formula:
得到第二平均功率值;其中,所述Pt为所述第二平均功率,Pa(d)为所述第一平均功率值,d为所述子载波集合的标识,W为所述子载波集合的数量,所述第二平均功率值为根据所述待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值;Obtain a second average power value; wherein, the P t is the second average power, P a (d) is the first average power value, d is the identity of the subcarrier set, and W is the subcarrier set The number of carrier sets, the second average power value is an average power value obtained from the average power value of subcarriers in all subcarrier sets in the OFDM symbol to be detected;
所述处理单元具体用于,在确定所述子载波的功率值大于或等于所述第一检测门限值时,将预设变量值加1,其中,所述预设变量值的起始值为0;The processing unit is specifically configured to, when it is determined that the power value of the subcarrier is greater than or equal to the first detection threshold value, add 1 to the preset variable value, wherein the initial value of the preset variable value is is 0;
在确定所述子载波的功率值大于或等于所述第二检测门限值时,将所述预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the second detection threshold value, adding 1 to the preset variable value;
在确定所述子载波的功率值大于或等于所述第三检测门限值且大于或等于所述第四检测门限值时,将所述预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the third detection threshold value and greater than or equal to the fourth detection threshold value, adding 1 to the preset variable value;
在确定所述预设变量值大于1且所述第二平均功率值大于或等于预设功率门限值时,确定所述子载波存在噪声。When it is determined that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, it is determined that the subcarrier has noise.
结合第五种可能的实现方式,在第六种可能的实现方式中,所述处理单元还用于,在确定所述子载波的功率值小于所述第三检测门限值,和/或确定所述子载波的功率值小于所述第四检测门限值时,将所述预设变量值清零。With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the processing unit is further configured to determine that the power value of the subcarrier is less than the third detection threshold, and/or determine When the power value of the subcarrier is smaller than the fourth detection threshold value, the preset variable value is cleared to zero.
结合第五种可能的实现方式或第六种可能的实现方式,在第七种可能的实现方式中,所述处理单元还用于,在确定所述子载波存在噪声后,继续确定所述待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略,并在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果,其中,所述噪声检测结果包括满足噪声检测策略的子载波对应的标识,所述下一个子载波包括将所述子载波的标识加一后得到的标识对应的子载波。With reference to the fifth possible implementation manner or the sixth possible implementation manner, in a seventh possible implementation manner, the processing unit is further configured to continue to determine the pending Whether the power value of the next subcarrier in the detected OFDM symbol satisfies the noise detection strategy, and when the power value of the subcarrier with the preset value is determined continuously does not satisfy the noise detection strategy, determine the noise detection result, wherein the noise detection result It includes an identifier corresponding to a subcarrier satisfying the noise detection strategy, and the next subcarrier includes a subcarrier corresponding to an identifier obtained by adding one to the identifier of the subcarrier.
通过采用上述方案,噪声检测设备获取待检测的正交频分复用OFDM符号内的子载波的功率值,确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声,这样,通过对待检测的OFDM符号划分集合,并针对各个集合采用更加精准的噪声检测策略,使得即使在信道衰落的场景下,也能够实现对信号噪声的精确检测,以保证信号的可靠传输。By adopting the above scheme, the noise detection device obtains the power value of the subcarrier in the orthogonal frequency division multiplexing OFDM symbol to be detected, determines the identity of the subcarrier set corresponding to the subcarrier, and obtains the corresponding The noise detection threshold value of the noise detection threshold value, when the power value of the subcarrier is determined to meet the noise detection strategy according to the noise detection threshold value, it is determined that the subcarrier has noise. In this way, the OFDM symbols to be detected are divided into sets, and for each set A more accurate noise detection strategy is adopted to enable accurate detection of signal noise even in channel fading scenarios to ensure reliable signal transmission.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种噪声检测的方法示意图;FIG. 1 is a schematic diagram of a noise detection method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种噪声检测方法的流程示意图;FIG. 2 is a schematic flowchart of a noise detection method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种噪声检测设备的结构示意图;FIG. 3 is a schematic structural diagram of a noise detection device provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种噪声检测设备的结构示意图。FIG. 4 is a schematic structural diagram of another noise detection device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种噪声检测的方法,如图1所示,该方法的执行主体为噪声检测设备,该方法包括:An embodiment of the present invention provides a method for noise detection, as shown in Figure 1, the execution subject of the method is a noise detection device, and the method includes:
S101、噪声检测设备获取待检测的OFDM符号内的子载波的功率值。S101. The noise detection device acquires a power value of a subcarrier in an OFDM symbol to be detected.
具体地,噪声检测设备从接收的OFDM符号中确定样本OFDM符号,其中,该样本OFDM符号为用于获得该待检测的OFDM符号内子载波的功率值所确定的样本符号,并根据该样本OFDM符号通过公式:Specifically, the noise detection device determines a sample OFDM symbol from the received OFDM symbol, wherein the sample OFDM symbol is a sample symbol determined for obtaining the power value of the subcarrier in the OFDM symbol to be detected, and according to the sample OFDM symbol By formula:
得到该待检测的OFDM符号内的子载波的功率值;其中,P(n)为该待检测的OFDM符号内的子载波的功率值,M为该样本OFDM符号的数量,m为该样本OFDM符号的标识,n为该子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the number of the sample OFDM symbols, and m is the sample OFDM Symbol identifier, n is the identifier of the subcarrier, r m,n is the nth subcarrier in the mth sample OFDM symbol.
由上述公式可以看出,待检测的OFDM符号内的子载波的功率值的计算是将每个样本OFDM符号中相同子载波标识对应的子载波的功率值相加,并获取相加后得到的值与样本OFDM符号的数量的比值,从而得到待检测的OFDM符号内与该子载波标识对应的子载波的功率值,例如,噪声检测设备接收到4个OFDM符号,从中选取了2个样本OFDM符号,则将这2个样本OFDM符号中子载波的标识为0的子载波的功率值相加,并将相加后得到的值与样本OFDM符号的数量(即上述选取的2个OFDM符号)相比,从而得到该待检测的OFDM符号内与该子载波标识为0的子载波的功率值,按照上述方法依次计算待检测的OFDM符号内子载波标识为1至子载波标识的最大值所对应的子载波的功率值,从而得到该待检测的OFDM符号内所有的子载波的功率值;这里只是举例说明,不作限定。It can be seen from the above formula that the calculation of the power value of the subcarriers in the OFDM symbol to be detected is to add the power values of the subcarriers corresponding to the same subcarrier identifier in each sample OFDM symbol, and obtain the sum obtained after the addition Value and the ratio of the number of sample OFDM symbols, so as to obtain the power value of the subcarrier corresponding to the subcarrier identifier in the OFDM symbol to be detected, for example, the noise detection device receives 4 OFDM symbols, and selects 2 sample OFDM symbol, then add the power values of the subcarriers marked as 0 in the 2 sample OFDM symbols, and add the value obtained after the addition to the number of sample OFDM symbols (that is, the 2 OFDM symbols selected above) By comparing, the power value of the subcarrier with the subcarrier identifier of 0 in the OFDM symbol to be detected is obtained, and the subcarrier identifier in the OFDM symbol to be detected is 1 to the maximum value corresponding to the subcarrier identifier. The power values of the subcarriers, so as to obtain the power values of all the subcarriers in the to-be-detected OFDM symbol; this is just an example and not limited.
需要说明的是,对于长时间存在的噪声,确定的样本OFDM符号数越多,则得到的待检测的OFDM符号内的子载波的功率值越精确,对后续噪声的检测也越精确,但是,由于选取的样本OFDM符号越多,噪声检测的延时就越高,且计算的复杂度也越高,从而造成系统运行的负担,因此,对于长时间存在的噪声,确定的样本OFDM符号需要考虑系统运行的负担。对于突发的噪声,需要尽快地检测到噪声,因此在保证能检测到噪声的条件下,确定的样本OFDM符号越少越好。It should be noted that, for noise that exists for a long time, the more the number of sample OFDM symbols is determined, the more accurate the power value of the subcarriers in the OFDM symbol to be detected is, and the detection of subsequent noise is more accurate. However, Since the more sample OFDM symbols are selected, the delay of noise detection will be higher, and the complexity of calculation will be higher, which will cause the burden of system operation. Therefore, for the noise that exists for a long time, the determined sample OFDM symbols need to consider The burden of running the system. For bursty noise, it is necessary to detect the noise as soon as possible, so under the condition that the noise can be detected, the fewer determined sample OFDM symbols, the better.
另外,上述子载波的标识可以为子载波的标号,例如可以对OFDM符号内的子载波按照0、1、2......的顺序进行标号。In addition, the above identifier of the subcarrier may be a label of the subcarrier, for example, the subcarriers in the OFDM symbol may be labeled in the order of 0, 1, 2 . . . .
S102、噪声检测设备确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值。S102. The noise detection device determines an identifier of a subcarrier set corresponding to the subcarrier, and obtains a corresponding noise detection threshold according to the identifier of the subcarrier set.
其中,该子载波集合为该噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定的集合。Wherein, the subcarrier set is a set determined by the noise detection device according to a preset number of elements from the subcarriers in the OFDM symbol to be detected.
具体地,噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定子载波集合,例如,若预设元素数为5,则将该待检测的OFDM符号内的子载波以5个作为一个集合,若该OFDM符号内有10个子载波,则将该10子载波分为两个集合。Specifically, the noise detection device determines the subcarrier set from the subcarriers in the OFDM symbol to be detected according to the preset number of elements, for example, if the preset number of elements is 5, then the subcarriers in the OFDM symbol to be detected Taking 5 as a set, if there are 10 subcarriers in the OFDM symbol, divide the 10 subcarriers into two sets.
可选地,噪声检测设备划分的每个子载波集合中的子载波的标识可以是连续的,例如,该待检测的OFDM符号内包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波。当然,每个子载波集合中的子载波的标识也可以是不连续的,如将标号为0、2、4、6和8的子载波作为一个集合,将标号1、3、5、7和9作为一个集合,本发明对此不作限定。Optionally, the identification of the subcarriers in each subcarrier set divided by the noise detection device may be continuous, for example, the OFDM symbol to be detected includes 10 subcarriers, and the labels are respectively marked as 0, 1, 2... ...9, and divided into 2 sets according to the preset number of elements being 5, and the labels are marked as 0 and 1 respectively, wherein, the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes Subcarriers numbered 5 to 9. Of course, the identification of the subcarriers in each subcarrier set can also be discontinuous, such as taking the subcarriers marked as 0, 2, 4, 6 and 8 as a set, and the subcarriers marked as 1, 3, 5, 7 and 9 As a set, the present invention is not limited thereto.
另外,如果确定的预设元素数无法保证平均划分OFDM符号内的子载波,则在确定子载波集合后,将剩余的子载波划分至已经确定的子载波集合中,例如,若预设元素数为3,若该OFDM符号内有10个子载波,则按照预设元素数将该10个子载波划分为3个集合,此时,还剩余1个子载波,则将该子载波划分至上述3个集合中的任一个中。In addition, if the determined number of preset elements cannot guarantee the average division of the subcarriers in the OFDM symbol, after determining the set of subcarriers, divide the remaining subcarriers into the determined set of subcarriers, for example, if the number of preset elements is 3, if there are 10 subcarriers in the OFDM symbol, divide the 10 subcarriers into 3 sets according to the preset number of elements, and at this time, if there is 1 subcarrier left, then divide the subcarriers into the above 3 sets in any of them.
需要说明的是,确定的子载波集合包括子载波集合的标识,例如,可以是子载波集合的标号,如按照0、1、2......的顺序进行标号。It should be noted that the determined subcarrier set includes an identifier of the subcarrier set, for example, may be a label of the subcarrier set, such as labeling in the order of 0, 1, 2 . . . .
进一步地,噪声检测设备通过该子载波集合的标识对应的子载波集合内全部子载波的功率值之和与该子载波集合内的子载波的数量的比值得到第一平均功率值,并从该子载波集合内子载波的功率值中确定最大功率值,并根据该第一平均功率值和该最大功率值得到检测门限值。Further, the noise detection device obtains the first average power value from the ratio of the sum of the power values of all subcarriers in the subcarrier set corresponding to the identity of the subcarrier set to the number of subcarriers in the subcarrier set, and obtains the first average power value from the A maximum power value is determined from the power values of the subcarriers in the subcarrier set, and a detection threshold is obtained according to the first average power value and the maximum power value.
其中,该第一平均功率值为该子载波集合内子载波的平均功率值。Wherein, the first average power value is an average power value of subcarriers in the subcarrier set.
具体地,噪声检测设备根据该第一平均功率值得到第一检测门限Specifically, the noise detection device obtains the first detection threshold according to the first average power value
A·Pa(d-1)A·P a (d-1)
值:其中,该第一检测门限值为:Value: Wherein, the first detection threshold value is:
噪声检测设备根据该第一平均功率值得到第二检测门限值:其中,该第二检测门限值为:A·Pa(d+1)The noise detection device obtains a second detection threshold value according to the first average power value: wherein, the second detection threshold value is: A·P a (d+1)
噪声检测设备根据该第一平均功率值得到第三检测门限值:其中,该第三检测门限值为:A·Pa(d)The noise detection device obtains a third detection threshold value according to the first average power value: wherein, the third detection threshold value is: A·P a (d)
噪声检测设备根据该最大功率值得到第四检测门限值:其中,该第四检测门限值为: The noise detection device obtains a fourth detection threshold value according to the maximum power value: wherein, the fourth detection threshold value is:
其中,d为该子载波集合的标识,Pa(d)为该第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为该子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identity of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of subcarriers in the d+1th subcarrier set, P a (d -1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, and B is the first preset parameter Two preset parameters.
S103、噪声检测设备在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声。S103. The noise detection device determines that there is noise in the subcarrier when it is determined according to the noise detection threshold that the power value of the subcarrier satisfies the noise detection strategy.
具体地,噪声检测设备在该步骤S103前,通过公式:Specifically, before the step S103, the noise detection device uses the formula:
从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合的数量,其中,W为该子载波集合的数量,N为该待检测的OFDM符号内的子载波的数量,NS为该预设元素数,Determine the number of subcarrier sets from the subcarriers in the OFDM symbol to be detected according to the preset number of elements, where W is the number of the subcarrier set, and N is the number of subcarriers in the OFDM symbol to be detected , NS is the preset number of elements,
由该公式可以看出,W按照向下取整的原则进行取值。It can be seen from the formula that W is valued according to the principle of rounding down.
噪声检测设备通过公式:The noise detection equipment passes the formula:
得到第二平均功率值;其中,该Pt为该第二平均功率,Pa(d)为该第一平均功率值,d为该子载波集合的标识,W为该子载波集合的数量,该第二平均功率值为根据该待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值。Obtain the second average power value; wherein, the P t is the second average power, P a (d) is the first average power value, d is the identity of the subcarrier set, W is the number of the subcarrier set, The second average power value is an average power value obtained from average power values of subcarriers in all subcarrier sets in the OFDM symbol to be detected.
进一步地,噪声检测设备在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声具体包括以下4个步骤:Further, when the noise detection device determines that the power value of the subcarrier satisfies the noise detection strategy according to the noise detection threshold value, determining that the subcarrier has noise specifically includes the following four steps:
步骤1、噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1。Step 1. When the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value.
其中,该预设变量值的起始值为0。Wherein, the initial value of the preset variable value is 0.
步骤2、噪声检测设备在确定该子载波的功率值大于或等于该第二检测门限值时,将该预设变量值加1。Step 2: When the noise detection device determines that the power value of the subcarrier is greater than or equal to the second detection threshold value, add 1 to the preset variable value.
需要说明的是,步骤1和步骤2的实施顺序并不作限定,也可以先进行步骤2,再进行步骤1。It should be noted that the implementation order of step 1 and step 2 is not limited, and step 2 may be performed first, and then step 1 may be performed.
步骤3、噪声检测设备在确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值时,将该预设变量值加1。Step 3: When the noise detection device determines that the power value of the subcarrier is greater than or equal to the third detection threshold and greater than or equal to the fourth detection threshold, add 1 to the preset variable value.
进一步地,噪声检测设备在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。Further, when the noise detection device determines that the power value of the subcarrier is less than the third detection threshold value, and/or determines that the power value of the subcarrier is less than the fourth detection threshold value, clear the preset variable value zero.
需要说明的是,上述步骤1中若噪声检测设备在确定该子载波的功率值小于该第一检测门限值,或者上述步骤2中若噪声检测设备在确定该子载波的功率值小于该第二检测门限值时,不对预设变量值清零,例如,噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,在确定该子载波的功率值小于该第一检测门限值时,则不对该预设变量值进行加1和清零处理,但是,若该噪声检测设备在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。It should be noted that, in step 1 above, if the noise detection device determines that the power value of the subcarrier is less than the first detection threshold, or in step 2 above, if the noise detection device determines that the power value of the subcarrier is less than the first detection threshold When the second detection threshold value is detected, the preset variable value is not cleared. For example, when the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value. When the power value of the subcarrier is less than the first detection threshold value, the preset variable value will not be incremented and cleared. However, if the noise detection device determines that the power value of the subcarrier is less than the third When detecting a threshold value, and/or determining that the power value of the subcarrier is less than the fourth detection threshold value, clearing the preset variable value to zero.
步骤4、噪声检测设备在确定该预设变量值大于1且该第二平均功率值大于或等于预设功率门限值时,确定该子载波存在噪声。Step 4. When the noise detection device determines that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, determine that the subcarrier has noise.
示例地,若噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,并在确定该子载波的功率值也大于或等于该第二检测门限值时,将该预设变量值再加1,此时,该预设变量值为2,如果噪声检测设备确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值,则将该预设变量值加1,此时,该预设变量值为3,若噪声检测设备进一步确定该第二平均功率值大于或等于预设功率门限值,则噪声检测设备确定该子载波存在噪声。For example, if the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value, and determines that the power value of the subcarrier is also greater than or equal to the first detection threshold value. When the second detection threshold value is detected, add 1 to the preset variable value. At this time, the preset variable value is 2. If the noise detection device determines that the power value of the subcarrier is greater than or equal to the third detection threshold value and greater than or equal to the fourth detection threshold value, then add 1 to the preset variable value, at this time, the preset variable value is 3, if the noise detection device further determines that the second average power value is greater than or equal to the preset power threshold value, the noise detection device determines that there is noise in the subcarrier.
进一步地,在确定该子载波存在噪声后,噪声检测设备继续确定该待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略,并在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果。Further, after determining that the subcarrier has noise, the noise detection device continues to determine whether the power value of the next subcarrier in the OFDM symbol to be detected satisfies the noise detection strategy, and continuously determines the power value of the subcarrier of the preset value When the noise detection policy is not satisfied, the noise detection result is determined.
其中,该下一个子载波包括将该子载波的标识加一后得到的标识对应的子载波,该噪声检测结果包括满足噪声检测策略的子载波对应的标识。Wherein, the next subcarrier includes the subcarrier corresponding to the identifier obtained by adding one to the identifier of the subcarrier, and the noise detection result includes the identifier corresponding to the subcarrier satisfying the noise detection strategy.
例如,该待检测的OFDM符号包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波,若确定标号为0的集合内标号为0的子载波存在噪声,则继续确定标号为1的子载波是否存在噪声,并依次确定标号为2至9的子载波是否存在噪声,若确定标号为1的子载波存在噪声,且标号为2和3这两个(即上述预设数值,这里的两个只是举例说明)连续的子载波不满足噪声检测策略(即不存在噪声),则确定本次噪声检测结果包括标号为0的子载波集合内标号为0和1的子载波存在噪声,并从标号为4的子载波开始继续进行噪声检测,其具体的检测方式与上述标号为0至3的子载波的检测方式相同,因此不再赘述,直至将该待检测的OFDM符号内的子载波都检测完成,并根据该待检测的OFDM符号内的子载波的噪声检测结果进行噪声处理,这样,在OFDM符号中可能会确定多个噪声检测结果,从而对噪声进行更精确的处理。For example, the OFDM symbol to be detected includes 10 subcarriers, marked as 0, 1, 2...9, and divided into 2 sets according to the preset number of elements being 5, marked as 0 and 9 respectively. 1, wherein the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes subcarriers labeled 5 to 9, if it is determined that the subcarrier labeled 0 in the set labeled 0 has noise , then continue to determine whether the subcarrier with the label 1 has noise, and determine whether the subcarrier with the label 2 to 9 has noise in turn, if it is determined that the subcarrier with the label 1 has noise, and the two (2 and 3) That is, the above-mentioned preset values, the two here are just examples) the continuous subcarriers do not satisfy the noise detection strategy (that is, there is no noise), then it is determined that the noise detection result includes the subcarriers labeled 0 and 0 in the subcarrier set There is noise in the subcarrier of 1, and the noise detection is continued from the subcarrier labeled 4. The specific detection method is the same as the detection method of the subcarriers labeled 0 to 3 above, so it will not be described in detail until the The subcarriers in the detected OFDM symbol are all detected, and noise processing is performed according to the noise detection results of the subcarriers in the OFDM symbol to be detected. In this way, multiple noise detection results may be determined in the OFDM symbol, so that the noise for more precise processing.
具体地,上述噪声检测设备进行噪声处理可以是噪声检测设备将噪声检测结果发送至滤波器装置和/或载波置数器,滤波器装置根据噪声检测结果生成对应的滤波系数,并根据该滤波系数对存在噪声的子载波进行滤波处理,载波置数器将存在噪声的子载波置为0,或者将该存在噪声的子载波的幅度置为常数(适用于噪声对该子载波的相位影响较大的情况),或者将该存在噪声的子载波的幅度置为常数,且保留其相位(适用于噪声对该子载波的相位影响较小的情况)。Specifically, the noise processing performed by the above-mentioned noise detection device may be that the noise detection device sends the noise detection result to the filter device and/or the carrier counter, and the filter device generates a corresponding filter coefficient according to the noise detection result, and according to the filter coefficient Filter the subcarriers with noise, the carrier setter will set the subcarrier with noise to 0, or set the amplitude of the subcarrier with noise as a constant (applicable to the phase of the subcarrier that the noise has a great influence on) case), or set the amplitude of the subcarrier with noise as a constant, and keep its phase (applicable to the case where the noise has little influence on the phase of the subcarrier).
通过采用上述执行主体为噪声检测设备的方法,噪声检测设备获取待检测的正交频分复用OFDM符号内的子载波的功率值,确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声,这样,通过对待检测的OFDM符号划分集合,并针对各个集合采用更加精准的噪声检测策略,使得即使在信道衰落的场景下,也能够实现对信号噪声的精确检测,以保证信号的可靠传输。By adopting the method in which the execution subject is the noise detection device, the noise detection device obtains the power value of the subcarrier in the OFDM symbol to be detected, determines the identity of the subcarrier set corresponding to the subcarrier, and according to the The identification of the subcarrier set obtains the corresponding noise detection threshold value. When the power value of the subcarrier is determined to meet the noise detection strategy according to the noise detection threshold value, it is determined that the subcarrier has noise. In this way, by the OFDM symbol to be detected Divide the sets and adopt a more accurate noise detection strategy for each set, so that even in the case of channel fading, accurate detection of signal noise can be achieved to ensure reliable signal transmission.
本发明实施例提供一种噪声检测的方法,如图2所示,包括:An embodiment of the present invention provides a noise detection method, as shown in FIG. 2 , including:
S201、噪声检测设备从接收的OFDM符号中确定样本OFDM符号。S201. The noise detection device determines sample OFDM symbols from received OFDM symbols.
其中,该样本OFDM符号为用于获得该待检测的OFDM符号内子载波的功率值所确定的样本符号。Wherein, the sample OFDM symbol is a sample symbol determined for obtaining the power value of the subcarrier in the OFDM symbol to be detected.
S202、噪声检测设备根据该样本OFDM符号确定待检测的OFDM符号内的子载波的功率值。S202. The noise detection device determines a power value of a subcarrier in the OFDM symbol to be detected according to the sample OFDM symbol.
具体地,噪声检测设备根据该样本OFDM符号通过公式:Specifically, the noise detection device passes the formula according to the sample OFDM symbol:
得到该待检测的OFDM符号内的子载波的功率值;其中,P(n)为该待检测的OFDM符号内的子载波的功率值,M为该样本OFDM符号的数量,m为该样本OFDM符号的标识,n为该子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the number of the sample OFDM symbols, and m is the sample OFDM Symbol identifier, n is the identifier of the subcarrier, r m,n is the nth subcarrier in the mth sample OFDM symbol.
由上述公式可以看出,待检测的OFDM符号内的子载波的功率值的计算是将每个样本OFDM符号中相同子载波标识对应的子载波的功率值相加,并获取相加后得到的值与样本OFDM符号的数量的比值,从而得到待检测的OFDM符号内与该子载波标识对应的子载波的功率值,例如,噪声检测设备接收到4个OFDM符号,从中选取了2个样本OFDM符号,则将这2个样本OFDM符号中子载波的标识为0的子载波的功率值相加,并将相加后得到的值与样本OFDM符号的数量(即上述选取的2个OFDM符号)相比,从而得到该待检测的OFDM符号内与该子载波标识为0的子载波的功率值,按照上述方法依次计算待检测的OFDM符号内子载波标识为1至子载波标识的最大值所对应的子载波的功率值,从而得到该待检测的OFDM符号内所有的子载波的功率值;这里只是举例说明,不作限定。It can be seen from the above formula that the calculation of the power value of the subcarriers in the OFDM symbol to be detected is to add the power values of the subcarriers corresponding to the same subcarrier identifier in each sample OFDM symbol, and obtain the sum obtained after the addition Value and the ratio of the number of sample OFDM symbols, so as to obtain the power value of the subcarrier corresponding to the subcarrier identifier in the OFDM symbol to be detected, for example, the noise detection device receives 4 OFDM symbols, and selects 2 sample OFDM symbol, then add the power values of the subcarriers marked as 0 in the two sample OFDM symbols, and add the value obtained after the addition to the number of sample OFDM symbols (that is, the two OFDM symbols selected above) By comparing, the power value of the subcarrier with the subcarrier identifier of 0 in the OFDM symbol to be detected is obtained, and the subcarrier identifier in the OFDM symbol to be detected is calculated sequentially according to the above method. The power values of the subcarriers, so as to obtain the power values of all the subcarriers in the to-be-detected OFDM symbol; this is just an example and not limited.
需要说明的是,对于长时间存在的噪声,确定的样本OFDM符号数越多,则得到的待检测的OFDM符号内的子载波的功率值越精确,对后续噪声的检测也越精确,但是,由于选取的样本OFDM符号越多,噪声检测的延时就越高,且计算的复杂度也越高,从而造成系统运行的负担,因此,对于长时间存在的噪声,确定的样本OFDM符号需要考虑系统运行的负担。对于突发的噪声,需要尽快地检测到噪声,因此在保证能检测到噪声的条件下,确定的样本OFDM符号越少越好。It should be noted that, for noise that exists for a long time, the more the number of sample OFDM symbols is determined, the more accurate the power value of the subcarriers in the OFDM symbol to be detected is, and the detection of subsequent noise is more accurate. However, Since the more sample OFDM symbols are selected, the delay of noise detection will be higher, and the complexity of calculation will be higher, which will cause the burden of system operation. Therefore, for the noise that exists for a long time, the determined sample OFDM symbols need to consider The burden of running the system. For bursty noise, it is necessary to detect the noise as soon as possible, so under the condition that the noise can be detected, the fewer determined sample OFDM symbols, the better.
另外,上述子载波的标识可以为子载波的标号,例如可以对OFDM符号内的子载波按照0、1、2......的顺序进行标号。In addition, the above identifier of the subcarrier may be a label of the subcarrier, for example, the subcarriers in the OFDM symbol may be labeled in the order of 0, 1, 2 . . . .
S203、噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合。S203. The noise detection device determines the subcarrier set from the subcarriers in the OFDM symbol to be detected according to the preset number of elements.
其中,该子载波集合为该噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定的集合。Wherein, the subcarrier set is a set determined by the noise detection device according to a preset number of elements from the subcarriers in the OFDM symbol to be detected.
具体地,噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定子载波集合,例如,若预设元素数为5,则将该待检测的OFDM符号内的子载波以5个作为一个集合,若该OFDM符号内有10个子载波,则将该10子载波分为两个集合。Specifically, the noise detection device determines the subcarrier set from the subcarriers in the OFDM symbol to be detected according to the preset number of elements, for example, if the preset number of elements is 5, then the subcarriers in the OFDM symbol to be detected Taking 5 as a set, if there are 10 subcarriers in the OFDM symbol, divide the 10 subcarriers into two sets.
可选地,噪声检测设备划分的每个子载波集合中的子载波的标识可以是连续的,例如,该待检测的OFDM符号内包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波。当然,每个子载波集合中的子载波的标识也可以是不连续的,如将标号为0、2、4、6和8的子载波作为一个集合,将标号1、3、5、7和9作为一个集合,本发明对此不作限定。Optionally, the identification of the subcarriers in each subcarrier set divided by the noise detection device may be continuous, for example, the OFDM symbol to be detected includes 10 subcarriers, and the labels are respectively marked as 0, 1, 2... ...9, and divided into 2 sets according to the preset number of elements being 5, and the labels are marked as 0 and 1 respectively, wherein, the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes Subcarriers numbered 5 to 9. Of course, the identification of the subcarriers in each subcarrier set can also be discontinuous, such as taking the subcarriers marked as 0, 2, 4, 6 and 8 as a set, and the subcarriers marked as 1, 3, 5, 7 and 9 As a set, the present invention is not limited thereto.
另外,如果确定的预设元素数无法保证平均划分OFDM符号内的子载波,则在确定子载波集合后,将剩余的子载波划分至已经确定的子载波集合中,例如,若预设元素数为3,若该OFDM符号内有10个子载波,则按照预设元素数将该10个子载波划分为3个集合,此时,还剩余1个子载波,则将该子载波划分至上述3个集合中的任一个中。In addition, if the determined number of preset elements cannot guarantee the average division of the subcarriers in the OFDM symbol, after determining the set of subcarriers, divide the remaining subcarriers into the determined set of subcarriers, for example, if the number of preset elements is 3, if there are 10 subcarriers in the OFDM symbol, divide the 10 subcarriers into 3 sets according to the preset number of elements, and at this time, if there is 1 subcarrier left, then divide the subcarriers into the above 3 sets in any of them.
S204、噪声检测设备确定该子载波对应的子载波集合的标识。S204. The noise detection device determines an identifier of a subcarrier set corresponding to the subcarrier.
其中,确定的子载波集合包括子载波集合的标识,例如,可以是子载波集合的标号,如按照0、1、2......的顺序进行标号、Wherein, the determined subcarrier set includes an identifier of the subcarrier set, for example, it may be a label of the subcarrier set, such as labeling in the order of 0, 1, 2...,
S205、噪声检测设备通过该子载波集合的标识对应的子载波集合内全部子载波的功率值之和与该子载波集合内的子载波的数量的比值得到第一平均功率值。S205. The noise detection device obtains the first average power value from the ratio of the sum of power values of all subcarriers in the subcarrier set corresponding to the identifier of the subcarrier set to the number of subcarriers in the subcarrier set.
其中,该第一平均功率值为该子载波集合内子载波的平均功率值。Wherein, the first average power value is an average power value of subcarriers in the subcarrier set.
S206、噪声检测设备从该子载波集合内子载波的功率值中确定最大功率值。S206. The noise detection device determines a maximum power value from power values of subcarriers in the subcarrier set.
S207、噪声检测设备根据该第一平均功率值得到第一检测门限值,第二检测门限值和第三检测门限值,并根据该最大功率值得到第四检测门限值。S207. The noise detection device obtains a first detection threshold, a second detection threshold, and a third detection threshold according to the first average power value, and obtains a fourth detection threshold according to the maximum power value.
其中,该第一检测门限值为:A·Pa(d-1),该第二检测门限值为:A·Pa(d+1),该第三检测门限值为:A·Pa(d),该第四检测门限值为 Wherein, the first detection threshold value is: A·P a (d-1), the second detection threshold value is: A·P a (d+1), and the third detection threshold value is: A · P a (d), the fourth detection threshold is
其中,d为该子载波集合的标识,Pa(d)为该第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为该子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identity of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of subcarriers in the d+1th subcarrier set, P a (d -1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, and B is the first preset parameter Two preset parameters.
S208、噪声检测设备通过公式:S208. The noise detection equipment passes the formula:
从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合的数量。The quantity of the subcarrier set is determined from the subcarriers in the OFDM symbol to be detected according to the preset number of elements.
其中,W为该子载波集合的数量,N为该待检测的OFDM符号内的子载波的数量,NS为该预设元素数。Wherein, W is the number of the subcarrier set, N is the number of subcarriers in the OFDM symbol to be detected, and NS is the preset number of elements.
S209、噪声检测设备通过公式:S209. The noise detection equipment passes the formula:
得到第二平均功率值。Obtain the second average power value.
其中,该Pt为该第二平均功率,Pa(d)为该第一平均功率值,d为该子载波集合的标识,W为该子载波集合的数量,该第二平均功率值为根据该待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值。Wherein, the P t is the second average power, P a (d) is the first average power value, d is the identifier of the subcarrier set, W is the number of the subcarrier set, and the second average power value is The average power value obtained according to the average power value of subcarriers in all subcarrier sets in the OFDM symbol to be detected.
S210、噪声检测设备在根据该第一检测门限值、第二检测门限值、第三检测门限值和第四检测门限值以及第二平均功率值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声。S210. The noise detection device determines that the power value of the subcarrier satisfies the noise threshold according to the first detection threshold, the second detection threshold, the third detection threshold, the fourth detection threshold and the second average power value. When detecting the strategy, it is determined that the subcarrier has noise.
具体地,该步骤S210具体包括以下4个步骤:Specifically, this step S210 specifically includes the following four steps:
步骤1、噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1。Step 1. When the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value.
其中,该预设变量值的起始值为0。Wherein, the initial value of the preset variable value is 0.
步骤2、噪声检测设备在确定该子载波的功率值大于或等于该第二检测门限值时,将该预设变量值加1。Step 2: When the noise detection device determines that the power value of the subcarrier is greater than or equal to the second detection threshold value, add 1 to the preset variable value.
需要说明的是,步骤1和步骤2的实施顺序并不作限定,也可以先进行步骤2,再进行步骤1。It should be noted that the implementation order of step 1 and step 2 is not limited, and step 2 may be performed first, and then step 1 may be performed.
步骤3、噪声检测设备在确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值时,将该预设变量值加1。Step 3: When the noise detection device determines that the power value of the subcarrier is greater than or equal to the third detection threshold and greater than or equal to the fourth detection threshold, add 1 to the preset variable value.
进一步地,噪声检测设备在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。Further, when the noise detection device determines that the power value of the subcarrier is less than the third detection threshold value, and/or determines that the power value of the subcarrier is less than the fourth detection threshold value, clear the preset variable value zero.
需要说明的是,上述步骤1中若噪声检测设备在确定该子载波的功率值小于该第一检测门限值,或者上述步骤2中若噪声检测设备在确定该子载波的功率值小于该第二检测门限值时,不对预设变量值清零,例如,噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,在确定该子载波的功率值小于该第一检测门限值时,则不对该预设变量值进行加1和清零处理,但是,若该噪声检测设备在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。It should be noted that, in step 1 above, if the noise detection device determines that the power value of the subcarrier is less than the first detection threshold, or in step 2 above, if the noise detection device determines that the power value of the subcarrier is less than the first detection threshold When the second detection threshold value is detected, the preset variable value is not cleared. For example, when the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value. When the power value of the subcarrier is less than the first detection threshold value, the preset variable value will not be incremented and cleared. However, if the noise detection device determines that the power value of the subcarrier is less than the third When detecting a threshold value, and/or determining that the power value of the subcarrier is less than the fourth detection threshold value, clearing the preset variable value to zero.
步骤4、噪声检测设备在确定该预设变量值大于1且该第二平均功率值大于或等于预设功率门限值时,确定该子载波存在噪声。Step 4. When the noise detection device determines that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, determine that the subcarrier has noise.
示例地,若噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,并在确定该子载波的功率值也大于或等于该第二检测门限值时,将该预设变量值再加1,此时,该预设变量值为2,如果噪声检测设备确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值,则将该预设变量值加1,此时,该预设变量值为3,若噪声检测设备进一步确定该第二平均功率值大于或等于预设功率门限值,则噪声检测设备确定该子载波存在噪声。For example, if the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value, and determines that the power value of the subcarrier is also greater than or equal to the first detection threshold value. When the second detection threshold value is detected, add 1 to the preset variable value. At this time, the preset variable value is 2. If the noise detection device determines that the power value of the subcarrier is greater than or equal to the third detection threshold value and greater than or equal to the fourth detection threshold value, then add 1 to the preset variable value, at this time, the preset variable value is 3, if the noise detection device further determines that the second average power value is greater than or equal to the preset power threshold value, the noise detection device determines that there is noise in the subcarrier.
S211、噪声检测设备继续确定该待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略,并在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果。S211. The noise detection device continues to determine whether the power value of the next subcarrier in the to-be-detected OFDM symbol satisfies the noise detection strategy, and determines the noise detection when the power value of the subcarrier with the preset value continuously determined does not satisfy the noise detection strategy result.
其中,该下一个子载波包括将该子载波的标识加一后得到的标识对应的子载波,该噪声检测结果包括满足噪声检测策略的子载波对应的标识。Wherein, the next subcarrier includes the subcarrier corresponding to the identifier obtained by adding one to the identifier of the subcarrier, and the noise detection result includes the identifier corresponding to the subcarrier satisfying the noise detection strategy.
例如,该待检测的OFDM符号包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波,若确定标号为0的集合内标号为0的子载波存在噪声,则继续确定标号为1的子载波是否存在噪声,并依次确定标号为2至9的子载波是否存在噪声,若确定标号为1的子载波存在噪声,且标号为2和3这两个(即上述预设数值,这里的两个只是举例说明)连续的子载波不满足噪声检测策略(即不存在噪声),则确定本次噪声检测结果包括标号为0的子载波集合内标号为0和1的子载波存在噪声,并从标号为4的子载波开始继续进行噪声检测,其具体的检测方式与上述标号为0至3的子载波的检测方式相同,因此不再赘述,直至将该待检测的OFDM符号内的子载波都检测完成,并根据该待检测的OFDM符号内的子载波的噪声检测结果进行噪声处理,这样,在OFDM符号中可能会确定多个噪声检测结果,从而对噪声进行更精确的处理。For example, the OFDM symbol to be detected includes 10 subcarriers, marked as 0, 1, 2...9, and divided into 2 sets according to the preset number of elements being 5, marked as 0 and 9 respectively. 1, wherein the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes subcarriers labeled 5 to 9, if it is determined that the subcarrier labeled 0 in the set labeled 0 has noise , then continue to determine whether the subcarrier with the label 1 has noise, and determine whether the subcarrier with the label 2 to 9 has noise in turn, if it is determined that the subcarrier with the label 1 has noise, and the two (2 and 3) That is, the above-mentioned preset values, the two here are just examples) the continuous subcarriers do not satisfy the noise detection strategy (that is, there is no noise), then it is determined that the noise detection result includes the subcarriers labeled 0 and 0 in the subcarrier set There is noise in the subcarrier of 1, and the noise detection is continued from the subcarrier labeled 4. The specific detection method is the same as the detection method of the subcarriers labeled 0 to 3 above, so it will not be described in detail until the The subcarriers in the detected OFDM symbol are all detected, and noise processing is performed according to the noise detection results of the subcarriers in the OFDM symbol to be detected. In this way, multiple noise detection results may be determined in the OFDM symbol, so that the noise for more precise processing.
具体地,上述噪声检测设备进行噪声处理可以是噪声检测设备将噪声检测结果发送至滤波器装置和/或载波置数器,滤波器装置根据噪声检测结果生成对应的滤波系数,并根据该滤波系数对存在噪声的子载波进行滤波处理,载波置数器将存在噪声的子载波置为0,或者将该存在噪声的子载波的幅度置为常数(适用于噪声对该子载波的相位影响较大的情况),或者将该存在噪声的子载波的幅度置为常数,且保留其相位(适用于噪声对该子载波的相位影响较小的情况)。Specifically, the noise processing performed by the above-mentioned noise detection device may be that the noise detection device sends the noise detection result to the filter device and/or the carrier counter, and the filter device generates a corresponding filter coefficient according to the noise detection result, and according to the filter coefficient Filter the subcarriers with noise, the carrier setter will set the subcarrier with noise to 0, or set the amplitude of the subcarrier with noise as a constant (applicable to the phase of the subcarrier that the noise has a great influence on) case), or set the amplitude of the subcarrier with noise as a constant, and keep its phase (applicable to the case where the noise has little influence on the phase of the subcarrier).
这样,通过对待检测的OFDM符号划分集合,并针对各个集合采用更加精准的噪声检测策略,使得即使在信道衰落的场景下,也能够实现对信号噪声的精确检测,以保证信号的可靠传输。In this way, by dividing the OFDM symbols to be detected into sets and adopting a more accurate noise detection strategy for each set, even in the case of channel fading, accurate detection of signal noise can be achieved to ensure reliable signal transmission.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例提供一种噪声检测设备30,如图3所示,包括:An embodiment of the present invention provides a noise detection device 30, as shown in FIG. 3 , including:
获取单元31,用于获取待检测的OFDM符号内的子载波的功率值。The obtaining unit 31 is configured to obtain the power value of the subcarrier in the OFDM symbol to be detected.
可选地,该获取单元31具体用于,从接收的OFDM符号中确定样本OFDM符号,其中,该样本OFDM符号为用于获得该待检测的OFDM符号内子载波的功率值所确定的样本符号。Optionally, the obtaining unit 31 is specifically configured to determine a sample OFDM symbol from received OFDM symbols, where the sample OFDM symbol is a sample symbol determined for obtaining a power value of a subcarrier in the to-be-detected OFDM symbol.
根据该样本OFDM符号通过公式:According to the sample OFDM symbol passing formula:
得到该待检测的OFDM符号内的子载波的功率值;其中,P(n)为该待检测的OFDM符号内的子载波的功率值,M为该样本OFDM符号的数量,m为该样本OFDM符号的标识,n为该子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the number of the sample OFDM symbols, and m is the sample OFDM Symbol identifier, n is the identifier of the subcarrier, r m,n is the nth subcarrier in the mth sample OFDM symbol.
由上述公式可以看出,待检测的OFDM符号内的子载波的功率值的计算是将每个样本OFDM符号中相同子载波标识对应的子载波的功率值相加,并获取相加后得到的值与样本OFDM符号的数量的比值,从而得到待检测的OFDM符号内与该子载波标识对应的子载波的功率值,例如,噪声检测设备接收到4个OFDM符号,从中选取了2个样本OFDM符号,则将这2个样本OFDM符号中子载波的标识为0的子载波的功率值相加,并将相加后得到的值与样本OFDM符号的数量(即上述选取的2个OFDM符号)相比,从而得到该待检测的OFDM符号内与该子载波标识为0的子载波的功率值,按照上述方法依次计算待检测的OFDM符号内子载波标识为1至子载波标识的最大值所对应的子载波的功率值,从而得到该待检测的OFDM符号内所有的子载波的功率值;这里只是举例说明,不作限定。It can be seen from the above formula that the calculation of the power value of the subcarriers in the OFDM symbol to be detected is to add the power values of the subcarriers corresponding to the same subcarrier identifier in each sample OFDM symbol, and obtain the sum obtained after the addition Value and the ratio of the number of sample OFDM symbols, so as to obtain the power value of the subcarrier corresponding to the subcarrier identifier in the OFDM symbol to be detected, for example, the noise detection device receives 4 OFDM symbols, and selects 2 sample OFDM symbol, then add the power values of the subcarriers marked as 0 in the 2 sample OFDM symbols, and add the value obtained after the addition to the number of sample OFDM symbols (that is, the 2 OFDM symbols selected above) By comparing, the power value of the subcarrier with the subcarrier identifier of 0 in the OFDM symbol to be detected is obtained, and the subcarrier identifier in the OFDM symbol to be detected is 1 to the maximum value corresponding to the subcarrier identifier. The power values of the subcarriers, so as to obtain the power values of all the subcarriers in the to-be-detected OFDM symbol; this is just an example and not limited.
需要说明的是,对于长时间存在的噪声,确定的样本OFDM符号数越多,则得到的待检测的OFDM符号内的子载波的功率值越精确,对后续噪声的检测也越精确,但是,由于选取的样本OFDM符号越多,噪声检测的延时就越高,且计算的复杂度也越高,从而造成系统运行的负担,因此,对于长时间存在的噪声,确定的样本OFDM符号需要考虑系统运行的负担。对于突发的噪声,需要尽快地检测到噪声,因此在保证能检测到噪声的条件下,确定的样本OFDM符号越少越好。It should be noted that, for noise that exists for a long time, the more the number of sample OFDM symbols is determined, the more accurate the power value of the subcarriers in the OFDM symbol to be detected is, and the detection of subsequent noise is more accurate. However, Since the more sample OFDM symbols are selected, the delay of noise detection will be higher, and the complexity of calculation will be higher, which will cause the burden of system operation. Therefore, for the noise that exists for a long time, the determined sample OFDM symbols need to consider The burden of running the system. For bursty noise, it is necessary to detect the noise as soon as possible, so under the condition that the noise can be detected, the fewer determined sample OFDM symbols, the better.
另外,上述子载波的标识可以为子载波的标号,例如可以对OFDM符号内的子载波按照0、1、2......的顺序进行标号。In addition, the above identifier of the subcarrier may be a label of the subcarrier, for example, the subcarriers in the OFDM symbol may be labeled in the order of 0, 1, 2 . . . .
处理单元32,用于确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,并在根据该噪声检测门限值确定该获取单元31获取的子载波的功率值满足噪声检测策略时,确定该子载波存在噪声。The processing unit 32 is configured to determine the identity of the subcarrier set corresponding to the subcarrier, and obtain the corresponding noise detection threshold value according to the identity of the subcarrier set, and determine that the acquisition unit 31 obtains according to the noise detection threshold value When the power value of the subcarrier satisfies the noise detection strategy, it is determined that the subcarrier has noise.
其中,该子载波集合为该噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定的集合。Wherein, the subcarrier set is a set determined by the noise detection device according to a preset number of elements from the subcarriers in the OFDM symbol to be detected.
具体地,该处理单元32还用于,在确定该子载波对应的子载波集合的标识前,从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合。Specifically, the processing unit 32 is further configured to, before determining the identity of the subcarrier set corresponding to the subcarrier, determine the subcarrier set from the subcarriers in the OFDM symbol to be detected according to the preset number of elements.
例如,若预设元素数为5,则将该待检测的OFDM符号内的子载波以5个作为一个集合,若该OFDM符号内有10个子载波,则将该10子载波分为两个集合。For example, if the preset number of elements is 5, the subcarriers in the OFDM symbol to be detected are 5 as a set, and if there are 10 subcarriers in the OFDM symbol, then the 10 subcarriers are divided into two sets .
可选地,噪声检测设备划分的每个子载波集合中的子载波的标识可以是连续的,例如,该待检测的OFDM符号内包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波。当然,每个子载波集合中的子载波的标识也可以是不连续的,如将标号为0、2、4、6和8的子载波作为一个集合,将标号1、3、5、7和9作为一个集合,本发明对此不作限定。Optionally, the identification of the subcarriers in each subcarrier set divided by the noise detection device may be continuous, for example, the OFDM symbol to be detected includes 10 subcarriers, and the labels are respectively marked as 0, 1, 2... ...9, and divided into 2 sets according to the preset number of elements being 5, and the labels are marked as 0 and 1 respectively, wherein, the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes Subcarriers numbered 5 to 9. Of course, the identification of the subcarriers in each subcarrier set can also be discontinuous, such as taking the subcarriers marked as 0, 2, 4, 6 and 8 as a set, and the subcarriers marked as 1, 3, 5, 7 and 9 As a set, the present invention is not limited thereto.
另外,如果确定的预设元素数无法保证平均划分OFDM符号内的子载波,则在确定子载波集合后,将剩余的子载波划分至已经确定的子载波集合中,例如,若预设元素数为3,若该OFDM符号内有10个子载波,则按照预设元素数将该10个子载波划分为3个集合,此时,还剩余1个子载波,则将该子载波划分至上述3个集合中的任一个中。In addition, if the determined number of preset elements cannot guarantee the average division of the subcarriers in the OFDM symbol, after determining the set of subcarriers, divide the remaining subcarriers into the determined set of subcarriers, for example, if the number of preset elements is 3, if there are 10 subcarriers in the OFDM symbol, divide the 10 subcarriers into 3 sets according to the preset number of elements, and at this time, if there is 1 subcarrier left, then divide the subcarriers into the above 3 sets in any of them.
需要说明的是,确定的子载波集合包括子载波集合的标识,例如,可以是子载波集合的标号,如按照0、1、2......的顺序进行标号。It should be noted that the determined subcarrier set includes an identifier of the subcarrier set, for example, may be a label of the subcarrier set, such as labeling in the order of 0, 1, 2 . . . .
进一步地,该处理单元32具体用于,通过该子载波集合的标识对应的子载波集合内全部子载波的功率值之和与该子载波集合内的子载波的数量的比值得到第一平均功率值,从该子载波集合内子载波的功率值中确定最大功率值,并根据该第一平均功率值和该最大功率值得到检测门限值。Further, the processing unit 32 is specifically configured to obtain the first average power by the ratio of the sum of the power values of all subcarriers in the subcarrier set corresponding to the identifier of the subcarrier set to the number of subcarriers in the subcarrier set. value, determine the maximum power value from the power values of the subcarriers in the subcarrier set, and obtain the detection threshold value according to the first average power value and the maximum power value.
其中,该第一平均功率值为该子载波集合内子载波的平均功率值。Wherein, the first average power value is an average power value of subcarriers in the subcarrier set.
进一步地,该处理单元具体用于,根据该第一平均功率值得到第一检测门限值:其中,该第一检测门限值为:A·Pa(d-1)Further, the processing unit is specifically configured to obtain a first detection threshold value according to the first average power value: wherein, the first detection threshold value is: A·P a (d-1)
根据该第一平均功率值得到第二检测门限值:其中,该第二检测门限值为:A·Pa(d+1)Obtain the second detection threshold value according to the first average power value: Wherein, the second detection threshold value is: A·P a (d+1)
根据该第一平均功率值得到第三检测门限值:其中,该第三检测门限值为:A·Pa(d)Obtain the third detection threshold value according to the first average power value: Wherein, the third detection threshold value is: A·P a (d)
根据该最大功率值得到第四检测门限值:其中,该第四检测门限值为: Obtain the fourth detection threshold value according to the maximum power value: Wherein, the fourth detection threshold value is:
其中,d为该子载波集合的标识,Pa(d)为该第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为该子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identity of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of subcarriers in the d+1th subcarrier set, P a (d -1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, and B is the first preset parameter Two preset parameters.
更进一步地,该处理单元32还用于,在确定该子载波存在噪声前,通过公式:Furthermore, the processing unit 32 is also configured to, before determining that the subcarrier has noise, use the formula:
从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合的数量,其中,W为该子载波集合的数量,N为该待检测的OFDM符号内的子载波的数量,NS为该预设元素数;并通过公式:Determine the number of subcarrier sets from the subcarriers in the OFDM symbol to be detected according to the preset number of elements, where W is the number of the subcarrier set, and N is the number of subcarriers in the OFDM symbol to be detected , NS is the preset number of elements; and through the formula:
得到第二平均功率值;其中,该Pt为该第二平均功率,Pa(d)为该第一平均功率值,d为该子载波集合的标识,W为该子载波集合的数量,该第二平均功率值为根据该待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值。Obtain the second average power value; wherein, the P t is the second average power, P a (d) is the first average power value, d is the identity of the subcarrier set, W is the number of the subcarrier set, The second average power value is an average power value obtained from average power values of subcarriers in all subcarrier sets in the OFDM symbol to be detected.
该处理单元32具体用于,在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,其中,该预设变量值的起始值为0;The processing unit 32 is specifically configured to, when it is determined that the power value of the subcarrier is greater than or equal to the first detection threshold value, add 1 to the preset variable value, where the initial value of the preset variable value is 0;
在确定该子载波的功率值大于或等于该第二检测门限值时,将该预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the second detection threshold value, add 1 to the preset variable value;
在确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值时,将该预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the third detection threshold and greater than or equal to the fourth detection threshold, add 1 to the preset variable value;
在确定该预设变量值大于1且该第二平均功率值大于或等于预设功率门限值时,确定该子载波存在噪声。When it is determined that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, it is determined that the subcarrier has noise.
可选地,该处理单元32还用于,在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。Optionally, the processing unit 32 is further configured to, when it is determined that the power value of the subcarrier is less than the third detection threshold, and/or when it is determined that the power value of the subcarrier is less than the fourth detection threshold, set The preset variable value is cleared to zero.
示例地,若噪声检测设备在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,并在确定该子载波的功率值也大于或等于该第二检测门限值时,将该预设变量值再加1,此时,该预设变量值为2,如果噪声检测设备确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值,则将该预设变量值加1,此时,该预设变量值为3,若噪声检测设备进一步确定该第二平均功率值大于或等于预设功率门限值,则噪声检测设备确定该子载波存在噪声。For example, if the noise detection device determines that the power value of the subcarrier is greater than or equal to the first detection threshold value, it adds 1 to the preset variable value, and determines that the power value of the subcarrier is also greater than or equal to the first detection threshold value. When the second detection threshold value is detected, add 1 to the preset variable value. At this time, the preset variable value is 2. If the noise detection device determines that the power value of the subcarrier is greater than or equal to the third detection threshold value and greater than or equal to the fourth detection threshold value, then add 1 to the preset variable value, at this time, the preset variable value is 3, if the noise detection device further determines that the second average power value is greater than or equal to the preset power threshold value, the noise detection device determines that there is noise in the subcarrier.
可选地,该处理单元32还用于,在确定该子载波存在噪声后,继续确定该待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略,并在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果。Optionally, the processing unit 32 is also configured to, after determining that the subcarrier has noise, continue to determine whether the power value of the next subcarrier in the OFDM symbol to be detected satisfies the noise detection strategy, and continuously determine the preset value When the power value of the subcarrier does not satisfy the noise detection strategy, determine the noise detection result.
其中,该噪声检测结果包括满足噪声检测策略的子载波对应的标识,该下一个子载波包括将该子载波的标识加一后得到的标识对应的子载波。Wherein, the noise detection result includes an identifier corresponding to a subcarrier satisfying the noise detection strategy, and the next subcarrier includes a subcarrier corresponding to an identifier obtained by adding one to the identifier of the subcarrier.
例如,该待检测的OFDM符号包括10个子载波,标号分别记为0、1、2......9,并按照预设元素数为5划分为2个集合,标号分别记为0和1,其中,标号为0的集合包括标号为0至4的子载波,标号为1的集合包括标号为5至9的子载波,若确定标号为0的集合内标号为0的子载波存在噪声,则继续确定标号为1的子载波是否存在噪声,并依次确定标号为2至9的子载波是否存在噪声,若确定标号为1的子载波存在噪声,且标号为2和3这两个(即上述预设数值,这里的两个只是举例说明)连续的子载波不满足噪声检测策略(即不存在噪声),则确定本次噪声检测结果包括标号为0的子载波集合内标号为0和1的子载波存在噪声,并从标号为4的子载波开始继续进行噪声检测,其具体的检测方式与上述标号为0至3的子载波的检测方式相同,因此不再赘述,直至将该待检测的OFDM符号内的子载波都检测完成,并根据该待检测的OFDM符号内的子载波的噪声检测结果进行噪声处理这样,在OFDM符号中可能会确定多个噪声检测结果,从而对噪声进行更精确的处理。For example, the OFDM symbol to be detected includes 10 subcarriers, marked as 0, 1, 2...9, and divided into 2 sets according to the preset number of elements being 5, marked as 0 and 9 respectively. 1, wherein the set labeled 0 includes subcarriers labeled 0 to 4, and the set labeled 1 includes subcarriers labeled 5 to 9, if it is determined that the subcarrier labeled 0 in the set labeled 0 has noise , then continue to determine whether the subcarrier with the label 1 has noise, and determine whether the subcarrier with the label 2 to 9 has noise in turn, if it is determined that the subcarrier with the label 1 has noise, and the two (2 and 3) That is, the above-mentioned preset values, the two here are just examples) the continuous subcarriers do not satisfy the noise detection strategy (that is, there is no noise), then it is determined that the noise detection result includes the subcarriers labeled 0 and 0 in the subcarrier set There is noise in the subcarrier of 1, and the noise detection is continued from the subcarrier labeled 4. The specific detection method is the same as the detection method of the subcarriers labeled 0 to 3 above, so it will not be described in detail until the The subcarriers in the detected OFDM symbol are all detected, and noise processing is performed according to the noise detection results of the subcarriers in the OFDM symbol to be detected. In this way, multiple noise detection results may be determined in the OFDM symbol, so that the noise is processed more precise handling.
具体地,上述噪声检测设备进行噪声处理可以是噪声检测设备将噪声检测结果发送至滤波器装置和/或载波置数器,滤波器装置根据噪声检测结果生成对应的滤波系数,并根据该滤波系数对存在噪声的子载波进行滤波处理,载波置数器将存在噪声的子载波置为0,或者将该存在噪声的子载波的幅度置为常数(适用于噪声对该子载波的相位影响较大的情况),或者将该存在噪声的子载波的幅度置为常数,且保留其相位(适用于噪声对该子载波的相位影响较小的情况)。Specifically, the noise processing performed by the above-mentioned noise detection device may be that the noise detection device sends the noise detection result to the filter device and/or the carrier counter, and the filter device generates a corresponding filter coefficient according to the noise detection result, and according to the filter coefficient Filter the subcarriers with noise, the carrier setter will set the subcarrier with noise to 0, or set the amplitude of the subcarrier with noise as a constant (applicable to the phase of the subcarrier that the noise has a great influence on) case), or set the amplitude of the subcarrier with noise as a constant, and keep its phase (applicable to the case where the noise has little influence on the phase of the subcarrier).
采用上述噪声检测设备,噪声检测设备获取待检测的正交频分复用OFDM符号内的子载波的功率值,确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声,这样,通过对待检测的OFDM符号划分集合,并针对各个集合采用更加精准的噪声检测策略,使得即使在信道衰落的场景下,也能够实现对信号噪声的精确检测,以保证信号的可靠传输。Using the above-mentioned noise detection device, the noise detection device obtains the power value of the subcarrier in the orthogonal frequency division multiplexing OFDM symbol to be detected, determines the identity of the subcarrier set corresponding to the subcarrier, and obtains according to the identity of the subcarrier set Corresponding noise detection threshold value, when the power value of the subcarrier is determined to meet the noise detection strategy according to the noise detection threshold value, it is determined that the subcarrier has noise. In this way, by dividing the OFDM symbols to be detected into sets, and for each The set adopts a more accurate noise detection strategy, so that even in the scenario of channel fading, it can realize accurate detection of signal noise to ensure reliable signal transmission.
所属本领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的噪声检测设备的具体工作过程和描述,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process and description of the noise detection device described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
本发明实施例提供一种噪声检测设备40,如图4所示,该噪声检测设备40包括:An embodiment of the present invention provides a noise detection device 40. As shown in FIG. 4, the noise detection device 40 includes:
处理器(processor)41、通信接口(Communications Interface)42、存储器(memory)43和通信总线44;其中,所述处理器41、所述通信接口42和所述存储器43通过所述通信总线44完成相互间的通信。Processor (processor) 41, communication interface (Communications Interface) 42, memory (memory) 43 and communication bus 44; Wherein, described processor 41, described communication interface 42 and described memory 43 complete by described communication bus 44 mutual communication.
处理器41可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 41 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器43用于存放程序代码,所述程序代码包括计算机操作指令。存储器43可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 43 is used to store program codes, and the program codes include computer operation instructions. The memory 43 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
所述通信接口42,用于实现这些装置之间的连接通信。The communication interface 42 is used to realize connection and communication between these devices.
所述处理器41执行程序代码,用于获取待检测的OFDM符号内的子载波的功率值,确定该子载波对应的子载波集合的标识,并根据该子载波集合的标识获得对应的噪声检测门限值,并在根据该噪声检测门限值确定该子载波的功率值满足噪声检测策略时,确定该子载波存在噪声,其中,该子载波集合为该噪声检测设备从该待检测的OFDM符号内的子载波中根据预设元素数确定的集合。The processor 41 executes a program code for obtaining the power value of the subcarrier in the OFDM symbol to be detected, determining the identity of the subcarrier set corresponding to the subcarrier, and obtaining the corresponding noise detection according to the identity of the subcarrier set Threshold value, and when it is determined according to the noise detection threshold value that the power value of the subcarrier satisfies the noise detection strategy, it is determined that the subcarrier has noise, wherein the subcarrier set is the noise detection device from the OFDM to be detected A set determined according to a preset number of elements in subcarriers within a symbol.
可选地,该处理器41还用于,在该确定该子载波对应的子载波集合的标识前,从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合。Optionally, the processor 41 is further configured to, before determining the identifier of the subcarrier set corresponding to the subcarrier, determine the subcarrier set from the subcarriers in the OFDM symbol to be detected according to a preset number of elements.
可选地,该处理器41具体用于,从接收的OFDM符号中确定样本OFDM符号。其中,该样本OFDM符号为用于获得该待检测的OFDM符号内子载波的功率值所确定的样本符号。Optionally, the processor 41 is specifically configured to determine sample OFDM symbols from received OFDM symbols. Wherein, the sample OFDM symbol is a sample symbol determined for obtaining the power value of the subcarrier in the OFDM symbol to be detected.
根据该样本OFDM符号通过公式:According to the sample OFDM symbol passing formula:
得到该待检测的OFDM符号内的子载波的功率值;其中,P(n)为该待检测的OFDM符号内的子载波的功率值,M为该样本OFDM符号的数量,m为该样本OFDM符号的标识,n为该子载波的标识,rm,n为第m个样本OFDM符号中第n个子载波。Obtain the power value of the subcarrier in the OFDM symbol to be detected; wherein, P(n) is the power value of the subcarrier in the OFDM symbol to be detected, M is the number of the sample OFDM symbols, and m is the sample OFDM Symbol identifier, n is the identifier of the subcarrier, r m,n is the nth subcarrier in the mth sample OFDM symbol.
可选地,该处理器41具体用于,通过该子载波集合的标识对应的子载波集合内全部子载波的功率值之和与该子载波集合内的子载波的数量的比值得到第一平均功率值,从该子载波集合内子载波的功率值中确定最大功率值;根据该第一平均功率值和该最大功率值得到检测门限值。Optionally, the processor 41 is specifically configured to obtain the first average A power value, determining a maximum power value from power values of subcarriers in the subcarrier set; obtaining a detection threshold value according to the first average power value and the maximum power value.
其中,该第一平均功率值为该子载波集合内子载波的平均功率值。Wherein, the first average power value is an average power value of subcarriers in the subcarrier set.
可选地。该处理器41具体用于,根据该第一平均功率值得到第一检测门限值:其中,该第一检测门限值为:A·Pa(d-1)Optionally. The processor 41 is specifically configured to obtain a first detection threshold value according to the first average power value: wherein, the first detection threshold value is: A·P a (d-1)
根据该第一平均功率值得到第二检测门限值:其中,该第二检测门限值为:A·Pa(d+1)Obtain the second detection threshold value according to the first average power value: Wherein, the second detection threshold value is: A·P a (d+1)
根据该第一平均功率值得到第三检测门限值:其中,该第三检测门限值为:A·Pa(d)Obtain the third detection threshold value according to the first average power value: Wherein, the third detection threshold value is: A·P a (d)
根据该最大功率值得到第四检测门限值:其中,该第四检测门限值为: Obtain the fourth detection threshold value according to the maximum power value: Wherein, the fourth detection threshold value is:
其中,d为该子载波集合的标识,Pa(d)为该第一平均功率值,Pa(d+1)为第d+1个子载波集合内子载波的平均功率值,Pa(d-1)为第d-1个子载波集合内子载波的平均功率值,Pm(d)为该子载波集合内子载波的功率值中的最大功率值,A为第一预设参数,B为第二预设参数。Wherein, d is the identity of the subcarrier set, P a (d) is the first average power value, P a (d+1) is the average power value of subcarriers in the d+1th subcarrier set, P a (d -1) is the average power value of the subcarriers in the d-1th subcarrier set, P m (d) is the maximum power value among the power values of the subcarriers in the subcarrier set, A is the first preset parameter, and B is the first preset parameter Two preset parameters.
可选地,该处理器具体用于,在确定该子载波存在噪声前,通过公式:Optionally, the processor is specifically configured to, before determining that the subcarrier has noise, use the formula:
从该待检测的OFDM符号内的子载波中根据预设元素数确定该子载波集合的数量,其中,W为该子载波集合的数量,N为该待检测的OFDM符号内的子载波的数量,NS为该预设元素数;并通过公式:Determine the number of subcarrier sets from the subcarriers in the OFDM symbol to be detected according to the preset number of elements, where W is the number of the subcarrier set, and N is the number of subcarriers in the OFDM symbol to be detected , NS is the preset number of elements; and through the formula:
得到第二平均功率值;其中,该Pt为该第二平均功率,Pa(d)为该第一平均功率值,d为该子载波集合的标识,W为该子载波集合的数量,该第二平均功率值为根据该待检测的OFDM符号中全部子载波集合内子载波的平均功率值得到的平均功率值;Obtain the second average power value; wherein, the P t is the second average power, P a (d) is the first average power value, d is the identity of the subcarrier set, W is the number of the subcarrier set, The second average power value is an average power value obtained from the average power value of subcarriers in all subcarrier sets in the OFDM symbol to be detected;
在确定该子载波的功率值大于或等于该第一检测门限值时,将预设变量值加1,其中,该预设变量值的起始值为0;When it is determined that the power value of the subcarrier is greater than or equal to the first detection threshold value, adding 1 to the preset variable value, where the initial value of the preset variable value is 0;
在确定该子载波的功率值大于或等于该第二检测门限值时,将该预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the second detection threshold value, add 1 to the preset variable value;
在确定该子载波的功率值大于或等于该第三检测门限值且大于或等于该第四检测门限值时,将该预设变量值加1;When it is determined that the power value of the subcarrier is greater than or equal to the third detection threshold and greater than or equal to the fourth detection threshold, add 1 to the preset variable value;
在确定该预设变量值大于1且该第二平均功率值大于或等于预设功率门限值时,确定该子载波存在噪声。When it is determined that the preset variable value is greater than 1 and the second average power value is greater than or equal to a preset power threshold value, it is determined that the subcarrier has noise.
可选地,该处理器41还用于,在确定该子载波的功率值小于该第三检测门限值,和/或确定该子载波的功率值小于该第四检测门限值时,将该预设变量值清零。Optionally, the processor 41 is further configured to, when it is determined that the power value of the subcarrier is less than the third detection threshold, and/or when it is determined that the power value of the subcarrier is less than the fourth detection threshold, set The preset variable value is cleared to zero.
可选地,该处理器41还用于,在确定该子载波存在噪声后,继续确定该待检测的OFDM符号中下一个子载波的功率值是否满足噪声检测策略,并在连续确定预设数值的子载波的功率值不满足噪声检测策略时,确定噪声检测结果。Optionally, the processor 41 is also configured to, after determining that the subcarrier has noise, continue to determine whether the power value of the next subcarrier in the OFDM symbol to be detected satisfies the noise detection strategy, and continuously determine the preset value When the power value of the subcarrier does not satisfy the noise detection strategy, determine the noise detection result.
其中,该下一个子载波包括将该子载波的标识加一后得到的标识对应的子载波,该噪声检测结果包括满足噪声检测策略的子载波对应的标识。Wherein, the next subcarrier includes the subcarrier corresponding to the identifier obtained by adding one to the identifier of the subcarrier, and the noise detection result includes the identifier corresponding to the subcarrier satisfying the noise detection strategy.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310261483.6A CN103346848B (en) | 2013-06-27 | 2013-06-27 | A kind of method and apparatus of noise measuring |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310261483.6A CN103346848B (en) | 2013-06-27 | 2013-06-27 | A kind of method and apparatus of noise measuring |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103346848A CN103346848A (en) | 2013-10-09 |
| CN103346848B true CN103346848B (en) | 2015-09-09 |
Family
ID=49281627
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310261483.6A Active CN103346848B (en) | 2013-06-27 | 2013-06-27 | A kind of method and apparatus of noise measuring |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103346848B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106797234B (en) * | 2016-09-09 | 2020-04-24 | 香港应用科技研究院有限公司 | Noise filtering system, PLC receiver and method for filtering power line noise |
| CN111262754B (en) * | 2020-01-16 | 2021-11-02 | 磐基技术有限公司 | Narrow-band interference detection method based on distortion power removal and communication device thereof |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101039500A (en) * | 2006-03-17 | 2007-09-19 | 华为技术有限公司 | OFDM-based cell user communication method and system thereof |
| CN101227445A (en) * | 2008-01-23 | 2008-07-23 | 中兴通讯股份有限公司 | Method for computing carrier jamming noise ratio under OFDM |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102655430A (en) * | 2002-07-30 | 2012-09-05 | 美商智慧财产权授权股份有限公司 | System and method for multiple-input multiple-output (mimo) radio communication |
| US8014478B2 (en) * | 2007-12-26 | 2011-09-06 | Broadcom Corporation | Method and apparatus for impulse noise detection and suppression for DVB-T |
| US7983197B2 (en) * | 2009-03-06 | 2011-07-19 | Telefonaktiebolaget Lm Ericsson (Publ) | System and method for robust cell detection |
| CN102098114B (en) * | 2009-12-14 | 2013-12-04 | 中兴通讯股份有限公司 | Method and device for measuring signal-to-noise ratio of system |
| US20120087446A1 (en) * | 2010-10-06 | 2012-04-12 | Leanics Corporation | Systems and methods for sparse error removal in communications systems |
-
2013
- 2013-06-27 CN CN201310261483.6A patent/CN103346848B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101039500A (en) * | 2006-03-17 | 2007-09-19 | 华为技术有限公司 | OFDM-based cell user communication method and system thereof |
| CN101227445A (en) * | 2008-01-23 | 2008-07-23 | 中兴通讯股份有限公司 | Method for computing carrier jamming noise ratio under OFDM |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103346848A (en) | 2013-10-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10158437B2 (en) | Wireless analysis apparatus and wireless analysis method | |
| KR101271430B1 (en) | Method and apparatus for detecting received signal in wireless communication systems | |
| KR20150131779A (en) | Method for improving processing speed of OS-CFAR detection | |
| CN104243128A (en) | Frequency-Domain Symbol And Frame Synchronization In Multi-Carrier Systems | |
| CN103391182B (en) | Frame detection method and device | |
| CN103346848B (en) | A kind of method and apparatus of noise measuring | |
| US9100261B2 (en) | Frequency-domain amplitude normalization for symbol correlation in multi-carrier systems | |
| CN108847905A (en) | A kind of multichannel fanaticism number detects the adaptive threshold detecting method in receiving | |
| CN108833315B (en) | Channel estimation method and device | |
| CN114365516A (en) | Hybrid automatic repeat request feedback method and device | |
| US20160277230A1 (en) | Preamble sequence generating method, timing synchronization method, and device | |
| CN102237935A (en) | Signal to interference and noise ratio prediction method and device | |
| EP2290891A3 (en) | Receiving apparatus and receiving method | |
| CN118200102A (en) | Frame signal detection method and device based on HPLC dual-mode wired system | |
| JP6492506B2 (en) | Sequence synchronization apparatus, method and receiver | |
| CN111314948B (en) | Page scanning device and method executed by page scanning device | |
| KR101183658B1 (en) | Apparatus and method of executing discrete fourier transform fast | |
| CN102882645B (en) | Method and device for detecting frame boundary | |
| KR20110087635A (en) | Apparatus and method for estimating noise and interference power in communication system | |
| CN105282059A (en) | Multi-path selection method and equipment | |
| JP6501999B2 (en) | Packet format estimation device and packet format estimation program | |
| CN112583754A (en) | Communication method and related device | |
| CN105323055A (en) | Sequence detection method and device | |
| CN106850481B (en) | A kind of method and searcher of frame header position search | |
| RU2599532C1 (en) | Apparatus for evaluating efficiency of data exchange of communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |