Spectrum sensing method based on principal component analysis

By constructing a power spectrum matrix using step segmentation and max-min normalization methods and performing principal component analysis, combined with boundary symmetry and neighbor properties, broadband spectrum sensing without prior information is achieved, solving the problem of rapid and difficult problems with existing technologies. The problem of efficient perception improves adaptability and computational efficiency.

CN118740295APending Publication Date: 2024-10-01THE 54TH RESEARCH INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY GROUP CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411083074.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing spectrum sensing technology is difficult to achieve fast and efficient broadband spectrum sensing without prior information, and cannot take into account spectrum supervision needs under non-cooperative conditions.

Method used

The step segmentation and max-min normalization methods are used to construct the power spectrum matrix, and principal component analysis is used to calculate the principal components of the power spectrum matrix. The mode-angle joint curve is constructed, and boundary symmetry and neighbor properties are used for initial detection of the spectrum. Intersection and union ratio of intervals for signal fusion.

Benefits of technology

It achieves efficient and accurate broadband spectrum sensing under fully blind conditions, improves adaptability to actual signal feature distribution changes, reduces computational complexity, and is suitable for engineering implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740295A_ABST
    Figure CN118740295A_ABST
Patent Text Reader

Abstract

The invention provides a spectrum sensing method based on principal component analysis, which belongs to the technical field of communication, can efficiently and accurately complete broadband spectrum sensing under a fully blind condition, and comprises the following implementation steps of: constructing a power spectrum matrix by adopting a stepping segmentation and maximum and minimum normalization method, calculating a principal component of the power spectrum matrix, and calculating a frequency spectrum of the power spectrum matrix; a modular angle joint curve capable of reflecting boundary change characteristics is constructed, initial detection of a frequency spectrum boundary is completed by using boundary symmetry and neighborhood, and signal fusion is completed based on an interval intersection-to-union ratio. According to the method, broadband spectrum detection is rapidly and accurately realized through methods such as power spectrum matrix construction, principal component analysis and dimensionality reduction, modular angle joint curve and intersection-to-parallel ratio interval-based signal fusion, the adaptability to various actual signal feature distribution changes is improved, no signal prior information is needed, the calculation complexity is low, and engineering realization is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and relates to a spectrum sensing method based on principal component analysis, and specifically to a spectrum sensing method based on data dimension reduction and feature extraction based on principal component analysis. Background Art

[0002] Spectrum sensing can obtain spectrum occupancy and idle information, provide strong support for improving frequency utilization efficiency and spectrum supervision effectiveness, and play a key role in radio management, cognitive radio and other fields. At present, the technologies for spectrum sensing mainly include 1) likelihood ratio detection, matched filter detection, cyclostationary detection, etc. that require prior information of signals and noise; 2) energy detection, wavelet detection, etc. that only require noise power information; 3) covariance-based perception, eigenvalue-based perception, machine learning-based perception, etc. that do not require prior information. The existing methods each have their own applicable scenarios, and cannot take into account the fast and efficient broadband spectrum sensing applications under non-cooperative conditions. Summary of the invention

[0003] The purpose of the present invention is to efficiently and accurately complete broadband spectrum sensing under completely blind conditions. A spectrum sensing method based on principal component analysis is proposed, which can quickly complete broadband spectrum detection without any prior information. A power spectrum matrix is ​​constructed by step segmentation and maximum and minimum normalization methods, and the principal component components of the power spectrum matrix are calculated. A mode angle joint curve that can reflect the boundary change characteristics is constructed, and the initial spectrum detection is completed by using boundary symmetry and proximity. Signal fusion is completed based on interval intersection and union ratio, which further improves the adaptability to the diverse changes in the distribution of actual signal characteristics.

[0004] To achieve the above object, the technical solution adopted by the present invention is:

[0005] A spectrum sensing method based on principal component analysis comprises the following steps:

[0006] Step 1: Calculate the power spectrum matrix; the specific process is:

[0007] (1a) Read data X and estimate power spectrum P x , power spectrum P x The length is N;

