Summary of the invention
In view of this, the receiver that main purpose of the present invention is to provide a kind of detection method of interference signal and possesses interference check function is to realize the detection of ACI/CCI.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of detection method of interference signal comprises:
Do not carry out in receiver the free time of transfer of data, carry out A and B:
The bandwidth of A, adjustment tuner is carried out the detection that adjacent-channel interference ACI and cochannel disturb CCI;
B, adjust the bandwidth of tuner according to the testing result of ACI/CCI, and the opening/closing state of ACI filter and CCI filter in the control demodulator;
Receive in receiver the time slicing of packet, receive packet.
Preferably, described A can comprise:
A1, the bandwidth of the two-way filter of tuner is changed to reference bandwidth;
A2, the wherein bandwidth of a path filter of transferring narrow described two-way filter keep the bandwidth of another path filter constant;
A3, judge whether to detect ACI,, carry out B if detect ACI according to the average power of the output signal of described two-way filter, otherwise, A4 carried out;
A4, further transfer the narrow described wherein bandwidth of a path filter;
A5, judge whether to detect CCI according to the average power of the output signal of described two-way filter.
Preferably, described A3 can comprise: if the ratio of the average power of the output signal of described another path filter and the described wherein average power of the output signal of a path filter is more than or equal to the first ratio threshold value that sets in advance, then judge and detect ACI, otherwise, judge not detect ACI;
Described A5 can comprise: if the ratio of the average power of the output signal of described another path filter and the described wherein average power of the output signal of a path filter is more than or equal to the second ratio threshold value that sets in advance, then judge and detect CCI, otherwise, judge not detect CCI;
The described first ratio threshold value that sets in advance is greater than the described second ratio threshold value that sets in advance.
Preferably, described A3 can comprise: if the difference of the average power of the output signal of described another path filter and the described wherein average power of the output signal of a path filter is more than or equal to first difference threshold that sets in advance, then judge and detect ACI, otherwise, judge not detect ACI;
Described A5 can comprise: if the difference of the average power of the output signal of described another path filter and the described wherein average power of the output signal of a path filter is more than or equal to second difference threshold that sets in advance, then judge and detect CCI, otherwise, judge not detect CCI;
Described first difference threshold that sets in advance is greater than described second difference threshold that sets in advance.
Preferably, described B can comprise:
When detecting ACI, transfer the bandwidth of the two-way filter of narrow described tuner, and open ACI filter in the demodulator, close the CCI filter in the demodulator;
When not detecting ACI and detecting CCI, the bandwidth of the two-way filter of tuner is adjusted to reference bandwidth, and open the CCI filter in the demodulator;
When not detecting ACI and CCI, the bandwidth of the two-way filter of tuner is adjusted to reference bandwidth.
Further, before described A, this method can comprise by volume: C, in the receiver opening initialization stage, carry out the initialization setting.
Preferably, the initialization setting among the described C is specially and carries out following operation:
C1, be written into the default setting of tuner frequencies, and the maximum of rf gain and baseband gain is set;
C2, be respectively and receive packet, start ACI and detect and start CCI and detect required operation and carry out the calibration of tuner bandwidth, and preserve the capacitor array coding after the calibration;
C3, the ADC target amplitude of demodulator is set, and adjusts the gain of tuner, and the gain of carrying out the path filter of automatic gain control AGC in tuner reaches target zone;
C4, adjust the bandwidth of tuner, carry out the detection of ACI/CCI, and adjust the bandwidth of filter, the opening/closing state of ACI filter and CCI filter in the control demodulator according to the testing result of ACI/CCI.
Can further comprise by volume after the described c4: c5, carry out AGC, and when detecting ACI, reset ADC target amplitude.
Preferably, the initialization setting among the described C is specially and carries out following operation:
C1 ', be written into the default setting of tuner frequencies, and the maximum of rf gain and baseband gain is set;
C2 ', be respectively and receive packet, start ACI and detect and start CCI and detect required operation and carry out the calibration of tuner bandwidth, and preserve the capacitor array coding after the calibration;
C3 ', the initial bandwidth of tuner is changed to reference bandwidth Ki doubly, described Ki is the parameter corresponding to the ACI pattern that sets in advance, the ADC target amplitude of demodulator is set, and adjust the gain of tuner, and the gain of carrying out the path filter of automatic gain control AGC in tuner reaches target zone;
C4 ', the bandwidth of tuner is adjusted into reference bandwidth.
Preferably, described c2 is specially and carries out following operation:
C21, the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner I path filter of CCI pattern, and preserves the capacitor array coding after the calibration;
C22, the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner Q path filter of CCI pattern, and preserves the capacitor array coding after the calibration;
C23, the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner Q path filter of ACI pattern, and preserves the capacitor array coding after the calibration;
C24, the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner I path filter of ACI pattern, and preserves the capacitor array coding after the calibration;
C25, the auto-bandwidth calibration value of tuner is changed to reference bandwidth, and preserves the capacitor array coding after the calibration.
Preferably, described c2 ' is specially and carries out following operation:
C21 ', the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner I path filter of CCI pattern, and preserves the capacitor array coding after the calibration;
C22 ', the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner Q path filter of CCI pattern, and preserves the capacitor array coding after the calibration;
C23 ', the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner Q path filter of ACI pattern, and preserves the capacitor array coding after the calibration;
C24 ', the auto-bandwidth calibration value of tuner is changed to bandwidth calibration value corresponding to the tuner I path filter of ACI pattern, and preserves the capacitor array coding after the calibration;
C25 ', the auto-bandwidth calibration value of tuner is changed to reference bandwidth, and preserves the capacitor array coding after the calibration.
Preferably, described receiver is: China Mobile multimedia broadcasting CMMB receiver, described reference bandwidth are 8MHz;
Transfer the bandwidth of a wherein path filter of narrow tuner to be among the described A2: the described wherein bandwidth of a path filter is set to less than described reference bandwidth, and satisfies condition:
(5/16) * absolute value>(the 1/8) * reference bandwidth of the difference of the bandwidth of reference bandwidth>two-way filter;
Described A4 is: the described wherein bandwidth of a path filter is set to less than (bandwidth of CCI deducts 400KHz).
Preferably, described receiver is: CMMB receiver, described reference bandwidth are 8MHz;
The described first ratio threshold value that sets in advance is 1.9, and the described second ratio threshold value that sets in advance is 1.7.
A kind of receiver that possesses interference check function comprises: tuner and demodulator also comprise: adjacent-channel interference ACI/ cochannel disturbs the CCI detection module;
Described tuner sends to described demodulator with the output signal of two-way filter;
Described demodulator carries out signal level to the output signal of described two-way filter and detects, and the result that signal level is detected sends to described ACI/CCI detection module;
Described ACI/CCI detection module, be used for not carrying out in the free time of transfer of data at receiver, adjust the bandwidth of tuner, the result who detects according to the signal level that is received from described demodulator carries out the detection of ACI/CCI, and adjust the bandwidth of described tuner, and control the opening/closing state of ACI filter and CCI filter in the described demodulator according to the testing result of ACI/CCI.
Preferably, can comprise in the described ACI/CCI detection module: the ACI/CCI detecting unit;
Described ACI/CCI detecting unit, be used for not carrying out in the free time of transfer of data at receiver, at first the bandwidth with the two-way filter of tuner is changed to reference bandwidth, transfer the wherein bandwidth of a path filter of narrow described two-way filter then, keep the bandwidth of another path filter constant, the result who detects according to the signal level that is received from described demodulator judges whether to detect ACI again, when detecting ACI, transfer the bandwidth of the two-way filter of narrow described tuner, and open ACI filter in the demodulator, close the CCI filter in the demodulator; When not detecting ACI, further transfer the narrow described wherein bandwidth of a path filter, and the result who detects according to the signal level that is received from described demodulator judges whether to detect CCI, when detecting CCI, the bandwidth of the two-way filter of tuner is adjusted to reference bandwidth, and open the CCI filter in the demodulator; When not detecting ACI and CCI, the bandwidth of the two-way filter of tuner is adjusted to reference bandwidth.
Further, can comprise in the described ACI/CCI detection module: initialization unit;
Described initialization unit was used in the receiver opening initialization stage, sent the instruction of carrying out the bandwidth calibration to tuner, after tuner is finished the bandwidth calibration, received and preserved by the capacitor array coding after the tuner calibration.
Described ACI/CCI detecting unit, can be further used for adjusting the bandwidth of tuner in the receiver opening initialization stage, the result who detects according to the signal level that is received from described demodulator carries out the detection of ACI/CCI, and adjust the bandwidth of described tuner, and control the opening/closing state of ACI filter and CCI filter in the described demodulator according to the testing result of ACI/CCI.
Described ACI/CCI detecting unit, the Ki that can be further used in the receiver opening initialization stage the initial bandwidth of the two-way filter of tuner being changed to reference bandwidth doubly, described Ki is the parameter corresponding to the ACI pattern that sets in advance, and be used at the end in opening initialization stage, the bandwidth of the two-way filter of tuner is adjusted into reference bandwidth.
May further include in the described receiver: automatic gain controller AGC and moving average MV;
Described AGC and MV utilize the output signal of described another path filter of described tuner to carry out automatic gain control and moving average is calculated;
Described ACI/CCI detecting unit utilizes the output signal of the two-way filter of described tuner to carry out the detection of ACI/CCI.
May further include in the described tuner: frequency shifter, I path filter and Q path filter;
May further include in the described demodulator: I road signal level detector and Q road signal level detector;
Described frequency shifter is used for the input signal shift frequency is arrived low-frequency range or low-frequency range, and the signal that obtains is exported to I path filter and Q path filter;
Described I path filter and Q path filter are low pass filter, are used for the output signal of I path filter is sent to described I road signal level detector, and the output signal of Q path filter is sent to described Q road signal level detector;
Described I road signal level detector is used to calculate the gross power of the output signal of I path filter, and sends to described ACI/CCI detecting unit;
Described Q road signal level detector is used to calculate the gross power of the output signal of Q path filter, and sends to described ACI/CCI detecting unit.
As seen from the above technical solution, the present invention by utilizing time slicing techniques characteristics and the frequency characteristics of ACI/CCI self, do not carry out in receiver free time of transfer of data the bandwidth of tuner being carried out suitable adjustment to carry out the detection of ACI/CCI, adjust the bandwidth of tuner then according to the testing result of ACI/CCI, and the opening/closing state of ACI filter and CCI filter in the control demodulator, to realize to ACI, the inhibition that CCI etc. disturb, when receiving packet, receiver still receives the operation of packet normally, thereby under the situation that does not influence the valid data transmission, detection and the inhibition of ACI/CCI have been realized.
Method provided by the invention need not the auxiliary of RFRSSI or BBRSSI module, also need not the auxiliary of digital filter, has simplified hardware designs, and has reduced integrated cost.And, the invention provides the scheme with AGC and MV algorithm compatibility, kept the simplification on the hardware designs, and, need not AGC and MV in the existing receiver are done any change.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
In the communications field, time slicing techniques is a kind of time-division multiplex technology, its operation principle is: transmitting terminal is with all data break into portions packing encapsulation, in some specific timeslices, transmit a packet to a certain receiving terminal, this packet will occupy the total data bandwidth separately in this timeslice, this packet also comprises the moment that next packet arrives simultaneously, for receiving terminal, only need receive next packet in the moment of packet regulation gets final product, in other idle times, then can do energy-efficient treatment, so the power consumption of handheld terminal will significantly reduce, and has reduced the power consumption of handheld terminal in a large number; Then have no effect for transmitting terminal, it can transmit data to other receiving terminals in the meantime, thereby makes full use of bandwidth, has improved efficiency of transmission.
Time slot is the least resource of dividing by the time in the time slicing techniques.For example: in China Mobile multimedia broadcasting (CMMB) system, be divided into 40 time slots with 1 second, each time slot accounts for 25ms.In well known to a person skilled in the art other broadcast system, according to the difference of agreement regulation, the definition of time slot size is also inequality.
Main thought of the present invention is: utilize the characteristics of time slicing techniques and the frequency characteristics of ACI/CCI self, do not carry out in receiver free time of transfer of data the bandwidth of tuner being carried out suitable adjustment to carry out the detection of ACI/CCI, adjust the bandwidth of tuner then according to the testing result of ACI/CCI, and the opening/closing state of ACI filter and CCI filter in the control demodulator, to realize to ACI, the inhibition that CCI etc. disturb, when need receiving packet, receiver still receives the operation of packet normally, thereby under the situation that does not influence the valid data transmission, realize detection and the inhibition of ACI/CCI.
In addition, in order to realize that ACI/CCI detects and have now inner existing automatic gain control of receiver (AGC:Automatic Gain Control) and moving average (MV:Moving Average) coexistence, the present invention proposes: the bandwidth of a wherein path filter of maintenance tuner is constant, utilize its output signal to carry out AGC and MV, and the bandwidth of another path filter of adjustment tuner, so that utilizing the output signal of the two-way filter of tuner to carry out ACI/CCI detects, thereby under the situation that does not influence AGC and MV, realize that ACI/CCI detects.
Fig. 2 carries out the method schematic diagram that ACI/CCI detects for the present invention utilizes free time in receiver.Fig. 2 is divided into three parts, and wherein: 2A partly is existing time slicing signal, 2B part and the 2C signal that partly to be the present invention further divide in burst inside sometime.Referring to the 2B part of Fig. 2, the present invention is defined as follows period on the basis of time slicing:
Ts: the valid data phase, be used to receive packet.
Tpt: open (Pre-turn on) phase in advance, be one period free time before the Ts.As previously mentioned, the expert holds terminal and will do energy-efficient treatment at one's leisure, some functions will be in sleep (sleep) state, therefore, Tpt was used for before each Ts begins, carry out the initialization operation that some wake (wake up) correlation function up, and carry out ACI/CCI detection of the present invention and inhibition.
The present invention specifically is divided into Tpt: Ti, Ta and Tm, wherein:
Ti: the initialization phase, be used to wake up the initialization operation of correlation function;
The Ta:ACI/CCI detection period is used to adjust the bandwidth of tuner, carries out ACI/CCI and detects;
Tm: pattern is provided with the phase, and the result that the ACI/CCI that is used for being carried out according to the ACI/CCI detection period detects carries out the pattern setting to receiver, comprises three kinds of patterns: ACI pattern, CCI pattern and general mode.These three kinds of patterns relate to the adjustment to the tuner bandwidth, and to the control of the opening/closing state of ACI filter in the demodulator and CCI filter.
The present invention divides the above-mentioned time period by concrete in Tpt, and according to logical order operation performed in each time period is set reasonably, makes relevant various operations to carry out in the time corresponding section, has improved the reasonability of the inventive method.
The length in above-mentioned each period can be provided with according to the needs of practical application.Only being applied to the CMMB receiver with the inventive method is example, and the length that Ti can be set is 5ms, and the length of Ta is 10ms, and the length of Tm is 1ms.
Referring to the 2C part of Fig. 2, in this part, only being applied to the CMMB receiver with the inventive method is example, further divides following period in the Ta:ACI/CCI detection period:
Tnom: reference bandwidth is provided with the phase, is used for the I path filter of tuner and the bandwidth of Q path filter are changed to reference bandwidth; That is: put I_BW=Q_BW=BW, wherein, I_BW represents the bandwidth of I path filter, and Q_BW represents the bandwidth of Q path filter, and BW represents reference bandwidth (Qi Wang signal bandwidth just).
The adjustment period of the Taci:ACI bandwidth, be used for the bandwidth of tuner median filter is adjusted, detect to carry out ACI.Particularly: transfer the wherein bandwidth of a path filter of narrow tuner, keep the bandwidth of another path filter constant.In this example, be example only with the bandwidth of dwindling the Q path filter:
The bandwidth of I path filter is set to reference bandwidth, for being different from the bandwidth of set I path filter in other period, the bandwidth table of the I path filter that this period is set is shown I_BWaci, and the bandwidth table of the Q path filter that this period is set is shown Q_BWaci.
Make Waci=abs (I_BWaci-Q_BWaci), that is: make that Waci is the absolute value of the bandwidth difference of I path filter and Q path filter, determine the value of Q_BWaci according to (1) formula and (2) formula:
(5/16)×BW>Waci>(1/8)×BW (1)
That is: (5/16) * BW>abs (I_BWaci-Q_BWaci)>(1/8) * BW (2)
(1) 5/16 and 1/8 in formula and (2) formula is the preferable span at the CMMB system recommendation, as long as the value of Q_BWaci is in by (1) formula and the determined scope of (2) formula.For example, suppose that reference bandwidth is 8MHz, the value of I_BWaci should be 8MHz so, and the span of Q_BWaci should be 5.5<Q_BWaci<7, Q_BWaci need be less than I_BWaci, and promptly the bandwidth value of Q path filter is less than the bandwidth value of I path filter.
Tavg1: be used to judge whether to detect ACI, and carry out corresponding setting according to judged result.Here, can judge according to the average power of the output signal of I path filter and Q path filter.Preferably, following dual mode can be arranged:
First kind of mode:
Make ACI_diff_amp=I_amp/Q_amp, wherein, I_amp represents the average power of the output signal of I path filter under current period, and Q_amp represents the average power of the output signal of Q path filter under current period; The unit of above-mentioned average power is Volt;
If ACI_diff_amp shows to detect ACI more than or equal to the first ratio threshold value that sets in advance, determine to set up the ACI pattern;
If ACI_diff_amp shows not detect ACI less than the first ratio threshold value that sets in advance, determine to set up normal mode or CCI pattern.
Here, the value of the first ratio threshold value can be provided with according to the needs of practical application.Only being applied to the CMMB receiver with the inventive method is example, and the value of the first ratio threshold value can be set to 1.9, promptly when ACI_diff_amp more than or equal to 1.9 the time, show to have detected ACI, otherwise, show not detect ACI.
Because ratio is a relative value, therefore, this mode has general applicability.
The second way:
Whether the difference of judging I_amp and Q_amp, shows to detect ACI if more than or equal to first difference threshold more than or equal to first difference threshold that sets in advance, and determines to set up the ACI pattern; Otherwise, show not detect ACI, determine to set up normal mode or CCI pattern.
Similarly, the value of first difference threshold also can be provided with according to the needs of practical application.Because difference is an absolute value, therefore, when adopting this mode, need possess suitable understanding to the application scenarios of reality, so that rational value is set.
The adjustment period of the Tcci:CCI bandwidth, be used for the bandwidth of tuner median filter is adjusted, detect to carry out CCI.In this example, be example still with the bandwidth of dwindling the Q path filter:
The bandwidth of I path filter is remained unchanged, further dwindle the bandwidth of Q path filter.
When specific implementation, suppose the bandwidth of known CCI, preferably, bandwidth that can the Q path filter is set to less than (bandwidth of CCI deducts 400KHz).Here, the bandwidth of the bandwidth-distance CCI of set filter is near more, and is more little to the slope (slope) of the decay of CCI, and rule of thumb value needs could guarantee to detect CCI existing under the situation of CCI more than the little 400KHz of bandwidth than CCI at least.
Still the CMMB that with the reference bandwidth is 8MHz is an example, and the bandwidth of CCI is 5.5MHz, and therefore, the bandwidth that can make the Q path filter is less than 5.1MHz.
For being different from the bandwidth of set I path filter in other period, the bandwidth table of the I path filter that this period is set is shown I_BWcci, and the bandwidth table of the Q path filter that this period is set is shown Q_BWcci.
Tavg2: be used to judge whether to detect CCI, and carry out corresponding setting according to judged result.Here, can judge according to the average power of the output signal of I path filter and Q path filter.With the above-mentioned mode that judges whether to detect ACI similar, the present invention also provides two kinds of preferable being used to judge whether to detect the mode of CCI:
First kind of mode:
Make CCI_diff_amp=I_amp/Q_amp, wherein, I_amp represents the average power of the output signal of I path filter under current period, and Q_amp represents the average power of the output signal of Q path filter under current period;
If CCI_diff_amp, shows not detect ACI less than the first ratio threshold value that sets in advance more than or equal to the second ratio threshold value that sets in advance and ACI_diff_amp, detect CCI, determine to set up the CCI pattern;
If CCI_diff_amp shows and does not both detect ACI less than the second ratio threshold value that sets in advance, do not detect CCI yet, determine to set up normal mode.
Here, the value of the second ratio threshold value can be provided with according to the needs of practical application.Only being applied to the CMMB receiver with the inventive method is example, and the value of the second ratio threshold value can be 1.7, promptly when CCI_diff_amp more than or equal to 1.7 the time, show to have detected CCI, otherwise, show not detect CCI.
Because ratio is a relative value, therefore, this mode has general applicability.
The second way:
Whether the difference of judging I_amp and Q_amp more than or equal to second difference threshold that sets in advance and less than first difference threshold, if, show to detect CCI, determine to set up the CCI pattern; Otherwise, show not detect CCI, determine to set up normal mode.
Similarly, the value of second difference threshold also can be provided with according to the needs of practical application.Because difference is an absolute value, therefore, when adopting this mode, need possess suitable understanding to the application scenarios of reality, so that rational value is set.
After detecting through the ACI/CCI of Ta:ACI/CCI detection period, will determine next to need to set up which kind of pattern, at Tm: pattern is provided with can carry out pattern in the following manner and set up in the phase:
Suppose to set up the ACI pattern, then: transfer the bandwidth of narrow tuner, open the ACI filter in the demodulator, and close the CCI filter in the demodulator.Preferably, can set in advance COEFFICIENT K, K<1, and be changed to the bandwidth that the K of reference bandwidth doubly transfers narrow tuner by bandwidth with tuner.
Suppose to set up the CCI pattern, then: the bandwidth of tuner is changed to reference bandwidth, and opens the CCI filter in the demodulator.
Suppose to set up general mode, then: the bandwidth of tuner is changed to reference bandwidth, and closes ACI filter in the demodulator and the CCI filter in the demodulator.
Between above-mentioned each period can between at regular intervals, also can before and after continuously, do not influence enforcement of the present invention.
More than the operation that needs to carry out in the free time of the present invention before receiving effective data packets is had been described in detail.The operation that the present invention is carried out in the process of receiving terminal opening initialization is elaborated below.
Introduce after the present invention, need in the opening initialization process, carry out some corresponding setting.The invention provides two kinds of opening initialization schemes: in the process of opening initialization, carry out the ACI/CCI detection and in the process of opening initialization, do not carry out the ACI/CCI detection.Below both of these case is elaborated respectively.
First kind of mode: in the process of opening initialization, carry out ACI/CCI and detect
Under this mode,, also will carry out the ACI/CCI detection in the process that operates in opening initialization performed in the phase according to above-mentioned the opening in advance of the present invention except carrying out the corresponding initialization operation according to existing opening initialization process.Adopt this mode, can in the process of opening initialization, just realize detection and inhibition, thereby improve the receptivity of receiver ACI/CCI.
Fig. 3 carries out the method schematic diagram that ACI/CCI detects for the present invention in the process of receiver opening initialization.Fig. 3 is divided into three parts, and wherein: 3A partly is the signal of initial phase and time slicing, the signal that 3B part and 3C partly further divide in initial phase inside for the present invention.Referring to the 3B part of Fig. 3, the present invention is defined as follows period in initial phase inside:
Tt_ini: tuner initialization and ACI/CCI detection period are used for tuner is carried out initialization, and carry out ACI/CCI and detect.
Td_ini: be existing one period in the prior art, be used to carry out demodulator initialization and synchronous.
The present invention specifically is divided into Tt_ini: Tde, T
BA, Tiag, Tdi and Tag, wherein:
Tde: be used to be written into the default setting of tuner frequencies, and the maximum of radio frequency/baseband gain is set.
T
BA: tuner bandwidth alignment epoch is used to the required operation of Normal/ACI/CCI pattern to carry out the calibration of tuner bandwidth, and preserves the capacitor array coding after the calibration.
Tiag: the ADC target amplitude of demodulator is set, and adjusts the gain of tuner, and carry out automatic gain control (AGC) and reach target zone until the gain of a path filter.According to top example, a described path filter should be the I path filter that bandwidth remains unchanged.
Tdi: adjust the bandwidth of tuner, carry out ACI/CCI and detect, and be that receiver is set up corresponding pattern (concrete grammar and above-mentioned Ta:ACI/CCI detection period, Tm: it is identical that pattern is provided with the phase, do not repeat them here) according to the testing result of ACI/CCI.
Tag: be existing one period in the prior art, be used to carry out automatic gain control, and ADC target amplitude is set detecting under the situation of ACI.
Referring to the 3C part of Fig. 3, in this part, only being applied to the CMMB receiver with the inventive method is example, at T
BA: further divide following period in the tuner bandwidth alignment epoch:
T
ICCI: carry out the calibration of tuner bandwidth, put Auto_BW=I_BWcci, and preserve the capacitor array coding after the calibration; Wherein, Auto_BW represents the auto-bandwidth calibration value of tuner, and I_BWcci represents the bandwidth calibration value corresponding to the tuner I path filter of CCI pattern.
When tuner carried out the auto-bandwidth calibration, (for example: 8MHz), this value was Auto_BW to need expected bandwidth value of input.Tuner can be adjusted capacitance parameter then, with band setting in the scope of hope, the process that tuner carries out the auto-bandwidth calibration is exactly to find out the variable that capacitance parameter changes, and remember this variable, when in ACI/CCI testing process subsequently, needing to use different bandwidth, can directly read and be provided with, need not to proofread and correct at every turn, thereby save the alignment time.I_BWcci is identical with the bandwidth of general mode usually.
T
QCCI: carry out the calibration of tuner bandwidth, put Auto_BW=Q_BWcci, and preserve the capacitor array coding after the calibration; Q_BWcci represents the bandwidth calibration value corresponding to the tuner Q path filter of CCI pattern.
T
QACI: carry out the calibration of tuner bandwidth, put Auto_BW=Q_BWaci, and preserve the capacitor array coding after the calibration; Q_BWaci represents the bandwidth calibration value corresponding to the tuner Q path filter of ACI pattern.
T
IACI: carry out the calibration of tuner bandwidth, put Auto_BW=I_BWaci, and preserve the capacitor array coding after the calibration; I_BWaci represents the bandwidth calibration value corresponding to the tuner I path filter of ACI pattern.
T
Norm: carry out the calibration of tuner bandwidth, put Auto_BW=BW, and preserve the capacitor array coding after the calibration; Reference bandwidth is the bandwidth calibration value corresponding to the tuner of general mode.
Second kind of situation: in the process of opening initialization, do not carry out ACI/CCI and detect
Under this mode, except carrying out supposing to exist ACI the corresponding initialization operation, and transfer the initial bandwidth of narrow tuner, open the ACI filter in the demodulator according to existing opening initialization process.The characteristics of this mode maximum are simple.Adopt this mode, be based on and have this hypothesis of ACI in the system, if there is not ACI in the real system, this mode will cause having some error codes after the opening initialization, but the time that this error code exists is very short, and degree is very limited, can ignore.
Fig. 4 does not carry out the method schematic diagram that ACI/CCI detects for the present invention in the process of receiver opening initialization.Fig. 4 is divided into two parts, and wherein: 4A partly is the signal of initial phase and time slicing, the signal that 4B partly further divides in initial phase inside for the present invention.Referring to the 4B part of Fig. 4, the present invention is defined as follows period in initial phase inside:
Tt_ini: tuner initialization and Interference Detection phase, be used for tuner is carried out initialization, and carry out Interference Detection.
Td_ini: be existing one period in the prior art, be used to carry out demodulator initialization and synchronous.
The present invention specifically is divided into Tt_ini: Tde and T
BA, and be set the Tsync_BWn phase at the end of initial phase, wherein:
Tde: be used to be written into the default setting of tuner frequencies, and the maximum of radio frequency/baseband gain is set.
T
BA: tuner bandwidth alignment epoch is used to the required operation of Normal/ACI/CCI pattern to carry out the calibration of tuner bandwidth, and preserves the capacitor array coding after the calibration.Wherein, at T
BA: the period of further dividing in the tuner bandwidth alignment epoch is same as shown in Figure 3, does not repeat them here.
Tiag_n: the initial bandwidth BWini of tuner is changed to Ki*BW, wherein, is example with CMMB, puts BWini=BWaci or BWini is changed to littler value, for example: 1MHz; The ADC target amplitude of demodulator is set, and adjusts the gain of tuner, and carry out AGC and reach target zone until the gain of I path filter.
Tsync_BWn: bandwidth is changed to bandwidth under the general mode.
Fig. 5 is for being applied to ACI/CCI detection method of the present invention the principle schematic of communication system.Communication system shown in Figure 5 comprises transmitting terminal and receiving terminal, and wherein, receiving terminal comprises: receiver and upper system.Upper system is used for the data after handling through receiver are carried out subsequent treatment.Interference detection method provided by the invention is implemented in receiver shown in Figure 5.Comprise in this receiver: tuner 510, demodulator 520, and the ACI/CCI detection module 530 of the present invention's introducing.The operation principle of receiver shown in Figure 5 is:
Signal produces I road and Q road two-way low frequency signal by behind the tuner 510, sends to demodulator 520, and wherein the phase phasic difference of I, Q two-way low frequency signal is 90 °;
Demodulator 520 is used for the signal level detection is carried out on the I road of coming self-tuner 510 and Q road signal, and the result that signal level is detected sends to ACI/CCI detection module 530;
ACI/CCI detection module 530, be used for not carrying out in the free time of transfer of data at receiver, adjust the bandwidth of tuner, the result who detects according to the signal level that is received from demodulator 520 carries out the ACI/CCI detection, and adjust the bandwidth of tuner 510, and control the opening/closing state of ACI filter and CCI filter in the described demodulator 520 according to the testing result of ACI/CCI.
In order to strengthen the compatibility of technical solution of the present invention and existing receiver, need to consider how to realize that ACI/CCI of the present invention detects and the coexistence that has inner existing AGC of receiving terminal and MV now.For this reason, the present invention proposes: the bandwidth of a wherein path filter of maintenance tuner is constant, utilize its output signal to carry out AGC and MV, and adjust the bandwidth of another path filter of tuner, detect so that utilize the output signal of the two-way filter of tuner to carry out ACI/CCI.The technical scheme that the present invention proposes can realize by software or hardware mode, and be implemented in the hardware of receiving terminal.
Fig. 6 shows the receiver of ACI/CCI detection module of the present invention and AGC and MV coexistence and forms structural representation.In the receiver shown in Figure 6 except that comprising tuner 510, demodulator 520 and ACI/CCI detection module 530, also comprise: automatic gain control 633 and moving average 634, and, further comprise in the ACI/CCI detection module 530: ACI/CCI detecting unit 631 and initialization unit 632.Among Fig. 6:
AGC (633) and MV (634) except the length (that is: corresponding fast/slow MV) that changes sliding window, can not do any change, still carry out corresponding operation according to its existing separately operation principle.
Tuner 510 and demodulator 520 will be elaborated by Fig. 7.
ACI/CCI detecting unit 631, be used for not carrying out in the free time of transfer of data at receiver, at first the bandwidth with the two-way filter of tuner 510 is changed to reference bandwidth, transfer the wherein bandwidth of a path filter of narrow described two-way filter then, keep the bandwidth of another path filter constant, the result who detects according to the signal level that is received from demodulator 520 judges whether to detect ACI again, when detecting ACI, transfer the bandwidth of the two-way filter of narrow tuner 510, and open ACI filter in the demodulator 520, close the CCI filter in the demodulator 520; When not detecting ACI, further transfer the narrow described wherein bandwidth of a path filter, and the result who detects according to the signal level that is received from demodulator 520 judges whether to detect CCI, when detecting CCI, the bandwidth of the two-way filter of tuner 510 is adjusted to reference bandwidth, and open the CCI filter in the demodulator 520; When not detecting ACI and CCI, the bandwidth of the two-way filter of tuner 510 is adjusted to reference bandwidth.Its operation principle is corresponding to accompanying drawing 2 of the present invention and corresponding explanatory note thereof.
Initialization unit 632 is used for carrying out initialization operation after the receiver start, sends the instruction of carrying out the bandwidth calibration to tuner 510, after tuner is finished the bandwidth calibration, receives and preserves by the capacitor array coding after tuner 510 calibrations.Specifically comprise two kinds of situations as shown in Figure 3 and Figure 4, do not repeat them here.
Fig. 7 is the operation principle schematic diagram of tuner in the receiver of the present invention and demodulator.Referring to Fig. 7, comprise in the tuner 510: frequency shifter 711, I path filter 712 and Q path filter 713 comprise in the demodulator 520: I road signal level detector 721, Q road signal level detector 722 and digital processing unit 723.Wherein:
Frequency shifter 711 is used for input signal is carried out shift frequency, and shift frequency arrives than low-frequency range or higher frequency band, and the signal that obtains is exported to I path filter 712 and Q path filter 713;
I path filter 712 and Q path filter 713 are low pass filter, be used for input signal is carried out filtering, the quality and the inhibition zone that guarantee inband signaling are as far as possible disturbed outward, that is: the quality that guarantees the inband signaling in its output signal as far as possible is suitable with the signal quality of input frequency shifter 711, and make band in its output signal outer disturb with the band of input frequency shifter 711 outer disturb to compare greatly suppressed; Simultaneously, the high-frequency signal that produced of I path filter 712 and Q path filter 713 filtering frequency shifters 711.
Input signal is divided into two paths of signals through after the processing of tuner 510, and wherein one road signal is exported to I road signal level detector 721 by I path filter 712, and another road signal is exported to Q road signal level detector 722 by Q path filter 713.There is 90 ° phase deviation between the output signal of I path filter 712 and Q path filter 713.
By the processing of above-mentioned tuner 510, the useful signal in the input signal is amplified, and make interference signal (for example: ACI) suppressed greatly.The outer interference of the band of input tuner is many more, and the outer effects of jamming of the inhibition zone that tuner can be obtained is remarkable more.
Among Fig. 7, I road signal level detector 721 is used to calculate the gross power of the output signal of I path filter 712, and sends to described ACI/CCI detecting unit 631;
Q road signal level detector 722 is used to calculate the gross power of the output signal of Q path filter 713, and sends to described ACI/CCI detecting unit 631;
Digital processing unit 723 is used for the signal of I road signal level detector 721 and Q road signal level detector 722 is carried out demodulation, and exports to upper system.Upper system is used for according to prior art the data after handling through receiver being carried out subsequent treatment.
Below in conjunction with accompanying drawing, to interference detection method provided by the present invention how with existing receiver in MV and AGC coexistence describe.
Fig. 8 concerns schematic diagram for the work schedule between each module in the receiver of the present invention.Referring to Fig. 8, wherein:
B9 corresponds to the Tpt of the present invention definition: open the phase in advance, B10 is corresponding to Ts: the valid data phase.Sequential relationship among the B9 is:
Bandwidth at B0 and B1 I path filter and Q path filter is set to reference bandwidth BW at first respectively, and wherein, the output signal of I path filter is used at B2 not with the quick moving average of AGC, and the I_amp that obtains at B2 is respectively applied for B3 and B4;
At B3, to the I_amp of B2 output quick moving average with AGC; Its output feeds back to the I path filter, and sends to B7;
At B4, utilize the output signal of Q path filter and the I_amp of B2 output to carry out the ACI detection, if the result that ACI detects represents to exist ACI, then enter B6, otherwise, enter B5;
At B5, owing to do not detect ACI, so the bandwidth of I path filter and Q path filter is set to the bandwidth corresponding to general mode: BWnormal, and setting is corresponding to the ADC target amplitude of the demodulator of general mode;
At B6, owing to detect ACI, so the bandwidth of I path filter and Q path filter is set to BW
ACI, and setting is corresponding to the ADC target amplitude of the demodulator of ACI pattern;
The output of B5 and B6 sends to B7;
At B7, with the moving average at a slow speed of AGC;
At B8, to the effective data packets that receives during the B10 moving average at a slow speed with AGC.
After the ACI detection is finished, B3 will enter B7, and before the ACI detection was not finished, still with the quick MV of AGC, at this moment, MV did not turn off, and just the length of MV shortens, and the reflection time of AGC accelerates, and helps dwindling the activity duration that ACI detects.
Fig. 9 carries out the principle schematic of fast/slow moving average in receiver for the present invention.Referring to Fig. 9:
L (t
1), L (t
2) ... L (t
N) the expression input signal;
N
FastAnd N
SlowBe respectively the quick moving average parameter that sets in advance and moving average parameter at a slow speed, and N
Fast<N
Slow
Moving average is fast: with the sliding window size is N
FastInput signal is carried out moving average;
Moving average is at a slow speed: with the sliding window size is N
SlowInput signal is carried out moving average;
According to the input the selection signal, with the result of quick moving average or at a slow speed the result of moving average outwards import, shown in I_Avg.
As seen from the above-described embodiment, the present invention by utilizing time slicing techniques characteristics and the frequency characteristics of ACI/CCI self, do not carry out in receiver free time of transfer of data the bandwidth of tuner being carried out suitable adjustment to carry out the detection of ACI/CCI, adjust the bandwidth of tuner then according to the testing result of ACI/CCI, and the opening/closing state of ACI filter and CCI filter in the control demodulator, to realize to ACI, the inhibition that CCI etc. disturb, when receiving packet, receiver still receives the operation of packet normally, thereby under the situation that does not influence the valid data transmission, detection and the inhibition of ACI/CCI have been realized.
Method provided by the invention need not the auxiliary of RFRSSI or BBRSSI module, also need not the auxiliary of digital filter, has simplified hardware designs, and has reduced integrated cost.And, the invention provides the scheme with AGC and MV algorithm compatibility, kept the simplification on the hardware designs, and, need not AGC and MV in the existing receiver are done any change.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.