US6515466B2 - Phase comparator - Google Patents

Phase comparator Download PDF

Info

Publication number
US6515466B2
US6515466B2 US09/734,286 US73428600A US6515466B2 US 6515466 B2 US6515466 B2 US 6515466B2 US 73428600 A US73428600 A US 73428600A US 6515466 B2 US6515466 B2 US 6515466B2
Authority
US
United States
Prior art keywords
wave form
weighted value
test wave
test
period
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, expires
Application number
US09/734,286
Other versions
US20010010461A1 (en
Inventor
Meng-Huang Chu
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.)
Tian Holdings LLC
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Assigned to VIA TECHNOLOGIES, INC. reassignment VIA TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHU, MENG HUANG
Publication of US20010010461A1 publication Critical patent/US20010010461A1/en
Application granted granted Critical
Publication of US6515466B2 publication Critical patent/US6515466B2/en
Assigned to TIAN HOLDINGS, LLC reassignment TIAN HOLDINGS, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: VIA TECHNOLOGIES, INC.
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03DDEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
    • H03D13/00Circuits for comparing the phase or frequency of two mutually-independent oscillations
    • H03D13/007Circuits for comparing the phase or frequency of two mutually-independent oscillations by analog multiplication of the oscillations or by performing a similar analog operation on the oscillations

Definitions

  • the invention relates to a phase comparator and a method for phase difference comparison using the same, and more particularly to a comparator and a method for calculating the phase difference between an output wave form and an input wave form using an orthogonal characteristic.
  • disk drives such as soft disk drives, hard disk drives and compact disk (CD) drives
  • CD compact disk
  • the operation of an open loop gain adjustment must be performed in the compensator system thereof.
  • a test wave form must be inputted to the circuit system of each disk drive to generate an output wave form.
  • a phase comparator receives the test wave form and the output wave form to calculate the phase difference therebetween.
  • the compensator performs a gain adjustment according to the phase difference thereby to keep the system bandwidth consistent.
  • a test wave form generally a sine wave form
  • a circuit system 10 of a CD driver (not shown) to generate a corresponding signal.
  • a band pass filter 20 outputs an output wave form.
  • the central frequency of the band pass filter 20 is the same as the frequency of the test wave form.
  • a phase comparator 30 receives the test wave form and the output wave form to generate a resultant signal back to the circuit system 10 for performing an open loop gain adjustment.
  • each disk drive can be well controlled to have a consistent phase difference.
  • FIG. 2 the phase difference between the test wave form and the output wave form is shown.
  • a sampling signal is used to sample two zero cross points of the test wave form and the output wave form thereby to obtain a time difference between the two zero cross points as shown in FIG. 2 .
  • the phase comparator 30 can not accurately calculate the phase difference of the two signals, or the phase difference will be erroneously calculated.
  • the invention relates to a comparator and a method for calculating the phase difference between an output wave form and a test wave form using an orthogonal characteristic.
  • a phase comparator for calculating the phase difference between a test wave form and an output wave form in a disk drive includes a phase converter, a first multiplier, a first integrator, a second multiplier, a second integrator and a phase angle calculator.
  • the phase converter for delaying the test wave form for a specific time based on the frequency thereof.
  • the first multiplier electrically coupled to the phase converter for performing a first operation by multiplying the delayed test wave form with the output wave form.
  • the first integrator electrically coupled to the first multiplier for integrating the result of the first operation for a period to generate a first weighted value.
  • the second multiplier for performing a second operation by multiplying the test wave form with the output wave form.
  • the second integrator electrically coupled to the second multiplier for integrating the result of the second operation for the same period to generate a second weighted value.
  • the phase angle calculator electrically coupled to the first integrator and the second integrator for receiving the first weighted value and the second weighted value and then outputting a value representing the phase difference between the test wave form and the output wave form.
  • a method for calculating the phase difference between a test wave form and an output wave form according to the invention includes the following steps.
  • the test wave form is delayed for a specific time.
  • a first operation is performed by multiplying the output wave form with the delayed test wave form.
  • the result of the first operation is integrated for a period to generate a first weighted value.
  • a second operation is performed by multiplying the output wave form with the test wave form.
  • the result of the second operation is integrated for the same period to generate a second weighted value.
  • a value of tan -1 (the first weighted value/the second weighted value) is calculated.
  • FIG. 1 is a block circuit diagram showing a device for calculating a phase difference according to the prior art
  • FIG. 2 is a waveform graph showing the phase difference between a test wave form and an output wave form
  • FIG. 3 is a block circuit diagram showing a phase comparator according to the invention.
  • a phase comparator according to the invention is shown.
  • test wave form of cos(2 ⁇ t+ ⁇ ) is multiplied by an output wave form (like that shown in FIG. 1) using a multiplier 51 , and then integrated for a complete period by an integrator 61 to generate a first weighted value A.
  • the converted function of sin(2 ⁇ t+ ⁇ ) is multiplied by the output wave form using a multiplier 50 , and then integrated for a complete period by an integrator 60 to generate a second weighted value B.
  • the two values B and A are inputted to a phase angle calculator 70 to generate a value tan - 1 ⁇ B A .
  • phase angle calculator 70 represents the phase difference between the test wave form and the output wave form.
  • noises are random variables which have zero mean after passing through the integrator 60 or 61 , consequently, they will not affect the calculated phase difference.
  • phase difference between a test wave form and an output wave form can be calculated using an orthogonal characteristic according to a phase comparator of the invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Measuring Phase Differences (AREA)

