Background technology
Along with wireless communication technology constantly obtains great development, as bluetooth, Wifi, WSN, 3GLTE etc., increasing communication system need to be distributed wireless frequency spectrum, the characteristic of radio wave non-line-of-sight propagation has determined that wireless device is applicable to using the frequency range below 3GHZ, but traditional fixed allocation frequency spectrum mechanism each communication system all fixedly take a certain frequency range, causing so far can be very few for the frequency range below the 3GHZ distributing.Meanwhile, authorize the service efficiency of frequency spectrum but very low, only had 15%~85%.Cognitive radio can effectively solve frequency spectrum scarcity, and it allows time user carry out transfer of data in the mandate frequency range of free time.Frequency spectrum perception, as the key technology of cognitive radio, obtains research extensively and profoundly.Whether cognitive user need to periodically be carried out frequency spectrum perception, detect primary user and exist, if detect, primary user does not exist, and can utilize this mandate frequency range to carry out transfer of data.Cognitive user need to possess very high detection probability, once primary user reappears, primary user's appearance must very accurately be detected, and in official hour, exit rapidly this frequency range, avoids the interference to primary user as far as possible.
The method of frequency spectrum perception mainly comprises the methods such as matched filtering detection, energy measuring and cyclostationary characteristic detection, wherein the decision method of energy detection method is that a thresholding is first set, compare with the thresholding of setting by energy detector, exceed detection threshold, just think in this frequency range and have primary user to exist.Its advantage is that method is simple, computational complexity is low, and do not need primary user's prior information, it is the main method of local frequency spectrum perception, but detect poor performance under Low SNR, because signal is submerged in noise, energy measuring method can only be calculated the energy of signal, and can not distinguish interference is from signal or noise.Due to the uncertainty of noise, traditional simple gate limit energy measuring threshold value is difficult for setting, and near primary user's energy that cognitive user perceives is positioned at threshold value time, flase drop easily occurs, and employing double threshold energy measuring can reduce probability of false detection greatly.In addition, due to the impact of the problem such as hidden terminal, multipath fading, poor performance is detected at alone family, repeatedly user collaboration frequency spectrum perception can effectively improve detection performance, collaborative spectrum sensing has been utilized the advantage of identical data in many receptions of different terminals different transmission path, obtains space diversity gain.
The major parameter of weighing collaborative spectrum sensing performance is overall false alarm probability and overall false dismissal probability, and their sums are defined as global error probability.First, performance and the blending algorithm of collaborative spectrum sensing are closely related, the fusion criterion of collaborative spectrum sensing has AND criterion, OR criterion, Voting Fusion criterion etc., wherein OR criterion is equivalent to that the ballot thresholding of Voting Fusion criterion is 1, AND criterion is that the ballot thresholding that is equivalent to Voting Fusion criterion is total number of time user, so AND criterion and OR criterion are all the special cases of Voting Fusion criterion.Therefore ballot threshold value and the frequency spectrum perception performance of Voting Fusion criterion are closely connected.Secondly, while utilizing double threshold energy detection method to carry out frequency spectrum perception, detection threshold value choose the performance that affects to a great extent perception.Under each received signal to noise ratio condition, the detection threshold value of cognitive user how to confirm double threshold energy measuring and how to choose suitable Voting Fusion criterion ballot threshold value and become the problem that must research and solve.
Summary of the invention
Technical problem: the object of this invention is to provide the scheme of optimizing collaborative spectrum sensing performance in a kind of cognition wireless network, the method can make the global error probability of collaborative spectrum sensing all reach minimum value under each received signal to noise ratio condition, thereby reaches the object that improves collaborative spectrum sensing performance.
Technical scheme: the method is optimized respectively ballot thresholding and detection threshold in the double threshold collaborative spectrum sensing based on Voting Fusion, first, the detection threshold value of fixing double threshold energy measuring, ballot thresholding to voting fusion criterion is optimized, make under this energy measuring threshold value condition the global error probability minimum of collaborative spectrum sensing; Then get under the prerequisite of optimal value at the ballot thresholding of Voting Fusion criterion, detection threshold value to double threshold energy measuring is optimized, under different received signal to noise ratio conditions, optimum detection threshold value is dynamic, so will determine optimum detection threshold value according to signal to noise ratio.
The present invention for cognition wireless network in centralized collaborative spectrum sensing system configuration based on Voting Fusion as shown in Figure 1.Comprise a primary user, multiple users and a fusion center, cognitive user receives the energy information of primary user's signal by channel perception (inferior user receives the channel of primary user's signal process) separately, then the energy information of the primary user's signal receiving is carried out to double threshold energy measuring, make local court verdict, and court verdict is separately sent to fusion center by reporting channel (inferior user is transferred to court verdict the channel of fusion center experience), fusion center is to the court verdict the receiving fusion of putting to the vote, obtain final judging result.Cognition wireless network judges that according to this final detection result whether this mandate frequency spectrum is idle.
Energy measuring method is the most basic method of frequency spectrum detection.It measures the wireless frequency energy in channel or the signal strength indicator (RSSI) receiving judges that whether channel is occupied.The performance of energy measuring has determined final sensing results and perceptual performance, and the performance of energy measuring is main relevant with threshold value, noise average power, average power signal and hits.If adopt traditional traditional simple gate limit energy measuring method, choose the threshold value of λ as simple gate limit energy measuring, the false alarm probability p of energy measuring
fwith detection probability p
dfor:
Wherein: γ is time user's received signal to noise ratio;
it is noise variance; τ is time user's detecting period; f
sfor sample frequency;
Double threshold energy measuring of the present invention has two detection threshold λ
0, λ
1, as shown in Figure 2, time local decision rule corresponding to user is:
Wherein: when U represents that energy value falls into interval of uncertainty, inferior user does not make local judgement.
Due to the impact of the problem such as hidden terminal, multipath fading, poor performance is detected at alone family, repeatedly user collaboration frequency spectrum perception can effectively improve detection performance, the fusion criterion of collaborative spectrum sensing has AND criterion, OR criterion, Voting Fusion criterion etc., wherein OR criterion is equivalent to that the ballot thresholding of Voting Fusion criterion is 1, AND criterion is that the ballot thresholding that is equivalent to Voting Fusion criterion is total number of time user, so AND criterion and OR criterion are all the special cases of Voting Fusion criterion.The detection performance of collaborative spectrum sensing and the ballot thresholding of Voting Fusion criterion, the detection threshold of double threshold energy measuring is closely related, so first the present invention is optimized the ballot thresholding of voting fusion criterion, then get under the prerequisite of optimal value at the ballot thresholding of Voting Fusion criterion, detection threshold value to double threshold energy measuring is optimized, under different received signal to noise ratio conditions, optimum detection threshold value is dynamic, so will determine optimum detection threshold value according to signal to noise ratio, make the global error probability of collaborative spectrum sensing all reach minimum value under each signal to noise ratio condition, thereby improve the performance of collaborative spectrum sensing.
Beneficial effect: double threshold energy measuring is than traditional simple gate limit energy measuring, can greatly reduce the probability of false detection of frequency spectrum perception, and due to the impact of the problem such as hidden terminal, multipath fading, poor performance is detected at alone family, and repeatedly user collaboration frequency spectrum perception can effectively improve detection performance.The present invention is based on the cooperative frequency spectrum sensing method of double threshold energy measuring, adopt Voting Fusion criterion to merge each user's local court verdict at fusion center, optimization aim is made as to global error probability, based on this optimization aim, the voting ballot threshold value of fusion criterion and the detection threshold value of double threshold energy measuring are chosen, make global error probability minimum, thereby improved the performance of collaborative spectrum sensing.
Embodiment
According to the dependent probability definition of simple gate limit energy measuring, the dependent probability of definition double threshold energy measuring is as follows:
Wherein: H
1and H
0represent that respectively primary user exists and non-existent situation, △
0and △
1be illustrated respectively in H
0, H
1the energy value that the next user of condition receives is positioned at the probability of interval of uncertainty, and γ is time user's received signal to noise ratio,
be noise variance, τ is time user's detecting period, f
sfor sample frequency,
double threshold energy measuring of the present invention has two detection threshold λ
0, λ
1.
Suppose to have N time user to carry out frequency spectrum perception, court verdict is sent to fusion center by the inferior user who wherein makes local judgement, fusion center is to the court verdict the receiving fusion of putting to the vote, and the ballot thresholding of Voting Fusion is n, and fusion center is according to Voting Fusion criterion:
Whether judge primary user's existence, wherein D
irepresent the local court verdict that i time user makes.When local judgement adopts simple gate limit energy measuring, overall false alarm probability Q
fwith global detection probability Q
dbe respectively:
When local judgement employing double threshold energy measuring, N is carried out in the inferior user of frequency spectrum perception, determines interval if the energy value that has K time user to receive is positioned at, and has (N-K) individual user not make local judgement.So overall false alarm probability Q
f, false dismissal probability Q
mwith detection probability Q
dbe respectively:
Q
d=1-Q
m (12)
A. the optimization of the ballot thresholding n of Voting Fusion criterion
For collaborative spectrum sensing, the performance that affect frequency spectrum perception is understood in choosing of fusion criterion, OR criterion and AND criterion are respectively that the ballot thresholding n of Voting Fusion criterion equals 1 and equal the special circumstances of total number N of time user, known by formula (10), (11) and (12), the ballot thresholding n of Voting Fusion criterion can affect the performance of collaborative spectrum sensing, so need to carry out optimization to its value, make the best performance of collaborative spectrum sensing.
We define frequency spectrum perception global error probability is (Q
f+ Q
m), suppose that the inferior user's who makes local judgement number K is known, optimization problem can be written as:
min(Q
f+Q
m) (13)
s.t.n≤K
Ask the optimum ballot thresholding n of Voting Fusion criterion
opt, making global error probability is (Q
f+ Q
m) reach minimum value.
By formula (10), (11), obtain global error probability:
If:
Can be obtained by formula (14), (15):
Because:
So can be obtained by formula (17), (18):
Taken the logarithm in above formula both sides:
Solve:
So work as
Time,
Obtain extreme value.Again because:
Know p by formula (1), (2), (4) and (5)
a>p
m, p
d>p
ftherefore:
So obtained by formula (19), (23) and (24):
Substitution formula (23):
So:
In sum, when
Time,
So (Q
f+ Q
m) obtain minimum.In practical application, ballot thresholding n is positive integer, so:
represent to be not less than the smallest positive integral of x.As the threshold value λ of double threshold energy measuring
0, λ
1while determining, can be by λ
0, λ
1value substitution (1)~(6) formula, try to achieve p
d, p
f, p
a, p
mand △
0, △
1, substitution above formula can be obtained and make (Q
f+ Q
m) obtain minimizing ballot thresholding n
opt.
B. the threshold value λ of double threshold energy measuring
0, λ
1optimization
For double threshold energy measuring, threshold value λ
0, λ
1value and the relation between them all can exert an influence to the performance of frequency spectrum perception, wherein λ
0≤ λ
1.From (1)~(6) formula, work as λ
0value while reducing, false dismissal probability can reduce works as λ
1value while increasing, false alarm probability can reduce, but simultaneously detection probability also can reduce; In the time that the distance between two thresholdings widens, the probability that the energy value that inferior user receives is positioned at interval of uncertainty strengthens, otherwise reduces, and works as λ
0=λ
1time, being equivalent to simple gate limit energy measuring, the probability that the energy value that time user receives is positioned at interval of uncertainty is 0.
We define frequency spectrum perception global error probability is (Q
f+ Q
m), suppose that the inferior user's who makes local judgement number K is known, optimization problem can be written as:
min(Q
f+Q
m) (27)
s.t.0<λ
0<λ
1<+∞
Ask the optimum gate limit value of double threshold energy measuring
making global error probability is (Q
f+ Q
m) reach minimum value,
meet:
Wherein:
Formula (15) substitution above formula is obtained:
Wherein:
Formula (31), (32) and (33) substitution formulas (33) are obtained:
Can solve optimum gate limit value by formula (34)
Wherein:
Formula (35), (36) and (37) substitutions (28) are obtained:
Can solve optimum gate limit value by formula (38)
From formula (34) (38), under different signal to noise ratio conditions, the thresholding optimal value of double threshold energy measuring
value different.Get the ballot thresholding n=n of Voting Fusion criterion
opt, Voting Fusion criterion reaches under optimum prerequisite, can be calculated under each signal to noise ratio condition by formula (34) (38)
value.