Summary of the invention
The invention provides a kind of receiver signal method for evaluating quality and device, cannot the problem of reflected signal quality information accurately in order to solve.
First aspect of the present invention is to provide a kind of receiver signal method for evaluating quality, comprising:
Obtain Received signal strength, described Received signal strength is the format conversion signal of time-domain signal or time-domain signal;
By described Received signal strength by band pass filter, obtain pilot signal;
According to described pilot signal, determine the signal quality of described Received signal strength.
Optionally, described signal quality is signal to noise ratio.
Optionally, described according to described pilot signal, determine the signal quality of described Received signal strength, comprising:
Described pilot signal is divided into two paths of signals, and described two paths of signals comprises first via signal and the second road signal;
By described first via signal by the first power calculator, obtain pilot signal power;
By described second road signal by trapper and the second power calculator, obtain signal noise power;
Described pilot signal power and described signal noise power are passed through snr computation device, obtains described signal to noise ratio.
Optionally, described first power calculator, comprising: the first squarer, the first multiplier, first adder, the second multiplier, second adder, the first delayer;
Described first via signal inputs described multiplier by described first squarer and is multiplied with controlling elements F, obtain the first instantaneous power, described first instantaneous power is added with the second instantaneous power and obtains described pilot power, described second instantaneous power is that described controlling elements and unit 1 input described second adder, the result that (1-F) factor obtained is multiplied with the second instantaneous power by described first delayer, described second instantaneous power is a front instantaneous power of described first instantaneous power;
Described second power calculator, comprising: the second squarer, the 3rd multiplier, the 3rd adder, the 4th multiplier, the 4th adder, the second delayer;
Be multiplied with controlling elements F by described 3rd multiplier of described second squarer input by the described second road signal of described trapper, obtain the 3rd instantaneous power, described 3rd instantaneous power is added with the 4th instantaneous power and obtains described signal noise power, described 4th instantaneous power is that described controlling elements and unit 1 input described 4th adder, the result that (1-F) factor obtained is multiplied with the 4th instantaneous power by described second delayer, described 4th instantaneous power is a front instantaneous power of described 3rd instantaneous power.
Optionally, described by described Received signal strength by band pass filter, before obtaining pilot signal, also comprise:
Described Received signal strength is turned frequency domain device by time domain, obtains frequency-region signal.
Optionally, described described Received signal strength is turned frequency domain device by time domain, obtains frequency-region signal, comprising:
According to described Received signal strength, determine the phase place of described Received signal strength;
By the described phase place of described Received signal strength by difference engine, determine the differential phase of described Received signal strength.
Second aspect of the present invention is to provide a kind of receiver signal quality assessment device, comprising:
Receiver, for obtaining Received signal strength, described Received signal strength is the format conversion signal of time-domain signal or time-domain signal;
Band pass filter, for described Received signal strength is passed through described band pass filter, obtains pilot signal;
Processor, for according to described pilot signal, determines the signal quality of described Received signal strength.
Optionally, described signal quality is signal to noise ratio.
Optionally, described processor, comprising: trapper, power calculator and snr computation device;
Described processor, specifically for described pilot signal is divided into two paths of signals, described two paths of signals comprises first via signal and the second road signal; By described first via signal by the first power calculator, obtain pilot signal power; By described second road signal by trapper and the second power calculator, obtain signal noise power; Described pilot signal power and described signal noise power are passed through snr computation device, obtains described signal to noise ratio.
Optionally, described first power calculator, comprising: the first squarer, the first multiplier, first adder, the second multiplier, second adder, the first delayer;
Described first via signal inputs described multiplier by described first squarer and is multiplied with controlling elements F, obtain the first instantaneous power, described first instantaneous power is added with the second instantaneous power and obtains described pilot power, described second instantaneous power is that described controlling elements and unit 1 input described second adder, the result that (1-F) factor obtained is multiplied with the second instantaneous power by described first delayer, described second instantaneous power is a front instantaneous power of described first instantaneous power;
Described second power calculator, comprising: the second squarer, the 3rd multiplier, the 3rd adder, the 4th multiplier, the 4th adder, the second delayer;
Be multiplied with controlling elements F by described 3rd multiplier of described second squarer input by the described second road signal of described trapper, obtain the 3rd instantaneous power, described 3rd instantaneous power is added with the 4th instantaneous power and obtains described signal noise power, described 4th instantaneous power is that described controlling elements and unit 1 input described 4th adder, the result that (1-F) factor obtained is multiplied with the 4th instantaneous power by described second delayer, described 4th instantaneous power is a front instantaneous power of described 3rd instantaneous power.
Optionally, also comprise: time domain turns frequency domain device;
Described time domain turns frequency domain device, for described Received signal strength is turned frequency domain device by described time domain, obtains frequency-region signal.
Optionally, described time domain turns frequency domain device, specifically for according to described Received signal strength, determines the phase place of described Received signal strength; By the described phase place of described Received signal strength by difference engine, determine the differential phase of described Received signal strength.
Receiver signal method for evaluating quality provided by the invention and device, by obtaining Received signal strength, wherein, this Received signal strength is the format conversion signal of time-domain signal or time-domain signal; Then, by Received signal strength by band pass filter, pilot signal is obtained; Then, according to pilot signal, determine the signal quality of Received signal strength.Achieve the signal quality obtained in frequency domain, thus can reflected signal quality information accurately.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The receiver signal method for evaluating quality that the embodiment of the present invention provides can be applied to FM receiver when needing output signal according to the signal quality determination receiver of Received signal strength.The receiver signal quality assessment device that the present embodiment provides can adopt the mode of software and/or hardware to realize.The receiver signal method for evaluating quality provided the present embodiment below and device are described in detail.
Fig. 1 is the schematic flow sheet of inventive receiver signal quality evaluating method one embodiment, and as shown in Figure 1, the executive agent of the present embodiment can be receiver signal quality assessment device, and this receiver signal method for evaluating quality, comprising:
Step 101, acquisition Received signal strength.
In the present embodiment, this Received signal strength is the format conversion signal of time-domain signal or time-domain signal.
Step 102, by this Received signal strength by band pass filter, obtain pilot signal.
For example, by Received signal strength by after band pass filter process, the pilot signal of 19KHz can be obtained.
Step 103, according to pilot signal, determine the signal quality of Received signal strength.
It should be noted that, signal quality in the present embodiment can be received signal strength indicator (Received Signal Strength Indicator, be called for short RSSI) factor, or, signal to noise ratio (the Signal-to-Noise Ratio of Received signal strength, be called for short SNR), do not limit concrete signal quality at this.
For example, pilot signal is divided into two-way pilot signal, wherein, this two paths of signals can comprise first via signal and the second road signal; Then, by first via signal by the first power calculator, pilot signal power is obtained; Meanwhile, by the second road signal by trapper and the second power calculator, obtain signal noise power; Pilot signal power and signal noise power are passed through snr computation device, obtains signal to noise ratio.
In the present embodiment, by obtaining Received signal strength, wherein, this Received signal strength is the format conversion signal of time-domain signal or time-domain signal; Then, by Received signal strength by band pass filter, pilot signal is obtained; Then, according to pilot signal, determine the signal quality of Received signal strength.Achieve the signal quality obtained in frequency domain, thus can reflected signal quality information accurately.
Fig. 2 is the schematic flow sheet of another embodiment of inventive receiver signal quality evaluating method, Fig. 3 is the signal flow diagram of another embodiment of inventive receiver signal quality evaluating method, Fig. 4 is the amplitude-frequency response figure of the channel model of inventive receiver signal quality evaluating method one embodiment, Fig. 5 is the amplitude-frequency response figure of the band pass filter of inventive receiver signal quality evaluating method one embodiment, Fig. 6 is the amplitude-frequency response figure of the trapper of inventive receiver signal quality evaluating method one embodiment, Fig. 7 is the structural representation of the first power calculator of inventive receiver signal quality evaluating method one embodiment, as shown in Figures 2 and 3, this receiver signal method for evaluating quality, the executive agent of the present embodiment can be receiver signal quality assessment device, specifically can comprise:
Step 201, acquisition Received signal strength.
In the present embodiment, this Received signal strength is time-domain signal, and such as, this Received signal strength comprises: time-domain I sample signal and time-domain Q sample signal.
Step 202, by Received signal strength by channel model, obtain the Received signal strength that filter out-band is disturbed outward.
For example, this channel model can be low pass filter, and as shown in Figure 4, the passband of this low pass filter is 75KHz.
Step 203, Received signal strength is turned frequency domain device by time domain, obtain frequency-region signal.
For example, according to Received signal strength, determine the phase place of Received signal strength, then, by the phase place of Received signal strength by difference engine, determine the differential phase of Received signal strength.
Step 204, by this Received signal strength by band pass filter, obtain pilot signal.
As shown in Figure 5, the center frequency point of this band pass filter is 19KHz, and this band pass filter does not leach the part component of left and right acoustic channels and signal (L+R) and left and right acoustic channels difference signal (L-R) again while pilot signal can being leached.
Step 205, pilot signal is divided into two paths of signals.
In the present embodiment, this two-way pilot signal can comprise first via signal and the second road signal.
Step 206, by first via signal by the first power calculator, obtain pilot signal power;
In the present embodiment, as shown in Figure 7, this first power calculator, comprising power calculator: the first squarer, the first multiplier, first adder, the second multiplier, second adder, the first delayer; Described first via signal inputs described multiplier by described first squarer and is multiplied with controlling elements F, obtain the first instantaneous power, described first instantaneous power is added with the second instantaneous power and obtains pilot power, described second instantaneous power is that described controlling elements and unit 1 input described second adder, the result that (1-F) factor obtained is multiplied with the second instantaneous power by the first delayer, described second instantaneous power is a front instantaneous power of described first instantaneous power; It should be noted that, controlling elements F is by Register Set, and the unit of controlling elements is, 0<F<1, and controlling elements determine convergence rate and the computational accuracy of the power calculation of this power calculator.
Step 207, by the second road signal by trapper and power calculator, obtain signal noise power.
Second power calculator, comprising: the second squarer, the 3rd multiplier, the 3rd adder, the 4th multiplier, the 4th adder, the second delayer;
Be multiplied with controlling elements F by described 3rd multiplier of described second squarer input by the described second road signal of described trapper, obtain the 3rd instantaneous power, described 3rd instantaneous power is added with the 4th instantaneous power and obtains described signal noise power, described 4th instantaneous power is that described controlling elements and unit 1 input described 4th adder, the result that (1-F) factor obtained is multiplied with the 4th instantaneous power by described second delayer, described 4th instantaneous power is a front instantaneous power of described 3rd instantaneous power.
Power calculator in the present embodiment and the power calculator structure and working principle shown in Fig. 7 similar, this is no longer going to repeat them.
In the present embodiment, as shown in Figure 6, to the amplitude-frequency response of this trapper object the pilot tone of 19KHz filtered.
Step 208, by pilot signal power and signal noise power by snr computation device, obtain signal to noise ratio.
In the present embodiment, obtain SNR according to following formula, i.e. SNR=10*log10 (S/N); Wherein,
S is pilot signal power, and N is pilot signal noise power.
Optionally, snr computation device export SNR can input noise than corrector, in order to obtain revised SNR.
It should be noted that, because SNR result of calculation in the present embodiment is comparatively accurate, the difference in other words and between the SNR of reality is comparatively constant, does not therefore arrange signal to noise ratio corrector in the present embodiment.
It should be noted that, signal quality in the present embodiment can be received signal strength indicator (Received Signal Strength Indicator, be called for short RSSI) factor, or, the signal to noise ratio (Signal-to-Noise Ratio is called for short SNR) of Received signal strength, does not limit concrete signal quality at this, the present embodiment is only signal to noise ratio with signal quality for example is described, but is not limited successively.
Fig. 8 is the effect schematic diagram of inventive receiver signal quality evaluating method, as shown in Figure 8, the design sketch of the receiver signal method for evaluating quality using the present invention to propose in FM receiver, wherein abscissa is actual system signal noise ratio, and the longitudinal axis is frequency domain signal-to-noise ratio (SNR) estimation value.Visible, the frequency domain signal to noise ratio fluctuation estimated is less, comparatively accurately.
In the present embodiment, achieve the signal quality obtained in frequency domain, thus can reflected signal quality information accurately.
Fig. 9 is the structural representation of inventive receiver Signal quality assessment device one embodiment, and as shown in Figure 9, this receiver signal quality assessment device, comprising: receiver 91, band pass filter 92 and processor 93; Wherein, receiver 91, for obtaining Received signal strength, described Received signal strength is the format conversion signal of time-domain signal or time-domain signal; Band pass filter 92, for described Received signal strength is passed through described band pass filter, obtains pilot signal; Processor 93, for according to described pilot signal, determines the signal quality of described Received signal strength.
In the present embodiment, by obtaining Received signal strength, wherein, this Received signal strength is the format conversion signal of time-domain signal or time-domain signal; Then, by Received signal strength by band pass filter, pilot signal is obtained; Then, according to pilot signal, determine the signal quality of Received signal strength.Achieve the signal quality obtained in frequency domain, thus can reflected signal quality information accurately.
Optionally, the signal quality in the present embodiment is signal to noise ratio.
Processor 93, comprising: trapper, power calculator and snr computation device;
Described processor, specifically for described pilot signal is divided into two paths of signals, described two paths of signals comprises first via signal and the second road signal; By described first via signal by the first power calculator, obtain pilot signal power; By described second road signal by trapper and the second power calculator, obtain signal noise power; Described pilot signal power and described signal noise power are passed through snr computation device, obtains described signal to noise ratio.
Optionally, the first power calculator, comprising: the first squarer, the first multiplier, first adder, the second multiplier, second adder, the first delayer;
Described first via signal inputs described multiplier by described first squarer and is multiplied with controlling elements F, obtain the first instantaneous power, described first instantaneous power is added with the second instantaneous power and obtains pilot power, described second instantaneous power is that described controlling elements and unit 1 input described second adder, the result that (1-F) factor obtained is multiplied with the second instantaneous power by the first delayer, described second instantaneous power is a front instantaneous power of described first instantaneous power; Second power calculator, comprising: the second squarer, the 3rd multiplier, the 3rd adder, the 4th multiplier, the 4th adder, the second delayer;
Be multiplied with controlling elements F by described 3rd multiplier of described second squarer input by the described second road signal of described trapper, obtain the 3rd instantaneous power, described 3rd instantaneous power is added with the 4th instantaneous power and obtains described signal noise power, described 4th instantaneous power is that described controlling elements and unit 1 input described 4th adder, the result that (1-F) factor obtained is multiplied with the 4th instantaneous power by described second delayer, described 4th instantaneous power is a front instantaneous power of described 3rd instantaneous power.
Figure 10 is the structural representation of another embodiment of inventive receiver Signal quality assessment device, and as shown in Figure 10, on the basis of above-described embodiment, this device, can also comprise: time domain turns frequency domain device 94;
Described time domain turns frequency domain device 94, for described Received signal strength is turned frequency domain device by described time domain, obtains frequency-region signal.
Optionally, this time domain turns frequency domain device 94, specifically for according to described Received signal strength, determines the phase place of described Received signal strength; By the described phase place of described Received signal strength by difference engine, determine the differential phase of described Received signal strength.
In the present embodiment, achieve the signal quality obtained in frequency domain, thus can reflected signal quality information accurately.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.