Abstract

A phase comparator for calculating the phase difference between a test wave form and an output wave form in a disk drive includes a phase converter, a first multiplier, a first integrator, a second multiplier, a second integrator and a phase angle calculator. The phase converter for delaying the test wave form for a specific time based on the frequency thereof. The first multiplier electrically coupled to the phase converter for performing a first operation by multiplying the delayed test wave form with the output wave form. The first integrator electrically coupled to the first multiplier for integrating the result of the first operation for a period to generate a first weighted value. The second multiplier for performing a second operation by multiplying the test wave form with the output wave form. The second integrator electrically coupled to the second multiplier for integrating the result of the second operation for the same period to generate a second weighted value. The phase angle calculator electrically coupled to the first integrator and the second integrator for receiving the first weighted value and the second weighted value and then outputting a value representing the phase difference between the test wave function and the output wave form.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application claims the priority benefit of Taiwan application serial no. 89101460, filed Jan. 28, 2000.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates to a phase comparator and a method for phase difference comparison using the same, and more particularly to a comparator and a method for calculating the phase difference between an output wave form and an input wave form using an orthogonal characteristic.
2. Description of the Related Art
Typically, disk drives, such as soft disk drives, hard disk drives and compact disk (CD) drives, each use different devices having different parameters in its own compensator system, resulting in a drift on an output result. In order to make each manufactured disk drive have a consistent system bandwidth, the operation of an open loop gain adjustment must be performed in the compensator system thereof.
Furthermore, to resolve the above problem, a test wave form must be inputted to the circuit system of each disk drive to generate an output wave form. Next, a phase comparator receives the test wave form and the output wave form to calculate the phase difference therebetween. Thereafter, the compensator performs a gain adjustment according to the phase difference thereby to keep the system bandwidth consistent.
Referring to FIG. 1, a device for a phase difference calculation according to the prior art is shown. First, a test wave form, generally a sine wave form, is inputted to a circuit system 10 of a CD driver (not shown) to generate a corresponding signal. According to the corresponding signal, a band pass filter 20 outputs an output wave form. The central frequency of the band pass filter 20 is the same as the frequency of the test wave form. Then, a phase comparator 30 receives the test wave form and the output wave form to generate a resultant signal back to the circuit system 10 for performing an open loop gain adjustment. As a result, each disk drive can be well controlled to have a consistent phase difference.
Referring now to FIG. 2, the phase difference between the test wave form and the output wave form is shown. In the prior art, a sampling signal is used to sample two zero cross points of the test wave form and the output wave form thereby to obtain a time difference between the two zero cross points as shown in FIG. 2.
However, it is inevitable that the output wave form after being inputted to the circuit system 10 will bring a plenty of noise signals. Assume that the noise signals are generated around the two zero cross points, and therefore, the phase comparator 30 can not accurately calculate the phase difference of the two signals, or the phase difference will be erroneously calculated.
SUMMARY OF THE INVENTION
In view of the above, the invention relates to a comparator and a method for calculating the phase difference between an output wave form and a test wave form using an orthogonal characteristic.
A phase comparator for calculating the phase difference between a test wave form and an output wave form in a disk drive according to the invention includes a phase converter, a first multiplier, a first integrator, a second multiplier, a second integrator and a phase angle calculator. The phase converter for delaying the test wave form for a specific time based on the frequency thereof. The first multiplier electrically coupled to the phase converter for performing a first operation by multiplying the delayed test wave form with the output wave form. The first integrator electrically coupled to the first multiplier for integrating the result of the first operation for a period to generate a first weighted value. The second multiplier for performing a second operation by multiplying the test wave form with the output wave form. The second integrator electrically coupled to the second multiplier for integrating the result of the second operation for the same period to generate a second weighted value. The phase angle calculator electrically coupled to the first integrator and the second integrator for receiving the first weighted value and the second weighted value and then outputting a value representing the phase difference between the test wave form and the output wave form.
A method for calculating the phase difference between a test wave form and an output wave form according to the invention includes the following steps. The test wave form is delayed for a specific time. A first operation is performed by multiplying the output wave form with the delayed test wave form. The result of the first operation is integrated for a period to generate a first weighted value. A second operation is performed by multiplying the output wave form with the test wave form. The result of the second operation is integrated for the same period to generate a second weighted value. A value of tan-1 (the first weighted value/the second weighted value) is calculated.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will become more fully understood from the detailed description given hereinafter and the accompanying drawings which are given by way of illustration only, and thus do not limit the present invention, and wherein:
FIG. 1 is a block circuit diagram showing a device for calculating a phase difference according to the prior art;
FIG. 2 is a waveform graph showing the phase difference between a test wave form and an output wave form; and
FIG. 3 is a block circuit diagram showing a phase comparator according to the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Referring to FIG. 3, a phase comparator according to the invention is shown. First, a test wave form of cos(2π ft+φ) with f=1.38 kHz is shifted 90° into a function of sin(2π ft+φ) by a phase shifter 40. That is, the test wave form of cos(2π ft+φ) is delayed for a specific time of m × 1 1.38 k + 1 4 × 1 1.38 k
Figure US06515466-20030204-M00001
(m is a positive integer) seconds or a specific phase angle of n×360°+90° (n is a positive integer), to become a function of sin(2π ft+φ) by the phase shifter 40.
Next, the test wave form of cos(2πt+φ) is multiplied by an output wave form (like that shown in FIG. 1) using a multiplier 51, and then integrated for a complete period by an integrator 61 to generate a first weighted value A. Similarly, the converted function of sin(2πt+φ) is multiplied by the output wave form using a multiplier 50, and then integrated for a complete period by an integrator 60 to generate a second weighted value B. The two values B and A are inputted to a phase angle calculator 70 to generate a value tan - 1 B A .
Figure US06515466-20030204-M00002
Therefore, according to formula (1), we know that the value tan - 1 B A
Figure US06515466-20030204-M00003
outputted from the phase angle calculator 70 represents the phase difference between the test wave form and the output wave form.
Furthermore, since noises are random variables which have zero mean after passing through the integrator 60 or 61, consequently, they will not affect the calculated phase difference.
As described above, the phase difference between a test wave form and an output wave form can be calculated using an orthogonal characteristic according to a phase comparator of the invention.
While the invention has been described by way of example and in terms of the preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims (13)