[0008] (1b) According to the power spectrum P x The maximum value V max and minimum value V min , for the power spectrum P x Perform normalization and update the power spectrum P x ;

[0009] (1c) Determine the segment length L seg and step length Lstep ;

[0010] (1d) According to N, L seg and L step , calculate the number of segments N seg ;

[0011] (1e) Initialize the power spectrum matrix M x , M x The number of rows is N seg , the number of columns is L seg ;

[0012] (1f) Intercept the power spectrum P x The i-th data segment, the starting position of the i-th data segment is (i-1)×L step +1, the end position corresponding to the i-th segment of data is (i-1)×L step +L seg ; The value range of i is 1 to N seg , step is 1;

[0013] (1g) The intercepted N seg The segment data are assigned to the power spectrum matrix M x Each row of the i-th segment of data corresponds to the power spectrum matrix M x The i-th row M x,i ;

[0014] Step 2: principal component analysis of power spectrum matrix; the specific process is:

[0015] (2a) Using the principal component analysis method, the power spectrum matrix M x Perform principal component analysis to obtain the column vector V of each principal component p,j , the value range of j is 1 to L seg , step is 1;

[0016] (2b) Select V p,1 and V p,2 is the feature analysis vector;

[0017] Step 3: principal component feature mapping; the specific process is:

[0018] (3a) The power spectrum matrix M x Each row of M x,i Projected onto the eigenanalysis vector V p,1 and V p,2 On the above, we get the feature matrix C x , C x The number of rows is N seg , C x The number of columns is 2, C x,i,j Corresponding to C xThe i-th row and j-th column element of x,i,j =M x,i ×V p,j ;

[0019] (3b) According to the feature matrix C x Calculate the one-dimensional angle vector θ x ,θ x The length is N seg ,θ x,i Corresponding to θ x The i-th element of represents C x The polar coordinate angle of the corresponding point in the i-th row of , ranging from 0 to 2π;

[0020] (3c) Calculate the one-dimensional modulus angle joint vector W, with a length of N seg ;

[0021] Step 4: boundary interval detection; the specific process is:

[0022] (4a) Set the peak detection threshold T max Sum peak difference threshold T diff ;

[0023] (4b) In the one-dimensional modulus angle joint vector W, search for a vector greater than T max The maximum value point of the i-th maximum value point is stored in the maximum value matrix F max The i-th row of F max,i The first column F max,i,1 and the second column F max,i,2 ;

[0024] (4c) In the one-dimensional modulus angle joint vector W, search for a vector less than -T max The minimum value point of the i-th minimum value point is stored in the minimum value matrix F min The i-th row of F min,i The first column F min,i,1 and the second column F min,i,2 ;

[0025] (4d) For the i-th maximum point, in the minimum matrix F min In, from position F max,i,2 Start by calculating the absolute distance difference F between the minimum point j and the i-th maximum point to the right. max,i,1 +F min,j,1 , in all cases where the absolute distance difference is less than T diff The minimum point of the selected position F max,i,2 The smallest minimum point k completes the match with the ith maximum point and is recorded in the mth row of the boundary matrix E, where E m,1 =F max,i,2 , Em,2 =F min,k,2 , m starts from 1;

[0026] (4e) Repeat step (4d) to complete the maximum matrix F max Matching of all maximum points in ;

[0027] Step 5: spectrum fusion; the specific process is as follows:

[0028] (5a) Set the signal index variable j=1, the boundary index variable i=2, and the fusion threshold Tr;

[0029] (5b) Calculate the interval of the current signal j as [E j,1 ,E j,2 ];

[0030] (5c) Calculate the interval of the current boundary i as [E i,1 ,E i,2 ];

[0031] (5d) Calculate the signal interval [E j,1 ,E j,2 ] and the boundary interval [E i,1 ,E i,2 ] has an intersection-and-union ratio R, if R ≥ T r , then the current boundary i is merged with the current signal j, and E is updated j,1 =MIN(E j,1 ,E i,1 ), where MIN() is the minimum operation, update E j,2 =MAX(E j,2 ,E i,2 ), where MAX() is the maximum value operation. If R<T r , then j=j+1, update E j,1 =E i,1 , update E j,2 =E i,2 ;

