CN107801190B - HDP-NSHMM-based spectrum sensing method - Google Patents

HDP-NSHMM-based spectrum sensing method Download PDF

Info

Publication number
CN107801190B
CN107801190B CN201710874020.5A CN201710874020A CN107801190B CN 107801190 B CN107801190 B CN 107801190B CN 201710874020 A CN201710874020 A CN 201710874020A CN 107801190 B CN107801190 B CN 107801190B
Authority
CN
China
Prior art keywords
time
state
channel state
category
channel
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
Application number
CN201710874020.5A
Other languages
Chinese (zh)
Other versions
CN107801190A (en
Inventor
黄新林
唐小伟
翟瑜博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tongji University filed Critical Tongji University
Priority to CN201710874020.5A priority Critical patent/CN107801190B/en
Publication of CN107801190A publication Critical patent/CN107801190A/en
Application granted granted Critical
Publication of CN107801190B publication Critical patent/CN107801190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/0202Channel estimation
    • H04L25/0222Estimation of channel variability, e.g. coherence bandwidth, coherence time, fading frequency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0006Assessment of spectral gaps suitable for allocating digitally modulated signals, e.g. for carrier allocation in cognitive radio

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Power Engineering (AREA)
  • Complex Calculations (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a frequency spectrum sensing method based on HDP-NSHMM, which adopts a layered Dirichlet process-non-stationary hidden Markov model to fuse and cluster historical sensing data, and sets a larger self-transition offset parameter when the retention time of the current state is shorter in a clustering cycle so as to ensure that the state of the sensing data does not change rapidly along with the time, and reduces the self-transition offset parameter along with the increase of the retention time of the current state, thereby reducing the self-transition probability of the state and making the sensing data more likely to select to transition to different states. Compared with the prior art, the method and the device have the advantages that the self-transition probability of the state is adjusted through the self-transition offset parameter related to the cluster category holding time, the change of the channel state can be judged more accurately, the occurrence of redundant states can be avoided through the fixed state categories, the clustering accuracy of historical sensing data is improved, the sensing performance is higher, and the spectrum judgment accuracy is improved.

Description

HDP-NSHMM-based spectrum sensing method
Technical Field
The invention relates to a cognitive radio spectrum sensing technology, in particular to a spectrum sensing method based on HDP-NSHMM.
Background
The spectrum sensing is a core technology in cognitive radio, and needs to monitor surrounding wireless environment in real time, provide available spectrum resources for unauthorized users, and simultaneously ensure that the occupation of the authorized users on the current frequency band is found in time, so as to avoid causing interference. Therefore, the accuracy of spectrum sensing plays a very critical role for cognitive radio networks. A great deal of research work on spectrum sensing technology provides a plurality of detection methods based on signal processing, and the detection methods can be mainly divided into two categories of uncooperative spectrum sensing and cooperative spectrum sensing.
The cognitive radio equipment using the uncooperative spectrum sensing can independently select different detection methods, process local sensing results respectively and make spectrum judgment. The spectrum sensing method does not need information interaction among different users, so that the spectrum sensing method is simpler, quicker and more convenient to realize. Common non-cooperative detection methods mainly include energy detection, matched filter detection, cyclostationary feature detection, and the like. Although the uncooperative sensing methods do not require information interaction and are easy to implement, these detection methods are limited because spatial diversity information is not considered. Therefore, many spectrum sensing algorithms select a cooperative detection method that fuses spectrum sensing results of multiple users. The cooperative sensing can reduce uncertainty caused by noise, channel fading and the like faced by the individual cognitive radio equipment in the detection process of spectrum sensing, thereby improving the spectrum detection performance and obtaining a more accurate judgment result.
According to the selection of the cognitive radio user data fusion strategy, cooperative sensing can be mainly divided into two categories, namely centralized cooperative sensing and distributed cooperative sensing. In centralized cooperative sensing, each cognitive radio user participating in cooperative sensing sends respective sensing conditions to a fusion center through multi-hop communication, and a central base station makes a uniform spectrum judgment based on sensing results of all users. However, each user needs to perform sensing data transmission and decision-making reception with the fusion center, which brings a large communication overhead, and at the same time, has high requirements on the processing capacity and processing speed of the data fusion center. In order to reduce the overhead and the requirement on the fusion center, each user can be selected to perform local information exchange with the adjacent users, and a frequency spectrum judgment result is independently obtained without establishing a fusion center method, namely a distributed cooperative sensing method. Such a distributed network is less costly and more flexible.
A non-stationary hidden markov model (NSHMM) is a special hidden markov model with a non-static system hidden state transition probability, which is different from a conventional HMM, and the hidden state transition probability of the NSHMM is changed according to a change in state retention time. Therefore, the layered Dirichlet process-non-stationary hidden Markov model (HDP-NSHMM) is more suitable for the application scene that the transition probability of the system hidden state changes along with the system state retention time at the current moment.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a spectrum sensing method based on HDP-NSHMM.
The purpose of the invention can be realized by the following technical scheme:
a spectrum sensing method based on HDP-NSHMM comprises the following steps:
s1, collecting spectrum sensing observation data of all historical moments and carrying out initialization processing;
s2, fusing and clustering historical sensing data by adopting a layered Dirichlet process-non-stationary hidden Markov model, and in a clustering cycle, reducing self-transfer offset parameters when the channel state retention time is increased to be larger than a set time, so that the possibility of selectively transferring to different channel states is increased;
s3, constructing a Bayesian model by adopting gamma distribution as the conjugate prior of the index distribution parameters of the spectrum sensing data in different channel states, and updating the gamma distribution hyperparameters of the index distribution parameters of each class by utilizing all sensing data classified into the same channel state cluster;
and S4, estimating the power value of each type of channel state through the updated gamma distribution superparameter, and comparing the power estimation value with a preset threshold value to obtain a frequency spectrum judgment result.
Preferably, the initialization processing in step S1 specifically includes:
and allocating an initial channel state category to each historical moment, and counting the initial count, the length of the time sequence for keeping the clustering result as the initial channel state until each historical moment, and the start time and the end time of the keeping.
Preferably, in each clustering cycle in step S2, the following steps are performed for each time t:
s21, acquiring a channel hiding state clustering result and a fusion parameter, sampling the transition distribution beta, and acquiring statistical data of the clustering result before the current clustering cycle at the moment t;
s22, sampling to obtain a new channel state clustering result at the time t, if a new category is selected, updating the channel state clustering result at the time t and related statistical data thereof, updating transition distribution, and adding frequency spectrum sensing data corresponding to the time t into channel state fusion data of corresponding categories;
s23, comparing the new channel state clustering result with the old clustering result, if the new channel state clustering result is different from the old channel state clustering result, updating the state of the time sequence before and after t, and keeping the sequence length and the initial time sequence number;
s24, checking whether there is empty category, if there is empty category, removing empty category, reducing total category number by one, and betakAdding into
Figure 100002_DEST_PATH_FDA0002890641200000011
Wherein, betakRepresenting the probability of selecting a hidden state k, obeying beta to the parameters in the broken rod construction method obtained in the Dirichlet processk|α,H~beta(1,α),
Figure 100002_DEST_PATH_FDA0002890641200000012
Indicating selection of a new hidden state
Figure RE-GDA0003079051840000031
The probability of (d);
and S25, sampling the auxiliary variable in the fusion parameter.
Preferably, the step S21 specifically includes:
s211, collecting channel hiding state clustering results and fusion parameters of each type of channel state at other moments except the moment t;
s212, sampling the transition distribution beta according to Dirichlet distribution;
s213, removing the clustering result before the current clustering cycle at the moment t from the related statistical data, and removing the frequency spectrum sensing data at the moment t from the fusion data of the clustering result.
Preferably, the step S22 specifically includes:
s221, respectively calculating the time sequence length of the continuous same clustering result until the time t when the existing category or the new category is selected at the time t;
s222, calculating the probability of transferring to each existing channel state category and the probability of selecting a new clustering category according to the prior distribution and the likelihood function selected by the time series clustering categories and the spectrum sensing data;
s223, sampling to obtain a new channel state clustering result at the moment t, if a new category is selected, updating the channel state clustering result at the moment t and related statistical data thereof, and updating transition distribution;
s224, adding the latest channel state clustering result at the moment t into related statistical data, and adding the spectrum sensing data corresponding to the moment t into corresponding channel state fusion data.
Preferably, the probability of transferring the existing channel state cluster category to each existing channel state category in step S222 is:
Figure 439321DEST_PATH_IMAGE002
wherein, YtRepresenting a set of spectrally perceived observation data at time t, ztIndicating the initial allocation of a channel state class, τ, at each time instanttIndicates that the clustering result is kept as z until time ttK represents the kth channel state class, K represents the total number of currently existing channel classes, K represents the self-transition offset parameter, δ (K, z)t-1) And δ (k, z)t+1) The impulse function is represented as a function of the impulse,
Figure RE-GDA0003079051840000042
and nWhich respectively represent T-1, T +1 and the number of transitions of T out of state class k, alpha and beta, and all times T1, 2kAlpha is the concentration parameter of Dirichlet in the second layer, beta is the parameter in the construction method of the broken rod obtained in the Dirichlet processkDenotes the probability, β, of selecting the kth channel state classk|α,H~beta(1,α),p(Yt;ak,bk) Representing a likelihood function, ak、bkTwo hyper-parameters representing a gamma distribution;
probability of selecting new cluster class K + 1:
Figure DEST_PATH_BDA0001417722480000043
wherein the content of the first and second substances,
Figure RE-GDA0003079051840000044
the sequence number of the clustering result at the time of t +1 is zt+1The probability of (a) of (b) being,
Figure DEST_PATH_BDA0001417722480000045
indicating selection of a new hidden state category
Figure RE-GDA0003079051840000045
The probability of (c).
Preferably, the updating the transition distribution in step S223 specifically includes:
to distribution
Figure RE-GDA0003079051840000046
Sampling is performed such that the probability of selecting a new cluster class K' is
Figure DEST_PATH_BDA0001417722480000048
Wherein
Figure DEST_PATH_BDA0001417722480000049
Indicating selection of a new hidden state category
Figure RE-GDA0003079051840000049
The probability of (a) of (b) being,
Figure RE-GDA00030790518400000410
βkindicating the probability of selecting the kth channel state class, and K indicates the number of original hidden state classes.
Preferably, the step S4 specifically includes:
estimating the power value of each type of channel state through the updated gamma distribution hyper-parameters, comparing the power estimation value with a preset threshold value, if the power estimation value is smaller than the threshold value, the channel is considered to be available, and if the power estimation value is larger than the threshold value, the channel is considered to be occupied by the PU and cannot be used by the SU; if a plurality of available channels exist simultaneously, the channel with the smaller access power estimated value is selected.
Compared with the prior art, the method has the advantages that an access model associated with the state and duration of a channel occupied by the PU is established by utilizing the HDP-NSHMM, the state self-transition probability is adjusted through the self-transition offset parameter associated with the cluster category holding time, the change of the channel state can be judged more accurately, the occurrence of redundant states can be avoided through fixed state categories, the cluster accuracy of historical sensing data is improved, the sensing performance is higher, and the spectrum judgment accuracy is improved.
Drawings
FIG. 1 is a schematic diagram of a probability map model HDP-NSHMM;
FIG. 2 is a diagram illustrating the occupation situation of the primary user on the channel under the Markov model in the second embodiment;
FIG. 3 is a diagram illustrating the occupation of a primary user on a channel in a non-stationary Markov model according to a second embodiment;
fig. 4 is a result of channel hidden state allocation initialized when the category K is not fixed in the second embodiment;
fig. 5 shows the allocation result of the hidden state of the channel after 1 cycle when the category K is not fixed in the second embodiment;
fig. 6 shows the allocation result of the hidden states of the channels after 10 cycles when the class K is not fixed in the second embodiment;
fig. 7 shows the allocation result of the hidden states of the channel after 100 cycles when the class K is not fixed in the second embodiment;
fig. 8 shows the allocation result of the hidden channel state initialized when the category K is fixed in the second embodiment;
fig. 9 shows the allocation result of the hidden state of the channel after 1 cycle when the category K is fixed in the second embodiment;
fig. 10 shows the allocation result of the channel hidden state after 10 cycles when the category K is fixed in the second embodiment;
fig. 11 shows the allocation result of the hidden states of the channel after 100 cycles when the category K is fixed in the second embodiment;
fig. 12 is a diagram illustrating power estimation values corresponding to each type of channel state in the second embodiment;
FIG. 13 shows the actual channel availability in the second embodiment;
fig. 14 shows the result of channel state determination in the second embodiment;
FIG. 15 is a ROC contrast curve of the receiver SNR of 0dB according to the different spectrum sensing methods in the second embodiment;
FIG. 16 is a ROC comparison curve of the receiver SNR of 05dB according to different spectrum sensing methods in the second embodiment;
FIG. 17 is a ROC contrast curve of the receiver SNR of 10dB according to different spectrum sensing methods in the second embodiment;
fig. 18 shows the correct detection probability of the different spectrum sensing methods in the second embodiment when the false alarm probability is 0.2.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Example one
The method combines the layered Dirichlet process with the non-stationary hidden Markov model to realize the automatic clustering of the historical sensing data.
FIG. 1 illustrates a probability map model of the HDP-NSHMM method, in which the state transition probability is related to the state duration by changing the constant k to a time-varying function variable k (τ), which is a non-time stationary model. K in the rectangular box represents all τ in the boxt-1The class sequence numbers of the hidden states are all k, namely, the hidden states satisfy
Figure RE-GDA0003079051840000061
The application provides a spectrum sensing method based on HDP-NSHMM, which comprises the following steps:
step 1, data initialization process
Step (11), collecting all frequency spectrum perception observation data sets { Y) of T historical momentst|t=1,2,...,T};
Step (12), in a large-scale cognitive radio network spectrum sensing scene, firstly, users possibly having the same channel state distribution parameter at present are divided into the same group according to the spatial distribution of the users, and the specific method is to divide the users having the similar exponential distribution parameter lambda into the same groupkThe historical sensing signals are divided into a group, distributed spectrum sensing data fusion is carried out in the group, and a channel state class { z ] is initially allocated to each momentt|t=1,2,...,T};
Step (13), counting the initial count nijI.e. the number of times T has transitioned from state class i to class j, at all times T1, 2I.e. the number of times T has been transferred out of the state class i, i.e. all times T is 1, 2. Wherein i, j ═ 1, 2.., K denotes the number of initialized hidden state classes;
step (14) of counting τ12,…,τTWherein, τtIndicates that until time t, the clustering result remains ztThe length of the time series of;
step (15), recording the starting time ts of the continuous state of each time1,ts2,…,tsTAnd an end time te1,te2,…,teTWherein, ts istAnd tetRespectively representing the starting time and the ending time of the time sequence with continuous same clustering results where the time t is.
Step 2, fusion and clustering of historical perception data
When the retention time of the current state is short, a larger self-transition offset parameter is set to ensure that the state of the current state does not change rapidly along with the time to generate a redundancy category, and the self-transition offset parameter is reduced along with the increase of the retention time of the current state, so that the self-transition probability of the state is reduced, the state is more likely to be selected to be transitioned to different states, the accuracy of a frequency spectrum judgment result is finally improved, and in each clustering cycle, the following steps are respectively carried out at each moment t:
step (21), acquiring a channel hiding state clustering result and fusion parameters, sampling transition distribution, and acquiring statistical data of the clustering result before the current clustering cycle at the moment t;
step (211), collecting the channel hidden state clustering results { z) at other time except the time t t1,2, T-1, T +1, T, and a fusion parameter { m } for each type of channel state·k,ak,b k1, ·, K }; k denotes the kth channel state class.
Step (212), sampling the transition distribution beta according to Dirichlet distribution:
β~Dir(m·1,m·2,...,m·K,γ)
step (213), assuming that the clustering result before the current clustering loop starts at time t is z'tK 'is removed from the statistical data relating to class k', i.e. the count is to be counted
Figure RE-GDA0003079051840000071
And nk′·The number of the first and second electrodes is reduced by one,
Figure RE-GDA0003079051840000072
and nk′·Respectively representing T-1, T +1 and the times of transferring T from the state class k ', removing the spectrum sensing data at the time T from the fused data of the class k ', and simultaneously recording an old clustering result k ';
step (22), sampling to obtain a new channel state clustering result at the time t, if a new category is selected, updating the channel state clustering result at the time t and related statistical data thereof, updating transition distribution, and adding frequency spectrum sensing data corresponding to the time t into channel state fusion data of corresponding categories, specifically comprising:
step (221), respectively calculating that when K existing categories and new categories are selected at time t, the clustering results z which are continuously the same until time t are obtainedtLength of time series τ oft(k);
Step (222), for K current existing channel state cluster categories, the prior distribution formula selected by the time series cluster categories is as follows:
Figure DEST_PATH_BDA0001417722480000074
the likelihood function is formulated as:
Figure RE-GDA0003079051840000074
wherein λ ═ { λ ═ λk|WLT/π≤k≤WHT/pi is the state parameter set of the channel, p (Y/lambda) represents the conditional probability of Y with known lambda, Lomax (Y (k); a)k,bk) Denotes Y (k) is in the hyperparameter akAnd bkUnder the condition of Lomax distribution, CG (Y (k); l ═ 1, ak,bk) This represents a particular case where the composite gamma distribution is l 1, the component being the likelihood function of the observed data Y, WLRepresenting the bandwidth of the low frequency signal, WHRepresenting the bandwidth of the high frequency signal and l representing a specific parameter of the Gamma distribution.
And calculating the probability of transferring to each existing channel state class k by combining the spectrum sensing data:
Figure 706355DEST_PATH_IMAGE003
wherein, YtRepresenting a set of spectrally perceived observation data at time t, ztIndicating the initial allocation of a channel state class, τ, at each time instanttIndicates that the clustering result is kept as z until time ttK represents the kth channel state class, K represents the total number of currently existing channel classes, K represents the self-transition offset parameter, δ (K, z)t-1) And δ (k, z)t+1) The impulse function is represented as a function of the impulse,
Figure RE-GDA0003079051840000082
and nRespectively representing t-1, t +1 and all time instantsT1, 2, the number of transitions T has moved out of state class k, α and βkTwo parameters in the construction method of the broken rod obtained in the Dirichlet process, alpha is the concentration parameter of the Dirichlet in the second layer, betak|α,H~beta(1,α),p(Yt;ak,bk) Representing a likelihood function, ak、bkTwo hyper-parameters representing a gamma distribution;
calculating the probability of selecting a new cluster class K + 1:
Figure DEST_PATH_BDA0001417722480000083
wherein the content of the first and second substances,
Figure RE-GDA0003079051840000084
the sequence number of the clustering result at the time of t +1 is zt+1The probability of (a) of (b) being,
Figure DEST_PATH_BDA0001417722480000085
representing a new hidden state class in addition to an existing hidden state
Figure RE-GDA0003079051840000085
The probability of (d);
in particular, for the sensing data at the initial time, i.e. when t is 1, there are:
Figure RE-GDA0003079051840000086
Figure RE-GDA0003079051840000087
for the last perceptual data of the time series, i.e. when T equals T, there are:
Figure RE-GDA0003079051840000088
Figure DEST_PATH_BDA00014177224800000810
step (223) of obtaining new channel state clustering result z at time t by samplingt
Figure RE-GDA0003079051840000089
If a new category is selected, the value of K is increased, and the transition distribution beta is updated: to distribution
Figure RE-GDA00030790518400000810
Sampling is performed such that the probability of selecting a new cluster class K' is
Figure DEST_PATH_BDA00014177224800000813
Wherein
Figure DEST_PATH_BDA00014177224800000814
Indicating selection of a new hidden state category
Figure RE-GDA00030790518400000813
The probability of (a) of (b) being,
Figure RE-GDA00030790518400000814
βkrepresenting the probability of selecting the kth channel state class;
step (224), adding the latest channel state clustering result at the time t into the related statistical data, namely counting
Figure RE-GDA0003079051840000091
And nk′·Adding one, and adding the frequency spectrum sensing data corresponding to the time t into the corresponding channel state fusion data;
step (23), the new channel state clustering result is compared with the old clustering result, if the new channel state clustering result is not the same as the old channel state clustering result, the secondary ts is usedt-1To tet+1State of the time series, preserving sequence length and startA time sequence number;
and (24) checking whether an empty type exists at the moment, and if the empty type exists, checking whether n exists for all K which is 1,20 and n ·k0, if there is an empty class, remove empty class K, reduce the total number of classes K by one, and βkAdding into
Figure DEST_PATH_BDA0001417722480000092
So as to improve the execution efficiency of the method;
and (25) sampling the auxiliary variable m. That is, for each channel state K1, 2,.. K in the step (12) packet q, m is initializedqk0 denotes that the number of channel states k in the q group is 0, and the observed value Y of each channel state k is set for the group qtSamples were taken from the following distribution:
Figure RE-GDA0003079051840000092
wherein n represents the total number of channel states from 0 to njk-1 increasing n one by one, let x be from
Figure RE-GDA0003079051840000093
If x is 1, m is the sample value taken out from the distributionqkAnd adding 1.
Step 3, updating the distribution parameters of the historical perception data
Spectral sensing data exponential distribution parameter lambda adopting gamma distribution as different channel stateskThe bayesian model is constructed by conjugate prior:
Figure RE-GDA0003079051840000094
Figure RE-GDA0003079051840000095
Γ(ak) Is represented by akA Gamma function as a parameter;
Figure RE-GDA0003079051840000096
in the above formula, the first and second carbon atoms are,
Figure RE-GDA0003079051840000097
denotes the average of the observed values of the n sampled frequency domain signals Y (k), p (λ)k|{Y(k)}n) Denotes λ after n observations of Y (k) are obtainedkThe posterior distribution of (1), Exponential ({ Y (k) }nk) Denotes the exponential distribution, Gamma (lambda)k;ak,bk) Denotes a gamma distribution, a'k、b′kDenotes akAnd bkThe updated value.
Updating gamma distribution hyperparameters of exponential distribution parameters of each class with all perceptual data classified as same channel state cluster (a)k,bk)。
Figure RE-GDA0003079051840000101
In the above formula, (1/lambda)k) In order to be able to measure the channel conditions
Figure RE-GDA0003079051840000102
Estimate of (a), E [ (1/lambda)k)|{Y(k)}n]Indicates that 1/lambda is obtained when n observed values Y (k) are obtainedkIs calculated from the expected value of (c).
Step 4, judging the frequency spectrum state
Step (41), after the channel state clustering and the spectrum sensing data clustering into the same class are fused, each class of channel state parameter lambda can be obtainedkUpdated distribution parameter (a)k,bk) The power value for each type of channel state can be estimated:
Figure RE-GDA0003079051840000103
step (42), comparing the power estimation value with a preset threshold value, if the power estimation value is smaller than the threshold value, considering that the channel is available, and if the power estimation value is larger than the threshold value, considering that the channel is occupied by the PU and cannot be used by a Secondary User (SU); if a plurality of available channels exist simultaneously, the channel with the smaller access power estimated value is selected.
Example two
The embodiment verifies the clustering effect and the spectrum judgment performance of the spectrum sensing method provided by the application under the scene that the transition probability of a master user (PU) to the channel occupation and release conditions changes along with the state duration.
Considering the scene of the small cognitive radio network, the signals of the PU pass through Rayleigh channels and are attenuated according to a free space propagation model, except that the occupation and release conditions of the channels by the PU are subject to a non-stable Markov model, and the initial state transition probability is still set as p0(0/0)=0.975,p0(1/0)=0.025; p0(0/1)=0.05,p0(1/1) is 0.95, and when the state retention time at the current moment is greater than the preset value, the self-transition probability of the state is reduced. In the simulation setup of this embodiment, the preset holding time is set to 10 time series lengths, and after the holding time is longer than the preset time, the state self-transition probability is reduced by the same proportion as the initial transition probability, i.e. let p bet(0/0)=pt-1(0/0)·p0(0/0) or pt(1/1)=pt-1(1/1)·p0(1/1)。
The occupation and release of the channel by the PU generated based on the non-stationary markov model with state transition probability varying with time duration and the markov model with fixed transition probability are shown in fig. 2 and 3, respectively. The abscissa is the time series sequence number, the total length is set to be T200, and the ordinate is the channel occupancy by the PU, "1" indicates occupied channel, and "0" indicates released channel. As can be seen from the figure, the non-stationary state transition probability makes the channel occupation and release duration of the PU not too long and more regular than the fixed state transition probability.
The clustering effect of the spectrum sensing data generated by the non-stationary markov model scene is verified below. Clustering is carried out on the spectrum sensing data with the time sequence length T being 200, and the signal-to-noise ratio of the SU receiver is set to be 10 dB. The parameters of the clustering algorithm are initialized as follows: α -2, γ -2, α and γ are two specific parameters of the Dirichlet distribution, the initial number of states K-4, a-l-2,
Figure RE-GDA0003079051840000111
a. l, b are three specific parameters of the Gamma distribution,
Figure RE-GDA0003079051840000112
the number of state classes K representing the average value of the spectral perception observations at all time instants is variable. Considering the perception scene of a single user to two channels, the occupation conditions of two PUs to the two channels are consistent with the same non-stationary Markov model. The hidden state clustering conditions of the spectrum sensing data are shown in fig. 4-7, and are channel hidden state distribution results after initialization, 1-time circulation, 10-time circulation and 100-time circulation in sequence. Since the state self-transition shift parameter κ (τ) will decrease with state duration, the probability of selecting a new class increases, thereby more easily creating redundant states and affecting the accuracy of the clustering. Therefore, on the premise of knowing the hidden channel state category, the clustering category number K can be fixed, the probability that the sensing data at each moment belongs to each existing category K is calculated, sampling is carried out from the K existing categories, and the clustering result is determined.
For the simulation scenarios of two PUs, the number of classes is fixed to K-4, and the channel hidden state allocation results after initialization, 1 cycle, 10 cycles, and 100 cycles are shown in fig. 8 to 11. After the cycle is completed, the calculated power estimation value of each class is shown in fig. 12, where the abscissa represents the cluster type and the ordinate represents the power estimation value Sk. In fig. 12, category 1 indicates that the first channel is available and the second channel is not available, denoted as (0, 1); class 2 indicates that both channels are available, denoted (0, 0); class 3 indicates that neither channel is available, denoted (1, 1); category 4 tableThe first channel is not available and the second channel is available, denoted (1, 0). Four available cases (0,0), (0,1), (1,0), (1,1) of two channels are respectively recorded as channel state 1, state 2, state 3, and state 4. The channel state decision result and the actual channel availability are shown in fig. 13 and 14, respectively.
The estimated value of the channel power is compared with different preset threshold values, and an ROC curve formed by the correct detection probability and the false alarm probability can be drawn. The fixed category clustering and spectrum judging method based on the HDP-NSHMM and the Sticky HDP-HMM method of fixed self-transfer offset parameters (the patent 'a cooperative spectrum sensing method based on multi-user historical sensing data mining', application publication No. CN 106972899A), the HDP-HMM method without the self-transfer offset parameters, and the performance of the methods of energy detection, matched filter detection and cyclostationary feature detection under the same receiver signal-to-noise ratio are compared. FIGS. 15-17 are ROC curve comparisons for receiver signal-to-noise ratios of 0dB, 5dB, and 10dB, respectively. Fig. 18 is a comparison graph of the correct detection probability of each spectrum sensing method under different signal-to-noise ratios with the false alarm probability of 0.2.
When the signal-to-noise ratio is 0dB, 5dB and 10dB, the correct detection probability of the method at the false alarm probability of 0.2 is respectively improved by 52 percent, 31 percent and 9 percent compared with the energy detection. Under the condition of higher signal-to-noise ratio, the correct detection probability when the false alarm probability is 0.2 is lower than that of matched filter detection and cyclostationary feature detection, the matched filter detection needs to know the priori knowledge of PU transmission signals in advance, the cyclostationary feature detection system is higher in complexity, needs longer detection time and has certain limitation in practical application. Under the condition of a low signal-to-noise ratio, the historical data is used for clustering and fusing the spectrum sensing data with high uncertainty, so that the method has the highest correct detection probability at the false alarm probability of 0.2. When the signal-to-noise ratio is 0dB, the correct detection probability of the method at the position where the false alarm probability is 0.2 is improved by 15% and 31% respectively compared with the matched filter detection and the cyclostationary feature detection. The static HDP-HMM method uses a fixed self-transition offset parameter in the clustering process, the HDP-HMM algorithm does not add the self-transition offset parameter, cannot distinguish the self-transition probability of the state, is not suitable for an application scene with the state transition probability changing along with the duration, and easily causes wrong clustering results under the condition of low signal-to-noise ratio, so that wrong data fusion is carried out, and the correct detection probability is lower under the condition of the same false alarm probability. The method utilizes the flexible self-transfer offset parameter, so that the change of the channel state is more accurately judged, the fixed state category can avoid the occurrence of redundant state, the clustering accuracy of historical sensing data is improved, and the sensing performance is higher. When the signal-to-noise ratio is 0dB, 5dB and 10dB, the correct detection probability of the method at the false alarm probability of 0.2 is respectively improved by 63%, 18% and 4% compared with that of a Sticky HDP-HMM method.