What is claimed is:
1. A phase comparator for calculating the phase difference between a test wave form and an output wave form in a disk drive to perform an open loop gain adjustment, comprising:
a phase converter for delaying the test wave form for a specific time based on the frequency thereof, wherein the test wave form is a sinusoidal wave and the output wave form is orthogonal to the test wave form;
a first multiplier electrically coupled to the phase converter for performing a first operation by multiplying the delayed test wave form with the output wave form;
a first integrator electrically coupled to the first multiplier for integrating the result of the first operation for a period to generate a first weighted value;
a second multiplier for performing a second operation by multiplying the test wave form with the output wave form;
a second integrator electrically coupled to the second multiplier for integrating the result of the second operation for the same period to generate a second weighted value; and
a phase angle calculator electrically coupled to the first integrator and the second integrator for receiving the first weighted value and the second weighted value and then outputting a value representing the phase difference between the test wave form and the output wave form based on a ratio of the first weighted value to the second weighted value,
wherein the open loop gain adjustment forces the disk drive to have a consistent system bandwidth.
2. The phase comparator as claimed in claim 1, wherein the period is the period of the test wave form.
3. The phase comparator as claimed in claim 1, wherein the test wave form is a sine wave form.
4. The phase comparator as claimed in claim 1, wherein the test wave form is a cosine wave form.
5. The phase comparator as claimed in claim 1, wherein the specific time is one quarter of the period of the test wave form.
6. The phase comparator as claimed in claim 1, wherein the specific time is (¼+m) times the period of the test wave form, wherein the m is a positive integer.
7. The phase comparator as claimed in claim 1, wherein the value representing the phase difference is tan-1 (the first weighted value/the second weighted value).
8. A method for calculating the phase difference between a test wave form and an output wave form to perform an open loop gain adjustment, comprising the following steps:
delaying the test wave form for a specific time, wherein the test wave form is a sinusoidal wave and the output wave form is orthogonal to the test wave form;
performing a first operation by multiplying the output wave form with the delayed test wave form;
integrating the result of the first operation for a period to generate a first weighted value;
performing a second operation by multiplying the output wave form with the test wave form;
integrating the result of the second operation for the same period to generate a second weighted value; and
calculating the phase difference between the test wave form and the output wave form based on a ratio of the first weighted value to the second weighted value,
wherein the open loop gain adjustment forces the disk drive to have a consistent system bandwidth.
9. The method as claimed in claim 8, wherein the phase difference is a value of tan-1 (the first weighted value/the second weighted value).
10. The method as claimed in claim 8, wherein the period is the period of the test wave form.
11. The method as claimed in claim 8, wherein the test wave form is a cosine wave form.
12. The method as claimed in claim 8, wherein the specific time is ¼ of the period of the test wave form.
13. The method as claimed in claim 8, wherein the specific time is (¼+m) times the period of the test wave form, wherein the m is a positive integer.
US09/734,286 2000-01-28 2000-12-11 Phase comparator Expired - Fee Related US6515466B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
TW89101460A 2000-01-28
TW89101460 2000-01-28
TW089101460A TW484121B (en) 2000-01-28 2000-01-28 Phase comparison device and method

