[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20030080886A1 - Analog computation circuits using synchronous demodulation and power meters and energy meters using the same - Google Patents

Analog computation circuits using synchronous demodulation and power meters and energy meters using the same Download PDF

Info

Publication number
US20030080886A1
US20030080886A1 US09/898,245 US89824501A US2003080886A1 US 20030080886 A1 US20030080886 A1 US 20030080886A1 US 89824501 A US89824501 A US 89824501A US 2003080886 A1 US2003080886 A1 US 2003080886A1
Authority
US
United States
Prior art keywords
signal
circuit
circuitry
output
digital
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.)
Granted
Application number
US09/898,245
Other versions
US6587061B2 (en
Inventor
Joseph Petrofsky
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.)
Analog Devices International ULC
Original Assignee
Linear Technology LLC
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 Linear Technology LLC filed Critical Linear Technology LLC
Priority to US09/898,245 priority Critical patent/US6587061B2/en
Assigned to LINEAR TECHNOLOGY CORPORATION reassignment LINEAR TECHNOLOGY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PETROFSKY, JOSEPH GERARD
Priority to TW091114175A priority patent/TW595119B/en
Publication of US20030080886A1 publication Critical patent/US20030080886A1/en
Application granted granted Critical
Publication of US6587061B2 publication Critical patent/US6587061B2/en
Adjusted expiration legal-status Critical
Assigned to Analog Devices International Unlimited Company reassignment Analog Devices International Unlimited Company CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: LINEAR TECHNOLOGY LLC
Assigned to LINEAR TECHNOLOGY LLC reassignment LINEAR TECHNOLOGY LLC CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: LINEAR TECHNOLOGY CORPORATION
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06JHYBRID COMPUTING ARRANGEMENTS
    • G06J1/00Hybrid computing arrangements

