WO2001050144A2 - Detecteur de phase - Google Patents

Detecteur de phase Download PDF

Info

Publication number
WO2001050144A2
WO2001050144A2 PCT/US2001/000212 US0100212W WO0150144A2 WO 2001050144 A2 WO2001050144 A2 WO 2001050144A2 US 0100212 W US0100212 W US 0100212W WO 0150144 A2 WO0150144 A2 WO 0150144A2
Authority
WO
WIPO (PCT)
Prior art keywords
signals
signal
input
phase
phase difference
Prior art date
Application number
PCT/US2001/000212
Other languages
English (en)
Other versions
WO2001050144A3 (fr
Inventor
Gregory P. Doten
Ronald E. Patton
Original Assignee
Data Sciences International, 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
Priority claimed from US09/479,268 external-priority patent/US6435037B1/en
Priority claimed from US09/478,762 external-priority patent/US6595071B1/en
Priority claimed from US09/478,486 external-priority patent/US6539316B1/en
Application filed by Data Sciences International, Inc. filed Critical Data Sciences International, Inc.
Priority to AU26275/01A priority Critical patent/AU2627501A/en
Publication of WO2001050144A2 publication Critical patent/WO2001050144A2/fr
Publication of WO2001050144A3 publication Critical patent/WO2001050144A3/fr

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/06Measuring blood flow
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/66Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/66Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
    • G01F1/667Arrangements of transducers for ultrasonic flowmeters; Circuits for operating ultrasonic flowmeters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal

Definitions

  • the present invention relates generally to the field of electronic circuits and, in particular, to a phase detector.
  • Phase detectors detect or measure the relative phase of two signals with respect to each other, and are used in a wide variety of electronic systems.
  • a phase detector is a fundamental building block for a phase lock loop (PLL) found in many electronic systems.
  • PLL phase lock loop
  • a PLL is particularly useful in demodulating radio frequency (RF) signals in, for example, an FM radio receiver.
  • a PLL is a circuit that causes a particular system to track with another system. More particularly, a PLL is a circuit that synchronizes an output signal (generated by an oscillator) with a reference or input signal in frequency as well as in phase.
  • a typical PLL includes three main building blocks: a phase detector, a loop filter and a voltage (or current) controlled oscillator.
  • the phase detector receives the reference or input signal as well as the output of the voltage controlled oscillator.
  • the phase detector measures the phase difference between the input signal and the output signal of the voltage controlled oscillator.
  • the phase difference acts as an error signal that is fed to the voltage controlled oscillator via the loop filter.
  • the phase detector detects zero, or very small, phase error between the input or reference signal and the output of the oscillator, the PLL is said to be locked.
  • phase detectors include analog multiplier circuits such as the Gilbert cell and ring diode mixer topologies. These phase detectors typically accept sinusoidal input signals. Other phase detectors accept digital input signals. For example, exclusive OR gate and RS Flip-Flop phase detectors fall into this category. The detectors produce a duty cycle modulated output whose average value is proportional to the phase difference.
  • a last type of detector is the Sequential Phase/Frequency Detector. This type of detector produces two outputs, the first (second) labeled as up (down). These two outputs are individually duty cycle modulated depending on which input is leading and the magnitude of the phase difference.
  • Phase detectors are used in a number of conventional applications requiring continuous measurement of phase error control, e.g., a Voltage Controlled Oscillator (NCO).
  • Other applications include using a phase detector to measure the change in phase in a Phase Shifted Keying (PSK) communications system where the digital data is encoded in the phase of the transmitted signal.
  • PSK Phase Shifted Keying
  • An application, which requires a precise measurement of phase is a Transit Time flow meter.
  • a Transit Time flow meter estimates volumetric flow by measuring the phase difference between bursts of ultrasound traveling upstream, and downstream paths across a tube with moving fluid.
  • the phase difference is dependent on the volumetric flow when the entire tube or vessel is illuminated with the sound waves. Papers published by Craig Hartley, Ph.D., or Cor Drost, Ph.D., explain that the moving fluid causes the time required by the sound waves to travel across the vessel to be different for an upstream and downstream path when the fluid is moving. In other words, when the same signal is transmitted on the upstream and downstream paths, a phase difference is introduced between the two received signals by the motion of the fluid.
  • Transonics Systems Inc. measures the phase shift with an analog multiplier. This multiplies the received ultrasound signal with the signal from a master oscillator and measures the phase difference between the two input signals. The measurement cycle is repeated on the opposite direction and the phase measurements are subtracted to produce the phase shift between the upstream and downstream paths. The phase difference measured is then proportional to the volumetric flow at that point in time.
  • a limitation of this phase detection method requires a long burst of ultrasound be transmitted from one transducer to the other, along the upstream or downstream path, with a duration long enough to allow the analog multiplier and the low pass filter time to settle on the phase value.
  • Crystal Biotech, Inc. uses another method to measure phase shifts in a Transit Time flow meter created by Ronald Patton.
  • CBI simultaneously transmits a short burst of ultrasound from two transducers in a probe and compares the phase shift of the received ultrasound bursts from the upstream and downstream paths directly to each other.
  • the CBI Transmit Time flow meter includes a digital circuit with a single output. This output signal has its duty cycle modulated by the phase difference. This single modulated output switches on and off a current source with a capacitor as its load with a selectable number of pulses. The current source is switched on and off and the capacitor is used to store the charge, which is proportional to the time the current source is on.
  • the charge on the capacitor generates a voltage, which is proportional to the phase shift between the two input signals.
  • One shortcoming of the CBI device is that the portion of the signal representing the change in phase is a small percentage of the total charge on the capacitor. Therefore, it is difficult to reliably measure the small phase changes generated by the CBI Transit Time flow meter.
  • phase detector which modulates the duty cycle of first and second output signals with a phase difference between the first and second input signals and uses the duty cycle modulated signals to create a differential signal that is proportional to the phase difference between the first and second input signals.
  • the phase detector creates the differential voltage by charging first and second capacitors through switches controlled by the duty cycle modulated first and second output signals.
  • Figure 1 is a block diagram of an embodiment of a phase detector constructed according to the teachings of the present invention.
  • FIG. 2 is a block diagram of another embodiment of a phase detector constructed according to the teachings of the present invention.
  • FIG. 3 is a block diagram of another embodiment of a phase detector constructed according to the teachings of the present invention.
  • Figure 4 is a schematic diagram of an embodiment of a stage of a phase detector that modulates the duty cycle of first and second output signals according to the teachings of the present invention.
  • Figure 5 is a schematic diagram of an embodiment of a stage of a phase detector that selects a number of pulses in first and second, duty cycle modulated signals according to the teachings of the present invention.
  • Figures 6A through 6K are timing diagrams that illustrate one embodiment of a process for modulating the duty cycle of first and second output signals according to the teachings of the present invention.
  • Figure 7 is a schematic diagram of an embodiment of a switched current source used to charge a capacitor based on the duty cycle of an input signal according to the teachings of the present invention.
  • Figure 8 A is a graph that illustrates a differential output voltage of a phase detector over time according to the teachings of the present invention.
  • Figures 8B and 8C are graphs that illustrates duty cycle modulated signals according to the teachings of the present invention.
  • Figure 9 is a schematic diagram of another embodiment of a first stage of a phase detector constructed according to the teachings of the present invention.
  • Figure 10 is a block diagram of an embodiment of a transit time flow meter including a phase detector according to the teachings of the present invention.
  • Figure 11 is a block diagram of an embodiment of a probe for a transit time flow meter according to the teachings of the present invention.
  • Figure 12 is a block diagram of an embodiment of a phase lock loop according to the teachings of the present invention.
  • Figure 13 is a block diagram of another embodiment of a transit time flow meter including a phase detector according to the teachings of the present invention.
  • phase detectors constructed according to the teachings of the present invention. These phase detectors generate a differential signal that is proportional to the phase difference between first and second input signals.
  • the phase detectors can be used in any number of electronic circuits that monitor, process or determine the phase difference between first and second signals.
  • phase detectors constructed according to the teachings of the present invention can be used in phase lock loops in the communications arena.
  • phase detectors constructed according to the teachings of the present invention can also be used in the medical arts in devices such as transit time flow meters. Phase detectors constructed according to the teachings of the present invention can also be used in a wide variety of other electronic circuits and systems.
  • Sections II and III of this detailed description describe first and second embodiments of a phase detector that use duty cycle modulation of two signals to generate a differential output that is proportional to the phase difference between the two signals.
  • Sections IN describes a third embodiment of a phase detector that uses first and second duty cycle modulated signals to charge capacitors to create a voltage that is proportional to the phase difference between the first and second signals.
  • Sections N and Nil describe embodiments of duty cycle modulation used in phase detectors according to the teachings of the present invention.
  • Section NI describes an embodiment of a pulse selector circuit for a phase detector.
  • Section NIII describes another embodiment of a second stage of a phase detector according to the teachings of the present invention.
  • Section IX describes another embodiment of a first stage of a phase detector according to the teachings of the present invention.
  • Sections X and XII describe embodiments of transit time flow meters using a phase detector with duty cycle modulation.
  • Section XI describes a phase lock loop with a phase detector with duty cycle modulation.
  • Phase Detector Figure 1 is a block diagram of an embodiment of a phase detector, indicated generally at 100, and constructed according to the teachings of the present invention.
  • Phase detector 100 includes two stages: first stage 102 and second stage 104.
  • First stage 102 receives first and second input signals labeled INPUT A and INPUT B and produces first and second output signals labeled OUTPUT A and OUTPUT B.
  • INPUT A and INPUT B each have a first duty cycle, e.g., a fifty percent or other fixed duty cycle.
  • First stage 102 includes duty cycle modulator 106.
  • Duty cycle modulator 106 modulates the duty cycles of OUTPUT A and OUTPUT B based on the phase difference between INPUT A and INPUT B. For example, the duty cycle of one of the first and second output signals is modified by increasing the duration of the high logic pulses of the signal by the phase difference between INPUT A and INPUT B.
  • Second stage 104 includes first and second low pass filters 103 and 105 that are coupled to receive OUTPUT A and OUTPUT B, respectively, from first stage 102.
  • Low pass filters 103 and 105 generate signals N-, and N 2 that are DC voltages that are proportional to the duration of the high logic levels for OUTPUT A and OUTPUT B, respectively.
  • Second stage 104 also includes amplifier 130 that amplifies the difference between V l and N 2 .
  • This single ended signal, N ou ⁇ *. is proportional to the phase difference between INPUT A and INPUT B.
  • amplifier 130 is replaced with an analog to digital converter that provides a digital output signal for V 0 u ⁇ - m
  • amplifier 130 is replaced with first and second analog to digital converters that provide signals N j and N 2 as digital outputs.
  • amplifier 130 is replaced with first and second analog to digital converters and a subtractor that provides an output signal, N 0 u ⁇ , with the first analog to digital converter converting the signal N j and the second analog to digital converter converting the signal N 2 .
  • amplifier 130 may be replaced with other appropriate circuitry used to process the analog outputs N- and N 2 .
  • phase detector 100 detects the phase difference between INPUT A and INPUT B.
  • Duty cycle modulator 106 receives INPUT A and INPUT B.
  • Duty cycle modulator 106 adjusts the duty cycle of OUTPUT A increasing the duration of the high logic level pulses in OUTPUT A by a time substantially equal to the phase difference between INPUT A and INPUT B.
  • duty cycle modulator 106 also adjusts the duty cycle of OUTPUT B by decreasing the duration of the high logic level pulses of OUTPUT B by a time substantially equal to the phase difference between INPUT A and INPUT B.
  • Low pass filters 103 and 105 generate voltages N j and N 2 , respectively, that are proportional to the duration of the high logic level pulses in OUTPUT A and OUTPUT B, respectively.
  • Amplifier 130 amplifies the difference between Nj and N 2 ( ⁇ N) to produce N ou ⁇ * N 0U ⁇ s proportional to the phase difference between INPUT A and INPUT B.
  • Phase detector 200 includes two stages: first stage 202 and second stage 204.
  • First stage 202 receives ' first and second input signals labeled INPUT A and INPUT B and produces first and second output signals labeled OUT A and OUT B .
  • INPUT A and INPUT B each have a first duty cycle, e.g., a fifty percent or other fixed duty cycle.
  • First stage 202 includes duty cycle modulator 206.
  • Duty cycle modulator 206 modulates the duty cycles of INT A and INT B based on the phase difference between INPUT A and INPUT B. For example, the duty cycle of one of the INT A and INT B is modified by increasing the duration of the high logic pulses of the signal by the phase difference between INPUT A and INPUT B. Meanwhile, the duty cycle of the other of INT A and INT B is modified by decreasing the duration of the high logic pulses of the signal by the phase difference between INPUT A and INPUT B.
  • First stage 202 also includes pulse selector circuit 208.
  • Pulse selector circuit 208 selects a number of pulses within the signals INT A and INT B to be provided as output signals OUT A and OUT B to second stage 204.
  • Pulse selector circuit 208 may be programmable to select any appropriate number of pulses in INT A and INT B. Further, the selected pulses may begin with any appropriate pulse within signals INT A and TNT B. For example, pulse selector 208 may select four pulses within a train of 10 pulses beginning with pulse number 3.
  • pulse selector circuit 208 follows duty cycle modulator 206. However, it is understood that in other embodiments pulse selector circuit 208 precedes duty cycle modulator 206 or is incorporated into duty cycle modulator 206 such that pulses are selected and modulated by the same circuit.
  • Second stage 204 includes first and second low pass filters 203 and 205 that are coupled to receive OUT A and OUT B, respectively, from first stage 202.
  • Low pass filters 203 and 205 generate signals N j and N 2 that are DC voltages that are proportional to the duration of the high logic levels for OUT A and OUT B, respectively.
  • N j and N 2 are DC voltages that are proportional to the duration of the high logic levels for OUT A and OUT B, respectively.
  • the difference between N j and N 2 ( ⁇ N) is proportional to the phase difference between the input signals INPUT A and INPUT B since the only difference between the duty cycles of OUT A and OUT B was imposed by duty cycle modulator 206 based on the phase difference between INPUT A and INPUT B.
  • Second stage 204 also includes amplifier 230 that amplifies the difference between V j and V 2 ( ⁇ N). This signal, N 0U ⁇ *> is proportional to the phase difference between INPUT A and INPUT B.
  • amplifier 230 includes a sample and hold circuit that samples and holds the differential voltage, ⁇ N, after pulses are passed by pulse selector circuit 208.
  • phase detector 200 detects the phase difference between INPUT A and INPUT B.
  • Duty cycle modulator 206 receives INPUT A and INPUT B .
  • Duty cycle modulator 206 adjusts the duty cycle of INT A by increasing the duration of the high logic level pulses in INT A by a time substantially equal to the phase difference between INPUT A and INPUT B.
  • duty cycle modulator 206 also adjusts the duty cycle of INT B by decreasing the duration of the high logic level pulses of INT B by a time substantially equal to the phase difference between INPUT A and INPUT B.
  • Pulse selector circuit 208 selects a number of pulses in INT A and INT B to provide to low pass filters 203 and 205, respectively.
  • Low pass filters 203 and 205 generate voltages V j and N 2 , respectively, that are proportional to the duration of the high logic level pulses in OUT A and OUT B, respectively.
  • Amplifier 230 amplifies the difference between N j and N 2 ( ⁇ N) to produce N 0 u ⁇ - Nou ⁇ s proportional to the phase difference between INPUT A and INPUT B.
  • Phase detector 300 measures the phase difference or time shift between two input signals, namely signals INPUT A and INPUT B.
  • phase detector 300 includes first and second stages 302 and 304.
  • First stage 302 uses duty cycle modulation to modulate the duty cycle of the output signals with the phase difference between INPUT A and INPUT B.
  • First stage 302 further selects a number of pulses from the duty cycle modulated signals to be further processed by second stage 304.
  • Second stage 304 uses the duty cycle modulated signals from first stage 302 to control switches that charge first and second capacitors. Once charged, the voltages on the capacitors are related to the duty cycle of the duty cycle modulated signals. Since the duty cycles of the signals used to control the charging of the capacitors contain information about the phase difference between INPUT A and INPUT B, the voltages on the capacitors, once charged, provide a differential voltage output that is related to the phase difference between INPUT A and INPUT B. For example, in one embodiment, the differential voltage is proportional to twice the phase difference between INPUT A and INPUT B.
  • First stage 302 operates on input signals labeled as INPUT A and INPUT B in Figure 3.
  • First stage 302 modulates the duty cycle of the output signals and selects a number of pulses from the duty cycle modulated signals for further processing.
  • First stage 302 includes duty cycle modulator 306 and pulse selector circuit 308.
  • Duty cycle modulator 306 includes first and second inputs 310 and 312. Duty cycle modulator 306 is designed to process square wave inputs. Thus, in one embodiment, optional comparators 311 and 313 (collectively 301) are provided, when necessary, at inputs 310 and 312, respectively, to convert signals INPUT A and INPUT B to square wave format. For simplicity, the signals provided to duty cycle modulator 306 at inputs 310 and 312 are referred to as INPUT A and INPUT B whether or not comparators 301 are included.
  • Signals INPUT A and INPUT B are each periodic signals that have substantially the same frequency and the same nominal duty cycle, e.g., a fifty percent duty cycle.
  • the high logic level pulses ("the active period of the signal") in the respective square waves of signals INPUT A and INPUT B are substantially one half of the period of the signals INPUT A and INPUT B.
  • INPUT A and INPUT B may, however, have different phase, e.g., INPUT A may be shifted in time with respect to INPUT B.
  • Duty cycle modulator 306 uses the phase difference between INPUT A and INPUT B, if any, to generate output signals labeled INT A and INT B.
  • TNT A and INT B have the same frequency as INPUT A and INPUT B but their duty cycles have been modulated from the nominal, e.g., fifty percent duty cycle, based on the phase difference between the signals INPUT A and INPUT B.
  • the duration of the high logic level pulses in the signal INT A is increased by the duration of the phase difference between INPUT A and INPUT B and the duration of the high logic level pulses in the signal INT B is decreased by the same amount.
  • signals INT A and INT B are created based on the rising and falling edges of signals INPUT A and INPUT B.
  • the use of both rising and falling edges in performing phase modulation reduces problems with cross-over when signals INPUT A and INPUT B are close to phase alignment.
  • Pulse Selection Pulse selector circuit 308 selects pulses from signals INT A and INT B to be used by second stage 304 to determine the phase difference between INPUT A and INPUT B.
  • Pulse selector circuit 308 can be programmed as to the number of pulses to select and which pulses within the pulse trains of INT A and INT B to select.
  • pulse selector 308 essentially selects the pulses to be used by counting pulses after a time delay from the transmission of signals that created signals INPUT A and INPUT B. This selection can be based on data stored in a non- volatile memory associated with the pulse selector that downloads data for selected fixed time delays based on the operating environment of phase detector 300.
  • signals INPUT A and INPUT B comprise signals derived from 16 cycles of a 10 MHZ ultrasonic waveform used in a transit time flow meter.
  • Pulse selector circuit 308 is programmed to select, e.g., the eighth pulse in each of the signals INT A and INT B. These pulses are used by second stage 304 to determine the phase difference between the signals INPUT A and INPUT B.
  • these single pulses from the signals INT A and INT B provide sufficient information to provide a measure of the phase difference between the signals INPUT A and INPUT B.
  • phase detector 300 can be used in low power implementations such as implanted medical devices.
  • pulse selector circuit 308 can select a larger number of specified pulses from the signals INT A and INT B, e.g., four pulses from the middle of the pulse train.
  • second stage 304 advantageously averages the information on the phase difference for the four pulses to provide a measure of the phase difference detected by phase detector 300. In this manner, minor variations in phase difference from pulse-to-pulse are averaged out by second stage 304.
  • pulses located near the middle of the pulse trains of signals INT A and INT B may provide a more accurate measure of the phase difference between INPUT A and INPUT B.
  • Pulse selector circuit 308 provides the selected pulses from INT A and INT B to complimentary output 309 as signals OUT A and OUT B to generate complementary outputs PHASE A, PHASE A , PHASE B, and PHASE B . These outputs are provided to second stage 304.
  • a signal labeled DETECT EN is also provided to both duty cycle modulator 306 and pulse selector circuit 308.
  • the DETECT EN signal enables phase detector 300 to operate.
  • Second stage 304 uses the signals PHASE A, PHASE A , PHASE B, and
  • Second stage 304 includes a pair of capacitors 314 and 316.
  • Capacitor 314 is coupled to current source 318 through switch 320.
  • Switch 320 is controlled based on the signals PHASE A and PHASE A from complementary output 309 of first stage 302.
  • capacitor 316 is coupled to current source 322 through switch
  • Switch 324 is controlled based on the signals PHASE B and PHASE B from complementary output 309 of first stage 302.
  • Capacitor 314 is coupled between a power supply, V cc , and input 326 of amplifier 330.
  • capacitor 316 is coupled between a power supply, V cc , and input 328 of amplifier 330.
  • Amplifier 330 receives signals V j and V 2 and provides the output, V ou ⁇ > for phase detector 300.
  • phase detector 300 receives signals INPUT A and INPUT B and determines the phase difference, if any, between the two signals.
  • duty cycle modulator 306 creates signals INT A and INT B by modulating INT A and INT B based on the phase or phase difference between signals INPUT A and INPUT B.
  • Pulse selector 308 selects a number of pulses in the pulse trains of signals INT A and INT B and provides those pulses to complementary output 309 to generate signals PHASE A, PHASE A , PHASE B, and PHASE B for second stage 304.
  • PHASE B control the operation of switches 320 and 324, respectively.
  • switch 320 couples current source 318 to capacitor 314. This causes the voltage at input 326 to decrease due to charging of capacitor 314.
  • switch 320 decouples current source 318 from capacitor 314.
  • capacitor 314 charges at a substantially constant rate during the high logic level pulse of
  • switch 324 couples capacitor 316 to current source 322 during the high logic pulses of signal PHASE B so as to charge capacitor 316 and reduce the voltage at input 328.
  • Equation 1 The relationship between the differential voltage ⁇ V and the phase difference between signals INPUT A and INPUT B can be represented mathematically as follows. First, after application of signal PHASE A to second stage 304, the voltage at input 326 can be represented as shown in Equation 1.
  • Equation 1 describes the fact that the voltage at input 326, V l5 starts out at a value of V cc before any high logic level pulses in the signal PHASE A are processed. Equation 1 further recognizes that for each of the n high logic level pulses of signal PHASE A processed by second stage 304, the voltage at input 326 decreases by a calculable amount due to the charging of capacitor 314 during each pulse. This is shown graphically in Figures 8A, 8B and 8C.
  • Equation 2 The change in the voltage on a capacitor is calculable beginning with the fundamental relationship shown in Equation 2: dV i nb «>
  • Equation 2 To determine the change in voltage for a capacitor over a given period of time, Equation 2 can be rewritten as follows:
  • Equation 4 the voltage at input 328 can be represented by Equation 4:
  • Equation 4 it is assumed that the duration of the high logic pulses in signal
  • Equation 5 defines the differential voltage, AV, provided to inputs 326 and 328 of amplifier 330 in terms of the voltages V 1 and V 2 .
  • V V ⁇ - V 2 (5)
  • Equation 6
  • Equation 6 can be reduced further to the following:
  • the differential voltage ⁇ N is proportional to the phase difference ( ⁇ t).
  • the differential voltage is also independent of the supply voltage N cc .
  • the differential voltage has an inherent gain of two.
  • Equation 7 shows that the differential voltage advantageously performs an averaging function for the phase difference modulated on each pulse of the signals PHASE A and PHASE B .
  • Several factors may be considered in selecting values for the capacitors and currents of second stage 304. For example, errors in the output of phase detector 300 can be reduced by setting the current from current sources 318 and 322 to substantially the same current level and by setting the capacitance of capacitors C j and C 2 at substantially the same level.
  • current sources 318 and 322 are fabricated as current mirrors.
  • a resistance may be coupled to the emitters of the transistors in the current mirror (e.g., current mirrors 718 and 722 in Figure 7) to reduce the susceptibility of second stage 304 to changes in temperature and differences in base-emitter voltage differences from transistor to transistor.
  • a current mirror can be driven by a fixed reference voltage to reduce changes caused by fluctuations in N cc .
  • a common current mirror having multiple legs is used to implement current sources 318 and 322.
  • circuits other than a current mirror can be used to provide the current to charge capacitors 314 and 316.
  • FIG. 4 is a schematic diagram of an embodiment of a duty cycle modulator circuit, indicated generally at 400, and constructed according to the teachings of the present invention.
  • Circuit 400 creates duty cycle modulated signals I ⁇ T A and I ⁇ T B based on input signals INPUT A and INPUT B.
  • Circuit 400 includes first and second modulator circuits 401 and 403.
  • circuits 401 and 403 create signals INT A and INT B by triggering off the rising edge of one of the input signals and the falling edge of the other input signal. Specifically, circuit 401 creates the signal INT A by triggering off the rising edge of INPUT A and the falling edge of INPUT B. Additionally, circuit 403 creates the signal INT B by triggering off the rising edge of INPUT B and the falling edge of INPUT A. For simplicity of the description, only circuit 401 is described in detail. It is understood that circuit 403 functions in the same or similar manner. Circuit 401 includes first and second flip-flops 402 and 404.
  • INPUT A is provided to the clock input of flip-flop 402 and the inverse of INPUT B is provided to the clock input of flip-flop 404.
  • Circuit 401 also includes first and second NAND gates 410 and 412. NAND gates 410 and 412 are coupled to form flip-flop 422 with one input coupled to the Q output of flip-flop 402 and another input coupled to the ⁇ output of flip-flop 404. The output of NAND gate 410 at node 416 is coupled through two inverters to provide the output INT A.
  • Circuit 401 also includes OR gate 418.
  • OR gate 418 is coupled to the output of NAND gate 410 and also to the complement of the enablement signal, DETECT EN.
  • DETECT EN is also provided as a clear input to the flip-flop 422 formed by NAND gates 410 and 412.
  • circuit 401 creates the duty cycle modulated INT A signal from the signals INPUT A and INPUT B with pulses that begin on the positive edge of pulses in the INPUT A signal and end on the negative edge of pulses in the INPUT B signal.
  • the DETECT EN signal has a low logic value.
  • OR gate 418 produces a high logic signal that holds flip-flop 402 in reset.
  • node 420 is a high logic value, it holds flip-flop 404 in reset.
  • both flip-flops 402 and 404 output high logic levels on their Q outputs.
  • Flip-flop 422 is held in reset by the DETECT EN signal.
  • duty cycle modulation signal INT A begins by raising the DETECT EN signal to a high logic level. This releases flip-flop 422 from reset. Further, this changes the output of OR gate 418 to depend on the voltage at node 416. At this point the voltage on node 416 is low, so flip-flop 402 is also released from reset.
  • flip-flop 402 On a positive edge of a pulse from INPUT A, flip-flop 402 is set so its Q output becomes a low logic level. This change in state of flip-flop 402 sets flip- flop 422 such that node 416 transitions to a high logic level as does the output INT A. The voltage at node 420 transitions to a low logic level thereby releasing flip-flop 404 from reset. The output of OR gate 418 also changes back to a high logic level so as to reset flip-flop 402.
  • circuit 401 creates an output signal, INT A, with a duty cycle that is modulated with the phase difference between INPUT A and INPUT B by creating high logic pulses in INT A that begin with the leading edge of pulses in INPUT A and end with trailing edges of high logic pulses in INPUT B.
  • Circuit 403 works in a similar manner to provide INT B with high logic pulses that begin with the leading edge of INPUT B and end with the trailing edge of INPUT A.
  • Pulse Selector Figure 5 is a schematic diagram of an embodiment of a pulse selector circuit, indicated generally at 500 and constructed according to the teachings of the present invention.
  • Circuit 500 includes first and second selectors 501 and 503.
  • First selector 501 selects a number of pulses in signal I ⁇ T A.
  • Second selector 503 selects a number of pulses in J ⁇ T B.
  • the outputs of first and second selectors 501 and 503 are provided to complementary output 504 to provide complementary output signals PHASE A, PHASE A , PHASE B, and
  • First selector 501 includes a four bit, up-down counter 506.
  • the clock input of counter 506 is coupled to receive the signal I ⁇ T A.
  • the clear or reset input to counter 506 is coupled through inverter 511 to receive the enablement signal DETECT E ⁇ .
  • counter 506 is programmable counter with a four bit input (D0-D3) set to ground.
  • First selector 501 also includes flip-flop 508 formed from ⁇ A ⁇ D gates
  • one input of flip-flop 508 is coupled to the Q2 (third bit) output of counter 506 through inverter 514. Additionally, another input of flip-flop 508 is coupled from the terminal count (TC) output of counter 506 through inverter 516. A final input to flip-flop 508 is coupled to receive the DETECT E ⁇ signal.
  • First selector 501 also includes ⁇ A ⁇ D gate 518 which creates an output labeled OUT A for first selector 501.
  • ⁇ A ⁇ D gate 518 receives the complement of signal I ⁇ T A and a first output of flip-flop 508 at node 522.
  • Node 522 is also provided as a feedback signal to the UP input of counter 506 through inverter 524.
  • first selector 501 includes a latch 520 that enables the operation of counter 506.
  • the Q output of latch 520 is coupled to the count enable (CE) input of counter 506.
  • Latch 520 also includes a reset input that is coupled to the TC output of counter 506.
  • the clock input of latch 520 is coupled to the DETECT EN signal.
  • first selector 501 selects a number of pulses in signal INT A to pass through as signal OUT A.
  • first selector 501 is configured to select the second four pulses in INT A. It is understood that first selector 501 can be modified to select other pulses in INT A.
  • DETECT EN is at a low logic level.
  • inverter 511 applies a high logic level to clear counter 506.
  • the low logic level of DETECT EN holds flip-flop 508 in a reset state with node 522 at a low logic level. This assures that OUT A is held at a high logic level prior to enabling the phase detector.
  • first selector 501 receives a high logic level input on the DETECT EN signal. This applies a low logic signal to the clear input of counter 506 placing it in a condition to count up from zero. Further, latch 520 is set and provides a high logic input to the CE input of counter 506 thereby enabling counter 506. The high logic value for the DETECT EN signal also releases flip-flop 508 from being held in reset.
  • Counter 506 begins counting on the first leading edge of a pulse in input signal INT A after DETECT EN goes high. On each pulse in INT A, counter 506 increases as exhibited by signals Q0-Q3. With the first three pulses, there is no change in the output of NAND gate 518 since neither Q0 nor Ql are coupled to provide output for counter 506. Thus, OUT A remains at a high logic level during the first three pulses.
  • the high logic level at node 522 also provides a feedback signal to input UP of counter 506 through inverter 524. This signal indicates that counter 506 is to count down from its current value. Essentially, counter 506 now allows the next four pulses of INT A to be passed out as pulses in signal OUT A.
  • selector 501 uses a four bit counter to select the second four pulses in the input signal INT A to provide as the output signal OUT A.
  • Second selector 503 operates in a similar fashion for creating signal OUT B from signal INT B. NIT.
  • Duty Cycle Modulation and Pulse Selection Figures 6 A through 6K are timing diagrams of an illustrative embodiment of a process for modulating the duty cycle of signals and selection of pulses by a phase detector according to the teachings of the present invention. This process is described in terms of phase detector 300 of Figure 3. However, it is understood that the teachings of this process can be applied to other embodiments of phase detectors constructed according to the teachings of the present invention.
  • Phase detector 300 is enabled by a signal labeled DETECT E ⁇ .
  • Figures 6A illustrates an exemplary embodiment of signal DETECT E ⁇ . This signal enables the operation of duty cycle modulator 306 and pulse selector circuit 308.
  • Figures 6B and 6C illustrate exemplary signals for signals INPUT A and
  • INPUT B provided to phase detector 300.
  • signals INPUT A and INPUT B each include nine pulses and each have approximately a fifty percent duty cycle.
  • phase difference denoted ⁇ t on Figures 6B, between signals INPUT A and INPUT B.
  • the phase difference represents the difference in time between the beginning of corresponding pulses of INPUT A and INPUT B.
  • the first pulse in INPUT A begins at time t 1 and the first pulse in INPUT B begins at time t 2 .
  • Figures 6D and 6E are timing diagrams that illustrate phase modulated signals INT A and INT B, respectively, created by duty cycle modulator 306.
  • Duty cycle modulator 306 adds the phase difference ⁇ t to the high logic pulses of signal INPUT A to produce the signal INT A.
  • Duty cycle modulator 306 initiates a high logic level pulse of INT A on the rising edge of INPUT A, e.g., at time t and returns INT A to a low logic level on a falling edge of INPUT B, e.g., at time t 4 .
  • the complement of INPUT B can be used such that INT A rises on the rising edge of INPUT A and falls on the rising edge of the complement of INPUT B.
  • Duty cycle modulator 306 subtracts the phase difference ⁇ t from the high logic level pulses of INPUT B to produce INT B.
  • Duty cycle modulator 306 initiates a high logic level pulse of INT B on a rising edge of INPUT B (or a falling edge of the complement of INPUT B), e.g., at time t 2 , and returns INT B to a low logic level based on a falling edge of INPUT A, e.g., at time t 3 .
  • the signals INT A and INT B have duty cycles that are modulated based on the phase or the phase difference between INPUT A and INPUT B.
  • Figures 6F and 6G illustrate exemplary signals OUT A and OUT B, respectively, for first stage 302 of phase detector 300.
  • pulse selector circuit 308 is programmed to pass pulses five through eight of signals INT A and INT B.
  • Figures 6H, 61, 6J, and 6K illustrate exemplary outputs from complementary output 309 of first stage 302. These outputs are PHASE A,
  • PHASE A , PHASE B, and PHASE B are used to control the operation of second stage 304. It is understood that the example shown here in Figures 6A through 6K are provided by way of illustration and not by way of limitation.
  • INPUT A and INPUT B have a larger or smaller number of pulses.
  • INPUT A and INPUT B each provide continuous input to first stage 302.
  • signals PHASE A, PHASE A , PHASE B, and PHASE B include a larger or smaller sampling of pulses from signals INT A and INT B.
  • FIG. 7 Another Embodiment of a Second Stage Figure 7 is a schematic diagram of another embodiment of a second stage, indicated generally at 704, for use in a phase detector according to the teachings of the present invention.
  • Second stage 704 uses signals PHASE A, PHASE A , PHASE B and PHASE B from, for example, first stage 302 of Figure 3 to create a voltage, labeled V ou ⁇ .
  • the voltage, V 0UT5 is related to the phase difference between the signals INPUT A and INPUT B.
  • Second stage 704 includes a pair of capacitors 714 and 716.
  • Capacitor 714 is coupled to current source 718 through switch 720.
  • Capacitor 714 is coupled to input 726 of instrumentation amplifier 730 through buffer 723.
  • current source 718 includes transistors Q 1C , Q 1D , Q 1E that are coupled to form a current mirror.
  • Optional resistors are coupled to the emitters of transistors Q 1C , Q 1D , Q 1E to provide invariance to temperature change and to variations in emitter-base voltage.
  • the current mirror in this embodiment uses a 2.5 volt reference voltage to create the constant current for switch 720.
  • this reference voltage reduces changes caused by fluctuations in the power supply V cc .
  • the value of the reference voltage in Figure 7 can be varied as necessary for a particular application. The values shown are provided by way of illustration and not by way of limitation.
  • Switch 720 comprises a differential amplifier formed from transistors Q 1A and Q 1B
  • Transistors Q 1A and Q 1B may be formed on the same die, e.g., using transistor arrays, to reduce differences in the emitter-base voltage due to temperature and other factors. Further, transistors Q !A and Q 1B should be fast enough to allow even small phase differences on the order of 0.1 nanoseconds or less to be resolved.
  • the signal PHASE A is provided to a gate of transistor Q 1A through an RC network 719.
  • the signal PHASE A is provided to a gate of transistor Q 1B through RC network 721.
  • Second stage 704 also includes switch 725 to clear the voltage on capacitor 714.
  • Switch 725 is coupled in parallel with capacitor 714 and comprises, for example, an analog switch with a control input coupled to a signal labeled CLEAR. When the signal CLEAR is raised to a high voltage level, switch 725 is closed so as to clear the voltage on capacitor 714. Otherwise, the CLEAR signal is maintained at a low level to allow the voltage on capacitor 714 to be changed based on the signals PHASE A and PHASE A .
  • Second stage 704 also includes switch 727 that allows the voltage on capacitor 714 to be held at a level so that the output of amplifier 730 can be read. Since switch 720 is formed with bipolar junction transistors, switch 720 would draw a small current even when the switch is off. Thus, switch 727 is added to prevent leakage from capacitor 714 that would destroy the integrity of the value stored on capacitor 714. Capacitor 716 is coupled to current source 722 through switch 724.
  • Capacitor 716 is coupled to input 728 of instrumentation amplifier 730 through buffer 733.
  • current source 722 includes transistors Q 2C , Q 2O , Q 2E that arp coupled to form a current mirror.
  • Optional resistors are coupled to the emitters of transistors Q 2C , Q 2D , Q 2E to provide invariance to temperature change and to variations in emitter-base voltage.
  • the current mirror in this embodiment uses a 2.5 volt reference voltage to create the constant current for switch 724.
  • this reference voltage reduces changes caused by fluctuations in the power supply V cc .
  • the value of the reference voltage and the value of the resistors shown in Figure 7 can be varied as necessary for a particular application.
  • Switch 724 comprises a differential amplifier formed from transistors Q 2A and Q 2B
  • Transistors Q 2A and Q 2B may be formed on the same die, e.g., using transistor arrays, to reduce differences in the emitter-base voltage due to temperature and other factors. Further, transistors Q 2A and Q 2B should be fast enough to allow even small phase differences on the order of 0.1 nanoseconds or less to be resolved.
  • the signal PHASE B is provided to a gate of transistor Q 2A through an
  • Second stage 704 also includes switch 735 to clear the voltage on capacitor 716.
  • Switch 735 is coupled in parallel with capacitor 716 and comprises, for example, an analog switch with a control input coupled to a signal labeled CLEAR. When the signal CLEAR is raised to a high voltage level, switch 735 is closed so as to clear the voltage on capacitor 716. Otherwise, the CLEAR signal is maintained at a low level to allow the voltage on capacitor 716 to be changed based on the signals PHASE B and PHASE B .
  • Second stage 704 also includes switch 737 that allows the voltage on capacitor 716 to be held at a level so that the output of amplifier 730 can be read. Stray capacitance and leakage current should be reduced at the junction of capacitors 714 and 716 with the collectors of transistors Q 1B and Q 2B since the voltage on these capacitors directly affects the measurement of the phase difference by second stage 704. This includes the capacitance on the input to switches 720 and 724. In operation, second stage 704 generates a signal, V ou ⁇ , that is proportional to the phase difference between signals INPUT A and INPUT B of
  • Second stage 704 receives signals PHASE A, PHASE A , PHASE B and PHASE B at switches 720 and 724.
  • switch 720 couples current source 718 to capacitor 714. This causes the voltage at input 726 to decrease due to charging of capacitor 714.
  • switch 720 decouples current source 718 from capacitor 714.
  • capacitor 714 charges at a substantially constant rate during the high logic level pulse of PHASE A and does not charge when
  • PHASE A is a low logic level.
  • switch 724 couples capacitor 716 to current source 722 during the high logic pulses of signal PHASE B so as to charge capacitor 716 and reduce the voltage at input 728.
  • the signals INPUT A and INPUT B are out of phase, the duty cycles of signals PHASE A and PHASE B are different due to the effect of duty cycle modulator 306.
  • the voltage at inputs 726 and 728 after application of signals PHASE A and PHASE B are also different.
  • the difference in voltages at inputs 726 and 728, labeled ⁇ V is proportional to the phase difference between the signals INPUT A and INPUT B.
  • Amplifier 730 amplifies this differential voltage and provides an the output V ou ⁇ as a measure of the phase difference.
  • the voltage V ou ⁇ is represented mathematically in Equation 8:
  • Equation 6 A is the gain of amplifier 730, ⁇ V is the differential voltage applied to amplifier 730, and V REJ - is an offset voltage applied to amplifier 730.
  • Equation 6 The equation for ⁇ V is found above in Equation 6.
  • FIG. 9 Another Embodiment of a First Stage Figure 9 is a schematic diagram of another embodiment of a first stage of a phase detector, indicated generally at 900, and constructed according to the teachings of the present invention.
  • First stage 900 includes duty cycle modulator 902, pulse selector circuit 904 and complementary outputs 906.
  • Duty cycle modulator 902 and pulse selector circuit 904 are described in turn below, hi this embodiment, duty cycle modulator 902 only modulates the duty cycle of pulses in INPUT A and INPUT B for pulses that are selected by selector circuit 904.
  • Duty cycle modulator 902 includes flip-flops 910, 912, 914, and 916.
  • Flip-flops 910 and 916 are triggered on INPUT B.
  • flip-flops 912 and 914 are triggered by INPUT A.
  • flip-flops 910 and 912 are triggered on the rising edges of INPUT B and INPUT A, respectively.
  • flip-flops 914 and 916 are triggered on the falling edges of INPUT A and INPUT B, respectively.
  • Flip-flops 914 and 916 are set to be cleared by the inverse of the outputs of flip-flops 910 and 912, respectively.
  • flip-flops 910 and 912 are coupled to be cleared by the outputs of flip-flops 914 and 916, respectively.
  • the outputs of flip-flops 910 and 912 comprise the outputs PHASE A and PHASE B of complementary outputs 906.
  • PHASE A and PHASE B are each generated in a similar manner.
  • Pulse selector circuit 904 counts a selected number of pulses in INPUT A and INPUT B as described in detail below. Pulse selector circuit 904 then provides signals to the D inputs of flip-flops 910 and 912.
  • flip-flop 910 is set, thereby allowing
  • flip-flops 910 and 914 combine to create a PHASE B signal with a duty cycle that is modulated with the phase difference between INPUT A and INPUT B.
  • B Pulse Selector Circuit
  • Pulse selector circuit 904 is centered around the operation of four-bit counter 920.
  • counter 920 is programmable to operate with INPUT A and INPUT B comprising pulse streams of 5, 10 or 20 MHZ with 8, 16, and 32 pulses, respectively.
  • pulse selector circuit 904 allows one-quarter of the pulses to pass and then selects the next one-quarter of the pulses.
  • Counter 920 is a counter that is loadable with an initial value. Initial values are loaded in counter 920 at two points in its operation. First, counter 920 is loaded with a value that selects the number of pulses to be allowed to pass before beginning the duty cycle modulation. Counter 920 counts from this initial value up to the value 8 (output Q3 is a high logic level). The difference between 8 and the initial value is the number of pulses that are allowed to pass before selecting pulses. For example, with a 5 MHZ signal, the initial value is set at 6 thus only two pulses are allowed to pass before pulses are selected. Once counter 920 reaches the value 8, counter 920 is reloaded with a number that allows pulse selector circuit 904 to select the appropriate number of pulses.
  • the number of pulses that is allowed to pass is equal to the difference between 16 and the initial value.
  • counter 920 is loaded with the value 14, thus allowing 2 pulses to be selected.
  • the values loaded into counter 920 at each of these two points are selected based on the frequency of signals INPUT A and INPUT B.
  • the values loaded into counter 920 are controlled by inputs D0-D3.
  • the first set of values for 5, 10, and 20 MHZ is 6, 4, and 0 thus allowing 2, 4, and 8 pulses to pass, respectively.
  • the second set of values for 5, 10, and 20 MHZ is 14, 12, and 8 thereby allowing 2, 4, and 8 pulses to be selected, respectively.
  • Pulse selector circuit 904 also includes a number of latches.
  • latch 922 is enabled when the DETECT EN signal goes active.
  • the output of latch 922 is provided through inverter 924 to OR gate 925, a clear input of latch 926, a clear input of latch 928, and the clear input of latch 938.
  • Latch 926 latches when counter 920 reaches a count of 8.
  • a D input of latch 926 is coupled to an output of OR gate 930.
  • OR gate 930 is coupled to the Q3 output of counter 920 and the output of latch 926.
  • Latch 928 indicates when pulse selector circuit 904 has finished selecting pulses for duty cycle modulator 902.
  • the D input of latch 928 is coupled to the output of AND gate 932.
  • a first input of AND gate 932 is coupled to the output of latch 926 and a second input of AND gate 932 is coupled to the complement of the Q3 output of counter 920.
  • the output of AND gate 932 is also coupled to the count enable (CE) input of counter 920 through inverter 934.
  • Pulse selector circuit 904 also includes logic circuitry that controls the loading of values into counter 920.
  • OR gate 925 is coupled to the load (L) input of counter 920. As mentioned above, OR gate 925 receives one input from inverter 924. The other input of OR gate 925 is provided by AND gate 936.
  • AND gate 936 has a first input coupled to the Q3 output of counter 920. Further, the other input of AND gate 936 is coupled to the complement of the output of latch 926.
  • Counter 920 also includes inputs D0-D3 to receive values for loading into the counter. Input DO is coupled to the Q3 output of counter 920.
  • Input DI is coupled to a 5 MHZ enable signal (EN5MHz) that indicates whether INPUT A and INPUT B are 5 MHZ signals.
  • Input D2 is coupled to a 20 MHZ enable signal (EN20MHz) that is active when it is low.
  • input D3 is coupled to the output Q3.
  • Pulse selector circuit 904 provides two inputs to duty cycle modulator 902. First, the Q3 output of counter 920 is provided directly to the D input of flip-flop 910. Second, the Q3 output of counter 920 is latched by latch 938 and provided to the D input of flip-flop 912.
  • pulse selector circuit 904 selects a number of pulses in the pulse trains of INPUT A and INPUT B.
  • DETECT EN is at a low level. This holds latch 922 in a reset state. This allows the values of D0-D3 to be loaded into counter 920 through the control signal provided to the L input of counter 920 by inverter 924 and OR gate 925.
  • DETECT EN goes high, latch 922 is released from reset and the Q output of latch 922 goes high on the next rising edge of INPUT B. This reduces the output of inverter 924 to a low level.
  • the load signal L returns to a low logic level and the counter 920 begins counting the pulses of INPUT B.
  • Latch 926 is also released from reset.
  • the output of latch 926 and the Q3 output operate through AND gate 932 and inverter 934 to provide a high logic level to the CE input of counter 920.
  • Counter 920 counts up from the initial value until it reaches 8. When counter 920 reaches 8, a high logic value at Q3 is provide to latch 926. This value is latched by latch 926 to indicate that the first half of the process is complete, namely, counting the pulses in INPUT B to allow to pass without creating a duty cycle modulated signal.
  • the high logic value at Q3 is also provided to latch 938 and to input D of flip-flop 910 to begin the duty cycle modulation process.
  • AND gate 936 and OR gate 925 load the next value into counter 920.
  • Counter 920 then counts up until it rolls over to zero. This selects the number of pulses in the duty cycle modulated signals.
  • Q3 is a low logic level. This changes the output of AND gate 932 to a high logic level which, when latched by latch 928, indicates the end of the process. Further, the CE input of counter 920 is reduced to a low logic level to end the counting process.
  • the Q3 output sends low logic level signals to the D inputs of flip-flops 910 and 912 of duty cycle modulator 902.
  • FIG. 10 is a block diagram of a transit time flow meter indicated generally at 1000 and constructed according to the teachings of the present invention.
  • Flow meter 1000 uses phase detection circuit 1018 to measure a time-shift in ultrasonic signals transmitted through fluid in a conduit by first and second probes 1002 and 1004, respectively.
  • the time shift is processed by data processing circuit 1008 to produce, for example, flow data, or a volumetric flow measurement.
  • Phase detection circuit 1018 detects a phase difference or time-shift between first and second signals in two pair of input signals.
  • Phase detection circuit 1018 is coupled to receive a first pair of input signals at inputs 1012-1 and 1014-1.
  • Input 1012-1 is coupled to probe 1002 and input 1014-1 is coupled to second probe 1004.
  • Phase detection circuit 1018 is also coupled to receive a pair of input signals at inputs 1012-2 and 1014-2.
  • Input 1012-2 is coupled to first probe 1002 and input 1014-2 is coupled to second probe 1004.
  • phase detection circuit 1018 comprises two phase detection circuits constructed as shown and described above with respect to any one or more of Figures 1-9.
  • Phase detection circuit 1018 uses duty cycle modulation to generate at least two output signals. Each output signal is related to a time shift or phase difference between a selected pair of input signals.
  • First probe 1002 is coupled to inputs 1012-1 and 1012-2 of phase detection circuit 1018 to provide a first time-shift measurement through receivers 1020-1 and 1020-2.
  • Second probe 1004 is coupled to inputs 1014-1 and 1014-2 of phase detection circuit 1018 to provide a second time-shift measurement through receivers 1022-1 and 1022-2.
  • comparators 1024 are also provided at inputs 1012- 1, 1012-2, 1014-1, and 1014-2. Comparators 1024 adjust the signals from first probe 1002 and second probe 1004 to be square waves.
  • Control circuit 1016 provides ultrasonic signals to first probe 1002 and second probe 1004 to create the time-shift signals provided to phase detection circuit 1018.
  • Control circuit 1016 provides a first ultrasonic signal to first probe 1002 through pulsers 1026-1 and 1026-2. Pulsers 1026-1 and 1026-2 provide bursts of ultrasonic energy to a pair of transducers of first probe 1002.
  • control circuit 1016 provides a second control signal to pulsers 1028-1 and 1028- 2 for a pair of transducers of second probe 1002.
  • first probe 1002 and second probe 1004 are shown by way of example in Figure 11.
  • first probe 1002 includes a pair of transducers 1102 and 1104 that are located on opposite sides of conduit 1106.
  • second probe 1004 includes a pair of transducers 1108 and 1110 that are also located on opposite sides of conduit 1106.
  • Transducers 1102, 1104, 1108, and 1110 are disposed such that ultrasonic signals transmitted between the pairs of transducers form an X-pattern across a cross-section of conduit 1106. It is noted that in other embodiments, first and second probes 1002 and 1004 comprise independent probes.
  • Flow meter 1000 further includes data processing circuit 1008 that is coupled to the output of phase detection circuit 1018.
  • data processing circuit 1008 includes circuitry that transmits the output of phase detection circuit 1018 to a remote processor for processing to determine at least one flow rate.
  • data processing circuit 1008 is fabricated in a common housing with phase detection circuit 1018. In this embodiment, data processing circuit 1008 uses the output of phase detection circuit 1018 to calculate at least one flow rate. This data may be transmitted for use at a remote location.
  • flow meter 1000 measures the flow of fluid in a conduit, e.g., the volumetric flow of the fluid in conduit 1106 of Figure 11.
  • control circuit 1016 provides a first ultrasonic signal to first probe 1002 through pulsers 1026-1 and 1026-2.
  • This ultrasonic signal contains a number of pulses that are transmitted from transducer 1102 to transducer 1104 and from transducer 1104 to transducer 1102.
  • the received signals at transducers 1102 and 1104 are time-shifted due to the flow of fluid in conduit 1106.
  • Phase detection circuit 1018 receives these signals at inputs 1012-1 and 1012-2.
  • Phase detection circuit 1018 uses duty cycle modulation to detect a phase difference between the signals at inputs 1012-1 and 1012-2. This provides a first measurement to be used in calculating flow rate.
  • Control circuit 1016 then transmits the second ultrasonic signal to second probe 1004 through pulsers 1028-1 and 1028-2.
  • This ultrasonic signal also contains a number of pulses that are transmitted from transducer 1108 to transducer 1110 and from transducer 1110 to transducer 1108.
  • the received signals at transducers 1108 and 1110 are time-shifted due to the flow of fluid in conduit 1106.
  • Phase detection circuit 1018 receives from receivers 1022-1 and 1022-2 these time-shifted signals.
  • Phase detection circuit 1018 uses duty cycle modulation to detect a phase difference (time-shift) between these signals at inputs 1014-1 and 1014-2. This provides a second measurement to be used in calculating flow rate.
  • Data processing circuit 1008 uses the first and second measurements to calculate, e.g., a volumetric flow measurement. Alternatively, data processing circuit 1008 transmits the first and second measurements to a remote processor for calculating one or more flow measurements.
  • Phase lock loop 1200 is a block diagram of phase lock loop indicated generally at 1200 and constructed according to the teachings of the present invention.
  • Phase lock loop 1200 includes phase detection circuit 1208.
  • Phase detection circuit 1208 uses duty cycle modulation to detect a phase difference between an input signal at input 1205 and a feedback signal at input 1207.
  • phase detection circuit 1208 is constructed as shown and described above with respect to any one or more of Figures 1 through 9.
  • Phase detection circuit 1208 provides output signals to loop filter 1210.
  • Loop filter 1210 is coupled to an input of oscillator 1206.
  • Oscillator 1206 provides an output to input 1207 of phase detection circuit 1208 as the feedback signal.
  • phase lock loop 1200 is operable to lock oscillator 1206 in phase and frequency with the input signal at input 1205.
  • Phase detection circuit 1208 detects any phase difference between the signals at its inputs 1205 and 1207. This phase difference is provided to loop filter 1210 to adjust the settings for the oscillator 1206. In this manner, phase detection circuit 1208 controls the frequency and phase of oscillator 1206.
  • Loop filter 1210 provides an output signal for phase lock loop 1200.
  • FIG. 13 is a block diagram of a transit time flow meter indicated generally at 1300 and constructed according to the teachings of the present invention.
  • Flow meter 1300 uses phase detection circuit 1318 to measure a time-shift in ultrasonic signals transmitted through fluid in a conduit by probe 1302. The time shift is processed by data processing circuit 1308 to produce, for example, flow data, or a volumetric flow measurement.
  • Phase detection circuit 1318 detects a phase difference or time-shift between first and second signals.
  • Phase detection circuit 1318 is coupled to receive apair of input signals at inputs 1312-1 and 1312-2. Inputs 1312-1 and 1312-2 are coupled to probe 1302.
  • phase detection circuit 1318 comprises a phase detection circuit constructed as shown and described above with respect to any one or more of Figures 1-9.
  • Phase detection circuit 1318 uses duty cycle modulation to generate at least one output signal.
  • the output signal is related to a time shift or phase difference between the input signals.
  • Probe 1302 is coupled to inputs 1312-1 and 1312-2 of phase detection circuit 1318 to provide a time-shift measurement through receivers 1320-1 and 1320-2.
  • comparators 1324 are also provided at inputs 1312-1 and 1312-2. Comparators 1324 adjust the signals from probe 1302 to provide substantially square wave signals.
  • Control circuit 1316 provides ultrasonic signals to probe 1302 to create the time-shift signals provided to phase detection circuit 1318.
  • Control circuit 1316 provides an ultrasonic signal to probe 1302 through pulsers 1326-1 and 1326-2.
  • Pulsers 1326-1 and 1326-2 provide bursts of ultrasonic energy to a pair of transducers of probe 1302.
  • probe 1302 includes a pair of transducers that are located on opposite sides of a conduit.
  • Flow meter 1300 further includes data processing circuit 1308 that is coupled to the output of phase detection circuit 1318.
  • data processing circuit 1308 includes circuitry that transmits the output of phase detection circuit 1318 to a remote processor for processing to determine at least one flow rate.
  • data processing circuit 1308 is fabricated in a common housing with phase detection circuit 1318. In this embodiment, data processing circuit 1308 uses the output of phase detection circuit 1318 to calculate at least one flow rate. This data may be transmitted for use at a remote location.
  • flow meter 1300 measures the flow of fluid in a conduit, e.g., the volumetric flow of the fluid in a conduit.
  • control circuit 1316 provides an ultrasonic signal to probe 1302 through pulsers 1326-1 and 1326-2.
  • Phase detection circuit 1318 receives signals that are time-shifted due to the flow of fluid in the conduit at inputs 1312-1 and 1312-2.
  • Phase detection circuit 1318 uses duty cycle modulation to detect a phase difference between the signals at inputs 1312-1 and 1312-2. This provides a measurement to be used in calculating flow rate.
  • Data processing circuit 1308 uses the measurement to calculate, e.g., a volumetric flow measurement. Alternatively, data processing circuit 1308 transmits the measurement to a remote processor for calculating one or more flow measurements.
  • the input signals can be duty cycle modulated using other conventional techniques.
  • current sources other than a current mirror may be used with the second stage of the phase detector, e.g., a bipolar junction transistor with a reference voltage coupled to its base.
  • the differential output from the two sampling capacitors can also be provided as output with or without a reference voltage off-set.
  • the amplifier that provides the output of the second stage can be replaced with other circuitry that processes the analog signals produced by the second stage, e.g., one or more analog to digital converters.

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Electromagnetism (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Hematology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Biophysics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Measuring Volume Flow (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

L'invention concerne un procédé de détection de différence de phase entre un premier et un second signal d'entrée. Le procédé consiste à moduler le rapport cyclique d'un premier et d'un second signal intermédiaire à partir d'un premier rapport cyclique basé sur la différence de phase entre le premier et le second signal d'entrée. Le procédé consiste également à créer un signal de sortie différentiel basé sur le rapport cyclique modulé du premier et du second signal intermédiaire, associé à la différence de phase entre le premier et le second signal d'entrée.
PCT/US2001/000212 2000-01-06 2001-01-04 Detecteur de phase WO2001050144A2 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU26275/01A AU2627501A (en) 2000-01-06 2001-01-04 Phase detector

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US09/479,268 US6435037B1 (en) 2000-01-06 2000-01-06 Multiplexed phase detector
US09/478,762 2000-01-06
US09/478,486 2000-01-06
US09/479,268 2000-01-06
US09/478,762 US6595071B1 (en) 2000-01-06 2000-01-06 Estimation of error angle in ultrasound flow measurement
US09/478,486 US6539316B1 (en) 2000-01-06 2000-01-06 Phase detector

Publications (2)

Publication Number Publication Date
WO2001050144A2 true WO2001050144A2 (fr) 2001-07-12
WO2001050144A3 WO2001050144A3 (fr) 2003-02-06

Family

ID=27413445

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/US2001/000212 WO2001050144A2 (fr) 2000-01-06 2001-01-04 Detecteur de phase
PCT/US2001/000244 WO2001049182A2 (fr) 2000-01-06 2001-01-04 Estimation de l'angle d'erreur dans la debitmetrie par ultrasons

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/US2001/000244 WO2001049182A2 (fr) 2000-01-06 2001-01-04 Estimation de l'angle d'erreur dans la debitmetrie par ultrasons

Country Status (2)

Country Link
AU (2) AU2627501A (fr)
WO (2) WO2001050144A2 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005060366B4 (de) 2005-12-16 2019-06-19 Lantiq Beteiligungs-GmbH & Co. KG Verfahren und Vorrichtung zum Bestimmen einer Phasenabweichung

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013106108A1 (de) * 2013-06-12 2014-12-31 Endress + Hauser Flowtec Ag Verfahren zur Ermittlung eines kompensierten Durchflusses und/oder einer kompensierten Strömungsgeschwindigkeit, Ultraschall-Durchflussmessgerät und Computerprogrammprodukt

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4384491A (en) * 1981-01-22 1983-05-24 Bestobell Sparling Ltd. Analog ultrasonic flowmeter
CA1153795A (fr) * 1982-06-15 1983-09-13 Gordon C. K. Tsang Boucle numerique d'asservissement de phase ou de frequence
US4452090A (en) * 1982-05-17 1984-06-05 Airco, Inc. Ultrasonic flowmeter
US4520319A (en) * 1982-09-30 1985-05-28 Westinghouse Electric Corp. Electronic phase detector having an output which is proportional to the phase difference between two data signals
EP0252444A2 (fr) * 1986-07-08 1988-01-13 Sumitomo Electric Industries Limited Boucles d'asservissement de phase numériques
EP0402711A1 (fr) * 1989-06-15 1990-12-19 Siemens-Albis Aktiengesellschaft Dispositif pour la régénération d'un signal d'horloge avec une phase correcte
US5142555A (en) * 1990-11-13 1992-08-25 Dallas Semiconductor Corporation Phase detector
US5502652A (en) * 1994-08-24 1996-03-26 Hoggatt; Austin C. Method and apparatus for measuring heat transfer in small diameter pipes using acoustic signals
EP0711041A1 (fr) * 1994-11-03 1996-05-08 STMicroelectronics S.r.l. Circuit de synchronisation de phase
EP0803984A2 (fr) * 1996-04-25 1997-10-29 Plessey Semiconductors Limited Boucles à verrouillage de phase
DE19617635A1 (de) * 1996-05-02 1997-11-13 Siemens Ag Phasenregelkreis
WO1998000685A2 (fr) * 1996-06-28 1998-01-08 Rocky Mountain Research, Inc. Procede et dispositif debimetrique a correction en fonction de la temperature et de la densite
US5953386A (en) * 1996-06-20 1999-09-14 Lsi Logic Corporation High speed clock recovery circuit using complimentary dividers
US5970106A (en) * 1997-02-25 1999-10-19 Nec Corporation Phase locked loop having a phase/frequency comparator block

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2443050A1 (fr) * 1978-11-29 1980-06-27 Framatome Sa Dispositif de mesure d'un parametre relatif a un fluide en ecoulement dans une canalisation
US4312238A (en) * 1979-12-13 1982-01-26 Rey Thomas J Electro-acoustic flowmeter
CA2106145A1 (fr) * 1992-09-17 1994-03-18 John E. Traina Methode et appareil pour effectuer des mesures aux ultrasons sur un milieu a ecoulement non axial
KR960003645B1 (ko) * 1993-08-25 1996-03-21 주식회사창민테크놀러지 하천 국부(局部) 유속측정방법 및 장치

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4384491A (en) * 1981-01-22 1983-05-24 Bestobell Sparling Ltd. Analog ultrasonic flowmeter
US4452090A (en) * 1982-05-17 1984-06-05 Airco, Inc. Ultrasonic flowmeter
CA1153795A (fr) * 1982-06-15 1983-09-13 Gordon C. K. Tsang Boucle numerique d'asservissement de phase ou de frequence
US4520319A (en) * 1982-09-30 1985-05-28 Westinghouse Electric Corp. Electronic phase detector having an output which is proportional to the phase difference between two data signals
EP0252444A2 (fr) * 1986-07-08 1988-01-13 Sumitomo Electric Industries Limited Boucles d'asservissement de phase numériques
EP0402711A1 (fr) * 1989-06-15 1990-12-19 Siemens-Albis Aktiengesellschaft Dispositif pour la régénération d'un signal d'horloge avec une phase correcte
US5142555A (en) * 1990-11-13 1992-08-25 Dallas Semiconductor Corporation Phase detector
US5502652A (en) * 1994-08-24 1996-03-26 Hoggatt; Austin C. Method and apparatus for measuring heat transfer in small diameter pipes using acoustic signals
EP0711041A1 (fr) * 1994-11-03 1996-05-08 STMicroelectronics S.r.l. Circuit de synchronisation de phase
EP0803984A2 (fr) * 1996-04-25 1997-10-29 Plessey Semiconductors Limited Boucles à verrouillage de phase
DE19617635A1 (de) * 1996-05-02 1997-11-13 Siemens Ag Phasenregelkreis
US5953386A (en) * 1996-06-20 1999-09-14 Lsi Logic Corporation High speed clock recovery circuit using complimentary dividers
WO1998000685A2 (fr) * 1996-06-28 1998-01-08 Rocky Mountain Research, Inc. Procede et dispositif debimetrique a correction en fonction de la temperature et de la densite
US5970106A (en) * 1997-02-25 1999-10-19 Nec Corporation Phase locked loop having a phase/frequency comparator block

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005060366B4 (de) 2005-12-16 2019-06-19 Lantiq Beteiligungs-GmbH & Co. KG Verfahren und Vorrichtung zum Bestimmen einer Phasenabweichung

Also Published As

Publication number Publication date
AU2627501A (en) 2001-07-16
AU2759601A (en) 2001-07-16
WO2001049182A3 (fr) 2002-01-17
WO2001049182A2 (fr) 2001-07-12
WO2001050144A3 (fr) 2003-02-06

Similar Documents

Publication Publication Date Title
US6456170B1 (en) Comparator and voltage controlled oscillator circuit
US6539316B1 (en) Phase detector
US6055287A (en) Phase-comparator-less delay locked loop
US6928369B2 (en) Ultrasonic current meter
US6435037B1 (en) Multiplexed phase detector
EP0081569A1 (fr) Transducteur multiplicateur temporel a reglage de dephasage derive numeriquement pour la mesure de la puissance reactive et de l'energie
US7633434B2 (en) Pulse radar system with a signal integration device having a sample and hold circuit
EP0670499B1 (fr) Convertisseur de tension en fréquence
WO2001050144A2 (fr) Detecteur de phase
US8384440B2 (en) High resolution capture
KR101031890B1 (ko) 무선 거리 측정장치 및 그 방법
US7057978B2 (en) Time interval measurement device
US8456195B2 (en) System and method for on-chip jitter and duty cycle measurement
US4442719A (en) Acoustic flowmeter
FI90144B (fi) Elektronisk elmaetare
JPS5910511B2 (ja) 信号到着時間検出装置
RU2341807C1 (ru) Измеритель относительных амплитудно-частотных характеристик
US4045797A (en) Radar doppler frequency measuring apparatus
US6674309B1 (en) Differential time sampling circuit
CN218352493U (zh) 一种压控振荡器、系统时钟和雷达传感器
JPH08233873A (ja) 双方向電力量計
CN117093044A (zh) 一种标准电能表的v-f转换电路
RU2025743C1 (ru) Нулевой радиометр
RU2103696C1 (ru) Способ измерения количества электрической энергии постоянного тока
Raisanen-Ruotsalainen et al. A 5 mW time-to-digital converter based on a stabilized CMOS delay line

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase in:

Ref country code: JP