[0032] (5e) i=i+1, repeat steps (5b) to (5e) until all rows in the boundary matrix E are processed and spectrum sensing results are obtained, corresponding to the first row to the jth row of E.

[0033] Furthermore, in step (1a), the power spectrum is estimated using a periodogram method based on segmented data.

[0034] Furthermore, the calculation method of the mode angle joint vector W that can reflect the boundary change characteristics in step (3c) is: i = sin(θ x,i )×SQRT(C x,i,1 *C x,i,1 +Cx,i,2 *C x,i,2 ), W i is the i-th element of vector W, and SQRT() is the square root operation.

[0035] Furthermore, the calculation method of the intersection-and-union ratio R in step (5d) is: when there is no overlapping part between the signal interval and the boundary interval, R=0; when the signal interval and the boundary interval overlap partially or completely, R is the ratio of the length of the overlapping interval to the length of the interval union, and the length of the interval union is the difference between the leftmost boundary value and the rightmost boundary value of the two intervals.

[0036] Compared with the prior art, the present invention has the following advantages:

[0037] 1. The present invention adopts the method of step segmentation and maximum and minimum normalization to construct a power spectrum matrix for power spectrum estimation data, which can reflect the sequential change relationship between power and frequency in a local interval.

[0038] 2. The present invention effectively reflects the mapping distribution characteristics of the power spectrum with frequency changes in high-dimensional space through principal component analysis of the power spectrum matrix.

[0039] 3. The present invention reduces the dimension of the principal components and utilizes the amplitude and angle attributes of the two-dimensional vector to construct a module-angle joint curve that can reflect the boundary change characteristics.

[0040] 4. The present invention makes full use of the symmetry and proximity characteristics of the spectrum boundary and designs a signal fusion strategy based on the interval intersection and union ratio, which can accurately determine the spectrum boundary position.

[0041] 5. The present invention does not require prior information of the signal, has low computational complexity, and is easy to implement in engineering. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is an implementation flow chart of the present invention. DETAILED DESCRIPTION

[0043] The following is combined with Figure 1 The present invention is further described in detail with reference to the accompanying drawings and specific examples.

[0044] Referring to the accompanying drawings, a spectrum sensing method based on principal component analysis includes the following steps:

[0045] Step 1: power spectrum estimation; the specific process is:

[0046] (1a) Read IQ data and use the periodogram method to estimate the power spectrum P x , this embodiment P x The length is 512 points;

[0047] (1b) According to P xThe maximum and minimum values ​​of P x Normalization processing.

[0048] Step 2: Calculate the power spectrum matrix; the specific process is:

[0049] (2a) This embodiment determines the segment length L seg is 16 and the step length is L step is 4, calculate the number of segments N seg is 124;

[0050] (2b) Initialize the power spectrum matrix M x , M x The number of rows is 124 and the number of columns is 16;

[0051] (2c) A sliding window of length 16 is incremented from P by 4. x Start sliding from the starting position, and assign the data in the window of the i-th sliding position to M x The i-th row M x,i .

[0052] (3) Power spectrum matrix principal component analysis:

[0053] (3a) Using the principal component analysis method, the power spectrum matrix M x Perform principal component analysis and obtain 16 principal component vectors V p,j , the value range of j is 1 to 16, with a step of 1;

[0054] (3b) Select the first and second principal components as eigenanalysis vectors.

[0055] (4) Principal component feature mapping:

[0056] (4a) The power spectrum matrix M x Each row of is projected onto the eigenanalysis vector V p,1 and V p,2 On the above, we get the feature matrix C x , C x The number of rows is N seg , C x The number of columns is 2, C x,i,j Corresponding to C x The i-th row and j-th column element of x,i,j =M x,i ×V p,j ; This embodiment obtains a characteristic matrix C with 124 rows and 2 columns x ;

