The tuner and the tuning methods that are used for electrically regulated filtering unit
Technical field
The present invention relates to gsm system, more specifically, relate to a kind of tuner and tuning methods that is used for electrically regulated filtering unit.
Background technology
The tuner of traditional electrically regulated filtering system has two classes.
Fig. 1 is traditional tuner that is suitable for the electrically regulated filtering system 1.
As shown in Figure 1, two power couplers of every road electrically regulated filtering unit, filter unit power and output filter unit power are imported in coupling respectively, and these two coupled powers are carried out the radio frequency detection, whether satisfy preset value with both difference and drive tuning motor, directly reach tuning purpose.
Device among Fig. 1 need not frequency detecting, but there are complicated power coupling unit and switch arrays, the system complexity height, and the position of output coupled power is not well suited for, need to add some isolators and isolate the problem that the power of other paths is crosstalked, the power of detection simultaneously is not very accurate, can influence tuning accuracy yet.The isolator cost is very high, brings the expensive of whole device.
Fig. 2 is traditional tuner that is suitable for the electrically regulated filtering system 2.
As shown in Figure 2, this device has improved the defective of the device among Fig. 1, discerns each input power through the power output behind the electric operation dispatching system by the mode of down-converter unit and matched filter.This device can be saved N-1 power output coupling unit, and the output coupling position is reasonable, has improved the accuracy of detection, exports isolated location simultaneously and can cancel, and this device has reduced system's degree of being responsible for and cost.But the device among Fig. 2 must be known the frequency of detection power, just can make correct tuning.
The method of knowing frequency has two kinds: the one, and frequency is informed in direct communication; The 2nd, device self carries out frequency search.
Usually, the electrically regulated filtering system can carry out both-way communication by backboard with each carrier frequency modular unit, and the upper strata Control Software can be informed in advance the frequency of each its input power of filter cell of electrically regulated filtering system.In case frequency is known, just can be handed down to phase-locked loop (PLL) unit among Fig. 2, to fall in the narrow band filter after the power of the coupling process frequency mixer down-conversion like this, the out-of-band power that filtering is not complementary carries out power detection and subsequent treatment.And then whole Fig. 2 system just can be tuning for the filter success.
Can't carry out under the occasion of communication in electrically regulated filtering system and GSM base station system, the frequency of PLL unit can't directly obtain, and just need at first will finish the frequency testing of the input signal of electrically regulated filtering system.Certainly Fig. 2 device also can be applied to the frequency detection of carrier wave, but the frequency detection speed of this device is slow, especially is embodied in gsm system DCS/PCS frequency range, and then has influenced the system tuning time.
Other carrier extract methods on use such as Coase tower loop, inverse modulation loop road to carrier extract come fast, can satisfy requirement of system design, but increase the complexity of system, can not reach the shared design of circuit, increased the cost of device.
Summary of the invention
In order to solve the problems of the prior art, the present invention proposes a kind of tuner that is used for electrically regulated filtering unit, comprise frequency mixer and AD conversion unit, this tuner also comprises:
The filtering assembled unit between the input of the output of frequency mixer and AD conversion unit, is used for the output signal of frequency mixer is carried out repeatedly wideband filtered and narrow-band filtering repeatedly, and filtered output signal is sent to AD conversion unit.
Filtering combination unit pack is drawn together: broadband filter, and being used in the first frequency scope with first bandwidth is that step units is carried out repeatedly wideband filtered to the output signal from frequency mixer; And narrow band filter, in parallel with broadband filter, being used in the second frequency scope with second bandwidth is that step units is carried out repeatedly narrow-band filtering to the output signal from frequency mixer.
Tuner also comprises: phase locked-loop unit, be connected to the output of baseband processing unit and the input of frequency mixer, and be used for producing local oscillation signal, and local oscillation signal is sent to frequency mixer based on frequency by the baseband processing unit configuration; And baseband processing unit, be connected to the output of AD conversion unit, being used in the first frequency scope with first bandwidth is that step units is that phase locked-loop unit is provided with a plurality of wideband filtered frequencies, calculate corresponding to the performance number of a plurality of wideband filtered frequencies and according to maximum power value wherein based on the output of AD conversion unit and to determine the second frequency scope, and in the second frequency scope, be that step units is that phase locked-loop unit is provided with a plurality of narrow-band filtering frequencies with second bandwidth, calculate performance number based on the output of AD conversion unit, and come locked frequency point according to maximum power value wherein corresponding to a plurality of narrow-band filtering frequencies.
Baseband processing unit also is used for tuning motor is controlled, so that the difference of the performance number of the maximum power value of the input signal of electrically regulated filtering unit and its output signal is less than predetermined value, to finish tuning to electrically regulated filtering unit.
According to another aspect of the present invention, provide a kind of tuning methods, may further comprise the steps: step 1, determine first frequency scope, first bandwidth and second bandwidth; Step 2 in the first frequency scope, is that step units is carried out repeatedly wideband filtered to the output signal from frequency mixer with first bandwidth; Step 3 is determined the second frequency scope according to the result of wideband filtered repeatedly; Step 4 in the second frequency scope, is that step units is carried out repeatedly narrow-band filtering to the output signal from frequency mixer with second bandwidth; And step 5, lock the frequency of electrically regulated filtering unit input signal according to the result of narrow-band filtering repeatedly, and after locked frequency point, come to carry out tuning electrically regulated filtering unit according to the control signal that produces by baseband processing unit.
Before carrying out the step of wideband filtered, further comprising the steps of: as, to be that step units is that phase locked-loop unit is provided with a wideband filtered frequency and produces corresponding local oscillation signal with first bandwidth in the first frequency scope at every turn; And frequency mixer is mixed down intermediate-freuqncy signal with the output signal of local oscillation signal and electrically regulated filtering unit.
The step of determining the second frequency scope is further comprising the steps of: calculate a plurality of performance numbers corresponding to a plurality of wideband filtered frequencies according to the intermediate-freuqncy signal after the wideband filtered, and determine the second frequency scope according to the maximum power value in a plurality of performance numbers.
Before carrying out the step of narrow-band filtering, further comprising the steps of: as in the second frequency scope, to be that step units is that phase locked-loop unit is provided with a narrow-band filtering frequency and produces corresponding local oscillation signal with second bandwidth at every turn; And frequency mixer is mixed down intermediate-freuqncy signal with the output signal of local oscillation signal and electrically regulated filtering unit.
Step 5 may further comprise the steps: calculate a plurality of performance numbers corresponding to a plurality of narrow-band filtering frequencies according to the intermediate-freuqncy signal behind the narrow-band filtering, and come locked frequency point according to the maximum power value in a plurality of performance numbers; Phase locked-loop unit produces local oscillation signal according to locked frequency point, and frequency mixer is mixed down intermediate-freuqncy signal once more with the local oscillation signal of generation with through the output coupled signal through electrically regulated filtering unit after the switch switching; And the power that calculates intermediate-freuqncy signal, the difference of the maximum power value during with intermediate-freuqncy signal performance number locked frequency point is a judgment condition less than predetermined value, controls tuning motor and finishes tuning.
In said method, the first frequency scope is the maximum frequency range of the input signal of a plurality of electrically regulated filtering units; First bandwidth is the bandwidth of broadband filter; And second bandwidth be the bandwidth of narrow band filter.
Therefore, adopt apparatus and method of the present invention, under the situation that does not increase installation cost, shortened the system tuning time, reduced system complexity.But not only can be applicable to the occasion of electrically regulated filtering system and the communication of GSM carrier frequency, being more suitable for can't occasions for communication in electrically regulated filtering system and GSM carrier frequency.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the tuner of traditional electrically regulated filtering system;
Fig. 2 is the tuner of traditional electrically regulated filtering system;
Fig. 3 is the block diagram that is used for the tuner of electrically regulated filtering unit according to of the present invention;
Fig. 4 is the quick tuner schematic diagram that is used for the electrically regulated filtering system according to the embodiment of the invention;
Fig. 5 is the flow chart that is used for the tuning methods of electrically regulated filtering unit according to of the present invention;
Fig. 6 is the locking frequency point flow chart according to the input power of the embodiment of the invention; And
Fig. 7 is the tuning flow chart according to the electrically regulated filtering system of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 3 is the block diagram according to device 300 of the present invention.
As shown in Figure 3, comprise: frequency mixer 302 and AD conversion unit 304, simultaneously, this device also comprises: filtering assembled unit 306, between the input of the output of frequency mixer and AD conversion unit, be used for the output signal of frequency mixer is carried out repeatedly wideband filtered and narrow-band filtering repeatedly, and filtered output signal is sent to AD conversion unit.
According to tuner of the present invention, filtering combination unit pack is drawn together: broadband filter, and being used in the first frequency scope with first bandwidth is that step units is carried out repeatedly wideband filtered to the output signal from frequency mixer; And narrow band filter, in parallel with broadband filter, being used in the second frequency scope with second bandwidth is that step units is carried out repeatedly narrow-band filtering to the output signal from frequency mixer.
In addition, device also comprises: phase locked-loop unit, be connected to the output of baseband processing unit and the input of frequency mixer, and be used for producing local oscillation signal, and local oscillation signal is sent to frequency mixer based on frequency by the baseband processing unit configuration; And baseband processing unit, be connected to the output of AD conversion unit, being used in the first frequency scope with first bandwidth is that step units is that phase locked-loop unit is provided with a plurality of wideband filtered frequencies, calculate corresponding to the performance number of a plurality of wideband filtered frequencies and according to maximum power value wherein based on the output of AD conversion unit and to determine the second frequency scope, and in the second frequency scope, be that step units is that phase locked-loop unit is provided with a plurality of narrow-band filtering frequencies with second bandwidth, calculate performance number based on the output of AD conversion unit, and determine locked frequency point according to maximum power value wherein corresponding to a plurality of narrow-band filtering frequencies.
Wherein, frequency mixer is used for and will be mixed down intermediate-freuqncy signal from the local oscillation signal of phase-locked ring element with from the output signal of electrically regulated filtering unit.
Baseband processing unit also is used for tuning motor is controlled, so that the difference of the performance number of the maximum power value of the input signal of electrically regulated filtering unit and its output signal is less than predetermined value, to finish tuning to electrically regulated filtering unit.
According to tuner of the present invention, the first frequency scope is the maximum frequency range of input signal; First bandwidth is the bandwidth of broadband filter; And second bandwidth be the bandwidth of narrow band filter.
Fig. 4 is the quick tuner figure that is used for the electrically regulated filtering system according to apparatus of the present invention.
As shown in Figure 4, this embodiment comprises N road input power coupler 401, power output coupler 402, multichannel unification switch 403, switch _ 3404, frequency mixer 405, filtering assembled unit 406, analog-digital conversion a/d 408, PLL unit 407 and baseband processing unit 409.Wherein filtering assembled unit 406 comprises two switch 406-1 and 406-4, broadband filter 406-2, narrow band filter 406-3.
N road input power coupler 401 is finished the coupling of input multichannel power, power output coupler 402 is finished the coupling of output multicarrier single channel power, multichannel unification switch 403 is finished the selection of multichannel coupled power in the N road input power coupler 401, the road power that switch _ 3404 and then finish are selected in the multichannel unification switch 403 and the selection of power output coupler 402 coupled powers.Frequency mixer 405 is finished down-conversion, Signal Matching is finished in filtering assembled unit Unit 406, PLL unit 407 has been finished the frequency configuration and has been produced local oscillation signal, analog-digital conversion a/d unit 408 has been finished the modulus of signal has been handled, and baseband processing unit 409 has been finished the processing (number, tuning motor control etc. are put in the selection, the PLL unit that have comprised switch) of power calculation, the storage of power maximum and various control signals.
Fig. 5 is the flow chart that is used for the tuning methods of electricity accent unit according to of the present invention.
As shown in Figure 5, the method for this embodiment may further comprise the steps:
Step S502 determines first frequency scope, first bandwidth and second bandwidth;
Step S504 in the first frequency scope, is that step units is carried out repeatedly wideband filtered to the output signal from frequency mixer with first bandwidth;
Step S506 determines the second frequency scope according to the result of wideband filtered repeatedly;
Step S508 in the second frequency scope, is that step units is carried out repeatedly narrow-band filtering to the output signal from frequency mixer with second bandwidth; And
Step S510 locks the frequency of electrically regulated filtering unit input signal according to the result of narrow-band filtering repeatedly; And behind locking frequency point, produce control signal and drive tuning motor and carry out tuning electrically regulated filtering unit by described baseband processing unit.
Before carrying out the step of wideband filtered, further comprising the steps of: as in the first frequency scope, to be that step units is that phase locked-loop unit is provided with a wideband filtered frequency, and to produce local oscillation signal corresponding to the wideband filtered frequency with first bandwidth at every turn; And frequency mixer is mixed down intermediate-freuqncy signal with the output signal of local oscillation signal and electrically regulated filtering unit.
The step of determining the second frequency scope is further comprising the steps of: calculate a plurality of performance numbers corresponding to a plurality of wideband filtered frequencies according to the intermediate-freuqncy signal after the wideband filtered, and determine the second frequency scope according to the maximum power value in a plurality of performance numbers.
Before carrying out the step of narrow-band filtering, further comprising the steps of: as in the second frequency scope, to be that step units is that phase locked-loop unit is provided with a narrow-band filtering frequency, and to produce local oscillation signal corresponding to the narrow-band filtering frequency with second bandwidth at every turn; And frequency mixer is mixed down intermediate-freuqncy signal with the output signal of local oscillation signal and electrically regulated filtering unit.
After the step of narrow-band filtering, further comprising the steps of: as to calculate a plurality of performance numbers according to the intermediate-freuqncy signal behind the narrow-band filtering, and determine locked frequency point according to the maximum power value in a plurality of performance numbers corresponding to a plurality of narrow-band filtering frequencies; Phase locked-loop unit produces local oscillation signal according to locked frequency point, and frequency mixer is mixed down intermediate-freuqncy signal with the output signal of local oscillation signal and electrically regulated filtering unit; And according to intermediate-freuqncy signal rated output size and with this performance number the difference of the maximum power value during with locked frequency point before this is that judgment condition is controlled tuning motor less than predetermined value, tuning to finish.
According to tuning methods of the present invention, the first frequency scope is the maximum frequency range of the input signal of a plurality of electrically regulated filtering units; First bandwidth is the bandwidth of broadband filter; And second bandwidth be the bandwidth of narrow band filter.
Fig. 6 is the locking frequency point flow chart according to the input power of the embodiment of the invention.
As shown in Figure 6, the frequency testing process is as follows:
The maximum of the forward direction coupled power 1 of a plurality of power input ports coupling by seeking the electrically regulated filtering system, each component of coupled power 2... coupled power n reaches frequency detecting.Suppose that electrically regulated filtering system applies scope is gsm system transmit frequency band 935MHz-960MHz, the gsm system frequency is spaced apart 200KHz, and the narrow band filter 406-3 among Fig. 4 elects 200KHz as.The frequency band range of supposing broadband filter is 2.2MHz, and the switch 406-1 of filtering assembled unit 406, switch 406-4 are in the 406-2 cascade and carry out carrying out power calculation at baseband processing unit 409 after the A/D sampling when beginning to detect, and keep intermediate object program.Frequency according to the bandwidth stepping PLL of broadband filter obtains the maximum of processing power, and then obtains the roughly frequency range of carrier wave after the repeated detection; Switch 406-1, switch 406-4 are in and do frequency again with narrow band filter 406-3 cascade and accurately lock then.Required detection number of times is 23 times altogether.If carry out frequency detecting with traditional narrow band filter then need detection 124 times.Detect frequency by such mode and greatly improved detection efficiency, also saved the memory space in the baseband processing unit 409, the purpose that reaches the quick lock in frequency and reduce cost.
Fig. 7 is the tuning flow chart according to the electrically regulated filtering system of the embodiment of the invention.
As shown in Figure 7, filtering assembled unit 406 is in the narrow band filter state after frequency detecting is finished, PLL unit 407 is optimized tuning process by more same carrier wave through the difference of the power coupling value before and after the electrically regulated filtering system after inserting correct frequency.
Above embodiment has solved the electrically regulated filtering system can't know that GSM base station carrier frequency disposes the fast detecting of the incoming carrier frequency under the occasion, used carrier extract circuit different from the past (as Coase tower loop, inverse modulation loop road etc.), make up the speed that improves the frequency detection with broadband filter and narrow band filter, and the frequency testing circuit and the power-sensing circuit of carrier wave unite two into one.Such apparatus and method have reached the purpose of simplifying the testing circuit structure and reducing system cost.
In sum, adopt method and apparatus of the present invention, under the situation that does not increase installation cost, shortened the system tuning time, reduced system complexity.But not only can be applicable to the occasion of electrically regulated filtering system and the communication of GSM carrier frequency, being more suitable for can't occasions for communication in electrically regulated filtering system and GSM carrier frequency.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.