Multiband cooperative cognitive frequency spectrum sensing method
Technical field
The present invention relates to frequency spectrum detection field, more particularly to a kind of multiband cooperative cognitive frequency spectrum sensing method.
Background technology
It is the new of mark with LTE, Wi-Fi, satellite communication and communication for coordination etc. with continuing to develop for wireless communication technology
Emerging technology is emerged in large numbers in succession, is emerged in an endless stream.These communication technologys propose higher demand to radio spectrum resources, so as to make frequency spectrum
What resource became tends to be nervous, and cognitive radio technology (Cognitive Radio, CR) arises at the historic moment in this context.
The Basic Ways of cognitive radio are that user's (or perceiving user, cognitive user) secondary first uses frequency spectrum perception
The frequency spectrum resource of mandate in surrounding environment is persistently detected;Then ensureing that primary user (also known as authorized user) can be excellent
First take this section of frequency spectrum and under conditions of transmission performance is barely affected, secondary user is adaptively adjusted transceiver, and will
Transceiver is adjusted to be communicated to idle frequency spectrum.When secondary user perceives (or detection) to when having primary user's signal to occur,
Secondary user then will quickly vacate channel and be used for primary user, and then avoid the proper communication to primary user from disturbing, so as to carry
For frequency spectrum resource utilization rate.
In order to reduce the factors such as multipath fading in actual environment, shadow effect and incorrect noise to detection performance
Adverse effect, the cooperative frequency spectrum sensing method based on multiple users constantly proposed.By by the detection of each user
As a result it is sent to frequency spectrum perception fusion center to be merged, to reach the purpose for perceiving frequency spectrum.
However, existing cooperative frequency spectrum sensing method majority is perceived just for one-segment, in order to improve frequency spectrum profit
With rate, the collaborative sensing method for multiband turns into new study hotspot.But, in the collaborative sensing of multiband, due to
The detection performance of each user, signal to noise ratio are entirely not excellent, when all secondary users both participate in the association to multiband
When perceiving, the secondary user of low signal-to-noise ratio or detection poor performance can make a very bad impression to overall detection performance.
The content of the invention
The technical problems to be solved by the invention are to provide one kind for above-mentioned prior art to avoid with low noise
Than or detection poor performance the multiband cooperative cognitive frequency spectrum sensing method that is made a very bad impression to whole detection performance of secondary user.
The present invention solve the technical scheme that is used of above-mentioned technical problem for:Multiband cooperative cognitive frequency spectrum sensing method,
Characterized in that, in turn including the following steps:
(1) it is set in cognition network, the quantity of primary user is N1, the quantity of secondary user is N2, frequency spectrum perception fusion center
Quantity be 1, primary user separately takes the respective frequency range in frequency spectrum;N2Individual user separately obtains itself letter
Make an uproar and compare SNRjAnd to N1Individual primary user takes the frequency spectrum detecting result of frequency range, and respectively by the signal to noise ratio snr of acquisitionj, frequency spectrum inspection
Survey result, detection confidence level PjWith business demand RjSend to frequency spectrum perception fusion center, wherein,
Primary user is designated as PUi, secondary user is designated as CRj, frequency spectrum perception fusion center is designated as FC, business demand Rj∈[0,N1],
Pj∈ [0,1], detects confidence levelPd,jiFor secondary user CRjTo primary user PUiDetection probability;1≤i≤
N1, 1≤j≤N2, N1>=2, N2≥2;
(2) frequency spectrum perception fusion center FC receives each user CRjThe signal to noise ratio snr sentj, frequency spectrum detecting result, inspection
Survey confidence level PjWith business demand Rj, and judge the signal to noise ratio snr of time userjMore than default signal to noise ratio screening value SNRchoseWhen,
Select corresponding user of this signal to noise ratio to participate in the primary election time user of cooperative detection, and remember that primary election time user is CR't, and hold
Row step (3), otherwise, the frequency spectrum detecting result corresponding to secondary user of the selection with highest signal to noise ratio is in frequency spectrum perception fusion
Heart FC final detection result;Wherein,
Primary election time number of users is N'2, primary election time user CR'tCorresponding signal to noise ratio is SNR't, detection confidence level be P't、
Business demand is R't, 1≤t≤N'2≤N2;The frequency spectrum detecting result quantity that frequency spectrum perception fusion center FC is received is N1×N2
It is individual;
(3) frequency spectrum perception fusion center FC is according to primary election time user CR'tConfidence level P't, business demand R't, to primary election
Secondary user CR'tDistribution needs the number of frequency bands C detectedt:
(3-1) is according to each primary election time user CR'tConfidence level P't, respectively to each primary election time user CR'tConfidence
Spend P'tIt is normalized, obtains each primary election time user CR'tNormalization confidence value
(3-2) each primary election time user CR' according to obtained by step (3-1)tCorresponding normalization confidence valueCalculate frequency
Spectrum perceives fusion center FC distribution primary election time users CR'tNeed the number of frequency bands C of detectiont:
(4) frequency spectrum perception fusion center FC is according to the primary election time user CR' for participating in cooperative detectiontSignal to noise ratio snr 't, meter
Calculate the signal to noise ratio root-mean-square value of all primary election time userAnd make signal to noise ratio snr 't=γt, wherein, signal to noise ratio root-mean-square value
Be calculated as follows:
(5) frequency spectrum perception fusion center FC calculates the signal to noise ratio root-mean-square value of all primary election time user successively respectivelyWith it is each
Primary election time user CR'tSignal to noise ratio snr 'tBetween quotient ηt, wherein,
(6) frequency spectrum perception fusion center FC is calculated, is obtained signal to noise ratio predetermined threshold value λ and signal to noise ratio optimal threshold λoptimal,
And respectively according to each signal to noise ratio quotient ηtWith the magnitude relationship between signal to noise ratio predetermined threshold value λ, the final election time for participating in cooperation is selected
User CR "k, final election time user CR "kSignal to noise ratio be SNR "k, wherein,
(6-1) frequency spectrum perception fusion center FC is according to the N' of reception2Individual primary election is from the corresponding signal to noise ratio set of user
{SNR't, primary election is obtained from user's signal to noise ratio set { SNR'tIn signal to noise ratio maximum, remember the signal to noise ratio maximum be SNR'
max;
(6-2) using the signal to noise ratio maximum SNR'max of acquisition as reference, and by N'2Individual primary election is from user CR'tSignal to noise ratio
SNR'tMake business's processing with signal to noise ratio maximum SNR'max respectively, calculating obtain each primary election from user's signal to noise ratio snr 'tCorresponding
Initial threshold λt, wherein,
λt=| SNR't/SNR'max|, t=1,2 ..., N'2, N'2≤N2;
(6-3) is according to each primary election from user CR'tNormalization confidence valueWith signal to noise ratio quotient ηt, calculate each primary election
From user CR'tJoint screening parameter value ξt, and according to joint screening parameter value ξt, the final election for participating in cooperation is chosen from user
CR”k, wherein, final election is from user CR "kQuantity be M,T=1,2 ..., N'2, k=1,2 ..., M, M≤N'2:
If joint screening parameter value ξtPositioned at default value interval range [ξa,ξb] in, i.e. ξa≤ξt≤ξbWhen, then choosing should
Joint screening parameter value ξtCorresponding primary election from user be final election from user, and participate in cooperative detection;Otherwise, the primary election is from user
Not choose;
The signal to noise ratio predetermined threshold value λ of (6-4) in step (6-3), obtains M final election from user CR "kIt is accurate in OR respectively
Then with the cooperative detection performance curve under AND criterions, wherein,
OR criterions:
AND criterions:K=1,2 ..., M, M≤N'2≤N2;
Wherein, Pd,kIt is k-th of final election from user CR "kAverage detected probability, Pfa,kIt is k-th of final election from user CR "k
Average false-alarm probability;Pd,ksIt is final election from user CR "kTo the detection probability of its allocated s-th of frequency range, Pfa,ksFor final election from
User CR "kTo the false-alarm probability of its allocated s-th of frequency range;QdFor the global detection probability after cooperative detection, QfaFor cooperation inspection
Global false-alarm probability after survey;ωkRepresent signal to noise ratio CR "kWeight coefficient, SNR "kIt is k-th of final election from user CR "kLetter
Make an uproar and compare, SNR "maxRepresent signal to noise ratio maximum of the M final election from user, SNR "minRepresent M final election from the signal to noise ratio of user most
Small value;
(6-5) is respectively obtained accurate in OR criterions and AND according to the cooperative detection performance curve under OR criterions and AND criterions
Maximum detection probability Q under then(OR, d)-max、Q(AND, d)-max, obtain Q(OR, d)-maxAnd Q(AND, d)-maxMaximum Qd-max, and with this
Optimum detection performance value Qd-maxCorresponding signal to noise ratio predetermined threshold value is signal to noise ratio optimal threshold, and note signal to noise ratio optimal threshold is
λoptimal;Wherein, Qd-max=max (Q(OR, d)-max, Q(AND, d)-max);
(7) according to the signal to noise ratio optimal threshold λ of acquisitionoptimal, obtain signal to noise ratio optimal threshold λoptimalCorresponding final election
From user CR ", the final election is obtained from user CR " Dynamic gene α and other M-1 final election from user CR "kDynamic gene
αk, and respectively according to Dynamic gene α, αkCorrespondence adjusts final election from user CR ", CR "kAverage false-alarm probability, final election is from user
Average false-alarm probability after CR " adjustment is designated as Pfa, final election is from user CR "kAverage false-alarm probability after adjustment is designated as Pfa,k;Its
In,
Pfa,k=αk·Pfa, k=1,2 ..., M-1;
Wherein, αkIt is final election from user CR "kDynamic gene, for according to final election from user CR "kThe signal to noise ratio of itself
SNR”kRealize the adjustment to its average false-alarm probability size;SNR”kIt is k-th of final election from user CR "kSignal to noise ratio;
(8) according to the M final election obtained in step (7) from the Dynamic gene α of userkAnd the average void after correspondence adjustment
Alarm probability Pfa,k, final election is calculated from user CR "kJudgement threshold values λ " after adjustmentkWith average detection probability Pd,k, wherein,
Wherein,K=1,2 ..., M, M≤N'2;N is sampling number;
(9) according to signal to noise ratio snr of the M final election from user in step (8) "kAnd the average detected after obtained adjustment
Probability Pd,k, return to step (6) selects in M final election from user again, and obtain participating in cooperation T selects from user eventually
CR”'t, and using the global detection probability after the OR criterions cooperation of weighting as frequency spectrum perception fusion center FC final detection result,
Wherein 1≤t≤T≤M≤N'2。
Further, the OR criterions of weighting are as follows in the step (9):
Wherein, P'd,tsTo select eventually from user CR " 'tTo the detection probability of its allocated s-th of frequency range, P'fa,tsFor whole choosing
From user CR " 'tTo the false-alarm probability of its allocated s-th of frequency range;P'd,tSelected for the end that t-th reselects from user CR " 't
Average detected probability, P'fa,tSelected for the end that t-th reselects from user CR " 'tAverage false-alarm probability;Q'dFor cooperation inspection
Global detection probability after survey, Q'faFor the global false-alarm probability after cooperative detection;M' is the whole number selected from user reselected
Mesh;ω'tIt is the whole choosing that reselects from user CR " 'tWeight coefficient.
Compared with prior art, the advantage of the invention is that:Each user is respectively by itself signal to noise ratio, confidence level, business
Demand and frequency spectrum detecting result to multiple primary users are sent to frequency spectrum perception fusion center, by frequency spectrum perception fusion center meter
The secondary user of primary election cooperation time user, deletion detection poor performance and low signal-to-noise ratio are calculated, screen, then distribution number of frequency bands is to primary election
Cooperation time user;Calculate the quotient between the signal to noise ratio of all primary election time user's signal to noise ratio root-mean-square value and each primary election time user, root
According to the relation between each quotient and signal to noise ratio predetermined threshold value, the final election time user for participating in cooperation is selected, and adjust final election time user's
Detection probability;With reference to the average detected probability after the signal to noise ratio of each final election time user and adjustment, return to selection final election time and use
The step of family, the whole choosing time user of final participation cooperation is obtained, and using the global detection probability of the OR criterions cooperation of weighting as frequency
Spectrum perceives the final detection result of fusion center, it is to avoid evil of the secondary user of low signal-to-noise ratio or poor performance to whole detection performance
Bad influence.
Brief description of the drawings
Fig. 1 is the cognition network structural representation in the embodiment of the present invention;
Fig. 2 is the multiband cooperative cognitive frequency spectrum sensing method schematic flow sheet of the embodiment of the present invention;
Multiband cooperative cognitive frequency spectrum sensing methods and tradition AND criterion collaboration frequency spectrum sense of the Fig. 3 for the embodiment of the present invention
The simulation result schematic diagram known.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing embodiment.
As shown in figure 1, being set in cognition network, the quantity of primary user is N1, the quantity of secondary user is N2, frequency spectrum perception
The quantity of fusion center is 1, wherein, primary user is designated as PUi, secondary user is designated as CRj, frequency spectrum perception fusion center is designated as FC;1≤i
≤N1, 1≤j≤N2, N1>=2, N2≥2。
Below in conjunction with Fig. 1 and Fig. 2, multiband cooperative cognitive frequency spectrum sensing method in the present embodiment is made an explanation.Wherein,
The multiband cooperative cognitive frequency spectrum sensing method, in turn includes the following steps:
(1) it is set in cognition network, the quantity of primary user is N1, the quantity of secondary user is N2, frequency spectrum perception fusion center
Quantity be 1, primary user separately takes the respective frequency range in frequency spectrum;N2Individual user separately obtains itself letter
Make an uproar and compare SNRjAnd to N1Individual primary user takes the frequency spectrum detecting result of frequency range, and respectively by the signal to noise ratio snr of acquisitionj, frequency spectrum inspection
Survey result, detection confidence level PjWith business demand RjSend to frequency spectrum perception fusion center, wherein,
Primary user is designated as PUi, secondary user is designated as CRj, frequency spectrum perception fusion center is designated as FC, business demand Rj∈[0,N1],
Pj∈ [0,1], detects confidence levelPd,jiFor secondary user CRjTo primary user PUiDetection probability;1≤i≤
N1, 1≤j≤N2, N1>=2, N2≥2;
(2) frequency spectrum perception fusion center FC receives each user CRjThe signal to noise ratio snr sentj, frequency spectrum detecting result, inspection
Survey confidence level PjWith business demand Rj, and judge the signal to noise ratio snr of time userjMore than default signal to noise ratio screening value SNRchoseWhen,
Select corresponding user of this signal to noise ratio to participate in the primary election time user of cooperative detection, and remember that primary election time user is CR't, and hold
Row step (3), otherwise, the frequency spectrum detecting result corresponding to secondary user of the selection with highest signal to noise ratio is in frequency spectrum perception fusion
Heart FC final detection result;Wherein,
Primary election time number of users is N'2, primary election time user CR'tCorresponding signal to noise ratio is SNR't, detection confidence level be P't、
Business demand is R't, 1≤t≤N'2≤N2;The frequency spectrum detecting result quantity that frequency spectrum perception fusion center FC is received is N1×N2
It is individual;
(3) frequency spectrum perception fusion center FC is according to primary election time user CR'tConfidence level P't, business demand R't, to primary election
Secondary user CR'tDistribution needs the number of frequency bands C detectedt:
(3-1) is according to each primary election time user CR'tConfidence level P't, respectively to each primary election time user CR'tConfidence
Spend P'tIt is normalized, obtains each primary election time user CR'tNormalization confidence value
(3-2) each primary election time user CR' according to obtained by step (3-1)tCorresponding normalization confidence valueCalculate frequency
Spectrum perceives fusion center FC distribution primary election time users CR'tNeed the number of frequency bands C of detectiont:
(4) frequency spectrum perception fusion center FC is according to the primary election time user CR' for participating in cooperative detectiontSignal to noise ratio snr 't, meter
Calculate the signal to noise ratio root-mean-square value of all primary election time userAnd make signal to noise ratio snr 't=γt, wherein, signal to noise ratio root-mean-square value
Be calculated as follows:
(5) frequency spectrum perception fusion center FC calculates the signal to noise ratio root-mean-square value of all primary election time user successively respectivelyWith it is each
Primary election time user CR'tSignal to noise ratio snr 'tBetween quotient ηt, wherein,
(6) frequency spectrum perception fusion center FC is calculated, is obtained signal to noise ratio predetermined threshold value λ and signal to noise ratio optimal threshold λoptimal,
And respectively according to each signal to noise ratio quotient ηtWith the magnitude relationship between signal to noise ratio predetermined threshold value λ, the final election time for participating in cooperation is selected
User CR "k, final election time user CR "kSignal to noise ratio be SNR "k, wherein,
(6-1) frequency spectrum perception fusion center FC is according to the N' of reception2Individual primary election is from the corresponding signal to noise ratio set of user
{SNR't, primary election is obtained from user's signal to noise ratio set { SNR'tIn signal to noise ratio maximum, remember the signal to noise ratio maximum be SNR'
max;
(6-2) using the signal to noise ratio maximum SNR'max of acquisition as reference, and by N'2Individual primary election is from user CR'tSignal to noise ratio
SNR'tMake business's processing with signal to noise ratio maximum SNR'max respectively, calculating obtain each primary election from user's signal to noise ratio snr 'tCorresponding
Initial threshold λt, wherein,
λt=| SNR't/SNR'max|, t=1,2 ..., N'2, N'2≤N2;
(6-3) is according to each primary election from user CR'tNormalization confidence valueWith signal to noise ratio quotient ηt, calculate each primary election
From user CR'tJoint screening parameter value ξt, and according to joint screening parameter value ξt, the final election for participating in cooperation is chosen from user
CR”k, wherein, final election is from user CR "kQuantity be M,T=1,2 ..., N'2, k=1,2 ..., M, M≤N'2:
If joint screening parameter value ξtPositioned at default value interval range [ξa,ξb] in, i.e. ξa≤ξt≤ξbWhen, then choosing should
Joint screening parameter value ξtCorresponding primary election from user be final election from user, and participate in cooperative detection;Otherwise, the primary election is from user
Not choose;
The signal to noise ratio predetermined threshold value λ of (6-4) in step (6-3), obtains M final election from user CR "kIt is accurate in OR respectively
Then with the cooperative detection performance curve under AND criterions, wherein,
OR criterions:
AND criterions:K=1,2 ..., M, M≤N'2≤N2;
Wherein, Pd,kIt is k-th of final election from user CR "kAverage detected probability, Pfa,kIt is k-th of final election from user CR "k
Average false-alarm probability;Pd,ksIt is final election from user CR "kTo the detection probability of its allocated s-th of frequency range, Pfa,ksFor final election from
User CR "kTo the false-alarm probability of its allocated s-th of frequency range;QdFor the global detection probability after cooperative detection, QfaFor cooperation inspection
Global false-alarm probability after survey;ωkRepresent signal to noise ratio CR "kWeight coefficient, SNR "kIt is k-th of final election from user CR "kLetter
Make an uproar and compare, SNR "maxRepresent signal to noise ratio maximum of the M final election from user, SNR "minRepresent M final election from the signal to noise ratio of user most
Small value;
(6-5) is respectively obtained accurate in OR criterions and AND according to the cooperative detection performance curve under OR criterions and AND criterions
Maximum detection probability Q under then(OR, d)-max、Q(AND, d)-max, obtain Q(OR, d)-maxAnd Q(AND, d)-maxMaximum Qd-max, and with this
Optimum detection performance value Qd-maxCorresponding signal to noise ratio predetermined threshold value is signal to noise ratio optimal threshold, and note signal to noise ratio optimal threshold is
λoptimal;Wherein, Qd-max=max (Q(OR, d)-max, Q(AND, d)-max);
(7) according to the signal to noise ratio optimal threshold λ of acquisitionoptimal, obtain signal to noise ratio optimal threshold λoptimalCorresponding final election
From user CR ", the final election is obtained from user CR " Dynamic gene α and other M-1 final election from user CR "kDynamic gene
αk, and respectively according to Dynamic gene α, αkCorrespondence adjusts final election from user CR ", CR "kAverage false-alarm probability, final election is from user
Average false-alarm probability after CR " adjustment is designated as Pfa, final election is from user CR "kAverage false-alarm probability after adjustment is designated as Pfa,k;Its
In,
Pfa,k=αk·Pfa, k=1,2 ..., M-1;
Wherein, αkIt is final election from user CR "kDynamic gene, for according to final election from user CR "kThe signal to noise ratio of itself
SNR”kRealize the adjustment to its average false-alarm probability size;SNR”kIt is k-th of final election from user CR "kSignal to noise ratio;
(8) according to the M final election obtained in step (7) from the Dynamic gene α of userkAnd the average void after correspondence adjustment
Alarm probability Pfa,k, final election is calculated from user CR "kJudgement threshold values λ " after adjustmentkWith average detection probability Pd,k, wherein,
Wherein,K=1,2 ..., M, M≤N'2;N is sampling number;
(9) according to signal to noise ratio snr of the M final election from user in step (8) "kAnd the average detected after obtained adjustment
Probability Pd,k, return to step (6) selects in M final election from user again, and obtain participating in cooperation T selects from user eventually
CR”'t, and using the global detection probability after the OR criterions cooperation of weighting as frequency spectrum perception fusion center FC final detection result,
Wherein, the OR criterions of weighting are as follows:
Wherein, P'd,tsTo select eventually from user CR " 'tTo the detection probability of its allocated s-th of frequency range, P'fa,tsFor whole choosing
From user CR " 'tTo the false-alarm probability of its allocated s-th of frequency range;P'd,tSelected for the end that t-th reselects from user CR " 't
Average detected probability, P'fa,tSelected for the end that t-th reselects from user CR " 'tAverage false-alarm probability;Q'dFor cooperation inspection
Global detection probability after survey, Q'faFor the global false-alarm probability after cooperative detection;M' is the whole number selected from user reselected
Mesh;ω'tIt is the whole choosing that reselects from user CR " 'tWeight coefficient, 1≤t≤T≤M≤N'2。
Fig. 3 gives the simulation result schematic diagram of multiband cooperative cognitive frequency spectrum sensing method in the present invention, and simultaneously right
Traditional AND cooperative detections method is emulated.Wherein, in traditional AND cooperative detection methods, all times with joining per family
Detected with collaborative spectrum sensing.Simulated conditions are as follows:
It is set in cognitive radio networks, primary user PU quantity N1Respectively 2,3,5 and 7, from user CR quantity N2
Gradually 11 are increased to from 2;From the signal to noise ratio of user be respectively -5dB, -8dB, -10dB, -13dB, -16dB, -17dB, -
19dB, -23dB, -25dB and -27dB, from per family using energy measuring.
As seen from Figure 3, in primary user's quantity and under conditions of number of users is certain, the global detection in the present invention
Probability is greater than the detection probability of traditional AND cooperative detections, and this cooperative frequency spectrum sensing method shown in the present invention has more preferable
Detection performance;It is also possible to find, under conditions of cooperative detection method and primary user's quantity are certain, with from user
Global detection probability after the increase of quantity, cooperative detection gradually increases;In cooperative detection method and certain from number of users
Under the conditions of, with the increase of primary user's quantity, the global detection probability after cooperative detection is then gradually reduced.Understand, it is relatively conventional
AND cooperative detection methods, the multiband Cognitive-Cooperation frequency spectrum sensing method in the embodiment of the present invention is because avoiding low signal-to-noise ratio
Or the baneful influence of the secondary user of detection poor performance, overall cooperative detection performance is greatly improved, with more preferable inspection
Survey performance.