Claims (1)

1. A spectrum sensing method based on HDP-NSHMM is characterized by comprising the following steps:
s1, collecting the spectrum sensing observation data of all historical moments, carrying out initialization processing,
s2, using layered Dirichlet process-non-stationary hidden Markov model to fuse and cluster the historical sensing data, in the clustering cycle, when the channel state keeping time is increased to be larger than the set time, reducing the self-transfer offset parameter to increase the possibility of selectively transferring to different channel states,
s3, constructing a Bayesian model by adopting gamma distribution as the conjugate prior of the index distribution parameters of the spectrum sensing data of different channel states, updating the gamma distribution hyperparameters of the index distribution parameters of each class by utilizing all the sensing data classified into the same channel state cluster,
s4, estimating the power value of each type of channel state through the updated gamma distribution superparameter, and comparing the power estimation value with a preset threshold value to obtain a frequency spectrum judgment result;
the initialization processing of step S1 specifically includes:
allocating an initial channel state category to each historical moment, and counting the initial count, the length of a time sequence for keeping the clustering result as the initial channel state until each historical moment, and the start time and the end time of the keeping;
in step S2, in each clustering cycle, the following steps are performed for each time t:
s21, obtaining the channel hiding state clustering result and the fusion parameter, sampling the transition distribution beta, obtaining the statistical data of the clustering result before the current clustering cycle at the moment t,
s22, sampling to obtain new channel state clustering result at time t, if new category is selected, updating the channel state clustering result at time t and related statistical data, updating transition distribution, adding the spectrum sensing data corresponding to time t into the channel state fusion data of corresponding category,
s23, comparing the new channel state clustering result with the old clustering result, if not, updating the time sequence state before and after t, keeping the sequence length and the initial time sequence number,
s24, checking whether there is empty category, if there is empty category, removing empty category, reducing total category number by one, and betakAdding into
Figure DEST_PATH_FDA0002890641200000011
Wherein, betakRepresenting the probability of selecting a hidden state k, obeying beta to the parameters in the broken rod construction method obtained in the Dirichlet processk|α,H~beta(1,α),
Figure DEST_PATH_FDA0002890641200000012
Indicating selection of a new hidden state
Figure FDA0003079051830000011
The probability of (a) of (b) being,
s25, sampling auxiliary variables in the fusion parameters;
the step S21 specifically includes:
s211, collecting the channel hidden state clustering results of other time except the time t and the fusion parameters of each type of channel state,
s212, sampling the transition distribution beta according to Dirichlet distribution,
s213, removing the clustering result before the current clustering cycle at the moment t from the related statistical data, and removing the frequency spectrum sensing data at the moment t from the fusion data of the clustering result;
the step S22 specifically includes:
s221, respectively calculating the time sequence length of the continuous same clustering result until t time when the existing category or the new category is selected at the time t,
s222, calculating the probability of transferring to each existing channel state category and the probability of selecting a new clustering category according to the prior distribution and the likelihood function selected by the time series clustering categories and the spectrum sensing data,
s223, sampling to obtain new channel state clustering result at the moment t, if a new category is selected, updating the channel state clustering result at the moment t and related statistical data thereof, updating transition distribution,
s224, adding the latest channel state clustering result at the moment t into related statistical data, and adding the spectrum sensing data corresponding to the moment t into corresponding channel state fusion data;
the probability of transferring the existing channel state cluster category to each existing channel state category in step S222 is:
Figure 622067DEST_PATH_IMAGE002
wherein, YtRepresenting a set of spectrally perceived observation data at time t, ztIndicating the initial allocation of a channel state class, τ, at each time instanttIndicates that the clustering result is kept as z until time ttK represents the kth channel state class, K represents the total number of currently existing channel classes, K represents the self-transition offset parameter, δ (K, z)t-1) And δ (k, z)t+1) The impulse function is represented as a function of the impulse,
Figure FDA0003079051830000022
and nWhich respectively represent T-1, T +1 and the number of transitions of T out of state class k, alpha and beta, and all times T1, 2kAlpha is a centralized parameter of the Dirichlet in the second layer, beta is a parameter in the construction method of the broken rod obtained in the Dirichlet processkDenotes the probability, β, of selecting the kth channel state classk|α,H~beta(1,α),p(Yt;ak,bk) Representing a likelihood function, ak、bkTwo hyper-parameters representing the gamma distribution,
probability of selecting new cluster class K + 1:
Figure FDA0003079051830000031
wherein the content of the first and second substances,
Figure FDA0003079051830000032
the sequence number of the clustering result at the time of t +1 is zt+1The probability of (a) of (b) being,
Figure DEST_PATH_FDA0002890641200000033
indicating selection of a new hidden state category
Figure FDA0003079051830000033
The probability of (d);
the updating of the transition distribution in step S223 specifically includes:
to distribution
Figure FDA0003079051830000034
Sampling is performed such that the probability of selecting a new cluster class K' is
Figure DEST_PATH_FDA0002890641200000036
Wherein
Figure DEST_PATH_FDA0002890641200000037
Indicating selection of a new hidden state category
Figure FDA0003079051830000037
The probability of (a) of (b) being,
Figure FDA0003079051830000038
βkrepresenting the probability of selecting the kth channel state category, wherein K represents the number of the original hidden state categories;
the step S4 specifically includes:
estimating the power value of each type of channel state through the updated gamma distribution hyper-parameters, comparing the power estimation value with a preset threshold value, if the power estimation value is smaller than the threshold value, the channel is considered to be available, and if the power estimation value is larger than the threshold value, the channel is considered to be occupied by the PU and cannot be used by the SU; if a plurality of available channels exist simultaneously, the channel with the smaller access power estimated value is selected.
CN201710874020.5A 2017-09-25 2017-09-25 HDP-NSHMM-based spectrum sensing method Active CN107801190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710874020.5A CN107801190B (en) 2017-09-25 2017-09-25 HDP-NSHMM-based spectrum sensing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710874020.5A CN107801190B (en) 2017-09-25 2017-09-25 HDP-NSHMM-based spectrum sensing method

