Frequency spectrum detection distribution method and system based on ground digital television broadcast frequency range
Technical field
The present invention relates to communication technical field, be specifically related to a kind of frequency spectrum detection distribution method and system based on ground digital television broadcast frequency range.
Background technology
Current, Wireless Telecom Equipment increases sharply, and the frequency spectrum resource that can be used for radio communication is but increasingly rare, and frequency spectrum resource is further precious.But authorizing frequency range to have a large amount of " frequency spectrum cavity-pocket ", these " frequency spectrum cavity-pockets " with no authorized user in the most of the time used, and how to utilize these " frequency spectrum cavity-pockets " just to become a study hotspot.Therefore cognitive radio frequency spectrum detection technique arises at the historic moment, and the in the situation that this technology allowing unauthorized user (cognitive user) not use " frequency spectrum cavity-pocket " at authorized user, can utilize authorized user frequency range to communicate.How detecting the untapped idle frequency range of authorized user just becomes an important research point, after idle frequency range being detected, how these idle frequency allocations is given and is needed the cognitive user of communication also very important simultaneously.DVB-T refers to Digital Terrestrial Television Broadcast system standard, and its band limits is 50~878Mhz, and DVB-T frequency range is often only occupied in a certain period, and some frequency range can not get sufficient utilization for a long time.Therefore, in the situation that not disturbing DVB-T frequency range authorized user, idle frequency range is fully utilized, can improve to a great extent the availability of frequency spectrum.
At present, the frequency spectrum detecting method of cognitive radio often adopts energy measuring scheduling algorithm, and this algorithm can only detect having or not of signal, and None-identified authorization signal.For DVB-T signal, can adopt Cyclic Prefix detection algorithm to detect, but whether have other signals in the method None-identified frequency range.Above-mentioned two kinds of algorithms are combined, can realize frequency range is detected accurately.Yet, if each frequency range adopts two kinds of algorithms detect and can waste the plenty of time simultaneously.In addition, on to the utilization of idle frequency range, cognitive user is initiated frequency spectrum detection often, when idle frequency range being detected, just it is taken, each like this detection again again when frequency range is resumed in mandate.Carry out so frequently frequency spectrum detection by the transmission time of waste cognitive user.And when authorized user returns while taking frequency range, cognitive user can cause interference to authorized user.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of frequency spectrum detection distribution method and system based on ground digital television broadcast frequency range, it can detect DVB-T frequency range full frequency band, adaptive switching frequency range, accurate real-time finds out idle frequency range and distributes to each cognitive user and use.On this basis, the present invention can also detect the appearance of authorized user and cognitive user exited in time and be switched to other idle frequency ranges.
For addressing the above problem, the present invention is achieved by the following technical solutions:
Frequency spectrum detection distribution method based on ground digital television broadcast frequency range, comprises the steps:
(1) cognitive center processor sends communication request by cognitive communications machine to base station communication machine, base station communication machine by request message transmission to base station center processor, base station center processor for recording cognitive user quantity;
(2) radio-frequency antenna receives DVB-T frequency band signals, radio-frequency front-end by whole frequency range according to the default several frequency sub-band of frequency sub-band bandwidth fragmentation, base station center processor is moved zero-frequency by changing the output frequency of radio-frequency front-end local oscillator by each frequency sub-band, and sends in baseband processing module after being divided into I, Q two-way;
(3) in base station center processor, be provided with idle frequency range spectrum pool and distributed frequency range spectrum pool; Base station center processor judges successively whether each frequency sub-band in DVB-T frequency range is present in and has distributed in frequency range spectrum pool;
When frequency sub-band is not present in while having distributed in frequency range spectrum pool, represent that this frequency sub-band is not taken by cognitive user; Base station center processor sends the order of energy measuring to baseband processing module, baseband processing module adopts energy detection method to judge that whether this frequency sub-band is idle; When this frequency sub-band is judged as idle frequency range, baseband processing module sends the order of this frequency sub-band free time to base station center processor, base station center processor is put into idle frequency range spectrum pool by this frequency sub-band, and controls radio-frequency front-end local oscillator and be switched at once next son frequency range; When this frequency sub-band is judged as busy frequency range, baseband processing module sends to base station center processor the order that this frequency sub-band takies, and base station center processor is directly controlled radio-frequency front-end local oscillator and is switched to next son frequency range;
When frequency sub-band is present in while distributing in frequency range spectrum pool, represent that this frequency sub-band is taken by cognitive user; Base station center processor sends to baseband processing module the order that Cyclic Prefix detects, and whether baseband processing module adopts ring prefix detection method to judge DVB-T signal in this frequency sub-band; When this frequency sub-band does not detect DVB-T signal without authorized user, baseband processing module sends this frequency sub-band to base station center processor and is taken order by cognitive user, base station center processor is retained in this frequency sub-band to distribute in frequency range spectrum pool, then controls radio-frequency front-end local oscillator and is switched to next frequency sub-band; When this frequency sub-band detects DVB-T signal and has authorized user, baseband processing module sends the authorized CU order of this frequency sub-band to base station center processor, base station center processor suspends the frequency range switching of radio-frequency front-end local oscillator, and by base station communication machine, send the occupied order of this frequency sub-band to cognitive communications machine at once, then this frequency sub-band is shifted out and distributes frequency range spectrum pool, continue subsequently to control radio-frequency front-end local oscillator and be switched to next frequency sub-band; Cognitive communications machine notifies cognitive center processor to stop at once taking this frequency sub-band also again to base station initiating communication request thereupon;
(4) after base station center processor detects complete DVB-T frequency range, in base station center processor, idle frequency range spectrum pool has recorded available free band information, has distributed and in frequency range spectrum pool, has recorded all band informations that distributed; Simultaneously, base station center processor is broadcasted away the idle band information in idle frequency range spectrum pool according to cognitive user quantity by base station communication machine, cognitive communications machine receives the idle band information of base station communication machine broadcast, and this free time band information is transferred to cognitive center processor, cognitive center processor is controlled cognitive user local oscillator and is adjusted communication frequency to idle frequency range, utilizes this free time frequency range to communicate between cognitive user; Meanwhile, the idle band information that base station center processor is gone out broadcast is put into and is distributed frequency range spectrum pool;
(5) above is a sense cycle, when one-period detection is complete and by after idle frequency allocation, base station center processor empties idle frequency range spectrum pool, and starts the detection of next cycle.
In above-mentioned steps (2), default frequency sub-band bandwidth is made as 8MHz.
In above-mentioned steps (3), base station center processor is only put into the median that is judged as idle frequency sub-band in idle frequency range spectrum pool.
Based on the designed frequency spectrum detection distribution system based on ground digital television broadcast frequency range of said method, mainly by base station center processor, radio-frequency front-end, baseband processing module, base station communication machine, cognitive center processor, cognitive communications machine and cognitive user, formed; The data output end of radio-frequency front-end is connected with baseband processing module; Base station center processor connects respectively radio-frequency front-end local oscillator, baseband processing module and the base station communication machine of radio-frequency front-end; Cognitive center processor connects respectively cognitive user local oscillator and the cognitive communications machine of cognitive user; Base station communication machine is connected by antenna with cognitive communications machine.
In such scheme, described radio-frequency front-end is mainly linked in sequence and is formed by radio-frequency antenna, front low pass filter, low noise amplifier, attenuator, second level amplifier, frequency mixer, radio-frequency front-end local oscillator, rear low pass filter and automatic gain controller; The input of low pass filter before the output of radio-frequency antenna connects; The output of front low pass filter connects the input of low noise amplifier; The output of low noise amplifier is connected with the input of second level amplifier through attenuator; The output of second level amplifier connects an input of frequency mixer, and base station center processor connects another input of frequency mixer through radio-frequency front-end local oscillator; The output of frequency mixer is divided into I, Q two-way output, I, Q two-way output each through after after low pass filter and automatic gain controller, be connected with baseband processing module Yi road input.
In such scheme, described I, Q two-way output are respectively connected to 2 grades of automatic gain controllers, connect the input that I, Q two-way output respectively connect first order automatic gain amplifier, the output of first order automatic gain amplifier through after low pass filter be connected with the input of second level automatic gain amplifier.
In such scheme, described cognitive communications machine and base station communication machine are 2.4G communication equipment.
Compared with prior art, the present invention has the following advantages:
1, the radio-frequency front-end of this frequency spectrum detection distribution system adopts zero-if architecture, only need control local oscillator output different frequency by center processor and just different frequent points can be mixer directly to base band, a lot of components and parts of having compared double conversion structure decrease, provide cost savings, and have improved level of integrated system; Also solved the mirror image interference problem that double conversion exists simultaneously.
2, adopted two spectrum pools, can automatically read which frequency range free time, which frequency range is taken by cognitive user and authorized user, and spectrum pool can upgrade automatically.According to the idle frequency range in spectrum pool, carry out dynamic frequency spectrum deployment, between a plurality of cognitive user, just can communicate; After authorized user returns, base station can detect rapidly authorized user and notifies cognitive user to exit in time frequency range and be switched to other idle frequency ranges.
3, take full advantage of the characteristic of energy detection algorithm and Cyclic Prefix detection algorithm, different in the situation that, select different detection methods, can not only improve accuracy of detection, can also effectively save detection time.
4, cognitive user, without carrying out frequency spectrum detection before needs communication, only needs to initiate request and just can receive the idle band information sending from base station, has extended the call duration time of cognitive user, thereby has improved the utilance to idle frequency spectrum.
Accompanying drawing explanation
Fig. 1 is the flow chart of the frequency spectrum detection distribution method based on ground digital television broadcast frequency range.
Fig. 2 is the entire block diagram of the frequency spectrum detection distribution system based on ground digital television broadcast frequency range.
Fig. 3 is the connection block diagram of radio-frequency front-end.
Embodiment
A frequency spectrum detection distribution method based on ground digital television broadcast frequency range, as shown in Figure 1, comprises the steps:
(1) cognitive center processor sends communication request by cognitive communications machine to base station communication machine, base station communication machine by request message transmission to base station center processor, base station center processor for recording cognitive user quantity, frequency spectrum detection starts.
(2) radio-frequency antenna receives DVB-T frequency band signals, radio-frequency front-end by whole frequency range according to the default several frequency sub-band of frequency sub-band bandwidth fragmentation, base station center processor is moved zero-frequency by changing the output frequency of radio-frequency front-end local oscillator by each frequency sub-band, and sends in baseband processing module after being divided into I, Q two-way.In the preferred embodiment of the present invention, default frequency sub-band bandwidth is made as 8MHz.
As base station center processor is controlled local oscillator output 54MHz frequency, by frequency range being moved to base band after quadrature demodulator and the mixing of 50~58MHz frequency sub-band, now in 0~4MHz frequency range, just have the full detail of 50~58MHz frequency range, the rear low pass filter that is 4M by bandwidth carries out 50~58M band information to send into after AD sampling and in FPGA, carries out digital processing.
(3) in base station center processor, be provided with idle frequency range spectrum pool (No. 1 spectrum pool) and distributed frequency range spectrum pool (No. 2 spectrum pools); Base station center processor judges successively whether each frequency sub-band in DVB-T frequency range is present in and has distributed in frequency range spectrum pool.As distributed frequency range spectrum pool inside to have data, as 54MHz; Show that this frequency sub-band of 50~58MHz is taken by cognitive user.
When frequency sub-band is not present in while having distributed in frequency range spectrum pool, represent that this frequency sub-band is not taken by cognitive user; Now, base station center processor sends the order (as sent 0) of energy measuring to baseband processing module, and baseband processing module adopts energy detection method to judge that whether this frequency sub-band is idle; When this frequency sub-band is judged as idle frequency range, baseband processing module sends the order (as sent 0) of this frequency sub-band free time to base station center processor, base station center processor is put into idle frequency range spectrum pool by this frequency sub-band, and controls radio-frequency front-end local oscillator and be switched at once next son frequency range (as 62MHz); When this frequency sub-band is judged as busy frequency range, baseband processing module sends to base station center processor the order (as sent 1) that this frequency sub-band takies, and base station center processor is directly controlled radio-frequency front-end local oscillator and is switched to next son frequency range (as 62MHz).In the preferred embodiment of the present invention, base station center processor is not that the whole frequency range that is judged as idle frequency sub-band is put in idle frequency range spectrum pool, and only the median that is judged as idle frequency sub-band is put in idle frequency range spectrum pool.Such as this frequency sub-band of judgement 50~58MHz is idle, this median of 54MHz is put in idle frequency range spectrum pool, rather than this frequency range value of 50~58MHz is put in idle frequency range spectrum pool.
When frequency sub-band is present in while distributing in frequency range spectrum pool, represent that this frequency sub-band is taken by cognitive user; Base station center processor sends to baseband processing module the order (as sent 1) that Cyclic Prefix detects, and whether baseband processing module adopts ring prefix detection method to judge DVB-T signal in this frequency sub-band; When this frequency sub-band does not detect DVB-T signal without authorized user, baseband processing module sends this frequency sub-band to base station center processor and is taken order (as sent 2) by cognitive user, base station center processor is retained in this frequency sub-band to distribute in frequency range spectrum pool, then controls radio-frequency front-end local oscillator and is switched to next frequency sub-band (as 62MHz); When this frequency sub-band detects DVB-T signal and has authorized user, baseband processing module sends the authorized CU order (as sent 3) of this frequency sub-band to base station center processor, base station center processor suspends the frequency range switching of radio-frequency front-end local oscillator, and by base station communication machine, send the occupied order of this frequency sub-band to cognitive communications machine at once, then this frequency sub-band is shifted out and distributes frequency range spectrum pool, control subsequently radio-frequency front-end local oscillator and be switched to next frequency sub-band; Cognitive communications machine notifies cognitive center processor to stop at once taking this frequency sub-band thereupon, and to avoid authorized user interference, cognitive user sends communication request by cognitive communications machine to base station again.Authorized user is DVB-T signal, and each frequency sub-band of DVB-T frequency range not, at every moment all using, exists some idle frequency range; So cognitive radio just can detect these idle frequency ranges and be used.
(4) after base station center processor detects complete DVB-T frequency range, (be that base station center processor is while controlling local oscillator output 878MHz, suspend local oscillator saltus step), idle frequency range spectrum pool has recorded available free band information in base station center processor, has distributed and in frequency range spectrum pool, has recorded all band informations that distributed; Simultaneously, base station center processor is sequentially broadcasted away the idle band information in idle frequency range spectrum pool by base station communication machine according to cognitive user quantity, cognitive communications machine receives the idle band information of base station communication machine broadcast, and this free time band information is transferred to cognitive center processor, cognitive center processor is controlled cognitive user local oscillator and is adjusted communication frequency to idle frequency range, utilizes this free time frequency range to communicate between cognitive user; Meanwhile, the idle band information that base station center processor is gone out broadcast is put into and is distributed frequency range spectrum pool.
(5) above is a sense cycle, when one-period detection is complete and by after idle frequency allocation, base station center processor empties idle frequency range spectrum pool, and starts the detection of next cycle.
The present invention proposes high, the fireballing cognitive frequency spectrum detecting method of a kind of accuracy of detection, and the method can realize spectrum allocation may simultaneously, reduces the frequency spectrum detection number of times of cognitive user.In addition, when authorized user is resumed frequency range, this frequency spectrum distributing method can make cognitive user exit in time and be switched to other idle frequency ranges.
Based on the designed frequency spectrum detection distribution system based on ground digital television broadcast frequency range of said method, as shown in Figure 2, mainly by base station center processor, radio-frequency front-end, baseband processing module, base station communication machine, cognitive center processor, cognitive communications machine and cognitive user, formed.The data output end of radio-frequency front-end is connected with baseband processing module; Base station center processor connects respectively radio-frequency front-end local oscillator, baseband processing module and the base station communication machine of radio-frequency front-end; Cognitive center processor connects respectively cognitive user local oscillator and the cognitive communications machine of cognitive user; Base station communication machine is connected by antenna with cognitive communications machine.
Radio-frequency front-end adopts zero-if architecture that radiofrequency signal is moved to zero-frequency, as shown in Figure 3, radio-frequency front-end is mainly linked in sequence and is formed by radio-frequency antenna, front low pass filter, low noise amplifier, attenuator, second level amplifier, frequency mixer, radio-frequency front-end local oscillator, rear low pass filter and automatic gain controller.The input of low pass filter before the output of radio-frequency antenna connects; The output of front low pass filter connects the input of low noise amplifier; The output of low noise amplifier is connected with the input of second level amplifier through attenuator; The output of second level amplifier connects an input of frequency mixer, and base station center processor connects another input of frequency mixer through radio-frequency front-end local oscillator; The output of frequency mixer is divided into I, Q two-way output: wherein I road output connects the input of I road first order automatic gain amplifier, and the output of I road first order automatic gain amplifier low pass filter behind I road is connected with the input of the second level, I road automatic gain amplifier; Q road output connects the input of Q road first order automatic gain amplifier, and the output of Q road first order automatic gain amplifier low pass filter behind Q road is connected with the input of the second level, Q road automatic gain amplifier.Radio-frequency antenna receives DVB-T frequency band signals, carries out linearity amplify by low noise amplifier, and low noise amplifier adopts MAX2130, and working range is 50~878Mhz, can cover DVB-T full frequency band; Receive signal and carry out mixing with local frequency after attenuator and second level amplifier, radio-frequency front-end local oscillator adopts phase-locked loop and single-chip microcomputer to form, phase-locked loop adopts ADF4351, its reference frequency output is 35MHz) 4400MHz, by single-chip microcomputer, to phase-locked loop inside, write corresponding register value, just can change the output frequency of phase-locked loop; Base station center processor is controlled local oscillator and is exported corresponding local frequency and radiofrequency signal mixing, the intermediate-frequeney point of each frequency sub-band is mixed to zero intermediate frequency place, frequency mixer adopts ADL5387 chip, operating frequency range is 30MHz) 2GHz, can carry out Direct-conversion modulation, the I/Q two-way baseband signal producing after local frequency and radiofrequency signal mixing, I/Q two-way baseband signal is respectively sent signal into baseband processing module by the low pass filter of a 4M after automatic gain is controlled.
Baseband processing module is comprised of a twin-channel analog to digital converter and digit chip FPGA, the input of the output connection mode number converter of Receiver Module, the input of analog to digital converter output termination FPGA.Analog to digital converter adopts AD9248 chip, and this chip is 14 double channel A/D conversion chips; I/Q two paths of signals is converted to digital baseband signal after AD conversion; It is core that digit chip FPGA selects the CycloneII EP2C8Q240C8N chip of ALTERA company, and digital baseband signal carries out digital processing to it after entering FPGA.The digital processing unit of FPGA inside carries out frequency spectrum detection to each input frequency sub-band, judges that whether frequency sub-band is idle, whether has authorization user signal.Be that digit chip inside is loaded with energy detection algorithm and Cyclic Prefix algorithm.Energy detection algorithm can detect frequency range by setting energy threshold value, for detection of the frequency range not taken by cognitive user.Cyclic Prefix algorithm is the algorithm generating according to DVB-T signal characteristic, be specifically designed to and detect DVB-T signal, the frequency range being taken by cognitive user, whether adopt Cyclic Prefix algorithm to detect has authorized user to resume this frequency range, if detect authorized user cognitive user just stop at once taking this frequency range, avoid the interference to authorized user.
Cognitive communications machine and base station communication machine are 2.4G communication equipment.Base station 2.4G communication equipment is according to the idle frequency range in the quantity broadcast spectrum pond of cognitive user.Cognitive 2.4G communication equipment receives idle band information and is transferred to cognitive center processor.
Base station center processor is mainly responsible for 1. controlling the change of local oscillator output frequency; 2. feed back Base-Band Processing result, and select Different treatments according to result; 3. build spectrum pool; 4. control 2.4G communication equipment and broadcast idle frequency range.Cognitive center processor is responsible for sending communication request to base station center processor, receives from the idle band information of base station and by controlling cognitive user local oscillator and controls cognitive user and communicate.
Spectrum pool in base station center processor comprises idle frequency range spectrum pool (i.e. No. 1 spectrum pool) and has distributed frequency range spectrum pool (i.e. No. 2 spectrum pools).No. 1 spectrum pool, by receiving the information of baseband processing module and adjudicating, is put into the available free frequency range of institute wherein.It is the frequency range that cognitive user takies that No. 2 spectrum pools are placed all distribution.When distributing idle frequency range, from No. 1 spectrum pool, broadcast out the idle frequency range of corresponding cognitive user quantity, these idle frequency ranges are moved to spectrum pool No. 2 simultaneously, No. 1 spectrum pool inside does not retain these band informations.