Publications (2)

Publication Number Publication Date
US20010010461A1 US20010010461A1 (en) 2001-08-02
US6515466B2 true US6515466B2 (en) 2003-02-04

Family

ID=21658632

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/734,286 Expired - Fee Related US6515466B2 (en) 2000-01-28 2000-12-11 Phase comparator

Country Status (2)

Country Link
US (1) US6515466B2 (en)
TW (1) TW484121B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103165823A (en) * 2011-12-13 2013-06-19 上海大学 Semitransparent negative electrode of organic light emitting diode (OLED) device and OLED device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4216463A (en) * 1978-08-10 1980-08-05 Motorola, Inc. Programmable digital tone detector
US4859934A (en) * 1986-10-15 1989-08-22 Telemus Electronic Systems, Inc. Apparatus for measuring the frequency of microwave signals
US5844408A (en) * 1996-02-26 1998-12-01 Fuji Electric Co., Ltd. Phase difference measuring apparatus for measuring phase difference between input signals
US5854995A (en) * 1995-11-30 1998-12-29 General Electric Company Vector electricity meters and associated vector electricity metering methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4216463A (en) * 1978-08-10 1980-08-05 Motorola, Inc. Programmable digital tone detector
US4859934A (en) * 1986-10-15 1989-08-22 Telemus Electronic Systems, Inc. Apparatus for measuring the frequency of microwave signals
US5854995A (en) * 1995-11-30 1998-12-29 General Electric Company Vector electricity meters and associated vector electricity metering methods
US5844408A (en) * 1996-02-26 1998-12-01 Fuji Electric Co., Ltd. Phase difference measuring apparatus for measuring phase difference between input signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103165823A (en) * 2011-12-13 2013-06-19 上海大学 Semitransparent negative electrode of organic light emitting diode (OLED) device and OLED device