Publications (2)

Publication Number Publication Date
CN107801190A CN107801190A (en) 2018-03-13
CN107801190B true CN107801190B (en) 2021-10-08

Family

ID=61532020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710874020.5A Active CN107801190B (en) 2017-09-25 2017-09-25 HDP-NSHMM-based spectrum sensing method

Country Status (1)

Country Link
CN (1) CN107801190B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221307B (en) * 2019-05-28 2022-12-13 哈尔滨工程大学 Multi-passive sonar non-cooperative multi-target line spectrum information fusion method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595570A (en) * 2012-01-11 2012-07-18 北京邮电大学 Hidden Markov model based spectrum accessing method for cognitive radio system
CN105282073A (en) * 2015-09-23 2016-01-27 同济大学 Vehicle networking communication method based on cognitive radio

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972899A (en) * 2017-05-11 2017-07-21 同济大学 A kind of cooperative frequency spectrum sensing method excavated based on multi-user's history perception data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595570A (en) * 2012-01-11 2012-07-18 北京邮电大学 Hidden Markov model based spectrum accessing method for cognitive radio system
CN105282073A (en) * 2015-09-23 2016-01-27 同济大学 Vehicle networking communication method based on cognitive radio

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Intelligent Cooperative Spectrum Sensing via Hierarchical Dirichlet Process in Cognitive Radio Networks;Xin-Lin Huang等;《IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS》;20151231;第33卷(第5期);全文 *
动态认知无线电网络的自适应QoS保障机制研究;黄新林;《哈尔滨工业大学博士论文》;20111001;全文 *

