Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
In one embodiment, as shown in Figure 1, providing a kind of signal processing method, include the following steps:
S10, the FFT processing result that signal carries out broadband is obtained;
Specifically, S10 includes:
Frequency band within the scope of predeterminated frequency is divided into multiple channels by intermediate-frequency bandwidth;
FFT processing is carried out to the signal in each channel, obtains FFT processing result.
In the present embodiment, FFT(Fast Fourier Transformation) it is the quick of discrete fourier transform (DFT)
Algorithm.As fast Fourier transform.It is the characteristics such as odd, even, empty, real according to discrete fourier transform, is become to discrete Fourier
The algorithm changed improves acquisition.According to the setting of initial frequency and termination frequency, frequency band is divided by intermediate-frequency bandwidth.
For example, predeterminated frequency range can be 10kHz to 8GHz, intermediate-frequency bandwidth can be 40MHz, and in the case, which can draw
It is divided into 200 channels.Channel is exactly certain type of signal, each one section of bandwidth occupied.For example the bandwidth of FM signal is
100kHz, that can just be divided into altogether 200 channels from 80MHz to 100MHz.
FFT processing is carried out to the signal in each channel, obtains FFT processing result.FFT processing result includes more at this time
A frequency point position and its corresponding amplitude.
S20, the position of big signal is determined according to the FFT processing result, and obtains the amplitude and frequency point of the big signal
Position;
Specifically, step S20 includes:
Low-pass filtering carried out to FFT treated signal, interception is made an uproar the signal of designated magnitude on bottom, and the signal that will be truncated is true
It is set to big signal, and records amplitude and the frequency point position of the big signal.
In the present embodiment, the method for determining big signal includes: to carry out low-pass filtering to FFT treated signal, and interception is made an uproar
The signal of designated magnitude on bottom, the signal that will be truncated are determined as big signal.In some cases, big signal is referred to as
Useful signal.Designated magnitude can be set according to actual needs, such as can be set to 10dB.Each frequency point position corresponding one
A amplitude.
After the position of the big signal of determination, amplitude and the frequency point position of big signal are recorded.In some cases, frequency point position
Setting can also be indicated with frequency values.Frequency point can refer to specific absolute frequency value.The generally centre frequency of modulated signal,
The number of fixed frequency can be showed.
S30, attenuator is adjusted according to the amplitude of peak signal in the big signal, so that peak signal is in intermediate-freuqncy signal
The best test scope of processing board;
Optionally, step S30 includes:
When determination needs regulated attenuator, peak signal is adjusted, and control peak signal adjusted and be at intermediate-freuqncy signal
In the optimal input range for managing plate;
Judge whether signal amplitude adjusted matches with adjustment multiple;
If matching, illustrates that peak signal is in the best test scope of IF signal processing plate;
If mismatching, pad value is improved, until signal amplitude adjusted matches or attenuator reaches most with multiple is adjusted
High pad value.
Wherein it is determined that needing the condition of regulated attenuator to include:
Signal is in be measured for the first time;Or,
The Magnitude Difference of the amplitude of current demand signal and the amplitude of the signal of last measurement is greater than or equal to predetermined amplitude threshold value.
In the present embodiment, the maximum signal of amplitude is chosen in big signal as peak signal.And by peak signal
Adjustment, so that signal is in best test scope.The adjustment mode of attenuator is divided into two kinds of situations.
Such as the first situation, when measuring first time, then with current peak signal and some most preferably test signal (such as ring
Bottom is made an uproar in 0dBuV in border, and maximum 80dBuV is the optimization process range of IF signal processing plate) it is compared, it is declined by control
Subtract device or amplifier to control peak signal in the optimal input range of IF signal processing plate.Before comparing attenuator setting
Magnitude Difference afterwards, judges whether the variation of amplitude linearly converts.For example, attenuator be set as decaying to original two/
One, if the amplitude of the peak signal measured is also original half, illustrate that the variation of amplitude linearly converts.Change sentence
Words are said, are exactly that signal amplitude adjusted is matched with adjustment multiple.At this point, illustrating that signal is not distorted and signal amplitude is best
Test scope.For another example, attenuator is set as decaying to original one third, if the amplitude of the peak signal measured is original
Half, then illustrate the variation of amplitude in nonlinear transformation.It in other words, is exactly signal amplitude adjusted and adjustment times
Number mismatches.At this point, illustrating distorted signals and signal amplitude is not in best test scope.
Signal amplitude adjusted is not matched with adjustment multiple, then pad value is first continued growing, until reaching maximum attenuation
Until value or signal amplitude adjusted are matched with adjustment multiple.
In another scenario, signal is not to measure for the first time, can be current signal amplitude with the amplitude of previous field
It is compared, calculates Magnitude Difference, if Magnitude Difference is more than predetermined amplitude threshold value, repeat the processing of the first situation.Default width
Degree threshold value can be set to 10dB.When amplitude deficient change ± 10dB, regulated attenuator is not needed, next frequency point is directly carried out
Measurement.
S40, it is handled, is obtained by the FFT that narrow band filter carries out narrowband to the frequency point of small signal in down-sampled situation
The amplitude of small signal and frequency point position;
Specifically, step S40 includes:
The narrow band filter of radio frequency leading portion is opened, while reducing the sample rate of intermediate frequency, the frequency point in non-large signal region domain is carried out narrow
Band fft analysis;
Judge whether the amplitude of the frequency point in non-large signal region domain is greater than small signal threshold;
If not the amplitude of the frequency point in large signal region domain is greater than small signal threshold, then the frequency point is labeled as small signal, and record small
The amplitude of signal and frequency point position.
In the present embodiment, the narrow band filter of radio frequency (English is represented by RF) front end is opened, while reducing adopting for intermediate frequency
Sample rate carries out narrowband fft analysis to the frequency point in non-large signal region domain, and whether the amplitude for judging whether there is frequency point is greater than small signal threshold
Value.If not the amplitude of the frequency point in large signal region domain is greater than small signal threshold, then the frequency point is labeled as small signal.And record small letter
Number amplitude and frequency point location information.Small signal threshold can be set according to actual needs, such as can be set to 10dB.It can
Will make an uproar by converting to narrow band filter and sample rate, bottom reduces 20-30dB, is conducive to small signal amplitudes and frequency
The test of point and label.
S50, when and the corresponding amplitude in big signal frequency point position or amplitude corresponding with small signal frequency point position be not at it is pre-
If when in range, issuing abnormity prompt information.
Specifically, step S50 includes:
When there are the first alarm threshold value, whether the amplitude of the amplitude and small signal that judge big signal exceeds first alarm
Threshold value;
And if the corresponding amplitude in big signal frequency point position and amplitude corresponding with small signal frequency point position are beyond first report
Alert threshold value, then issue abnormity prompt information;
Alternatively,
It calculates and the corresponding amplitude in big signal frequency point position and the amplitude corresponding with big signal frequency point position of previous field measurement
First difference, and and the corresponding amplitude in small signal frequency point position and and previous field measurement it is corresponding with small signal frequency point position
Second difference of amplitude;
When first difference or the second difference are greater than the second alarm threshold value, abnormity prompt information is issued.
In the present embodiment, abnormity prompt information can be issued in two kinds of situation.The first situation is previously provided with multiple thresholds
Value information, such as frequency point 1, threshold value 1;Frequency point 2, threshold value 2;….If the amplitude of any one frequency point is greater than corresponding threshold value,
Issue abnormity prompt information.Herein, the first alarm threshold value may include multiple threshold values corresponding with each frequency point.
In another case, being then the difference by compared with the amplitude data that previous field scan obtains, calculating corresponding frequency point
Value issues abnormity prompt information if difference is greater than the second alarm threshold value.Herein, the second alarm threshold value may include it is multiple with
The corresponding threshold value of each frequency point, is also possible to single threshold value, such as 10dB.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of signal processing apparatus is provided, in the signal processing apparatus and above-described embodiment at signal
Reason method corresponds.As shown in Fig. 2, the signal processing apparatus includes wide-band processing module 10, obtains big signaling module 20, adjusts
Whole range module 30 obtains small signaling module 40 and abnormity prompt module 50.Detailed description are as follows for each functional module:
Wide-band processing module 10 carries out the FFT processing result in broadband for obtaining signal;
Big signaling module 20 is obtained, for determining the position of big signal according to the FFT processing result, and obtains the big signal
Amplitude and frequency point position;
Adjusting range module 30, for adjusting attenuator according to the amplitude of peak signal in the big signal, so that peak signal
Best test scope in IF signal processing plate;
Small signaling module 40 is obtained, for carrying out narrowband to the frequency point of small signal in down-sampled situation by narrow band filter
FFT processing, obtains amplitude and the frequency point position of small signal;
Abnormity prompt module 50, for when and the corresponding amplitude in big signal frequency point position or width corresponding with small signal frequency point position
When degree is not in preset range, abnormity prompt information is issued.
Optionally, wide-band processing module 10 includes:
Division unit, for the frequency band within the scope of predeterminated frequency to be divided into multiple channels by intermediate-frequency bandwidth;
Fft processing unit obtains FFT processing result for carrying out FFT processing to the signal in each channel.
Optionally, obtaining big signaling module 20 includes:
Determine big signal element, for carrying out low-pass filtering to FFT treated signal, interception is made an uproar the letter of designated magnitude on bottom
Number, the signal that will be truncated is determined as big signal, and records amplitude and the frequency point position of the big signal.
Optionally, adjusting range module 30 includes:
Adjustment unit, for adjusting peak signal, and control at peak signal adjusted when determination needs regulated attenuator
In in the optimal input range of IF signal processing plate;
Judging unit, for judge signal amplitude adjusted whether with adjustment multiple match;
Matching unit, if illustrating that peak signal is in the best test scope of IF signal processing plate for matching;
Adjustment unit, if for mismatch, improve pad value, until signal amplitude adjusted with adjust multiple match or
Attenuator reaches highest pad value.
Optionally, determine that the condition for needing regulated attenuator includes:
Signal is in be measured for the first time;Or,
The Magnitude Difference of the amplitude of current demand signal and the amplitude of the signal of last measurement is greater than or equal to predetermined amplitude threshold value.
Optionally, obtaining small signaling module 40 includes:
Narrow band analyzing unit, is used to open the narrow band filter of radio frequency leading portion, while reducing the sample rate of intermediate frequency, to non-big signal
The frequency point in region carries out narrowband fft analysis;
Small signal element is judged, for judging whether the amplitude of frequency point in non-large signal region domain is greater than small signal threshold;
Determine small signal element, if not the amplitude of the frequency point for large signal region domain is greater than small signal threshold, then by the frequency point mark
It is denoted as small signal, and records amplitude and the frequency point position of small signal.
Optionally, abnormity prompt module 50, comprising:
First judging unit, for when there are the first alarm threshold value, the amplitude of the amplitude and small signal that judge big signal to be
It is no to exceed first alarm threshold value;
First reminding unit, and if the corresponding amplitude in big signal frequency point position and width corresponding with small signal frequency point position of being used for
Degree exceeds first alarm threshold value, then issues abnormity prompt information;
Alternatively,
Second judgment unit, for calculating amplitude corresponding with big signal frequency point position and previous field measurement with big signal frequency point
First difference of the corresponding amplitude in position, and corresponding with small signal frequency point position amplitude with previous field measurement and small letter
Second difference of number corresponding amplitude in frequency point position;
Second reminding unit, for issuing abnormity prompt when first difference or the second difference are greater than the second alarm threshold value
Information.
Specific about signal processing apparatus limits the restriction that may refer to above for signal processing method, herein not
It repeats again.Modules in said signal processing device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.