Definitions

  • the present invention relates to methods and apparatus for computation circuits, power and energy measuring circuits, and more particularly to analog computation circuits, power meters, and energy meters that use a synchronous demodulation topology.
  • Computation circuits may determine a product or ratio of two or more analog signals while maintaining proper units.
  • Traditional computational circuits such as multiplier/divider circuits, may use a variety of methods to perform circuit computations. Such methods may use the logarithmic characteristic of the current versus voltage (I-V) curve of the bipolar transistor V be ⁇ I c or the square-law characteristic of the MOSFET V gs ⁇ I d relationships to implement multiplier/divider circuits. Both methods may have inherent accuracy limitations in performing computations because of their dependence upon V be /V gs control voltages. These control voltages are often relatively low voltages that can be subjected to variations (e.g., thermal changes, transients, noise, or the like) which may hinder the computation circuit's computational accuracy.
  • FIG. 1 illustrates a simplified version of Takasuka's FIG. 1.
  • Takasuka circuit 100 as shown in FIG. 1, may be configured to perform multiplication, division, or other computations. This circuit may use a delta-sigma modulator 130 , which has analog inputs V 1 and V REF .
  • Modulator 130 may generate a digital output signal (e.g., duty cycle) based on a ratio having V 1 inversely proportional to V REF .
  • This digital output signal (ratio) can be used as an input for multiplying digital-to-analog converter 151 (MDAC 151 ).
  • MDAC 151 may also receive a second input signal, which is shown as V 2 .
  • MDAC 151 may generate a signal by multiplying the digital output signal with the second input signal at V 2 .
  • the result may be filtered by lowpass filter 160 to produce output V OUT , which may be substantially equivalent to (V 1 /V REF )*V 2 .
  • Takasuka circuit 100 has significant improvements over the traditional methods, but still has several flaws.
  • One flaw with Takasuka circuit 100 may be that the sampling frequency should be several times higher (e.g., 50-1000 times) than the input frequency of V 1 .
  • modulator 130 may experience amplitude roll-off of the input signal V 1 . This may result in errors that occur during multiplication of the digital signal and V 2 in MDAC 151 because of delays in modulator 130 . Since both modulator 130 and MDAC 151 operate at the same clock frequency, any delay in generating the digital signal may result in an erroneous measurement.
  • Takasuka circuit 100 may have another restriction that requires the frequency of V REF to be much lower than the sampling frequency in order to keep modulator 130 stable.
  • FIG. 2 shows RMS-to-DC converter 200 as described in U.S. Pat. No. 5,896,056 to Glucina, the disclosure of which is incorporated by reference in its entirety.
  • RMS-to-DC converter 200 may include ⁇ - ⁇ modulator 230 , MDAC 250 , lowpass filter 260 , rectifier 205 to provide computation of the RMS function.
  • Rectifier 205 may be coupled to receive V 1 and V 2 and provide an output to both ⁇ - ⁇ modulator 230 and MDAC 250 .
  • ⁇ - ⁇ modulator 230 may generate a digital signal based on the rectifier output and the output of lowpass filter 260 , shown as V OUT .
  • V OUT may provide a unipolar DC signal that provides ⁇ - ⁇ modulator 230 with a stable reference, V REF for generating a digital output signal. This digital output signal may then be multiplied to the rectified signal produced by rectifier 205 to create an analog signal that can be filtered by lowpass filter 260 .
  • the filtered analog product can be accurate, but often times the result is hampered by delays introduced by ⁇ - ⁇ modulator 230 .
  • Delays introduced by ⁇ - ⁇ modulator 230 can degrade the overall accuracy of RMS-to-DC converter 200 because multiplication of the digital output signal and the rectifier output are not synchronous. That is, the multiplication of the digital output signal and the rectifier output in DAC 250 is not based on the same sample time.
  • rectifier 205 may introduce delay errors during rectification of small signals operating at relatively high frequency because of switching transients and voltage drops across the diodes, transistors, etc.
  • FIG. 3 shows another illustrative embodiment of a RMS-to-DC converter 300 as described in commonly assigned, co-pending, U.S. patent application Ser. No. 09/411,150, filed Oct. 1, 1999, the disclosure of which is incorporated by reference in its entirety.
  • Converter 300 may have Synchronous MASH Modulator/Demodulator (SMMD) circuitry (i.e., pulse code modulator 330 , demodulator 350 , and delay stages 322 and 324 ) for performing RMS-to-DC conversion of input signals that have a bipolar input signal range, thus eliminating the need for a performance degrading rectifier.
  • SMMD Synchronous MASH Modulator/Demodulator
  • MASH is constituted by a cascade of at least two first order ⁇ - ⁇ modulators.
  • Modulator 330 includes cascaded single-sample ⁇ - ⁇ stages 332 and 334 and demodulator 350 includes single-bit multiplying digital-to-analog converters (MDAC) stages 352 , 354 , and 356 , and adder/subtractor 358 .
  • MDAC digital-to-analog converters
  • SMMD circuitry assures that the multiplication that happens at each MDAC is synchronous; that is both the digital signal generated by the modulator and the delayed analog signal are from the same input sample of V IN .
  • the MDACs need not be synchronous with each other, but each one should multiply a digital input with an analog input that is substantially from the same input sample.
  • the products ⁇ generated by DAC stages 352 , 354 , and 356 may be summed in adder/subtractor 358 .
  • the output of adder/subtracter, shown as MD OUT may be filtered by low pass filter 360 and amplified by gain stage 372 to provide V OUT .
  • V OUT may be fed back to gain stage 374 which provides a reference signal for ⁇ - ⁇ stages 332 and 334 .
  • Converter 300 may not be limited to having input signals with frequencies less than the sampling frequency of the modulator.
  • the input frequency may equal or exceed the sampling frequency of the RMS-to-DC converter. This may be possible because the RMS value of an alias of a signal is the same as the RMS value of the signal itself and also because SMMD topology does not corrupt the amplitude vs. frequency response as do all known prior art RMS-to-DC converters using pulse code modulators.
  • the behavior with low over-sampling ratios and even under-sampled waveforms may be further enhanced by the technique of clock dithering as described in commonly assigned, co-pending patent application Ser. No. 09/735,331, filed Dec. 12, 2000, the disclosure of which is incorporated by reference in its entirety.
  • Power measuring circuits have traditionally been configured with electromechanical devices that obtain current by measuring the magnetic field. These meters, however, are expensive and not very cost-effective for use in tiered energy pricing applications or for remote data collection stations.
  • Kotowski's circuit may use a pulse-code modulation technique to measure the average power consumed by a load.
  • the power measuring circuit disclosed by the EDN article may have limited utility for AC power measurement. This may be because Kotowski's circuit only operates over a portion of the AC power signal. Furthermore, the current signal is delayed considerably by the internal digital filter, which may result in significant power measurement error.
  • analog computation circuits using a synchronous demodulator topology may be configured to perform arithmetic computation, power measurements, and/or energy measurement of various analog signals.
  • the computation circuits, of the present invention may have circuitry such as modulation circuitry (e.g., ⁇ - ⁇ modulation circuitry), demodulation circuitry (e.g., multiplying digital-to-analog converters), delay circuitry, and output circuitry that generates an output signal based on two analog signals and a reference signal.
  • Analog computation circuits such as computation circuits, power measuring circuits, energy measuring circuits, or any other suitable type of circuit may accurately compute the product of two analog signals based upon the same sample clock signal when these two signals are synchronously multiplied together in the demodulation circuitry.
  • the modulation circuitry may generate a digital output signal of a first analog signal that is inversely proportional to a reference signal.
  • the generation of this digital output signal may not be an instantaneous process, in fact, there may be delay associated with the generation of the digital output signal.
  • the second input signal may be delayed to compensate for the delay occurring in the generation of the digital output signal.
  • the demodulation circuitry multiplies the delayed second signal and digital output signal to produce an output signal.
  • Output circuitry may filter the product signal of the demodulation circuitry. The filtered output signal may be proportional to the first and second analog signals and inversely proportional to the reference signal.
  • FIG. 1 shows a block diagram of a known analog arithmetic circuit using a ⁇ - ⁇ modulator in conjunction with a DAC;
  • FIG. 2 shows a block diagram of a known analog arithmetic circuit using RMS-to-DC circuitry
  • FIG. 3 shows a schematic diagram of a known RMS-to-DC converter using a synchronous mash modulator/demodulator topology.
  • FIG. 4 shows a block diagram of an analog computation circuit constructed in accordance with the present invention
  • FIG. 4A shows a block diagram of the circuit of FIG. 4 where a clock dithering circuit is used to dither the clock signal applied to the analog computation circuit in accordance with the present invention
  • FIG. 5 shows a block diagram of a power measuring circuit constructed in accordance with the present invention
  • FIG. 6 shows a block diagram of an energy measuring circuit constructed in accordance with the present invention
  • FIG. 7 shows an alternative block diagram of an energy measuring circuit in accordance with the present invention.
  • FIG. 8 shows a schematic diagram of a more detailed analog computation circuit using synchronous mash modulator/demodulator topology constructed in accordance with the present invention.
  • FIG. 9 shows a schematic diagram of a more detailed energy measuring circuit using synchronous mash modulator/demodulator topology constructed in accordance with the present invention.
  • FIG. 4 shows a generalized block diagram of an analog computation circuit 400 (ACC 400 ).
  • ACC 400 includes modulator 430 , delay stage 440 , demodulator 450 , lowpass filter 460 , and clock CLK.
  • Modulator 430 has a first input coupled to M IN , a second input coupled to M REF , a third input coupled to clock CLK, and an output M OUT .
  • Delay stage 440 has input coupled to D IN and output D OUT .
  • Demodulator 450 has first input coupled to M OUT , second input coupled to D OUT , a third input coupled to Clock CLK, and output MD OUT .
  • Lowpass filter 460 has input coupled to MD OUT and output R OUT .
  • Modulator 430 may be a pulse code modulator, pulse width modulator, or other similar modulator.
  • modulator 430 may be implemented as a single-bit oversampling ⁇ - ⁇ pulse code modulator.
  • Inputs M IN , M REF , and D IN may represent any type of physical signal such as current, voltage, power, charge, etc.
  • M REF may be a signal generated independent of ACC 400 or it may be a signal generated within ACC 400 (e.g., a feedback signal such as R OUT .
  • modulator 430 can be used to perform the division function for the analog computation circuit.
  • the output signal M OUT of Modulator 430 may, for example, comprise a stream of binary pulses, wherein each pulse is a binary signal (e.g., a digital signal having values LOW and HIGH) having a fixed pulse period.
  • the duty ratio over a predetermined interval e.g., 10 pulse periods
  • modulator 430 may be implemented using an oversampling cascaded ⁇ - ⁇ pulse code modulator.
  • a cascaded ⁇ - ⁇ modulator sometimes referred to as a MASH, advantageously provides good linearity and accuracy, which is set by oversampling ratios.
  • Cascaded ⁇ - ⁇ modulators may also allow the frequencies of M IN and D IN to exceed the sampling frequency set by clock CLK.
  • Clock CLK is a fixed period clock that may have a high frequency for setting the sampling ratio, which may dictate the rate (e.g., frequency) at which input signals are sampled relative to the frequency of the input signal.
  • the clock frequency should have a higher frequency than the frequency of M REF to ensure proper operation of modulator 430 . If MIN or DIN frequencies exceed the clock CLK frequency, ACC 400 may generate an uncorrupted (i.e., uncorrupted amplitude vs. frequency signal) signal since synchronous demodulation is used.
  • Modulator 430 may also be implemented using undersampled cascaded ⁇ - ⁇ modulators or even low oversampled ⁇ - ⁇ cascaded modulators by implementing a clock dithering technique. A more detailed example of clock dithering follows later in the discussion.
  • Second signal DIN may be coupled to delay stage 440 .
  • Delay stage 440 may delay DIN to compensate for any delay that occurs during the generation of digital signal M OUT .
  • D OUT may represent the delayed second signal D IN .
  • Demodulator 450 may be a single-bit MDAC, a multi-bit MDAC, or any other type of digital-to-analog converter.
  • demodulator 450 may be a single-bit MDAC.
  • Demodulator 450 has a first input coupled to M OUT , which may serve as the control signal for demodulator 450 .
  • Demodulator 450 also has a second input coupled to D OUT . Delayed signal D OUT may be multiplied with M OUT to generate demodulator 450 product MD OUT .
  • the demodulator topology of the present invention may generate a product (e.g., MD OUT ) based upon synchronously multiplied M IN and D IN signals which were both sampled on the same clock signal.
  • a product e.g., MD OUT
  • This synchronous multiplication of signals assures accurate computation of two analog signals for analog computation circuits, power measuring circuits, energy measuring circuits or any other suitable computation circuit.
  • demodulator 450 output MD OUT may have a magnitude equal to the product of D OUT and M OUT .
  • Lowpass filter 460 attenuates the high frequency components associated with MD OUT to provide output R OUT , which is equal to the time average of the MD OUT signal.
  • M IN , M REF , and D IN may, for example, each represent some unit of voltage and R OUT may represent a correctly scaled computation in voltage.
  • the inputs may be transposed, that is M IN may be current and D IN may be voltage.
  • FIG. 4A shows an analog computation circuit 401 similar to that shown in FIG. 4, except that clock dithering circuit 495 (CDC 495 ) is coupled between clock CLK and a node connected to both modulator 430 and demodulator 450 .
  • CDC 495 may dither the sampling clock signal in a random or random-like manner, such that the input frequencies and the sample frequency are highly unlikely to ever be identical, or in an error-prone ratio (i.e., with respect to harmonics). For example, suppose the sample frequency was 60 kHz, input MIN frequency was 59 kHz, and input DIN was 61 kHz.
  • MIN would alias a signal at
  • multiplier 450 will create two 1 kHz signals in random relative phases. CDC 495 will move those phases around over the time period of lowpass filter 460 so that the fluctuations between constructive and destructive additions will result in no net DC output from lowpass filter 460 .
  • FIG. 5 shows power measuring circuit 500 which may include modulator 530 , delay stage 540 , demodulator 550 , lowpass filter 560 , and clock CLK.
  • Modulator 530 has a first input coupled to V IN , a second input coupled to M REF (M REF may be precise so that the power measurement is accurate), and an output M OUT .
  • CLK can be coupled to modulator 530 and demodulator 550 .
  • Delay stage 540 has input coupled to I IN and output I OUT .
  • Demodulator 550 has first input coupled to M OUT , second input coupled to I OUT , and output MD OUT .
  • Lowpass Filter 560 has input coupled to MD OUT and output P OUT .
  • Power measuring circuit 500 may operate in the same manner as analog computation circuits 400 and 401 as described above.
  • P OUT may be the average power consumed by a load.
  • FIG. 6 shows an illustrative energy measuring circuit 600 (EMC 600 ) that may have the same inputs V IN , M REF , and I IN as power measuring circuit 500 .
  • EMC 600 may have similar components such as modulator 630 , delay stage 640 , demodulator 650 , and lowpass filter 660 .
  • Clock CLK is also coupled to both modulator 430 and demodulator 450 .
  • EMC 600 may have analog-to-digital converter 670 (ADC 670 ), which may be coupled to lowpass filter output P OUT , clock CLK, and has a digital output stream C OUT represented by a series of bits.
  • EMC 600 may have accumulator 680 which can be coupled to output stream C OUT and has output E OUT .
  • Accumulator 680 may be, for example, a multi-bit adder, that receives a 12-bit input signal (11 magnitude bits plus 1 sign bit), however, in FIG. 6, accumulator 680 , as shown, only receives a single-bit input signal.
  • Accumulator 680 may be configured to sample ADC 670 output bit stream over a long period of time (e.g., months, days, hours, minutes, etc.) to determine the amount of energy being delivered to a load. After accumulator 680 has tallied the digitized power bits over a prescribed period of time it may produce average energy output E OUT .
  • E OUT may be equal to:
  • P AVG represents the amount of average power digitized by ADC 670 and TIME represents the period of time accumulator 680 tallied digitized average power bit signals.
  • FIG. 7 shows another illustrative energy measuring circuit (EMC 601 ), which has a slight deviation from FIG. 6.
  • lowpass filter 660 has been omitted because accumulator 680 totals the digital bits generated by DAC 670 over a long period of time (e.g., minutes, days, months, etc.), thus forming an extremely low frequency low pass filter that operates entirely in the digital domain.
  • the digital filter may be useful when EMC 601 is used, for example, on a 50 Hz or a 60 Hz power grid because the average energy consumed by a load can easily be determined with, for example, a 20 KHz sampling rate.
  • FIG. 8 shows analog computation circuit 800 that uses, for example, synchronous MASH modulator/demodulator circuitry.
  • ACC 800 includes modulator 830 , single-sample delay stages 841 and 842 , demodulator 850 , lowpass filter 860 , and gain stage 872 .
  • a clock CLK (not shown to prevent cluttering of the FIGURE) can be coupled to modulator 830 and demodulator 850 .
  • Modulator 830 includes cascaded single-bit ⁇ - ⁇ stages 831 and 832
  • demodulator 850 includes single-bit digital-to-analog converters (DAC) stages 851 , 852 and 853 , and adder/subtractor 855 .
  • the number of ⁇ - ⁇ stages and DAC stages shown in the FIGURE is merely illustrative. For example, a combination of three ⁇ - ⁇ stages and four DAC stages can be used to perform analog computations.
  • ⁇ - ⁇ stage 831 has a first input coupled to M IN , a second input coupled to M REF , a first output M OUT1 , and a second output Q 1 .
  • ⁇ - ⁇ stage 831 may generate a quantization error signal that is supplied to ⁇ - ⁇ stage 832 via Q 1 .
  • ⁇ - ⁇ stage 832 has a first input coupled to Q 1 , a second input coupled to M REF , and an output M OUT2 .
  • Delay stage 841 has input coupled to D IN and an output D IN .
  • Delay stage 842 has an input coupled to D IN and an output D OUT .
  • DAC stage 851 has first input coupled to M OUT1 , a second input coupled to D IN1 , and an output R 1 .
  • DAC stage 852 has a first input coupled to M OUT2 , a second input coupled to D IN1 , and an output R 2 .
  • DAC stage 153 has a first input coupled to M OUT2 , a second input coupled to D OUT and an output R 3 .
  • Adder/Subtractor 155 has inputs coupled to R 1 , R 2 , and R 3 , and has output MD OUT .
  • Lowpass filter has input coupled to MD OUT and has output R OUT .
  • Each ⁇ - ⁇ stage has an input coupled to a clock CLK.
  • Clock CLK has a signal (i.e., frequency) that is much higher (e.g., 10 to 10 12 times higher) than the frequency of the reference signal fed to pulse modulator 830 .
  • index i denotes the sample index
  • e[i] (produced by ⁇ - ⁇ stage 831 ) is the quantization error of ⁇ - ⁇ stage 831 .
  • M OUT1 equals the desired ratio of the input MIN divided by M IN , plus the spectrally-shaped quantization error of ⁇ - ⁇ stage 831 divided by M REF .
  • e′[i] is the quantization error of ⁇ - ⁇ stage 832 (produced internally withing ⁇ - ⁇ stage 832 ).
  • the single-bit ⁇ - ⁇ stages 831 and 832 of modulator 830 can produce different signals than that described in conjunction with the illustration shown in FIG. 8.
  • ⁇ - ⁇ stage 831 may produce an integrator voltage for Q 1 .
  • ⁇ - ⁇ stage 832 may internally reproduce the quantization error of ⁇ - ⁇ stage 831 .
  • the integrator voltage can be supplied from an integrator located within ⁇ - ⁇ stage 831 . This is illustrated, for example, in an illustrative ⁇ - ⁇ analog-to-digital converter 970 shown in FIG. 9.
  • Integrator 971 can have output R SI , which can be supplied to ⁇ - ⁇ stage 832 via Q 1 .
  • Single-bit DACs 851 , 852 and 853 multiply digital signals M OUT1 and M OUT2 to delayed second input signals D IN1 and D OUT to provide outputs R 1 , R 2 and R 3 , respectively, equal to:
  • R 1 , R 2 and R 3 each may represent a product signal of a digital signal (e.g., M OUT1 or M OUT2 ) and a delayed input signal (e.g., D IN1 or D OUT ) sampled on the same clock signal.
  • a digital signal e.g., M OUT1 or M OUT2
  • a delayed input signal e.g., D IN1 or D OUT
  • Adder/subtractor 855 provides an output MD OUT equal to:
  • MD OUT ⁇ [ i + 1 ] ⁇ D IN ⁇ [ i ] M REF ⁇ ( M IN ⁇ [ i ] + e ⁇ [ i + 1 ] + e ′ ⁇ [ i + 1 ] - e ′ ⁇ [ i ] ) - ⁇ D IN ⁇ [ i - 1 ] M REF ⁇ ( e ⁇ [ i ] + e ′ ⁇ [ i + 1 ] - e ′ ⁇ [ i ] ) ( 13 )
  • lowpass filter 860 provides output R OUT that is the average of MD OUT .
  • R OUT as a function of M IN [i ⁇ 1] and D IN [i ⁇ 1] approximately equals: R OUT
  • [ i - 1 ] ⁇ ⁇ D IN ⁇ [ i - 1 ] M REF ⁇ ( M IN ⁇ [ i - 1 ] + e ⁇ [ i ] + e ′ ⁇ [ i ] - e ′ ⁇ [ i - 1 ] ) - ⁇ D IN ⁇ [ i - 1 ] M REF ⁇ ( e ⁇ [ i ] + e ′ ⁇ [ i + 1 ] - e ′ ⁇ [ i ] ) ⁇ D IN ⁇ [ i - 1 ]
  • output R OUT of ACC 800 is proportional to input M IN , and input DIN and inversely proportional to reference input M REF .
  • P OUT is the average power measured by ACC 800 .
  • FIG. 9 illustrates energy measuring circuit 900 (EMC 900 ) using the same synchronous MASH modulator/demodulator topology as that previously discussed in FIG. 8.
  • EMC 900 may include ADC 970 , and accumulator 980 .
  • Analog-to-digital converter 970 (ADC 970 ) has input coupled to MD OUT and output C OUT .
  • Accumulator 980 has input coupled to C OUT and has output E OUT .
  • Clock CLK is shown to be coupled to ⁇ - ⁇ stages 831 and 832 of modulator 830 , DAC stages 851 , 852 and 853 of demodulator 850 , and comparator 972 and DAC 974 of ADC 970 .
  • ADC 970 may be any type of suitable analog-to-digital converter.
  • ADC 970 may be a ⁇ - ⁇ ADC as illustrated in the FIGURE.
  • ADC 970 can include integrator 971 , comparator circuit 972 , DAC 974 , and adder/subtracter 975 .
  • Adder/subtractor 975 has a first input coupled to MD OUT , a second input coupled to DAC 974 output R 4 , and an output coupled to integrator 971 .
  • Integrator 971 has a first input coupled to the output of adder/subtractor 975 , a second input coupled to M REF , and has output R SI .
  • Comparator 972 has a first input coupled to clock signal CLK, a second input coupled to R SI and an output C OUT .
  • Clock signal CLK may be the same clock signal applied to modulator 830 (more particularly ⁇ - ⁇ stages 831 and 832 ) for setting the sampling frequency.
  • Comparator 972 compares the output of integrator 971 to reference level (e.g., ground), not shown, and latches the comparison result as output signal C OUT .
  • DAC 974 has input coupled to output of comparator 972 .
  • DAC 974 converts digital output signal C OUT to analog signal R 4 which may be fed to the second input of adder/subtractor 975 as negative feedback.
  • analog signal R 4 can be fed back to adder/subtractor 955 .
  • Such an alternative arrangement may eliminate adder/subtractor 975 .
  • the analog signal representing the average power PAVG may be converted into at least a single-bit digital output stream that is tallied by accumulator 980 .
  • Accumulator 980 totals the average amount of power bits measured over a certain interval of time (e.g., months, days, hours, minutes). After accumulator 980 has tallied the digitized power bits over a prescribed period of time it may output E OUT , which represents the average amount of energy measured during the prescribed period of time.
  • E OUT may be equal to:
  • P AVG represents the amount of average power (joules/seconds) digitized by ADC 970 and TIME represents the period of time (seconds) accumulator 980 tallied the digitized average power bits.
  • MDAC 851 , 852 , and 853 can be separate and distinct hardware elements, the same hardware elements used in a time interleaved manner, or a combination thereof.
  • the embodiments of the present invention can have differential circuitry used throughout. Such a configuration provides analog computation circuitry with the ability to synchronously multiply differential input signals (e.g., differential V IN and differential I IN ). It will also be understood that the delay time of signals provided to the modulator and/or demodulator can be modified.
  • Modifying the delay time can be used to compensate for external delays that skew at least one of the input signals (e.g., M IN or D IN ) in time. For example, when measuring power and energy, an external delay can occur when a transformer is used to measure current or when any other AC coupling is used to measure a signal. All such modifications are within the scope of the present invention, which is limited only by the claims that follow.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Automation & Control Theory (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The present invention relates to analog computation circuits that use a synchronous demodulator topology which can be configured to perform arithmetic computation, power measurements, and/or energy measurement of various analog signals. The computation circuits have circuitry that generates an output signal based on the values of a first input signal, a second input signal, and a reference signal. This invention provides accurate computation of two signals by using modulation circuitry (e.g., Δ-Σmodulation circuitry), demodulation circuitry (e.g., multiplying digital-to-analog converters), delay circuitry, and output circuitry.

Description

    BACKGROUND OF THE INVENTION
  • The present invention relates to methods and apparatus for computation circuits, power and energy measuring circuits, and more particularly to analog computation circuits, power meters, and energy meters that use a synchronous demodulation topology. [0001]
  • Computation circuits may determine a product or ratio of two or more analog signals while maintaining proper units. Traditional computational circuits such as multiplier/divider circuits, may use a variety of methods to perform circuit computations. Such methods may use the logarithmic characteristic of the current versus voltage (I-V) curve of the bipolar transistor V[0002] be−Ic or the square-law characteristic of the MOSFET Vgs−Id relationships to implement multiplier/divider circuits. Both methods may have inherent accuracy limitations in performing computations because of their dependence upon Vbe/Vgs control voltages. These control voltages are often relatively low voltages that can be subjected to variations (e.g., thermal changes, transients, noise, or the like) which may hinder the computation circuit's computational accuracy.
  • Some multiplier/divider circuits have departed from the traditional computational circuit methods, such as the multiplier/divider circuit described in U.S. Pat. No. 5,150,324 to Takasuka et al., the disclosure of which is incorporated by reference in its entirety (hereinafter “Takasuka”). FIG. 1 illustrates a simplified version of Takasuka's FIG. 1. Takasuka [0003] circuit 100, as shown in FIG. 1, may be configured to perform multiplication, division, or other computations. This circuit may use a delta-sigma modulator 130, which has analog inputs V1 and VREF. Modulator 130 may generate a digital output signal (e.g., duty cycle) based on a ratio having V1 inversely proportional to VREF. This digital output signal (ratio) can be used as an input for multiplying digital-to-analog converter 151 (MDAC 151). MDAC 151 may also receive a second input signal, which is shown as V2. MDAC 151 may generate a signal by multiplying the digital output signal with the second input signal at V2. The result may be filtered by lowpass filter 160 to produce output VOUT, which may be substantially equivalent to (V1/VREF)*V2.
  • This circuit has significant improvements over the traditional methods, but still has several flaws. One flaw with Takasuka [0004] circuit 100 may be that the sampling frequency should be several times higher (e.g., 50-1000 times) than the input frequency of V1. When the frequency of V1 approaches the sampling frequency of clock CLK, modulator 130 may experience amplitude roll-off of the input signal V1. This may result in errors that occur during multiplication of the digital signal and V2 in MDAC 151 because of delays in modulator 130. Since both modulator 130 and MDAC 151 operate at the same clock frequency, any delay in generating the digital signal may result in an erroneous measurement. Takasuka circuit 100 may have another restriction that requires the frequency of VREF to be much lower than the sampling frequency in order to keep modulator 130 stable.
  • FIG. 2 shows RMS-to-[0005] DC converter 200 as described in U.S. Pat. No. 5,896,056 to Glucina, the disclosure of which is incorporated by reference in its entirety. RMS-to-DC converter 200 may include Δ-Σ modulator 230, MDAC 250, lowpass filter 260, rectifier 205 to provide computation of the RMS function. Rectifier 205 may be coupled to receive V1 and V2 and provide an output to both Δ-Σ modulator 230 and MDAC 250. Δ-Σ modulator 230 may generate a digital signal based on the rectifier output and the output of lowpass filter 260, shown as VOUT. The output of lowpass filter 260, VOUT may provide a unipolar DC signal that provides Δ-Σ modulator 230 with a stable reference, VREF for generating a digital output signal. This digital output signal may then be multiplied to the rectified signal produced by rectifier 205 to create an analog signal that can be filtered by lowpass filter 260.
  • The filtered analog product can be accurate, but often times the result is hampered by delays introduced by Δ-[0006] Σ modulator 230. Delays introduced by Δ-Σ modulator 230 can degrade the overall accuracy of RMS-to-DC converter 200 because multiplication of the digital output signal and the rectifier output are not synchronous. That is, the multiplication of the digital output signal and the rectifier output in DAC 250 is not based on the same sample time. Furthermore, rectifier 205 may introduce delay errors during rectification of small signals operating at relatively high frequency because of switching transients and voltage drops across the diodes, transistors, etc.
  • FIG. 3 shows another illustrative embodiment of a RMS-to-[0007] DC converter 300 as described in commonly assigned, co-pending, U.S. patent application Ser. No. 09/411,150, filed Oct. 1, 1999, the disclosure of which is incorporated by reference in its entirety. Converter 300 may have Synchronous MASH Modulator/Demodulator (SMMD) circuitry (i.e., pulse code modulator 330, demodulator 350, and delay stages 322 and 324) for performing RMS-to-DC conversion of input signals that have a bipolar input signal range, thus eliminating the need for a performance degrading rectifier. MASH is constituted by a cascade of at least two first order Δ-Σ modulators. Modulator 330 includes cascaded single-sample Δ- Σ stages 332 and 334 and demodulator 350 includes single-bit multiplying digital-to-analog converters (MDAC) stages 352, 354, and 356, and adder/subtractor 358.
  • SMMD circuitry assures that the multiplication that happens at each MDAC is synchronous; that is both the digital signal generated by the modulator and the delayed analog signal are from the same input sample of V[0008] IN. The MDACs need not be synchronous with each other, but each one should multiply a digital input with an analog input that is substantially from the same input sample. The products `generated by DAC stages 352, 354, and 356 may be summed in adder/subtractor 358. The output of adder/subtracter, shown as MDOUT, may be filtered by low pass filter 360 and amplified by gain stage 372 to provide VOUT. VOUT may be fed back to gain stage 374 which provides a reference signal for Δ- Σ stages 332 and 334.
  • [0009] Converter 300 may not be limited to having input signals with frequencies less than the sampling frequency of the modulator. In fact, the input frequency may equal or exceed the sampling frequency of the RMS-to-DC converter. This may be possible because the RMS value of an alias of a signal is the same as the RMS value of the signal itself and also because SMMD topology does not corrupt the amplitude vs. frequency response as do all known prior art RMS-to-DC converters using pulse code modulators. The behavior with low over-sampling ratios and even under-sampled waveforms may be further enhanced by the technique of clock dithering as described in commonly assigned, co-pending patent application Ser. No. 09/735,331, filed Dec. 12, 2000, the disclosure of which is incorporated by reference in its entirety.
  • Power measuring circuits have traditionally been configured with electromechanical devices that obtain current by measuring the magnetic field. These meters, however, are expensive and not very cost-effective for use in tiered energy pricing applications or for remote data collection stations. [0010]
  • Other power measuring circuits have been configured to use digital circuits to obtain power and energy measurements. Digital circuits such as the AD7750 manufactured by Analog Devices of Norwood, Mass., and the CS5460 manufactured by Cirrus Logic of Fremont, Calif., have both been used to measure power and energy. These circuits use digitized signals to represent load voltage and current when performing power and energy computations in the digital domain. However, performing such digital calculations can be impractical because a substantial quantity of power is dissipated when obtaining the power or energy measurement. [0011]
  • Another device that can be used for measuring power is described in EDN Magazine, published on Dec. 23, 1999 which discloses the use of U.S. Pat. No. 5,867,054 to Kotowski, both disclosures of which are incorporated by reference in their entirety. Kotowski's circuit may use a pulse-code modulation technique to measure the average power consumed by a load. However, the power measuring circuit disclosed by the EDN article may have limited utility for AC power measurement. This may be because Kotowski's circuit only operates over a portion of the AC power signal. Furthermore, the current signal is delayed considerably by the internal digital filter, which may result in significant power measurement error. [0012]
  • In view of the foregoing, it would be desirable to provide an analog computation circuit that utilizes a synchronous demodulation topology. [0013]
  • It would also be desirable to provide an analog circuit that measures power using a synchronous demodulation topology. [0014]
  • It would be further desirable to provide an analog circuit that measures energy using a synchronous demodulation topology. [0015]
  • SUMMARY OF THE INVENTION
  • It is therefor an object of this invention to provide an analog computation circuit that utilizes a synchronous demodulation topology. [0016]
  • It is also an object of this invention to provide an analog circuit that measures power by utilizing synchronous demodulation. [0017]
  • It is a further object of this invention to provide an analog circuit that measures energy by utilizing a synchronous demodulation topology. [0018]
  • In accordance with these and other objects of the present invention, analog computation circuits using a synchronous demodulator topology may be configured to perform arithmetic computation, power measurements, and/or energy measurement of various analog signals. The computation circuits, of the present invention, may have circuitry such as modulation circuitry (e.g., Δ-Σ modulation circuitry), demodulation circuitry (e.g., multiplying digital-to-analog converters), delay circuitry, and output circuitry that generates an output signal based on two analog signals and a reference signal. [0019]
  • Analog computation circuits such as computation circuits, power measuring circuits, energy measuring circuits, or any other suitable type of circuit may accurately compute the product of two analog signals based upon the same sample clock signal when these two signals are synchronously multiplied together in the demodulation circuitry. The modulation circuitry may generate a digital output signal of a first analog signal that is inversely proportional to a reference signal. [0020]
  • The generation of this digital output signal may not be an instantaneous process, in fact, there may be delay associated with the generation of the digital output signal. In order to ensure that a second analog signal is synchronously multiplied with the first analog signal, which has been converted to the digital output signal, the second input signal may be delayed to compensate for the delay occurring in the generation of the digital output signal. The demodulation circuitry multiplies the delayed second signal and digital output signal to produce an output signal. Output circuitry may filter the product signal of the demodulation circuitry. The filtered output signal may be proportional to the first and second analog signals and inversely proportional to the reference signal.[0021]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The above and other objects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which: [0022]
  • FIG. 1 shows a block diagram of a known analog arithmetic circuit using a Δ-Σ modulator in conjunction with a DAC; [0023]
  • FIG. 2 shows a block diagram of a known analog arithmetic circuit using RMS-to-DC circuitry; [0024]
  • FIG. 3 shows a schematic diagram of a known RMS-to-DC converter using a synchronous mash modulator/demodulator topology. [0025]
  • FIG. 4 shows a block diagram of an analog computation circuit constructed in accordance with the present invention; [0026]
  • FIG. 4A shows a block diagram of the circuit of FIG. 4 where a clock dithering circuit is used to dither the clock signal applied to the analog computation circuit in accordance with the present invention; [0027]
  • FIG. 5 shows a block diagram of a power measuring circuit constructed in accordance with the present invention; [0028]
  • FIG. 6 shows a block diagram of an energy measuring circuit constructed in accordance with the present invention; [0029]
  • FIG. 7 shows an alternative block diagram of an energy measuring circuit in accordance with the present invention; [0030]
  • FIG. 8 shows a schematic diagram of a more detailed analog computation circuit using synchronous mash modulator/demodulator topology constructed in accordance with the present invention; and [0031]
  • FIG. 9 shows a schematic diagram of a more detailed energy measuring circuit using synchronous mash modulator/demodulator topology constructed in accordance with the present invention.[0032]
  • DETAILED DESCRIPTION OF INVENTION
  • FIG. 4 shows a generalized block diagram of an analog computation circuit [0033] 400 (ACC 400). ACC 400 includes modulator 430, delay stage 440, demodulator 450, lowpass filter 460, and clock CLK. Modulator 430 has a first input coupled to MIN, a second input coupled to MREF, a third input coupled to clock CLK, and an output MOUT. Delay stage 440 has input coupled to DIN and output DOUT. Demodulator 450 has first input coupled to MOUT, second input coupled to DOUT, a third input coupled to Clock CLK, and output MDOUT. Lowpass filter 460 has input coupled to MDOUT and output ROUT.
  • [0034] Modulator 430 may be a pulse code modulator, pulse width modulator, or other similar modulator. In particular, modulator 430 may be implemented as a single-bit oversampling Δ-Σ pulse code modulator. Inputs MIN, MREF, and DIN may represent any type of physical signal such as current, voltage, power, charge, etc. MREF may be a signal generated independent of ACC 400 or it may be a signal generated within ACC 400 (e.g., a feedback signal such as ROUT. The output signal MOUT of modulator may be a pulse code modulator signal having a duty ratio of MIN versus MREF: M OUT = M IN M REF ( 1 )
    Figure US20030080886A1-20030501-M00001
  • Hence modulator [0035] 430 can be used to perform the division function for the analog computation circuit.
  • The output signal M[0036] OUT of Modulator 430 may, for example, comprise a stream of binary pulses, wherein each pulse is a binary signal (e.g., a digital signal having values LOW and HIGH) having a fixed pulse period. The duty ratio over a predetermined interval (e.g., 10 pulse periods) equals the ratio of the number of pulses having a value HIGH during that interval to the total number of pulse periods during that interval. Thus, for example, if a pulse stream contains 4 pulses having a value HIGH during an interval of 10 pulse periods, the duty ratio equals 4/10=40%.
  • To achieve accurate analog computations, [0037] modulator 430 may be implemented using an oversampling cascaded Δ-Σ pulse code modulator. A cascaded Δ-Σ modulator, sometimes referred to as a MASH, advantageously provides good linearity and accuracy, which is set by oversampling ratios. Cascaded Δ-Σ modulators may also allow the frequencies of MIN and DIN to exceed the sampling frequency set by clock CLK.
  • Clock CLK is a fixed period clock that may have a high frequency for setting the sampling ratio, which may dictate the rate (e.g., frequency) at which input signals are sampled relative to the frequency of the input signal. The clock frequency should have a higher frequency than the frequency of M[0038] REF to ensure proper operation of modulator 430. If MIN or DIN frequencies exceed the clock CLK frequency, ACC 400 may generate an uncorrupted (i.e., uncorrupted amplitude vs. frequency signal) signal since synchronous demodulation is used. Modulator 430 may also be implemented using undersampled cascaded Δ-Σ modulators or even low oversampled Δ-Σ cascaded modulators by implementing a clock dithering technique. A more detailed example of clock dithering follows later in the discussion.
  • Second signal DIN may be coupled to delay [0039] stage 440. Delay stage 440 may delay DIN to compensate for any delay that occurs during the generation of digital signal MOUT. DOUT may represent the delayed second signal DIN.
  • [0040] Demodulator 450 may be a single-bit MDAC, a multi-bit MDAC, or any other type of digital-to-analog converter. In FIG. 4, demodulator 450 may be a single-bit MDAC. Demodulator 450 has a first input coupled to MOUT, which may serve as the control signal for demodulator 450. Demodulator 450 also has a second input coupled to DOUT. Delayed signal DOUT may be multiplied with MOUT to generate demodulator 450 product MDOUT.
  • The demodulator topology of the present invention may generate a product (e.g., MD[0041] OUT) based upon synchronously multiplied MIN and DIN signals which were both sampled on the same clock signal. This synchronous multiplication of signals assures accurate computation of two analog signals for analog computation circuits, power measuring circuits, energy measuring circuits or any other suitable computation circuit. As a result, demodulator 450 output MDOUT may have a magnitude equal to the product of DOUT and MOUT. MD OUT = M OUT × D OUT = M IN delayed M REF × D IN delayed ( 2 )
    Figure US20030080886A1-20030501-M00002
  • [0042] Lowpass filter 460 attenuates the high frequency components associated with MDOUT to provide output ROUT, which is equal to the time average of the MDOUT signal. Lowpass filter 460 may be a narrow passband filter, such that the output ROUT is a quasi-static DC voltage that may be expressed as: R OUT = AVG ( M IN × D IN M REF ) ( 3 )
    Figure US20030080886A1-20030501-M00003
  • where AVG represents the time average and R[0043] OUT is the computational result of inputs MIN, MREF, and DIN. (Equation 3 dropped the delayed notation associated with MIN and DIN in equation 2 because that delay is inconsequential to the time average value of ROUT.)
  • M[0044] IN, MREF, and DIN may, for example, each represent some unit of voltage and ROUT may represent a correctly scaled computation in voltage. The inputs, for example, may have a variation of units (i.e., MIN=voltage and DIN=current) so that power to a given load may be determined. Moreover, the inputs may be transposed, that is MIN may be current and DIN may be voltage.
  • FIG. 4A shows an [0045] analog computation circuit 401 similar to that shown in FIG. 4, except that clock dithering circuit 495 (CDC 495) is coupled between clock CLK and a node connected to both modulator 430 and demodulator 450. CDC 495 may dither the sampling clock signal in a random or random-like manner, such that the input frequencies and the sample frequency are highly unlikely to ever be identical, or in an error-prone ratio (i.e., with respect to harmonics). For example, suppose the sample frequency was 60 kHz, input MIN frequency was 59 kHz, and input DIN was 61 kHz. MIN would alias a signal at |kHz (160 kHz-59 kHz|) and DIN would alias a signal at |kHz also (160 kHz-61 kHz|). The product created by multiplier 450 will create two 1 kHz signals in random relative phases. CDC 495 will move those phases around over the time period of lowpass filter 460 so that the fluctuations between constructive and destructive additions will result in no net DC output from lowpass filter 460.
  • FIG. 5 shows [0046] power measuring circuit 500 which may include modulator 530, delay stage 540, demodulator 550, lowpass filter 560, and clock CLK. Modulator 530 has a first input coupled to VIN, a second input coupled to MREF (MREF may be precise so that the power measurement is accurate), and an output MOUT. CLK can be coupled to modulator 530 and demodulator 550. Delay stage 540 has input coupled to IIN and output IOUT. Demodulator 550 has first input coupled to MOUT, second input coupled to IOUT, and output MDOUT. Lowpass Filter 560 has input coupled to MDOUT and output POUT. Power measuring circuit 500 may operate in the same manner as analog computation circuits 400 and 401 as described above.
  • [0047] Power measuring circuit 500 may have an output proportional to analog inputs VIN and IIN and inversely proportional to MREF which can be expressed as: P OUT = AVG ( V IN × I OUT M REF ) ( 4 )
    Figure US20030080886A1-20030501-M00004
  • where P[0048] OUT may be the average power consumed by a load.
  • FIG. 6 shows an illustrative energy measuring circuit [0049] 600 (EMC 600) that may have the same inputs VIN, MREF, and IIN as power measuring circuit 500. In addition, EMC 600 may have similar components such as modulator 630, delay stage 640, demodulator 650, and lowpass filter 660. Clock CLK is also coupled to both modulator 430 and demodulator 450. Moreover, EMC 600 may have analog-to-digital converter 670 (ADC 670), which may be coupled to lowpass filter output POUT, clock CLK, and has a digital output stream COUT represented by a series of bits. In addition, EMC 600 may have accumulator 680 which can be coupled to output stream COUT and has output EOUT.
  • [0050] Accumulator 680 may be, for example, a multi-bit adder, that receives a 12-bit input signal (11 magnitude bits plus 1 sign bit), however, in FIG. 6, accumulator 680, as shown, only receives a single-bit input signal. Accumulator 680 may be configured to sample ADC 670 output bit stream over a long period of time (e.g., months, days, hours, minutes, etc.) to determine the amount of energy being delivered to a load. After accumulator 680 has tallied the digitized power bits over a prescribed period of time it may produce average energy output EOUT. EOUT may be equal to:
  • E OUT =P AVG  (5)
  • where P[0051] AVG represents the amount of average power digitized by ADC 670 and TIME represents the period of time accumulator 680 tallied digitized average power bit signals.
  • FIG. 7 shows another illustrative energy measuring circuit (EMC [0052] 601), which has a slight deviation from FIG. 6. In this particular embodiment, lowpass filter 660 has been omitted because accumulator 680 totals the digital bits generated by DAC 670 over a long period of time (e.g., minutes, days, months, etc.), thus forming an extremely low frequency low pass filter that operates entirely in the digital domain. The digital filter may be useful when EMC 601 is used, for example, on a 50 Hz or a 60 Hz power grid because the average energy consumed by a load can easily be determined with, for example, a 20 KHz sampling rate.
  • FIG. 8 shows [0053] analog computation circuit 800 that uses, for example, synchronous MASH modulator/demodulator circuitry. ACC 800 includes modulator 830, single-sample delay stages 841 and 842, demodulator 850, lowpass filter 860, and gain stage 872. A clock CLK (not shown to prevent cluttering of the FIGURE) can be coupled to modulator 830 and demodulator 850. Modulator 830 includes cascaded single-bit Δ- Σ stages 831 and 832, and demodulator 850 includes single-bit digital-to-analog converters (DAC) stages 851, 852 and 853, and adder/subtractor 855. The number of Δ-Σ stages and DAC stages shown in the FIGURE is merely illustrative. For example, a combination of three Δ-Σ stages and four DAC stages can be used to perform analog computations.
  • Δ-[0054] Σ stage 831 has a first input coupled to MIN, a second input coupled to MREF, a first output MOUT1, and a second output Q1. Δ-Σ stage 831 may generate a quantization error signal that is supplied to Δ-Σ stage 832 via Q1. Δ-Σ stage 832 has a first input coupled to Q1, a second input coupled to MREF, and an output MOUT2. Delay stage 841 has input coupled to DIN and an output DIN. Delay stage 842 has an input coupled to DIN and an output DOUT. DAC stage 851 has first input coupled to MOUT1, a second input coupled to DIN1, and an output R1. DAC stage 852 has a first input coupled to MOUT2, a second input coupled to DIN1, and an output R2. DAC stage 153 has a first input coupled to MOUT2, a second input coupled to DOUT and an output R3. Adder/Subtractor 155 has inputs coupled to R1, R2, and R3, and has output MDOUT. Lowpass filter has input coupled to MDOUT and has output ROUT.
  • The following discussion describes how [0055] ACC 800 utilizes synchronous MASH modulator/demodulator topology.
  • Each Δ-Σ stage has an input coupled to a clock CLK. Clock CLK has a signal (i.e., frequency) that is much higher (e.g., 10 to 10[0056] 12 times higher) than the frequency of the reference signal fed to pulse modulator 830.
  • Δ-[0057] Σ stage 831 provides digitized quantized output MOUT1 which has a ratio equal to: M OUT1 [ i ] = M IN [ i - 1 ] + e [ i ] - e [ i - 1 ] M REF ( 6 )
    Figure US20030080886A1-20030501-M00005
  • where index i denotes the sample index and e[i] (produced by Δ-Σ stage [0058] 831) is the quantization error of Δ-Σ stage 831. Thus MOUT1 equals the desired ratio of the input MIN divided by MIN, plus the spectrally-shaped quantization error of Δ-Σ stage 831 divided by MREF.
  • Δ-[0059] Σ stage 832 provides digitized quantized output MOUT2 equal to: M OUT2 [ i ] = e [ i - 1 ] + e [ i ] - e [ i - 1 ] M REF ( 7 )
    Figure US20030080886A1-20030501-M00006
  • where e′[i] is the quantization error of Δ-Σ stage [0060] 832 (produced internally withing Δ-Σ stage 832).
  • In an alternative approach, the single-bit Δ-[0061] Σ stages 831 and 832 of modulator 830 can produce different signals than that described in conjunction with the illustration shown in FIG. 8. For example, Δ-Σ stage 831 may produce an integrator voltage for Q1. Δ-Σ stage 832, on the other hand, may internally reproduce the quantization error of Δ-Σ stage 831. The integrator voltage can be supplied from an integrator located within Δ-Σ stage 831. This is illustrated, for example, in an illustrative Δ-Σ analog-to-digital converter 970 shown in FIG. 9. Integrator 971 can have output RSI, which can be supplied to Δ-Σ stage 832 via Q1. A more detailed discussion of Δ-Σ analog-to-digital converter 970 is described below in connection with the embodiment associated with FIG. 9.
  • Single-[0062] bit DACs 851, 852 and 853 multiply digital signals MOUT1 and MOUT2 to delayed second input signals DIN1 and DOUT to provide outputs R1, R2 and R3, respectively, equal to:
  • R 1 [i]=D IN [i−1]×M OUT1 [i]  (8)
  • R 2 [i]=D IN [i−1]×M OUT2 [i]  (9)
  • R3 [i]=D IN [i−2]×M OUT2 [i]  (10)
  • where R[0063] 1, R2 and R3 each may represent a product signal of a digital signal (e.g., MOUT1 or MOUT2) and a delayed input signal (e.g., DIN1 or DOUT) sampled on the same clock signal.
  • Adder/[0064] subtractor 855 provides an output MDOUT equal to:
  • MDOUT [i]=R 1 [i]+R 2 [i]−R 3 [i]  (11)
  • which equals: [0065] MD OUT [ i ] = D IN [ i - 1 ] M REF × ( M IN [ i - 1 ] + e [ i ] + e [ i ] - e [ i - 1 ] ) - D IN [ i - 2 ] M REF × ( e [ i - 1 ] + e [ i ] - e [ i - 1 ] ) ( 12 )
    Figure US20030080886A1-20030501-M00007
  • Note that: [0066] MD OUT [ i + 1 ] = D IN [ i ] M REF × ( M IN [ i ] + e [ i + 1 ] + e [ i + 1 ] - e [ i ] ) - D IN [ i - 1 ] M REF × ( e [ i ] + e [ i + 1 ] - e [ i ] ) ( 13 )
    Figure US20030080886A1-20030501-M00008
  • If the time constant of [0067] lowpass filter 860 is much greater than the sample period of MDOUT[i] (e.g., 10,000 times), lowpass filter 860 provides output ROUT that is the average of MDOUT. ROUT as a function of MIN[i−1] and DIN[i−1] approximately equals: R OUT | [ i - 1 ] D IN [ i - 1 ] M REF × ( M IN [ i - 1 ] + e [ i ] + e [ i ] - e [ i - 1 ] ) - D IN [ i - 1 ] M REF × ( e [ i ] + e [ i + 1 ] - e [ i ] ) = D IN [ i - 1 ] × M IN [ i - 1 ] M REF + D IN [ i - 1 ] M REF ( 2 e [ i ] - e [ i - 1 ] - e [ i - 1 ] ) ( 14 )
    Figure US20030080886A1-20030501-M00009
  • The first term on the right side of equation (14) is the desired output, and the second term equals the second-order spectrally-shaped quantization noise of Δ-[0068] Σ stage 832, which are substantially reduced by lowpass filter 860. Furthermore, because e′ is uncorrelated with DIN, the DC average of the product of e′ and DIN equals zero. As a result, ROUT approximately equals: R OUT = M IN × D IN M REF ( 15 )
    Figure US20030080886A1-20030501-M00010
  • Thus output R[0069] OUT of ACC 800 is proportional to input MIN, and input DIN and inversely proportional to reference input MREF. Persons skilled in the art may appreciate that ACC 800 of FIG. 8 can easily be configured to be a power measuring circuit and/or an energy measuring circuit. For example, if MIN, and DIN are substituted with VIN, and input IIN respectively, equation (15) may be expressed as: P OUT = M IN × D IN M REF ( 16 )
    Figure US20030080886A1-20030501-M00011
  • wherein P[0070] OUT is the average power measured by ACC 800.
  • FIG. 9 illustrates energy measuring circuit [0071] 900 (EMC 900) using the same synchronous MASH modulator/demodulator topology as that previously discussed in FIG. 8. In addition to the components illustrated in FIG. 8, EMC 900 may include ADC 970, and accumulator 980. Analog-to-digital converter 970 (ADC 970) has input coupled to MDOUT and output COUT. Accumulator 980 has input coupled to COUT and has output EOUT. Clock CLK is shown to be coupled to Δ- Σ stages 831 and 832 of modulator 830, DAC stages 851, 852 and 853 of demodulator 850, and comparator 972 and DAC 974 of ADC 970.
  • [0072] ADC 970 may be any type of suitable analog-to-digital converter. For instance, ADC 970 may be a Δ-Σ ADC as illustrated in the FIGURE. ADC 970 can include integrator 971, comparator circuit 972, DAC 974, and adder/subtracter 975. Adder/subtractor 975 has a first input coupled to MDOUT, a second input coupled to DAC 974 output R4, and an output coupled to integrator 971. Integrator 971 has a first input coupled to the output of adder/subtractor 975, a second input coupled to MREF, and has output RSI. Comparator 972 has a first input coupled to clock signal CLK, a second input coupled to RSI and an output COUT. Clock signal CLK may be the same clock signal applied to modulator 830 (more particularly Δ-Σ stages 831 and 832) for setting the sampling frequency. Comparator 972 compares the output of integrator 971 to reference level (e.g., ground), not shown, and latches the comparison result as output signal COUT. DAC 974 has input coupled to output of comparator 972. DAC 974 converts digital output signal COUT to analog signal R4 which may be fed to the second input of adder/subtractor 975 as negative feedback. In an alternative embodiment, analog signal R4 can be fed back to adder/subtractor 955. Such an alternative arrangement may eliminate adder/subtractor 975.
  • As the output of adder/[0073] subtractor 855, MDOUT is fed to ADC 970, the analog signal representing the average power PAVG may be converted into at least a single-bit digital output stream that is tallied by accumulator 980. Accumulator 980 totals the average amount of power bits measured over a certain interval of time (e.g., months, days, hours, minutes). After accumulator 980 has tallied the digitized power bits over a prescribed period of time it may output EOUT, which represents the average amount of energy measured during the prescribed period of time. EOUT may be equal to:
  • E OUT =P AVG×TIME  (17
  • where P[0074] AVG represents the amount of average power (joules/seconds) digitized by ADC 970 and TIME represents the period of time (seconds) accumulator 980 tallied the digitized average power bits.
  • Persons skilled in the art will recognize that the apparatus of the present invention may be implemented using circuit configurations other than those shown and discussed above. For example, [0075] MDAC 851, 852, and 853 can be separate and distinct hardware elements, the same hardware elements used in a time interleaved manner, or a combination thereof. In another example, the embodiments of the present invention can have differential circuitry used throughout. Such a configuration provides analog computation circuitry with the ability to synchronously multiply differential input signals (e.g., differential VIN and differential IIN). It will also be understood that the delay time of signals provided to the modulator and/or demodulator can be modified. Such modifications can be realized by altering the number of delay stages placed in the signal path (i.e., increase or decrease the number of delay stages used), by using delay stages that have variable delay times, or by using any other suitable configuration. Modifying the delay time can be used to compensate for external delays that skew at least one of the input signals (e.g., MIN or DIN) in time. For example, when measuring power and energy, an external delay can occur when a transformer is used to measure current or when any other AC coupling is used to measure a signal. All such modifications are within the scope of the present invention, which is limited only by the claims that follow.

Claims (41)

What is claimed is:
1. Analog computation circuitry that generates an output signal at an output node proportional to a first input signal at a first input node, a second input signal at a second input node, and inversely proportional to a reference signal at a reference node, said circuit comprising:
modulation circuitry that samples said first input signal and said reference signal based on a clock signal, said modulation circuitry generating at least one digital output signal;
delay circuitry that delays said second input signal by generating at least one delayed second signal;
demodulation circuitry that receives said at least one second input signal and said at least one digital signal, said demodulation circuitry generating a product signal based on said at least one digital output signal and said delayed second signal; and
output circuitry coupled to said product signal that generates said output signal.
2. The circuitry of claim 1, wherein said modulator circuitry comprises:
a pulse code modulator circuit.
3. The circuitry of claim 2, wherein said pulse code modulator circuit comprises:
a Δ-Σ pulse code modulator circuit.
4. The circuitry of claim 2, wherein said pulse code modulator circuit comprises:
a plurality of Δ-Σ pulse code modulator circuits cascaded together.
5. The circuitry of claim 1, wherein said reference signal is at a frequency that is substantially less than said clock signal.
6. The circuitry of claim 1, wherein said clock signal is generated by a clock dithering circuit that dithers said clock signal.
7. The circuitry of claim 1, wherein said reference signal is a non-zero value.
8. The circuitry of claim 1, wherein said circuit comprises an analog computation circuit.
9. The circuitry of claim 8, wherein said first input signal comprises:
a first numerical signal.
10. The circuitry of claim 8, wherein said second input signal comprises:
a second numerical signal.
11. The circuitry of claim 8, wherein said output circuitry comprises:
a low pass filter.
12. The circuitry of claim 8, wherein said output signal comprises:
a numerical output signal.
13. The circuitry of claim 1, wherein said circuitry comprises:
a power measuring circuit.
14. The circuitry of claim 1, wherein said circuitry comprises:
an energy measuring circuit.
15. The circuitry of claim 1, wherein said output circuitry comprises:
a lowpass filter having a filtered output;
analog-to-digital converter circuitry that samples said filtered output based on said clock signal, and that generates a bit stream; and
an accumulator coupled to receive said bit stream, that accumulates said bit stream for a period of time to generate said output signal.
16. The circuitry of claim 1, wherein said output circuitry comprises:
analog-to-digital converter circuitry that samples said product signal based on said clock signal, and that generates a bit stream; and
accumulator circuitry that samples said bit stream, that accumulates said bit stream for a period of time to generate said output signal.
17. The circuitry of claim 1, wherein said second signal of said demodulation circuitry is delayed such that said at least one digital signal and said at least one delayed second signal are based on said clock signal.
18. An analog computation circuit having a first and second input signal, a reference signal, a clock signal, and an output signal, said circuit comprising:
a modulator, coupled to receive said first input signal and said reference signal, that generates at least one digital output signal based on said first input signal and said reference signal;
a delay stage, coupled to receive said second input signal, which generates at least one delayed signal, that compensates for delay caused by said generation of said at least one digital output signal;
a demodulator, coupled to receive said at least one said delayed signal and said at least one digital output signal, said demodulator generates a product signal based on said delayed signal and said digital output signal; and
an output circuit, coupled to receive said product signal to produce said output signal.
19. The circuit of claim 18, wherein said modulator circuit comprises:
a pulse code modulator circuit.
20. The circuit of claim 18, wherein said pulse code modulator circuit comprises:
a Δ-Σ pulse code modulator circuit.
21. The circuit of claim 18, wherein said pulse code modulator circuit comprises:
a plurality of Δ-Σ pulse code modulator circuits cascaded together.
22. The circuit of claim 18, wherein said reference signal is at a frequency substantially lower than said clock signal.
23. The circuit of claim 18, wherein said clock signal is generated by a clock dithering circuit that dithers said clock signal.
24. The circuit of claim 18, wherein said circuit comprises:
an arithmetic circuit.
25. The circuit of claim 18, wherein said first input signal comprises:
a first numerical signal.
26. The circuit of claim 18, wherein said second input signal comprises:
a second numerical signal.
27. The circuit of claim 18, wherein said output filter comprises:
a low pass filter.
28. The circuit of claim 18, wherein said output filter attenuates high frequency components of said product signal.
29. The circuit of claim 18, wherein said output signal comprises:
a numerical output signal.
30. The circuit of claim 18, wherein said circuit comprises:
a power measuring circuit.
31. The circuit of claim 18, wherein said circuit comprises:
an energy measuring circuit.
32. The circuit of claim 18, wherein said output filter comprises:
a lowpass filter having a filtered output;
analog-to-digital converter circuitry that samples said filtered output based on said clock signal, and that generates a bit stream; and
an accumulator coupled to receive said bit stream, that accumulates said bit stream for a period of time to generate said output signal.
33. The circuit of claim 18, wherein said output circuit comprises:
analog-to-digital converter circuitry that samples said product output based on said clock signal, and that generates a bit stream; and
accumulator circuitry that samples said bit stream, that accumulates said bit stream for a period of time to generate said output signal.
34. The circuit of claim 18, wherein said second input signal of said demodulator is delayed such that said at least one digital signal and said at least one delayed second signal are based on said clock signal.
35. A method for generating an output signal based on first and second input signals and a reference signal, said method comprising:
modulating said first input signal with respect to said reference signal to generate at least one digital output signal;
delaying said second input signal to generate at least one delayed second input signal to compensate for delay caused by said generation of said at least one digital output signal;
demodulating said at least one digital output signal and said at least one delayed second input signal to produce a product signal; and
processing said product signal to generate said output signal.
36. The method of claim 35, wherein said generated output signal comprises: a selection from the group consisting of an arithmetic result, a power measurement, an energy measurement, and a combination thereof.
37. The method of claim 35, wherein said modulating comprises:
sampling said first input signal and said reference signal at a substantially faster rate than a reference signal frequency.
38. The method of claim 35, wherein said demodulating comprises:
multiplying said at least one delayed second input signal and said at least one digital signal such that said at least one delayed second input signal and said at least one digital signal are based on a same clock signal to produce said product signal.
39. The method of claim 35, wherein said demodulating comprises:
sampling said at least one digital output signal and said at least one second input signal at a substantially faster rate than a reference signal frequency.
40. The method of claim 35, wherein said processing comprises:
filtering out high frequency components associated with said product signal.
41. The method of claim 35, wherein said processing comprises:
converting said product signal to a digital bit stream for accumulation in an accumulator.
US09/898,245 2001-07-03 2001-07-03 Analog computation circuits using synchronous demodulation and power meters and energy meters using the same Expired - Lifetime US6587061B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US09/898,245 US6587061B2 (en) 2001-07-03 2001-07-03 Analog computation circuits using synchronous demodulation and power meters and energy meters using the same
TW091114175A TW595119B (en) 2001-07-03 2002-06-27 Analog computation circuits using synchronous demodulation and power meters and energy meters using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/898,245 US6587061B2 (en) 2001-07-03 2001-07-03 Analog computation circuits using synchronous demodulation and power meters and energy meters using the same

Publications (2)

Publication Number Publication Date
US20030080886A1 true US20030080886A1 (en) 2003-05-01
US6587061B2 US6587061B2 (en) 2003-07-01

Family

ID=25409155

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/898,245 Expired - Lifetime US6587061B2 (en) 2001-07-03 2001-07-03 Analog computation circuits using synchronous demodulation and power meters and energy meters using the same

Country Status (2)

Country Link
US (1) US6587061B2 (en)
TW (1) TW595119B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1333583A1 (en) * 2001-12-19 2003-08-06 Siemens Aktiengesellschaft Wide band sigma-delta modulator
US6954159B1 (en) 2003-07-01 2005-10-11 Impinj, Inc. Low distortion band-pass analog to digital converter with feed forward
US6873281B1 (en) * 2003-08-28 2005-03-29 Impinj, Inc. Interleaved digital correction for MASH delta-sigma ADC
US7106230B2 (en) * 2004-06-17 2006-09-12 Kenet, Inc. Analog to digital converter calibration via synchronous demodulation
JP5390168B2 (en) * 2008-11-10 2014-01-15 ルネサスエレクトロニクス株式会社 Wiring layout method and program
US9141339B2 (en) * 2012-12-12 2015-09-22 Djuro Zrilic Delta-modulation signal processors: linear, nonlinear and mixed
US9575729B1 (en) 2015-12-03 2017-02-21 Djuro G. Zrilic Digital architecture for delta-sigma RMS-to-DC converter
US9525430B1 (en) 2015-12-03 2016-12-20 Djuro G. Zrilic Method and apparatus for full-wave rectification of delta-sigma modulated signals
US10594335B1 (en) 2018-11-01 2020-03-17 Djuro G. Zrilic Square-law companding apparatus based on nonlinear operations on modulated bit-stream

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989012280A1 (en) 1988-06-09 1989-12-14 Asahi Kasei Microsystems Co., Ltd. Analog operation circuit
US6285306B1 (en) 1996-01-31 2001-09-04 Djuro G. Zrilic Circuits and methods for functional processing of delta modulated pulse density stream
US5867054A (en) 1997-07-31 1999-02-02 National Semiconductor Corporation Current sensing circuit
US5896056A (en) 1997-12-01 1999-04-20 Texmate, Inc. Root-mean-square converter method and circuit

Also Published As

Publication number Publication date
TW595119B (en) 2004-06-21
US6587061B2 (en) 2003-07-01

Similar Documents

Publication Publication Date Title
Huang et al. A BIST scheme for on-chip ADC and DAC testing
Márkus et al. Theory and applications of incremental/spl Delta//spl Sigma/converters
Brandt et al. Second-order sigma-delta modulation for digital-audio signal acquisition
US6359576B1 (en) Apparatus and methods for performing RMS-to-DC conversion with bipolar input signal range
US8242941B2 (en) Pulse modulation A/D-converter with feedback
EP0488818B1 (en) A/D (analog-to-digital) converter
US6587061B2 (en) Analog computation circuits using synchronous demodulation and power meters and energy meters using the same
US6965339B2 (en) Method and system for analog to digital conversion using digital pulse width modulation (PWM)
Carley An oversampling analog-to-digital converter topology for high-resolution signal acquisition systems
US6430220B1 (en) Distortion reduction method and apparatus for linearization of digital pulse width modulation by efficient calculation
EP3751742A1 (en) Sigma-delta analog-to-digital converter circuit with correction for mismatch error introduced by the feedback digital-to-analog converter
JP2002204163A (en) Gated counter analog-to-digital converter with error correction
US9071260B2 (en) Method and related device for generating a digital output signal corresponding to an analog input signal
Carbone Quantitative criteria for the design of dither-based quantizing systems
US6651036B2 (en) RMS-to-DC converter with fault detection and recovery
US20110122005A1 (en) method to linearize the output from an adc
US20040189500A1 (en) Pipeline ad converter
US9077363B2 (en) Stochastic encoding in analog to digital conversion
Parkey et al. Modeling of jitter and its effects on time interleaved ADC conversion
Polge et al. Evaluating analog-to-digital converters
Daponte et al. Using an interpolation method for noise shaping in A/D converters
Kiss et al. Multibit/spl Delta//spl Sigma/ADC with mixed-mode DAC error correction
Jungwirth et al. Asynchronous Continuous Time Pipeline Analog-to-Digital Converter
Nasir Sigma delta and oversampling strategies
Belcher et al. Direct interpolation method for reducing the non-linearity and quantisation distortion of analogue-to-digital convertors

Legal Events

Date Code Title Description
AS Assignment

Owner name: LINEAR TECHNOLOGY CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PETROFSKY, JOSEPH GERARD;REEL/FRAME:011968/0828

Effective date: 20010702

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12

AS Assignment

Owner name: ANALOG DEVICES INTERNATIONAL UNLIMITED COMPANY, IRELAND

Free format text: CHANGE OF NAME;ASSIGNOR:LINEAR TECHNOLOGY LLC;REEL/FRAME:057423/0205

Effective date: 20181105

Owner name: LINEAR TECHNOLOGY LLC, CALIFORNIA

Free format text: CHANGE OF NAME;ASSIGNOR:LINEAR TECHNOLOGY CORPORATION;REEL/FRAME:057421/0714

Effective date: 20170502