CN1266855C - Method for testing phase reversal of tone signal - Google Patents
Method for testing phase reversal of tone signal Download PDFInfo
- Publication number
- CN1266855C CN1266855C CNB021467137A CN02146713A CN1266855C CN 1266855 C CN1266855 C CN 1266855C CN B021467137 A CNB021467137 A CN B021467137A CN 02146713 A CN02146713 A CN 02146713A CN 1266855 C CN1266855 C CN 1266855C
- Authority
- CN
- China
- Prior art keywords
- signal
- sampling point
- local oscillated
- result
- phase
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
The present invention discloses a method for testing phase reversal of tone signals. The present invention is characterized in that the method comprises the steps: 1) presetting a threshold value of system output results and the time for generating local oscillation signals; 2) generating the local oscillation signals with the same frequency and the same phase of input tone signals via a self-adaptive mode; 3) stopping the self-adaptive process in scheduled time, processing the local oscillation signals obtained in the steps 2) and the input tone signals via multiplication calculation, and carrying out low pass filtering to the output signals after multiplication calculation processing. Subsequently, the method carries out threshold judgment to the results after low pass filtering, the tone signals are reversal if the current result is lower than the preset threshold, otherwise, the tone signals are not reversal. The testing method of the present invention can increase testing reliability and is suitable for any fixed frequency, the method increases universality, greatly reduces calculation amount and system spending and has good recognition capability.
Description
Technical field
The present invention relates in the communication system detection method, particularly a kind of detection method of tone signal phase overturn to signal.
Background technology
In communication system, to use the tone signal of band phase overturn to transmit certain information usually, when such signal is received by system, earlier it is detected, take certain action according to the information of its representative again.As seen, it is very important work of system that the tone signal of being with phase overturn is detected, and it comprises: frequency detecting and phase overturn detect.
At present, use common time frequency analysis method just can realize to the frequency detecting of tone signal, the method for tone signal being carried out phase overturn detection employing comprises: correlation method and phase demodulating method.
For example: in Echo Canceller, need when running into the signal of being with phase overturn this signal bypass is not offset processing to this signal, but it is carried out input, adopt common Time-Frequency Analysis Method that it is carried out frequency detecting earlier.
Again it is carried out phase overturn and detects, have 2 kinds of methods optional at present, the situation of tone signal phase overturn as shown in Figure 1, Fig. 1 is the schematic diagram of tone signal phase overturn.For simplicity, with the triangular wave signal, be actually sinusoidal wave among the figure.Among Fig. 1, the upset of phase place has appearred in signal at the A point, should be shown in the dotted line among the figure according to the follow-up signal of the situation that phase overturn do not occur normally, be that signal has overturn and 180 spends owing to phase overturn occurred, so the later waveform of A point is shown in solid line among the figure at A point.The frequency of signal is also with original the same after the A point.Present requirement will detect this phase overturn exactly.
One of method of carrying out the phase overturn detection is to adopt autocorrelative method that this signal is carried out phase overturn to detect, and Fig. 2 is the identical point of phase place among Fig. 1, and for example a, b, c, d point among Fig. 1 carry out autocorrelative result schematic diagram.As shown in Figure 2, set in advance an examination criteria value 3, if the auto-correlation result is lower than this thresholding 3, for example result 1 among Fig. 2 thinks that then this signal has carried out phase overturn, otherwise just not upset.If frequency deviation has taken place in this tone signal, 2 result then may appear among Fig. 2, and this result is not lower than this thresholding 3, but actual tone signal overturns, and just detects the upset less than phase place in this case.As seen, correlation method can only detect the frequency of knowing in advance, when deviation appears in frequency, just can accurately not carry out the detection of phase place, and frequency certain frequency deviation takes place may occur when signal produces in actual communication systems.For example: the required standard signal is 2100Hz, and the signal frequency that possible system produces is 2100Hz not necessarily, perhaps is 2085Hz, and this frequency can not change in transport process, that is to say in whole process it all is to keep 2085Hz, and frequency is fixed.In this case, make the upset that just may detect in this way less than phase place.Therefore, such method has its defective, and is very unreliable.
Another kind method is to adopt special phase demodulating method to carry out phase overturn to detect, and can detect the upset of different number of degrees phase places, though the technology of phase demodulating comparative maturity,, amount of calculation is bigger, implements more complicated.And as seen from Figure 1, fairly simple in the practical application to requiring of detecting of phase overturn, just passable as long as phase overturn detects 180 phase overturns about spending, do not need to carry out the demodulation of phase place.For example, in practical applications such as Echo Canceller, only need carry out the detection of 180 degree phase overturns, not need the phase overturn of other number of degrees, like this, just have much unnecessary amounts of calculation with the method for phase demodulating.Therefore the method with phase demodulating detects tone signal phase overturn waste system resource, is unfavorable for improving usage factor of system resource.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of detection method of signal phase upset, and this method can improve the reliability that phase overturn detects, and reduces amount of calculation and overhead significantly, and improves versatility.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of detection method of tone signal phase overturn, this method comprises following step:
1) preestablishes the output result's of system threshold value and the time that produces local oscillated signal;
2) in the above-mentioned scheduled time, carry out adaptive process:
Produce local oscillated signal parameter a1 and a2 by degenerative mode, with the signal times of M sampling point before the current sampling point with a1, its result with the signal times of M-1 sampling point before the current sampling point results added, the synchronous local oscillated signal of tone signal same frequency that mode produces and imports with a2;
3) scheduled time then stops adaptive process, with step 2) in the tone signal of the local oscillated signal that obtains and the input calculation process that multiplies each other; And the output signal of the calculation process that will multiply each other is carried out low-pass filtering; Then the result after the low-pass filtering is carried out thresholding and judges, as a result current results be lower than predefined thresholding then this tone signal phase overturn is arranged, otherwise this tone signal does not have phase overturn.
This method step 2) after obtaining local oscillated signal in, further the signal with current sampling point deducts local oscillated signal generation error signal;
And adjust local oscillated signal parameter a1 and a2 repeatedly by the normalization minimum mean-square difference algorithm, and make error signal level off to minimum value gradually, arrive up to predetermined auto-adaptive time.
This method step 3) may further include: with the signal times of M sampling point before the current sampling point with a1, its result with the signal times of M-1 sampling point before the current sampling point results added with a2, obtain local oscillated signal.This method step 3) can further include: the result after the low-pass filtering is carried out normalized.In addition, step 3) can be that a control switch in system's setting detects the scheduled time and carries out to the back.
The scheduled time described in this method is that system is predefined according to the blanking time of tone signal phase overturn in the communication protocol.
By such scheme as can be seen, key of the present invention is: produce and the synchronous local oscillated signal of input signal same frequency by adaptive mode, just stop adaptive process behind the certain hour, keep the local oscillations parameter after restraining, then with the processing of multiplying each other of this local oscillations and input signal, pass through low pass filter again, obtain the parameter of reflected signal phase change, thereby carry out the detection of phase overturn.
Therefore, the detection method of sort signal phase overturn provided by the present invention, owing to produce and the synchronous local oscillated signal of input signal same frequency by adaptive mode, again this signal and the input signal parameter that obtains after handling that multiplies each other is detected, so can improve the reliability that phase overturn detects.Compare with the phase demodulating method simultaneously, reduce amount of calculation and overhead significantly.And the inventive method is less demanding to the definite numerical value of signal frequency, only requires in that the running medium frequency is constant to get final product, and still has good recognition capability for the signal that certain signal to noise ratio is arranged.In communication system, though frequency might have deviation than predetermined value when tone signal produces, generally can not change at the process medium frequency of transmission, so the present invention is applicable to various communication systems, improved versatility.
Description of drawings
Fig. 1 is the schematic diagram of tone signal phase overturn;
Fig. 2 carries out autocorrelative result schematic diagram for the identical point of phase place among Fig. 1;
Fig. 3 carries out the schematic diagram of an embodiment of tone signal phase overturn detection method for the present invention;
Fig. 4 is the work block diagram that carries out adaptive process embodiment illustrated in fig. 3;
Fig. 5 is the multiply each other work block diagram of processing procedure of local oscillator that carries out embodiment illustrated in fig. 3;
Fig. 6 is an output result schematic diagram embodiment illustrated in fig. 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Basic process of the present invention is: produce and the synchronous local oscillated signal of input signal same frequency by adaptive mode, just stop adaptive process behind the certain hour, keep the local oscillations parameter after restraining.With the processing of multiplying each other of this local oscillations and input signal, pass through low pass filter more then, obtain the parameter of reflected signal phase change, thereby carry out the detection of phase overturn.Like this, just avoid the dependence of testing process, so the inventive method is applicable to fixing arbitrarily frequency to frequency.
Specific implementation process of the present invention is referring to Fig. 3, and Fig. 3 carries out the schematic diagram of an embodiment of tone signal phase overturn detection method for the present invention.According to basic process of the present invention, at first according to the predetermined threshold value of exporting the result of the result of Theoretical Calculation, simultaneity factor is provided with a control switch, and according to duration that preestablishes an adaptive process blanking time of the tone signal phase overturn of communication protocol regulation, after this control switch arrives at the fixed time, system switched to carry out the local oscillator processing procedure that multiplies each other.
As shown in Figure 3, when system starts working, control by control switch, system is by adaptive process 301, carry out the self adaptation adjustment of local oscillator coefficient, after the duration of predefined adaptive process arrives, control by control switch again, switched system carries out the local oscillator processing procedure 302 that multiplies each other, at this moment begin to multiply each other and obtain output signal with local oscillated signal and input signal, pass through low pass filter again, obtain the parameter of reflected signal phase change, carry out phase overturn according to this parameter and judge.
Wherein, carry out adaptive process referring to Fig. 4, Fig. 4 is the work block diagram that carries out adaptive process embodiment illustrated in fig. 3.As shown in Figure 4, in the given time, at first, produce local oscillated signal parameter a1 and a2 by degenerative mode, with the signal times of M sampling point before the current sampling point with a1, its result with the signal times of M-1 sampling point before the current sampling point results added with a2, obtain local oscillated signal, the signal with current sampling point deducts local oscillated signal generation error signal again.Then, carry out self adaptation by the normalization minimum mean-square difference algorithm, adjust local oscillated signal parameter a1 and a2 with error signal.For example, current sampling point signal is x (n), the signal of M sampling point is x (n-m) before the current sampling point, the signal of M-1 sampling point is x (n-m-1) before the current sampling point, then local oscillated signal be x ' (n)=x (n-m) * a1+x (n-m-1) * a2, error signal e (n)=x (n)-x ' (n) constantly adjusts a1 and a2 by the NLMS algorithm, make error signal e (n) level off to minimum value gradually, arrive up to the scheduled time.
Local oscillator multiplies each other processing procedure referring to Fig. 5, and Fig. 5 is the multiply each other work block diagram of processing procedure of local oscillator that carries out embodiment illustrated in fig. 3.As shown in Figure 5, when the scheduled time then, system stops adaptive process, with the signal times of M sampling point before the current sampling point with local oscillations parameter a1, its result with the signal times of M-1 sampling point before the current sampling point results added with local oscillations parameter a2, obtain local oscillated signal.For example, current sampling point signal is x (n), and the signal of M sampling point is x (n-m) before the current sampling point, and the signal of preceding M-1 the sampling point of current sampling point is x (n-m-1), then local oscillated signal be x ' (n)=x (n-m) * a1+x (n-m-1) * a2.Use the tone signal of this local oscillated signal and the input calculation process that multiplies each other, the output signal after the processing is carried out low-pass filtering again, and the result after the low-pass filtering is carried out normalized.The result who handles is carried out thresholding judges, the result be lower than thresholding then this tone signal phase overturn is arranged, otherwise this tone signal does not have phase overturn.
If current demand signal is: x (n)=Sin (ω n+ ).Wherein, ω is the frequency of signal, and is the initial phase of signal.
Phase overturn at a time occurred, the signal after the upset is: (ω++γ), wherein, γ is the number of degrees of phase overturn to x (N)=Sin.
The local oscillated signal that produces by adaptive method is: x ' (N)=Sin (ω N+ ).
With the tone signal of this local oscillated signal and the input calculation process that multiplies each other, the result is:
x(N)*X′(N)=
Sin(ωN+φ)*Sin(ωN+)
Through obtaining after low-pass filtering and the normalized
Result after the processing, referring to Fig. 6, output result schematic diagram embodiment illustrated in fig. 3.Present embodiment will be exported the result and 0 be predefined for output threshold value as a result, as shown in Figure 6, export the result at A point and will be
It is lower than threshold value 0, therefore judges at an easy rate at the A point phase overturn to have occurred, and the result is in the output of A point
Reason be: local oscillated signal x ' is signal x (n-m-1) generation that utilizes the signal x (n-m) of M sampling point before the current sampling point and preceding M-1 the sampling point of current sampling point (n), its phase place with x (n-m) and x (n-m-1) sampling point is identical, and overturn at A point signal phase, (n) phase place is opposite with local oscillated signal x ' for then current sampling point signal x (n), makes A point output result be
After after a while, at current sampling point signal x (n) and local oscillated signal x ' (n) when phase place is identical, then export the result and be among Fig. 6
Shown in B point among Fig. 6, so phase overturn does not appear in the B point among Fig. 6.
This shows that the detection method of sort signal phase overturn provided by the present invention can improve reliability, be applicable to fixing arbitrarily frequency, improved versatility.Compare with the phase demodulating method simultaneously, reduce amount of calculation and overhead significantly.And the inventive method is less demanding to the definite numerical value of signal frequency, only requires in that the running medium frequency is constant to get final product, and still has good recognition capability for the signal that certain signal to noise ratio is arranged.In communication system,, generally can not change at the process medium frequency of transmission, so the present invention is applicable to various communication systems though frequency might have deviation than predetermined value when tone signal produces.
Claims (6)
1, a kind of detection method of tone signal phase overturn is characterized in that, this method comprises following step:
1) preestablishes the output result's of system threshold value and the time that produces local oscillated signal;
2) in the above-mentioned scheduled time, carry out adaptive process:
Produce local oscillated signal parameter a1 and a2 by degenerative mode, with the signal times of M sampling point before the current sampling point with a1, its result with the signal times of M-1 sampling point before the current sampling point results added with a2, produce and the synchronous local oscillated signal of importing of tone signal same frequency;
3) scheduled time then stops adaptive process, with step 2) in the tone signal of the local oscillated signal that obtains and the input calculation process that multiplies each other; And the output signal of the calculation process that will multiply each other is carried out low-pass filtering; Then the result after the low-pass filtering is carried out thresholding and judges, as a result current results be lower than predefined thresholding then this tone signal phase overturn is arranged, otherwise this tone signal does not have phase overturn.
2, detection method as claimed in claim 1 is characterized in that, this method step 2) in, obtain local oscillated signal after, further the signal of current sampling point is deducted local oscillated signal and produces error signal;
And adjust local oscillated signal parameter a1 and a2 repeatedly by the normalization minimum mean-square difference algorithm, and make error signal level off to minimum value gradually, arrive up to predetermined auto-adaptive time.
3, detection method as claimed in claim 1, it is characterized in that, this method step 3) further comprise: with the signal times of M sampling point before the current sampling point with a1, its result with the signal times of M-1 sampling point before the current sampling point results added with a2, obtain local oscillated signal.
4, detection method as claimed in claim 1 is characterized in that: this method step 3) be that a control switch in system's setting detects the scheduled time and carries out to the back.
5, as claim 1 or 4 described detection methods, it is characterized in that: the described scheduled time is that system is predefined according to the blanking time of tone signal phase overturn in the communication protocol.
6, detection method as claimed in claim 1 is characterized in that, this method step 3) further comprise: the result after the low-pass filtering is carried out normalized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021467137A CN1266855C (en) | 2002-11-04 | 2002-11-04 | Method for testing phase reversal of tone signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021467137A CN1266855C (en) | 2002-11-04 | 2002-11-04 | Method for testing phase reversal of tone signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1499748A CN1499748A (en) | 2004-05-26 |
CN1266855C true CN1266855C (en) | 2006-07-26 |
Family
ID=34232850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021467137A Expired - Fee Related CN1266855C (en) | 2002-11-04 | 2002-11-04 | Method for testing phase reversal of tone signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1266855C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132250B (en) * | 2006-08-22 | 2010-05-12 | 中兴通讯股份有限公司 | Phase reversal detecting method and apparatus thereof |
CN110138474B (en) * | 2019-04-18 | 2021-07-06 | 电子科技大学 | Zoom type panoramic microwave spectrum monitoring method |
-
2002
- 2002-11-04 CN CNB021467137A patent/CN1266855C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1499748A (en) | 2004-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kanellakopoulos | A discrete-time adaptive nonlinear system | |
EP0797326A2 (en) | Method of generating a corrected response signal from a corrupted digital response signal | |
JP4952861B2 (en) | Apparatus and method for reducing interference in received communication signals | |
DE69729016T2 (en) | Method and device for clock recovery | |
US20060122831A1 (en) | Speech recognition system for automatically controlling input level and speech recognition method using the same | |
CN1867965A (en) | Voice activity detection with adaptive noise floor tracking | |
US5062123A (en) | Kalman predictor for providing a relatively noise free indication of the phase of a carrier laden with noise | |
CN1270444C (en) | Noise cancellor | |
CN1266855C (en) | Method for testing phase reversal of tone signal | |
EP0417774A2 (en) | Feedback control system | |
US7729888B2 (en) | Signal-driven recovery of a digital pulse stream | |
WO1982004488A1 (en) | Adaptive techniques for automatic frequency determination and measurement | |
US3983381A (en) | Digital automatic gain control circuit | |
CN1529940A (en) | Automatic wireless synchronization of electronic article surveillance system | |
CN114362553A (en) | Power acquisition circuit and method of radio frequency power supply | |
US5727022A (en) | Method for improving the signal-to-noise ratio in a transmission system by the formation of area equivalents | |
CN1280434A (en) | Digit signal receiver and method for receiving digit signal | |
US7277510B1 (en) | Adaptation algorithm based on signal statistics for automatic gain control | |
CN108599760A (en) | A kind of clock phase detecting system | |
CN1187941C (en) | Baseband data slicing method and apparatus | |
CN1765058A (en) | AM receiver and demodulator | |
US7961779B2 (en) | Noise-driven recovery of a digital pulse stream | |
CN1625833A (en) | Additive DC component detection included in an input burst signal | |
Guo et al. | Adaptive control for time‐varying systems: A combination of Martingale and Markov chain techniques | |
CN108886464A (en) | A kind of clock recovery device and the method for clock recovery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060726 Termination date: 20181104 |
|
CF01 | Termination of patent right due to non-payment of annual fee |