Also Published As

Publication number Publication date
CN107801190A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
Zhang et al. Multi-agent deep reinforcement learning-based cooperative spectrum sensing with upper confidence bound exploration
CN109743210B (en) Unmanned aerial vehicle network multi-user access control method based on deep reinforcement learning
CN111917509B (en) Multi-domain intelligent communication system and communication method based on channel-bandwidth joint decision
CN101521896B (en) Cooperative spectrum sensing method based on likelihood ratio in cognitive radio
JP2010517484A (en) Method and system for wireless design subject to interference constraints
CN115276855B (en) Spectrum sensing method based on ResNet-CBAM
CN113014340A (en) Satellite spectrum resource dynamic allocation method based on neural network
CN113423110A (en) Multi-user multi-channel dynamic spectrum access method based on deep reinforcement learning
CN107801190B (en) HDP-NSHMM-based spectrum sensing method
CN103763043A (en) Efficient radio spectrum sensing method based on collaborative cognitive network
CN102394712B (en) Joint optimization method of detection period and detection time in cognitive radio system
Giri Prasad et al. Group based multi-channel synchronized spectrum sensing in cognitive radio network with 5G
CN105119669A (en) Clustering cooperative spectrum sensing method for cognitive radio network
Liu et al. Distributed learning under imperfect sensing in cognitive radio networks
CN110611542B (en) Three-threshold cooperative spectrum sensing method based on improved fusion algorithm
CN111313994B (en) Multi-user spectrum access method based on multi-arm gambling machine model under fairness principle
CN108390735B (en) Pheromone-driven distributed cooperative broadband spectrum sensing method
Huang et al. Fast spectrum sharing in vehicular networks: A meta reinforcement learning approach
WO2013102294A1 (en) Method of distributed cooperative spectrum sensing based on unsupervised clustering in cognitive self-organizing network
CN112087275B (en) Cooperative spectrum sensing method based on birth and death process and viscous hidden Markov model
CN115914004A (en) Link detection method and device, storage medium and computer equipment
Zhu et al. User correlation and double threshold based cooperative spectrum sensing in dense cognitive vehicular networks
CN108055699B (en) A method of perception duration and resource allocation combined optimization
CN108736991B (en) Group intelligent frequency spectrum switching method based on classification
Xu et al. Wireless channel scenario recognition based on neural networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant