CN1159849C - Digital phase detecting method and its device - Google Patents

Digital phase detecting method and its device Download PDF

Info

Publication number
CN1159849C
CN1159849C CNB991270401A CN99127040A CN1159849C CN 1159849 C CN1159849 C CN 1159849C CN B991270401 A CNB991270401 A CN B991270401A CN 99127040 A CN99127040 A CN 99127040A CN 1159849 C CN1159849 C CN 1159849C
Authority
CN
China
Prior art keywords
reference clock
leading
phase
clock signal
signal
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 - Lifetime
Application number
CNB991270401A
Other languages
Chinese (zh)
Other versions
CN1302119A (en
Inventor
陈晗颖
尹朝晖
潘炳松
张文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Alcatel Lucent Shanghai Bell Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority to CNB991270401A priority Critical patent/CN1159849C/en
Publication of CN1302119A publication Critical patent/CN1302119A/en
Application granted granted Critical
Publication of CN1159849C publication Critical patent/CN1159849C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention relates to a digital phase detecting method and a device thereof. The method comprises the following procedures: sample time is firstly determined, the rising edge time of two reference clock signals in need of phase detection is determined for many times within the sample time, multiple phase meter values which are determined by the two reference clock signals are obtained by calculation, and integral values are stored after the phase meter values are integrated; N integral values are then obtained after the whole process is repeated for N times; the accurate phase difference of the two reference clock signals is obtained after the N integral values are smoothened and filtered. The present invention has high phase detection accuracy, improves the property of dither filtering, and can filter ghost frequencies during sampling.

Description

A kind of digital phase detecting method and device thereof
The present invention relates to a kind of digital phase detecting method and device thereof.
Phase discriminator is a kind of phase comparison device, is mainly used in the phase-locked loop.Phase discriminator can be divided into simulation phase discriminator and digital phase discriminator two big classes, the integrated phase discriminator of present monolithic, as digital phase frequency detector MC4044, MC12040, CD4046 etc., with conspicuous characteristics, superior performance, but, be difficult in the higher phase-locked loop of required precision because output amplitude is little, discriminator sensitivity is low.For the phase-locked loop in the synchronous clock supply system, need a kind of high-precision digital phase discriminator, and can be neatly catching soon, follow the tracks of, changing between the maintenance, these four kinds of states of free-running operation, if directly use the integrated phase discriminator of above-mentioned monolithic, be difficult to reach above-mentioned requirements.
The object of the present invention is to provide a kind of digital phase detecting method and device thereof, it can accurately identify the phase difference of two reference clock signals, and has improved the shake filtering performance of signal.
In order to realize above-mentioned goal of the invention, a kind of digital phase detecting method that is provided, it is characterized in that it comprises the following steps: at first to determine a sampling time, need in this sampling time interval, repeatedly to determine phase demodulation two reference clock signals rising edge constantly, calculate a plurality of phasometer numerical value of in this sampling time interval, determining by two reference clock signals, directly determine simultaneously the leading or lagged relationship of two reference signals, a plurality of leading or lagging phase difference count values are carried out integration, and preserve integrated value; Said process N time repeatedly draws N integrated value then; To N integrated value carry out smoothly, Filtering Processing, draw the phase difference of accurate two reference clock signals.
In order to realize above-mentioned goal of the invention, a kind of digital phase demodulation apparatus that is provided, it comprises: two triggers receive the outside reference clock signal and the reset signal of reseting logic unit respectively, determine the initial moment of this reference clock signal rising edge, and output set pulse signal; The reseting logic unit receives the set pulse signal respectively from two triggers, carry out logical process, and returns reset signal to two triggers; Frequency unit receives the central clock signal from the outside, and through the prime number frequency division, output is than the counting clock signal of the high hundred times of frequency of described external reference clock signal; Leading counter receives the counting clock signal of frequency unit and the set pulse signal of a trigger, calculates the phase place leading time of two described reference clock signals, exports leading count value; Hysteresis counter receives the counting clock signal of frequency unit and the set pulse signal of another trigger, the phase lag time of calculating two described reference clock signals, lag output count value; CPU, receive leading, the hysteresimeter numerical value of outside central clock signal and leading counter, hysteresis counter, in the sampling time, carry out phase integral, just go to read through the count value behind the counting repeatedly every certain sampling time interval, then to a plurality of count values carry out smoothly, Filtering Processing, calculate the real phase difference of two reference clock signals, and output, reset signal also exported simultaneously to leading counter and hysteresis counter.
Owing to adopted above-mentioned technical solution, promptly in a set time, carry out phase integral, therefore greatly reduce the burden of CPU, and the precision of phase discrimination height, phase demodulation resolution can reach 10ns.This in addition digital phase demodulation apparatus also provides a low pass filter, has unlimited decay on the harmonic component of sampling rate, so it has also improved the shake filtering performance, and the parasitic frequency in the energy filtering sampling.
The present invention is further illustrated below in conjunction with drawings and Examples.
Fig. 1 is the circuit arrangement structured flowchart of a kind of digital phase demodulation apparatus of the present invention.
As shown in Figure 1, it comprises two triggers 1, reseting logic unit 2, leading counter 3, hysteresis counter 4, CPU 5 and frequency unit 6.
Two triggers 1,2 receive reset signal from the reseting logic unit, and respectively from outside reception reference clock signal S, R, when receiving reset signal, two triggers 1 are reset, when the rising edge of S signal arrives, trigger 1 set that links to each other with the S signal, and set pulse signal T1 outputed to leading counter 3 and reseting logic unit 2, when the rising edge of R signal arrives, the also set of trigger 1 that links to each other with the R signal, and set pulse signal T2 outputed to hysteresis counter 4 and reseting logic unit 2;
Reseting logic unit 2 receives set pulse signal T1, T2 from two triggers 1, and when all effective as if set pulse signal T1, the T2 of 1 output of two triggers, the reseting logic unit produces reset signal, and reset signal is turned back to two triggers 1;
Frequency unit 6 receives and two the incoherent central clock signal of reference clock signal CC from the outside, and through the prime number frequency division, output frequency is than the counting clock signal of reference clock signal S, the high hundred times of R;
Leading counter 3, from frequency unit 6 and a trigger 1 difference count pick up clock signal and set pulse signal T1, on behalf of reference clock signal S, the pulse duration of set pulse signal T1 be ahead of the leading time of R, during this period of time, leading counter 3 usefulness counting clock signals add counting;
Hysteresis counter 4, from frequency unit 6 and another trigger 1 difference count pick up clock signal and set pulse signal T2, on behalf of reference clock signal S, the pulse duration of set pulse signal T2 lag behind the lag time of R, during this period of time, hysteresis counter 4 usefulness counting clock signals add counting;
CPU 5, receive leading, hysteresimeter numerical value from leading counter 3, hysteresis counter 4 respectively, and simultaneously from outside reception central clock signal CC, in the sampling time, carry out phase integral, just go to read through the count value behind the counting repeatedly every certain sampling time interval, then to a plurality of count values carry out smoothly, Filtering Processing, the real phase difference of two reference signals of calculating, phase difference output, and simultaneously reset signal is exported to leading counter and hysteresis counter.

Claims (2)

1. a digital phase detecting method is characterized in that it comprises the following steps:
At first determine a sampling time, need in this sampling time interval, repeatedly to determine phase demodulation two reference clock signals rising edge constantly, calculate a plurality of phasometer numerical value of in this sampling time interval, determining by two reference clock signals, directly determine simultaneously the leading or lagged relationship of two reference signals, a plurality of leading or lagging phase difference count values are carried out integration, and preserve integrated value;
Said process N time repeatedly draws N integrated value then;
To N integrated value carry out smoothly, Filtering Processing, draw the phase difference of accurate two reference clock signals.
2. digital phase demodulation apparatus is characterized in that it comprises:
Two triggers receive the outside reference clock signal and the reset signal of reseting logic unit respectively, determine the initial moment of this reference clock signal rising edge, and output set pulse signal;
The reseting logic unit receives the set pulse signal respectively from two triggers, carry out logical process, and returns reset signal to two triggers;
Frequency unit receives the central clock signal from the outside, and through the prime number frequency division, output is than the counting clock signal of the high hundred times of frequency of described external reference clock signal;
Leading counter receives the counting clock signal of frequency unit and the set pulse signal of a trigger, calculates the phase place leading time of two described reference clock signals, exports leading count value;
Hysteresis counter receives the counting clock signal of frequency unit and the set pulse signal of another trigger, the phase lag time of calculating two described reference clock signals, lag output count value;
CPU, receive leading, the hysteresimeter numerical value of outside central clock signal and leading counter, hysteresis counter, in the sampling time, carry out phase integral, just go to read through the count value behind the counting repeatedly every certain sampling time interval, then to a plurality of count values carry out smoothly, Filtering Processing, calculate the real phase difference of two reference clock signals, and output, reset signal also exported simultaneously to leading counter and hysteresis counter.
CNB991270401A 1999-12-29 1999-12-29 Digital phase detecting method and its device Expired - Lifetime CN1159849C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB991270401A CN1159849C (en) 1999-12-29 1999-12-29 Digital phase detecting method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB991270401A CN1159849C (en) 1999-12-29 1999-12-29 Digital phase detecting method and its device

Publications (2)

Publication Number Publication Date
CN1302119A CN1302119A (en) 2001-07-04
CN1159849C true CN1159849C (en) 2004-07-28

Family

ID=5284698

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991270401A Expired - Lifetime CN1159849C (en) 1999-12-29 1999-12-29 Digital phase detecting method and its device

Country Status (1)

Country Link
CN (1) CN1159849C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217104B (en) * 2007-01-05 2010-09-15 北京北方微电子基地设备工艺研究中心有限责任公司 A phase demodulation device and method for transducer of radio frequency matcher
CN101221894B (en) * 2007-01-10 2010-10-06 北京北方微电子基地设备工艺研究中心有限责任公司 Phase demodulation apparatus and method for sensor of radio frequency adaptation
CN101420815B (en) * 2007-10-23 2011-09-14 北京北方微电子基地设备工艺研究中心有限责任公司 Amplitude discriminating sensor, radio frequency transmission system and method for load resistance amplitude discrimination
US10057051B2 (en) * 2015-05-29 2018-08-21 Silicon Laboratories Inc. Dual path timing wander removal
CN116539956A (en) * 2022-01-26 2023-08-04 深圳市紫光同创电子有限公司 Phase detection method and device

Also Published As

Publication number Publication date
CN1302119A (en) 2001-07-04

Similar Documents

Publication Publication Date Title
CN101520640A (en) Time interval measuring instrument based on FPGA
US5155431A (en) Very fast autoscale topology for digitizing oscilloscopes
CN105549379A (en) Synchronous measurement apparatus based on high precision time reference triggering and method thereof
CN102621878A (en) High-precision time interval measurement device
CN105245203B (en) High-precision low-speed clock duty ratio detecting system and method
CN102928677A (en) Nano pulse signal acquiring method
CN102692563A (en) Clock frequency detector
CN104345322B (en) A kind of satellite navigation signals quick capturing method and device
CN1159849C (en) Digital phase detecting method and its device
CN108982940A (en) A kind of external trigger device and external trigger method, oscillograph based on serial receiver
CN109283354A (en) A kind of change M/T speed-measuring method based on incremental optical-electricity encoder
CN103487649A (en) Method and device capable of measuring both frequency of continuous waves and frequency of pulse modulation carrier waves
EP0370528A3 (en) Serial clock generating circuit
EP0177557A1 (en) Counting apparatus and method for frequency sampling.
CN113092858A (en) High-precision frequency scale comparison system and comparison method based on time-frequency information measurement
CN105021904B (en) A kind of fast phase noise measurement system and measuring method based on DDS phase shift technologies
FR2492563B1 (en) DEVICE FOR COUNTING HIGH FREQUENCY PULSES
CN100498234C (en) Sensor signal processor
CN201331680Y (en) Time interval measuring instrument based on FPGA
CN106707307B (en) A kind of satellite navigation half cycle transition detection method and device
Schamus et al. Real-time software GPS receiver
CN102792167A (en) Speed detection device
CN209233806U (en) Filter, processing circuit and chip based on pwm signal
CN108957174B (en) Voltage sag detection device and method
CN103558454A (en) Measurement method for pulse input frequency

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANGHAI ALCATEL-LUCENT CO., LTD.

Free format text: FORMER NAME: BEIER AERKATE CO., LTD., SHANGHAI

Owner name: BEIER AERKATE CO., LTD., SHANGHAI

Free format text: FORMER NAME: BELL CO.,LTD., SHANGHAI

CP01 Change in the name or title of a patent holder

Address after: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee after: ALCATEL-LUCENT SHANGHAI BELL Co.,Ltd.

Address before: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee before: Shanghai Bell Alcatel Co.,Ltd.

Address after: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee after: Shanghai Bell Alcatel Co.,Ltd.

Address before: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee before: Shanghai Bell Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee after: NOKIA SHANGHAI BELL Co.,Ltd.

Address before: 201206 No. 388-389 Nanjing Road, Jinqiao, Shanghai, Pudong

Patentee before: ALCATEL-LUCENT SHANGHAI BELL Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20040728