[0057] (4b) According to the feature matrix C x Calculate the one-dimensional angle vector θ of 124 points x ,θ x The length is Nseg ,θ x,i Corresponding to θ x The i-th element of represents C x The polar coordinate angle of the corresponding point in the i-th row of , ranging from 0 to 2π;

[0058] (4c) Calculate the 124-point one-dimensional modulus angle joint vector W, with a length of N seg ; Among them, the calculation method of the mode angle joint vector W that can reflect the boundary change characteristics is: W i = sin(θ x,i )×SQRT(C x,i,1 *C x,i,1 +C x,i,2 *C x,i,2 ), W i is the i-th element of vector W, and SQRT() is the square root operation.

[0059] (5) Boundary interval detection:

[0060] (5a) Set the peak detection threshold T max =0.1, peak difference threshold T diff =0.15;

[0061] (5b) In the one-dimensional modulus angle joint vector W, search for a vector greater than T max The maximum value point of the i-th maximum value point is stored in the maximum value matrix F max The i-th row of F max,i The first column F max,i,1 and the second column F max,i,2 ;

[0062] (5c) In the one-dimensional modulus angle joint vector W, search for a vector less than -T max The minimum value point of the i-th minimum value point is stored in the minimum value matrix F min The i-th row of F min,i The first column F min,i,1 and the second column F min,i,2 ;

[0063] (5d) For the i-th maximum point, in the minimum matrix F min In, from position F max,i,2 Start by calculating the absolute distance difference F between the minimum point j and the i-th maximum point to the right. max,i,1 +F min,j,1 , in all cases where the absolute distance difference is less than T diff The minimum point of the selected position F max,i,2 The smallest minimum point k completes the match with the ith maximum point and is recorded in the mth row of the boundary matrix E, where Em,1 =F max,i,2 , E m,2 =F min,k,2 , m starts from 1;

[0064] (5e) Repeat step (5d) to complete the maximum matrix F max Matching of all maximum points in .

[0065] (6) Spectrum Fusion:

[0066] (6a) taking the first detected boundary interval as the signal interval;

[0067] (6b) Process all spectrum boundary intervals in sequence, calculate the intersection-and-union ratio R between the current spectrum boundary interval and the nearest neighbor signal interval, and if the intersection-and-union ratio R is greater than 0.8, merge the spectrum boundary interval with the signal interval, and take the leftmost boundary value and the rightmost boundary value of the two intervals to update the current signal interval boundary value, otherwise add the boundary interval as a signal interval; wherein, the intersection-and-union ratio R is calculated as follows: when the signal interval and the boundary interval have no overlapping part, R=0; when the signal interval and the boundary interval partially or completely overlap, R is the ratio of the overlapping interval length to the interval union length, and the interval union length is the difference between the leftmost boundary value and the rightmost boundary value of the two intervals;

[0068] (6c) Repeat step (6b) until all boundary intervals are processed to obtain the fused signal intervals.

