Correcting for a gain error resulting from the position of a pole of zero in a transfer function of a system
11125784 · 2021-09-21
Assignee
Inventors
Cpc classification
International classification
Abstract
The response of a Rogowski coil based current measuring circuit is often proportional to frequency. To correct for this a low pass or integrating function is applied to the response to linearize it. The low pass filter is made from real resistors and capacitors, and tolerances in their values significantly affect the estimate of current. This disclosure relates to a way of addressing such problems. This allows consumers of electricity to have confidence in the accuracy of, for example, their electricity meter.
Claims
1. An apparatus for estimating a gain error resulting from a position of a pole or a zero in a transfer function of a filter having at least one of a pole or a zero in a filter transfer function of the filter, the apparatus comprising: a characterization circuit comprising resistor (R) and capacitor (C) components matched to the filter to provide a characterization circuit transfer function such that there is a predictable relationship between a position of at least one pole or zero in the characterization circuit transfer function and the filter transfer function, and wherein the characterization circuit and the filter share at least one of a temperature or a manufacturing process variation; and a processing circuit arranged to interrogate a performance of the characterization circuit and to estimate a correction value for a filter response of the filter based on an attenuation factor of the filter at a particular frequency as determined using a time constant of the R and C components of the characterization circuit.
2. The apparatus as claimed in claim 1, in which the filter is a low pass RC filter.
3. The apparatus as claimed in claim 1, in which the filter is a leaky, integrator.
4. The apparatus as claimed in claim 1, in which the characterization circuit comprises an oscillator formed of at least one RC stage.
5. The apparatus as claimed in claim 1, in which the characterization circuit comprises a further filter, and a signal generator to provide a test signal to the further filter.
6. The apparatus as claimed in claim 5, in which the signal generator is one of a) a free running oscillator providing an oscillator signal set to a nominal oscillation frequency such that a comparison of the oscillator signal and an output of the further filter allows the frequency of a pole or zero of the further filter to be identified with a desired accuracy; b) a digital to analog converter driven so as to provide the test signal.
7. The apparatus as claimed in claim 1, in which the filter comprises R and C components, where a fabrication process is the same for the R and C components of the characterization circuit and are notionally identical.
8. The apparatus as claimed in claim 1, in which the filter comprises R and C components, where a fabrication process is the same for the R and C components of the filter and the R and C components of the characterization circuit and the respective R and C components are scaled versions of each other.
9. The apparatus as claimed in claim 8, further comprising a swap circuit for swapping the filter and the characterization circuits.
10. The apparatus as claimed in claim 1 coupled to a responsive variable gain amplifier, variable attenuator or multiplier for estimating gain error to apply a correcting gain.
11. The apparatus of claim 1, included in or in combination with an electricity monitoring or measurement system.
12. A method of correcting for a gain error resulting from a position of a pole or a zero in a transfer function of a signal processing first circuit to process an input signal, the method comprising: providing a characterization circuit including RC, RL, or LC circuits formed therein respectively having identical or scaled versions of corresponding RC, RL or LC circuits in the first circuit such that transfer functions of the first circuit and the the characterization circuit are related; providing a second circuit for interrogating a performance of the characterization circuit, to determine a time constant of the characterization circuit; and using the determined time constant of the characterization circuit, determining or adjusting a transfer function of the first circuit.
13. The method as claimed in claim 12, wherein adjusting the transfer function of the first circuit comprises calculating a deviation of the transfer function of the first circuit from a nominal transfer function, and making said calculation available for correcting an output of the first circuit.
14. The method as claimed in claim 12, further comprising driving the characterization circuit with a known test signal and monitoring an output of the characterization circuit so as to estimate a transfer function of the characterization circuit.
15. A current measuring circuit for characterizing a low pass RC filter, the current measuring circuit comprising: an air-core current transducer; an apparatus for estimating a response of the RC filter, for calculating an attenuation provided by the filter at a frequency; a second circuit comprising at least one RC circuit matched to the RC filter to share at least one of a temperature or manufacturing process variation; and a circuit for interrogating a performance of the second circuit so as to characterize an RC time constant within the second circuit and to use a result of the characterization to calculate or modify an output of the filter.
16. The current measuring circuit as claimed in claim 15, further comprising a surge detector, and a processor arranged to monitor an evolution of voltage over time, using the characterization of a transfer function of the RC filter to estimate a magnitude of a surge.
17. The current measuring circuit as claimed in claim 16, in which the surge detector is connected upstream of the RC filter.
18. A surge estimator comprising: a transient event detector, for measuring an output voltage or a current, the transient event detector connected to a comparator configured to provide a time stamp indicating a start of a surge event; a filter for filtering an output of the transient event detector, the filter having a filter circuit transfer function; a characterization circuit for estimating the transfer function of the filter, wherein the characterization circuit comprises matched components to the filter to provide a characterization circuit transfer function such that there is a predictable relationship between a position of at least one pole or zero in the characterization circuit transfer function and the filter circuit transfer function; a circuit for interrogating a performance of the characterization circuit associated with an air-core current transducer to determine a time constant of the characterization circuit; and a processor responsive to the output of the filter and the characterization circuit for estimating a magnitude of a surge event.
19. The surge estimator as claimed in claim 18, wherein the filter is an RC filter, and the characterization circuit further comprises additional R and C components scaled by a known scaling factor to the R and C components component of the RC filter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Example embodiments of the present disclosure will now be described, by way of non-limiting example only, with reference to the accompanying figures in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DESCRIPTION OF SOME EMBODIMENTS
(15)
(16)
where A is the cross sectional area of the coil (see
(17) A consequence of this is that if the conductor 4 were to carry an alternating current of a constant peak-to-peak or RMS value but the frequency of that current was swept from low frequency to high frequency then the voltage V developed across the Rogowski coil would increase linearly with frequency, as schematically illustrated in
(18) This property of the Rogowski coil can be unhelpful since mains born load currents are generally quite low frequency, say 50 or 60 Hz whereas noise components can be at much higher frequencies, possibly running into the hundreds of kHz or above. It can therefore be seen that such a response gives a disproportionate amount of weight to a noise signal of low magnitude but high frequency compared to a response of the desired load current having a much higher magnitude but a much lower frequency.
(19) Ideally the output voltage of the Rogowski coil 2 would depend only on the magnitude of the current I through the conductor 4 and not on the frequency of the current.
(20) The person skilled in the art is aware of low pass filters.
(21) It is known that Butterworth filters can be provided in a number of “orders” and that text books show the magnitude function for an N.sub.th order Butterworth low pass filter as
(22)
where ω=angular frequency ω.sub.c=cut off frequency 2πf.sub.o V.sub.O=output voltage V.sub.I=input voltage
(23) The first order Butterworth response is an integrator-like response which can be coupled to the output of a Rogowski coil to linearize the response of such a circuit as a function of frequency. The Butterworth filter 15 is often implemented as a “leaky” integrator as shown in
(24) A problem with the circuit is that the magnitude of the output signal depends critically on the value of the RC product of resistor 30 and the capacitor 32. In order to understand this, consider
(25) It's worth considering the effect of these numbers in detail.
(26) Current measuring circuits often specified to a certain degree of decision. For example, a circuit may be specified to measure to within 0.1% accuracy, i.e. 1 part in 1000.
(27) If rather than using the graphical approach of the log-log plot of
(28)
(29) It can be seen that it would be desirable to be able to accurately characterize the RC product of the low pass filter.
(30) As noted before, capacitors and resistors can be matched exceptionally well within an integrated circuit or reasonably well when collocated as discreet passive components from the same manufacturer outside the IC Therefore, one approach is to form replica copies of the capacitor 72 and the resistor 70 in a circuit which is intended to characterize the RC response. As such the circuit, here generally designated 100, can be regarded as a characterization circuit. In the embodiment shown in
(31)
where all the resistors 70a to 70c=R all the capacitors 72a to 72c=C N=number of stages F.sub.r=resonance frequency
(32) Thus the self-sustaining oscillator within the characterization circuit 100 has a frequency which is reliably related to the RC time constant of the capacitors 72 and resistors 70 within the filter 15. An output from the oscillator can be digitized by an analog to digital converter 110 and then processed by the processor 76 to accurately determine the frequency of operation. The values of the capacitors in the characterization circuit 100 do not necessarily need to be the same as the values of the capacitors in the filter circuit 15. Thus smaller capacitors may be used resulting in a higher oscillation frequency which takes less time to accurately characterize. Similarly the resistors can also be smaller. Thus the characterization circuit need not take up such a significant amount of die area as the filter.
(33) As an alternative, both the filter 15 and the characterization circuit 100 may be fabricated to have identical R and C components, as shown in
(34) The characterization need not require multiple copies of the RC filter to form an oscillator.
(35) Once the data processor can determine the actual response of the low pass filter it can apply a gain correction. Thus supposing that the RC component as measured by the oscillator drifted upwardly by 1% as a result of ambient or other temperature change, and that corresponded to the measured output being X % higher at the measurement frequency (mains frequency) then a corresponding attenuation can be introduced into the signal chain to compensate for the RC drift.
(36) Thus the estimate of current can be corrected.
(37) In the context of Rogowski coil (or air-cored current transformer) based current consumption meters (or watt-hour meters) this approach can be used to improve their performance. Thus approach may be used in conjunction with techniques described in WO2013/038176, “current measurement”, which is incorporated herein by reference, where a known additional current can be superimposed on a load current, and then the response of the measurement transducer and associated signal processing chain is examined to deduce the transfer function of the measurement transducer and signal processing chain, or at least to monitor for changes in the transfer function.
(38) The teachings disclosed herein can be used with an
(39)
based transducer and integrator combination to monitor for response changes due to heating or aging, and/or to allow correction factors to be calculated and applied, or component values to be electronically trimmed where, for example, the capacitor is made of a plurality of smaller capacitors and associated switches for selectively removing or adding capacitors into a group of capacitors.
(40) The monitoring of the integrator response by a replica characterization circuit can be applied in many areas of technology, such as motor control, automotive, aerospace and medical systems, metering and protective systems (relays and circuit breakers) and the like.
(41) The filter 15 (see
(42) Once a filter response is characterized the filter can be used to help estimate other parameters such as a magnitude of a surge current or surge voltage. The RC filter provides a linearization of the frequency response from the Rogowski coil or similar inductor based current transducer. In normal operation the output of the filter will be a sinusoid. However in the event of an electrostatic discharge event, such as a lightning strike on a power distribution system, current surges may be caused to flow. The magnitude of a current surge at any point in the distribution system may vary as a function of distance from the point of the lightning strike, and may also depend on the number of intervening current splitting nodes or devices such as transformers. The surge current will be a largely unidirectional event and hence the voltage on the capacitor may become elevated, and then decay away in an exponential manner as set out by:
V(t)=Vs exp(−t/RC) Equation 4
Where V(t) is the voltage at time t after the surge event at T.sub.0, and Vs is the surge voltage at time T.sub.0
(43) By examining the evolution of V(t) as a function of time, and with some estimate of elapsed time since the surge event occurred, it becomes possible to estimate the magnitude of the surge current. This requires knowledge of the RC time constant of the filter, but this information becomes available as a result of the operation of the present disclosure. The value Vs may also depend on the duration of the surge event. The duration may be measured by a circuit that runs a counter-timer to time the duration for which the signal exceeds a threshold, or the duration of the surge event, such as lightning strike, may be assumed to be constant.
(44)
(45) If the time T.sub.0 of the surge event can be captured by a detector, such as by a voltage monitoring circuit that connects directly to the sensor or to some other arrangement that detects the voltage or current spike of the surge (or the occurrence of its peak value within the filter) and the elapsed time to T.sub.1, where the voltage is measured is known, then by knowledge of the RC time constant the surge voltage V.sub.s at time T.sub.0 can be calculated. The accuracy of timing can be verified or improved by taking further voltage measurements, such as V2 at time T.sub.2. The measurements can then be fitted to an appropriate function, such as an exponential delay or to a sync function. Thus an estimate of the energy in the surge event may be made.
(46) If desired, multiple RC filters having different time constants could be used to the evolution of their respective decay voltages as a function of time should intersect at the time of the surge event.
(47)
(48) In normal use the data processor 300 is responsive to the output of the ADC 290 so as to estimate the alternating current carried by the conductor 4.
(49) The arrangement shown in
(50) The circuits have been described with respect to characterizing an RC filter, but the teachings apply equally to characterizing RL or LC filters.
(51) Although the teachings have been presented with respect to inductive current transducers, the teachings relating to estimating the transfer function of a filter or circuit, and using this to estimate the magnitude of a surge current can be applied to estimating the size of over-voltage events or any other measured exception that is converted into the electrical domain by a suitable transducer.
(52) It is thus possible to provide a method and apparatus for accurately characterizing the filter response where the values of the filter are not well known, but the change in their value can be accurately matched to the change in values in a corresponding interrogation circuit.
(53) The techniques discussed herein are applicable components formed in integrated circuits where components can be matched with great accuracy. The techniques can also be applied to discrete components, but some form of preselection to find appropriately matched components may be required.
(54) The claims presented herein are in single dependency format suitable for filing at the USPTO. However it is to be understood that the claims are intended to depend on any preceding claim of the same type except where that is clearly technically infeasible. Thus converting these claims from single dependency to multiple dependency format is not intended to introduce any added matter.