Also Published As

Publication number Publication date
US20010010461A1 (en) 2001-08-02
TW484121B (en) 2002-04-21

Similar Documents

Publication Publication Date Title
JP5226186B2 (en) Method for obtaining frequency difference between input signal and reference frequency, discriminating apparatus, GPS receiver and computer program for executing this method
TWI441489B (en) Apparatus comprising a recursive delayer and method for measuring a phase noise
US20060232460A1 (en) Estimation circuit for time-interleaved adc and method thereof
US20040085096A1 (en) Efficient digital method of and system for determining the instantaneous phase and amplitude of a vibratory accelerometer and other sensors
JP5730824B2 (en) Frequency estimation method, broadband frequency discriminator, and receiver for wireless position measurement
CN102540221A (en) Signal processing apparatus and signal processing method
US6232760B1 (en) Method for determining and compensating the transmission function of a measurement apparatus, in particular of a spectrum analyzer
US7466141B2 (en) Phase measurement device, method, program, and recording medium
JPH11118520A (en) Digital angle conversation method
US6515466B2 (en) Phase comparator
US10164670B2 (en) Time sequenced spectral stitching
US11555884B2 (en) Advanced method for mitigating leakage signal in FMCW radar and radar system therefor
JP2006017658A (en) Method for measuring frequency converter, program for measuring frequency converter and system for measuring frequency converter
US6566922B1 (en) Zero phase and frequency restart PLL
JP2006017486A (en) Spectral analysis method using nuclear magnetic resonance and nuclear magnetic resonance system
US7323883B2 (en) Phase measurement device, method, program, and recording medium
US7783456B2 (en) Wave detection device, method, program, and recording medium
US8164322B2 (en) Phase-difference-corresponding-value measurement device, gain imbalance measurement device, method, program, and recording medium
US6922089B2 (en) Digital frequency synthesizing circuit and system thereof using interpolation and linear feedback shift register (LFSR)
US20160363616A1 (en) Apparatus for efficient measurement of tone frequency, amplitude, and phase
US8854051B2 (en) Integrated system including signal analysis circuit
US6952446B1 (en) Digital filter bank followed by monobit receivers for signal processing
US20030099318A1 (en) Method and device for acquiring an estimated value dependent on the maximum of a single-frequency signal
JP6095085B1 (en) Resonance frequency readout method and apparatus
JPH0526921A (en) Spectrum analyzer

Legal Events

Date Code Title Description
AS Assignment

Owner name: VIA TECHNOLOGIES, INC., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHU, MENG HUANG;REEL/FRAME:011362/0026

Effective date: 20000424

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: TIAN HOLDINGS, LLC, DELAWARE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:VIA TECHNOLOGIES, INC.;REEL/FRAME:020243/0127

Effective date: 20071207

Owner name: TIAN HOLDINGS, LLC,DELAWARE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:VIA TECHNOLOGIES, INC.;REEL/FRAME:020243/0127

Effective date: 20071207

FPAY Fee payment

Year of fee payment: 8

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20150204