Embodiment
Realize the select frequency automatically technology of GSM digital high-frequency amplification station among the present invention; Adopt the software radio framework; After the GSM radiofrequency signal down-conversion sample conversion of reception antenna input become digital baseband signal; Get into the two-way Digital Down Convert DDC passage of realizing through the FPGA hardware programming simultaneously, wherein one the tunnel is select frequency automatically pattern passage, and other one the tunnel is the normal mode of operation passage; Design digital frequency-selector and mean effective power measurement module in said select frequency automatically pattern passage; The digital baseband signal of input is carried out the single carrier power measurement; According to the GSM standard; Calculate the digital power signal in the reframing time scope, reject working frequency points, arrange alternative collection working frequency points according to watt level near noise; According to the select frequency automatically algorithm, frequency is divided into three priority, preceding 12 working frequency points of limit priority are updated to current collection, the DDC passage that when the next update cycle arrives, offers normal mode of operation uses, and accomplishes the select frequency automatically process.
In order to let those skilled in the art better understand the present invention, main module is further specified below in conjunction with accompanying drawing.
Select frequency automatically technology of the present invention mainly comprises following module:
One, the global design of DDC module
Designed a kind of descending DDC module, it comprises two kinds of DDC passages, and wherein a kind of is select frequency automatically pattern DDC passage, establishes 6 the tunnel altogether; In addition a kind of then is repeater normal mode of operation DDC passage, establishes 12 the tunnel altogether, and be as shown in Figure 1.
The signal of normal mode of operation DDC passage is exported to electrooptic conversion module after overfrequency is selected, through the packing of CPRI (common public radio interface) protocol data, send to the repeater far-end unit by optical fiber; The DDC functional module of this pattern only realizes the frequency-selecting function, and the multiple carrier digital signal that is about to input separates into independently single-carrier signal;
The DDC passage of select frequency automatically pattern has gone out outside the frequency-selecting function, has also increased the design of real-time measurement carrier power, through measuring the carrier wave of effective power, for the select frequency automatically algorithm provides the data input.
The indoor design scheme of the DDC passage of select frequency automatically pattern is as shown in Figure 2, the NCO (digital controlled oscillator) that the DDC module works alone for each DDC channel arrangement, digital filter, RMS (root mean square) power measurement functional module.Wherein NCO is used to select the operating frequency of input carrier signal, and the carrier signal that only meets frequency could get into this DDC channel interior.The signal processing of this DDC module is: the digital signal sequences after the AD sampling is multiplied each other with the digital carrier signal that the two-way of NCO output differs 90 degree respectively; The I of this two-way, Q signal; Send into CIC (accumulation comb filter) and CFIR (compensating filter) filter carries out the two-stage extraction through postponing adjustment with interior inserting; Carry out pulse shaping through PFIR (programmable filter) again; Data signal rate behind the reduction of speed is the twice of GSM data rate, and promptly 270.833 * 2=541.666kbps inputs to RMS Power Measure module then and carries out power samples and measurement.
Two, mean effective power measurement module
Realize the GSM carrier signal is carried out effective power measurement, at first need understand the characteristic of GSM signal.The GSM carrier wave is pressed the 4.6125ms frame and is transmitted information, and every frame is divided into 8 time slots, and is as shown in Figure 3:
Effective measurement unit of carrier power is a physical channel, i.e. time slot.Depend on whether the logic channel corresponding with it is transmitting information because whether physical channel power exists, so be not can detect power in any time slot.The GSM logic channel can be divided into control channel and Traffic Channel.BCCH in the control channel and synchronizing channel, the operating time is continual, other control channels are intermittently useds; Traffic Channel is used to carry voice or user data, only when having the cellphone subscriber to use, just works.In actual GSM network, configurable several carrier frequency of base station section C0, C1 ... Cn, BCCH channel of broadcast control and synchronous channel SCH are mapped on first time slot TS0 of main carrier C0 usually; Other time slots of C0 and all time slots of other carrier waves are used for Traffic Channel and other control channels.In this case, have only the TSO of main carrier C0 to test at any time has the base station power emission always, and any time slot of the TS1-TS7 time slot of C0 and other carrier waves all only just has the base station power emission when having the cellphone subscriber to take.Therefore, C0 can accomplish power samples through the TS0 of any frame, can judge whether it is effective carrier wave, and other carrier waves then can't be accomplished.
So; Can other carrier waves be found effective time slot power of all the other carrier waves through power samples how long? According to the gsm protocol standard; TCH (Traffic Channel) and FACCH (forward direction access control channel) etc. are mapped to the multi-frame (120ms) of 26 frames; That is to say as long as there is communication process in this carrier wave, in each multi-frame, have at least a time slot to activate.Therefore I is designed to 120ms the cycle of power detection analysis, in order to improve accuracy, and can a check and analysis N cycle.
The operation principle of digital high-frequency amplification station can know that the ADC module carries out quick sampling to each carrier wave on continuous time, can guarantee the undistorted transmission of signal.Therefore guarantee that for the double sampling of carrying out for detection power among the DDC needs only each time slot can both collect at least 1 data, just be greater than 1/0.577ms=1.733KHz.Here recommending the design sampling clock is 26KHz; Be 15 data of each time slot sampling; The data of sampling 3.12K in 120 data of the frame sampling of a TDMA, the multi-frame of one 26 frame can guarantee that so promptly precision can be avoided again FPGA is proposed too high performance requirement preferably.
Design such as Fig. 4, shown in Figure 5 that RMS Power Measure power measurement calculates: the IQ signal of PFIR filter output through the data on the I road of exporting after the double sampling and Q road constantly by square; Data after adding up are sent in the digital integrator at each rising edge clock; Digital integrator constantly carries out accumulating operation to the data of input; This digital integrator is controlled by the integration interval counter again, and the integration interval rolling counters forward arrives when presetting threshold values can zero setting restart counting then, when zero setting, exports clear (zero clearing) signal simultaneously; Empty the numerical value in the digital integrator, let digital integrator restart integral operation.The integral number of times counter then is responsible for behind the integral number of times that arrival is preset, sending enable (enabling) signal and interrupt signal, and the numerical value of this digital integrator is just exported from register, and interrupt signal then points out monitoring center module to receive the data in this moment.
The carrier power value of register output is:
Power=
n is an integral number of times, can carry out value according to the precision needs
Three, select frequency automatically algorithm
The DDC passage that is used for the select frequency automatically pattern starts beginning from repeater equipment and just follows the tracks of each carrier power of gathering the repeater input; And the result reported monitoring center module; Send normal mode of operation DDC passage after the select frequency automatically algorithm computation by monitoring center module to and use.
The program circuit of realizing the select frequency automatically algorithm is as shown in Figure 6:
If each frequency comprises 3 element: frequency point number n, power P and power significant notation m, note is done:
To move the EGSM system is example, has 120 optional frequencies, and the frequency set is:
P wherein
nBe the performance number of frequency n, P0 is the interference noise power value.
Then; The power significant notation is 1 frequency points M in can obtaining gathering,
Can from the C set, select maximum k successively, as recommending frequency set F by performance number
1:
If the former frequency set F that work has been set
i, the frequency sets F that selects so at last
2Form by two parts:
The preferential F that selects
1Secondly all frequencies are F
0Remove in the set and F
1The part of occuring simultaneously
Below promptly accomplished one and taken turns the automatic selection of frequency, if do not receive that switching to artificial frequency-selecting mode instruction then gets into the next round select frequency automatically, the variation of the continuous monitoring frequency that so circulates once more.
More than be preferred embodiment of the present invention, all changes of doing according to technical scheme of the present invention when the function that is produced does not exceed the scope of technical scheme of the present invention, all belong to protection scope of the present invention.