[0069] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A spectrum sensing method based on principal component analysis, characterized in that: The following steps are involved: Step 1, power spectrum matrix calculation; The specific process is: (1a) Read data X and estimate the power spectrum P x , power spectrum P x The length is N; (1b) According to the power spectrum P x The maximum value V max and minimum value V min , for the power spectrum P x Perform normalization and update the power spectrum P x ; (1c) Determine the segment length L seg and step length L step ; (1d) According to N, L seg and L step , calculate the number of segments N seg ; (1e) Initialize the power spectrum matrix M x , M x The number of rows is N seg , the number of columns is L seg ; (1f) Intercept the power spectrum P x The i-th data segment, the starting position of the i-th data segment is (i-1)×L step +1, the end position corresponding to the i-th segment of data is (i-1)×L step +L seg ; The value range of i is 1 to N seg , step is 1; (1g) The intercepted N seg The segment data are assigned to the power spectrum matrix M x Each row of the i-th segment of data corresponds to the power spectrum matrix M x The i-th row M x,i ; Step 2: principal component analysis of power spectrum matrix; the specific process is: (2a) Using the principal component analysis method, the power spectrum matrix M x Perform principal component analysis to obtain the column vector V of each principal component p,j , the value range of j is 1 to L seg , step is 1; (2b) Select V p,1 and V p,2 is the feature analysis vector; Step 3, principal component feature mapping; The specific process is: (3a) The power spectrum matrix M x Each row of M x,i Projected onto the eigenanalysis vector V p,1 and V p,2 On the above, we get the feature matrix C x , C x The number of rows is N seg , C x The number of columns is 2, C x,i,j Corresponding to C x The i-th row and j-th column element of x,i,j =M x,i ×V p,j ; (3b) According to the feature matrix C x Calculate the one-dimensional angle vector θ x ,θ x The length is N seg ,θ x,i Corresponding to θ x The i-th element of represents C x The polar coordinate angle of the corresponding point in the i-th row of , ranging from 0 to 2π; (3c) Calculate the one-dimensional modulus angle joint vector W, with a length of N seg ; Step 4: boundary interval detection; The specific process is: (4a) Set the peak detection threshold T max Sum peak difference threshold T diff ; (4b) In the one-dimensional modulus angle joint vector W, search for a vector greater than T max The maximum value point of the i-th maximum value point is stored in the maximum value matrix F max The i-th row of F max,i The first column F max,i,1 and the second column F max,i,2 ; (4c) In the one-dimensional modulus angle joint vector W, search for a vector less than -T max The minimum value point of the i-th minimum value point is stored in the minimum value matrix F min The i-th row of F min,i The first column F min,i,1 and the second column F min,i,2 ; (4d) For the i-th maximum point, in the minimum matrix F min In, from position F max,i,2 Start by calculating the absolute distance difference F between the minimum point j and the i-th maximum point to the right. max,i,1 +F min,j,1 , in all cases where the absolute distance difference is less than T diff The minimum point of the selected position F max,i,2 The smallest minimum point k completes the match with the ith maximum point and is recorded in the mth row of the boundary matrix E, where E m,1 =F max,i,2 , E m,2 =F min,k,2 , m starts from 1; (4e) Repeat step (4d) to complete the maximum matrix F max Matching of all maximum points in ; Step 5: spectrum fusion; the specific process is as follows: (5a) Set the signal index variable j=1, the boundary index variable i=2, and the fusion threshold Tr; (5b) Calculate the interval of the current signal j as [E j,1 ,E j,2 ]; (5c) Calculate the interval of the current boundary i as [E i,1 ,E i,2 ]; (5d) Calculate the signal interval [E j,1 ,E j,2 ] and the boundary interval [E i,1 ,E i,2 ] has an intersection-and-union ratio R, if R ≥ T r , then the current boundary i is merged with the current signal j, and E is updated j,1 =MIN(E j,1 ,E i,1 ), where MIN() is the minimum operation, update E j,2 =MAX(E j,2 ,E i,2 ), where MAX() is the maximum value operation. If R<T r , then j=j+1, update E j,1 =E i,1 , update E j,2 =E i,2 ; (5e) i=i+1, repeat steps (5b) to (5e) until all rows in the boundary matrix E are processed and spectrum sensing results are obtained, corresponding to the first row to the jth row of E.

2. The spectrum sensing method based on principal component analysis according to claim 1, characterized in that: In step (1a), the power spectrum is estimated using the periodogram method based on segmented data.

3. The spectrum sensing method based on principal component analysis according to claim 1, characterized in that: The calculation method of the mode angle joint vector W that can reflect the boundary change characteristics in step (3c) is: i = sin(θ x,i )×SQRT(C x,i,1 *C x,i,1 +C x,i,2 *C x,i,2 ), W i is the i-th element of vector W, and SQRT() is the square root operation.

4. The spectrum sensing method based on principal component analysis according to claim 1, characterized in that: The calculation method of the intersection-and-union ratio R in step (5d) is: when the signal interval and the boundary interval have no overlapping part, R=0; when the signal interval and the boundary interval overlap partially or completely, R is the ratio of the length of the overlapping interval to the length of the interval union, and the length of the interval union is the difference between the leftmost boundary value and the rightmost boundary value of the two intervals.