Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COMPENSATING FOR THE SKIN EFFECT IN A CURRENT SHUNT
Document Type and Number:
WIPO Patent Application WO/2018/109726
Kind Code:
A1
Abstract:
A method and apparatus to compensate for distortion of a waveform due to the skin effect in a current shunt. The method includes modeling the complex impedance of the shunt as component complex impedances. By designing a filter corresponding to the component complex impedances, the distortion of a waveform across the shunt may be reversed to provide an accurate replica of the undistorted waveform.

Inventors:
TSIVIDIS, Yannis (250 West Broadway - 6th floorNew York, New York, 10013, US)
Application Number:
IB2017/057969
Publication Date:
June 21, 2018
Filing Date:
December 14, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SENDYNE CORPORATION (250 West Broadway - 6th floor, New York, New York, 10013, US)
International Classes:
H03H7/42; H03H7/01
Domestic Patent References:
WO2007058910A22007-05-24
Foreign References:
US20050017760A12005-01-27
US20130009655A12013-01-10
US20130328547A12013-12-12
Other References:
POWERGURU, THERMAL EQUIVALENT CIRCUIT DIAGRAMS FOR JUNCTION TEMPERATURE CALCULATIONS, January 2013 (2013-01-01), Retrieved from the Internet
HUABO CHEN ET AL.: "Modeling of impedance of rectangular cross-section conductors", IEEE CONFERENCE ON ELECTRICAL PERFORMANCE OF ELECTRONIC PACKAGING, 23 October 2000 (2000-10-23), pages 159 - 162, XP055496709, Retrieved from the Internet
Attorney, Agent or Firm:
OPPEDAHL, Carl (Oppedahl Patent Law Firm LLC, P O Box 33270Westminster, Colorado, 80233, US)
Download PDF:
Claims:
Claims

1. A method for use with a current shunt, the shunt having a complex impedance, wherein the complex impedance produces frequency-dependent effects upon a voltage waveform across the shunt when passing an electric current through the shunt, the method comprising: modeling the complex impedance of the shunt as a summation of at least two component complex impedances associated with parallel paths through the shunt, thereby creating a shunt model; designing a physical electronic filter corresponding to the shunt model to reverse the frequency-dependent effects of the complex impedance of the shunt on the voltage waveform; physically connecting the filter to the shunt by an electrical connection, thereby applying the filter to the frequency-dependent voltage waveform, wherein the frequency-dependent voltage waveform is transformed into a linear function of the passing current; and

reading the transformed value of the passing current.

2. The method of claim 1, wherein the step of modeling the complex impedance of the shunt further comprises: modeling the parallel paths through the shunt as a parallel connection of at least two branches, each branch comprising a series connection of an inductor having a value of inductance and a resistor having a value of resistance; and

assigning a numerical value to the value of inductance and a numerical value to the value of resistance for each branch of the shunt model.

3. The method of claim 2, wherein the physical electronic filter corresponding to the shunt model is an analog filter, and the step of designing a physical electronic filter further comprises connecting a plurality of parallel-connected pairs of components in series, each parallel- connected pair of components comprising a compensating capacitor having a value of compensating capacitance and a compensating resistor having a value of compensating resistance.

4. The method of claim 3, wherein the step of designing a physical electronic filter further comprises calculating a value of compensating resistance in order to provide a specific value of conductance and a value of a compensating capacitance.

5. The method of claim 1, wherein the physical electronic filter corresponding to the shunt model further comprises a voltage-to-current converter.

6. The method of claim 1, wherein the physical electronic filter corresponding to the shunt model is a digital filter, and the step of designing a physical electronic filter further comprises: defining a system transfer function of the digital filter as a summation of at least two component transfer functions, each associated with a component value of complex impedance; defining the at least two component transfer functions as functions of a complex variable in the analog domain; and

converting the at least two transfer functions defined as functions of a complex variable in the analog domain into functions of a complex variable in the digital domain.

7. The method of claim 6, further comprising sampling the voltage waveform across the shunt over at least two sampling periods at a defined sampling rate, thereby producing sampled signal data.

8. The method of claim 7, wherein the step of applying the filter to the frequency-dependent voltage waveform futher comprises: providing the sampled signal data as values for use with the functions of a complex variable in the digital domain; and

solving the functions of a complex variable in the digital domain for the at least two component transfer functions for the defined sampling rate.

9. The method of claim 8, further comprising an antialiasing filter connected between the shunt and the filter, wherein the antialiasing filter rejects frequency components at very high frequencies.

10. The method of claim 6, wherein the digital filter is executed in a software program, and the step of designing a physical electronic filter further comprises implementing the software program in an embedded controller.

11. An electrical filter apparatus, comprising: a plurality of parallel-connected pairs of components in series, each parallel-connected pair of components comprising:

a compensating capacitor having a value of compensating capacitance and a compensating resistor having a value of compensating resistance, wherein the values of compensating resistance are calculated to provide a specific value of conductance and the values of compensating capacitance are calculated to provide a specific value of capacitance; and

wherein an input of the electrical filter apparatus is connected to an output of a first electrical circuit element.

Description:
TITLE

Compensating for the Skin Effect in a Current Shunt

CROSS REFERENCE APPLICATIONS

[0001] This application claims the benefit of provisional application no. 62/434,352 filed

December 14, 2016 and incorporated herein by reference for all purposes.

TECHNICAL FIELD

[0002] The present invention relates to filters in electrical systems. More specifically, the invention relates to a compensating filter for correction of a distorted waveform of a voltage signal.

BACKGROUND

[0003] In systems which utilize a flow of electrical charge for operation, it is often preferable to know or approximate the amount of electrical charge traveling through a particular element within a circuit contained in the system.

[0004] A commonly used method of current measurement involves measuring the total voltage drop across a circuit element. Division of this voltage value by a known value of the circuit element's resistance yields a value for the amount of current passing through the circuit element, by application of Ohm's Law.

[0005] The method just described would be suitable for measuring a current across a pure resistor, for example, as the voltage across the resistor would be proportional to the current. However, the method can become less precise when applied across other circuit elements, an example of which would be a current shunt. As commonly used, a current shunt is a piece of material having a known resistance which allows current to flow around a point within a circuit. Shunts may vary in the degree of their complexity, as well as the purpose for which the measurement of current through the shunt is performed.

[0006] When a time-varying electric current passes through a conductor, the current passing through a cross-section of the conductor tends to distribute unevenly between the core of the conductor and its surface. This well-known tendency is due to the changing magnetic fields created within the conductor and is referred to as the "skin effect." In a case where accurate measurements of current and voltage are sought after the current has passed through a shunt, the skin effect becomes problematic. This is particularly true when the information sought to be analyzed is not only a simple measurement of voltage across the shunt, but rather measurement of a varying waveform of voltage across the shunt.

[0007] In operation, the skin effect may be influenced by a number of factors which may include: the size and shape of the conductor, the material of the conductor and the frequency of the current passing through the conductor. In a current shunt, the presence of the skin effect will result in the impedance of the shunt becoming a complex impedance, determined by these and other factors. Importantly, the complex impedance of a shunt will distort a waveform of a voltage across the shunt relative to the original waveform, resulting in a diminished value of the measured information represented by the waveform. An example of waveform distortion would be the introduction of frequency-dependent effects upon the waveform. Similarly, an accurate representation of a current waveform will also be lost due to the complex impedance caused by the skin effect.

[0008] If the original waveform, or even a closer approximation, of the voltage across the shunt were to be recoverable, the current waveform, proportional to the voltage waveform, could then be sampled, measured and analyzed in other ways. Increased accuracy provided by the availability of the original waveform would be highly beneficial, and a method to recover an original waveform from one distorted by the skin effect is sought.

SUMMARY OF THE INVENTION

[0009] A method and filter apparatus to compensate for waveform distortion in a shunt due to the skin effect are described. In one of its implementations, the method includes first modeling the shunt as parallel-connected branches of series-connected resistors and inductors to represent complex impedance values of paths through the shunt. It will be understood that the model described below is only an approximate model, used as an example, and other models may be used for the same or similar purpose. Describing the elements of the model begins with formulating an equation setting the inverse of the combined impedance, or admittance, of the filter equal to the summation of the inverses of individual complex impedances, or admittances, of the parallel branches, as follows. 1 iV 1

z filter R„ + j oL t .

[0010] With the definitions below,

the followin is true.

[0011] Substitution yields the following expression:

and the shunt may be modeled accordingly.

[0012] As previously described, these complex impedances are the result of the skin effect and cause distortion of a waveform measured across the shunt. The disclosed method and apparatus seeks to effectively reverse the distortion caused by the skin effect upon the voltage waveform. To achieve this, a compensating filter is first designed and then applied to the shunt voltage. The disclosed invention provides both an analog compensating filter and a digital compensating filter, about which more will later be said.

[0013] By applying the principles of electrical duality, a designer may construct a filter according to the following statement: if the admittance (denoted as Y) of the shunt is the sum of the admittances of a parallel combination of series-connected resistance and inductance combinations, then the impedance (denoted as Z) of the filter can be the sum of the impedances of a series combination of parallel-connected conductance and capacitance combinations, provided that the two are linked so that the shunt admittance and the filter impedance are connected in such a way that the product of the two appears in the resulting transfer function. With the filter constructed, the designer may then make an electrical connection between the shunt and the filter. Allowing the distorted signal from the shunt to pass through the filter results in a corrected form of the voltage signal, which may then provide an accurate replica of the current waveform before it passed through the shunt.

[0014] Applications may exist which require a digital filter to correct distortion of a waveform due to the skin effect. Design of such a filter begins by defining a transfer function of the digital filter in the analog domain as follows.

[0015] It is important to note that this equation is expressed in the analog domain, with s being the Laplace transform variable. In order to express this relationship for use in the digital domain, the bilinear transform is applied to convert from s to z, the z-transform variable, where

2 z - l

T z + l and

H filter = H filter M 2 z-l

T z+l

to yield

filter and N 1 + z " IT ω J - I filter J a , - b, =

l + b z (o T + 2 ω cn T + 2

through rearranging and defining variables.

[0016] Similar to the analog filter described previously, if

DIGITAL FILTER

then the transfer function of the digital filter may also be modeled as a sum of component transfer functions of parallel paths through the shunt,

and modeled as follows.

[0017] To demonstrate distortion of a waveform by the skin effect and correction of the distorted waveform by the method and apparatus according to the invention, a pulse-width modulation (PWM) driven application will be used as an example throughout. The alert reader will recognize that this method of PWM generation is one of a multitude of possibilities, used for example only, and any other technique of signal generation may be used instead. Numbers are chosen arbitrarily to reveal interesting features and, unless otherwise noted, units are not included in the interest of simplicity.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The present invention will now be described with reference to several drawings, of which:

Fig. 1 is an example of a model of complex impedances through a shunt.

Fig. 2A shows an example of a PWM generator.

Fig. 2B shows graphs of input signals and an output PWM signal.

Fig. 3 A shows an example of a PWM generator connected to a motor.

Fig. 3B shows graphs of a motor output voltage and associated motor current driven by a PWM signal.

Fig. 4A is an example of a PWM generator driving a motor which delivers a current to a shunt as modeled by a method according to the invention.

Fig. 4B shows a graph of a motor current delivered to a shunt and a graph of a distored voltage waveform across the shunt due to the skin effect.

Fig. 5 A is an example of a shunt model and associated complex impedances for designing a compensating filter.

Fig. 5B is an example of a compensating filter according to an aspect of the invention.

Fig. 6 is an example of a PWM generator driving a motor which delivers a current to a shunt model and correction of the distorted waveform by a method according to the invention. Fig. 7A is a diagram of a system in which a motor current passes through a shunt and the resulting distorted voltage waveform is corrected by application of a filter according to the invention.

Fig. 7B shows graphs of a waveform of a motor current, a waveform of a voltage measurement across a shunt, and a waveform of the voltage across the shunt, corrected by a method according to the invention.

Fig. 8 is an example of a digital filter according to an aspect of the invention applied to correct distortion of a sampled signal of a voltage waveform across a shunt.

Fig. 9 shows a process to model a component transfer function representing one parallel path through a shunt which distorts a sampled signal of a voltage waveform.

Fig. 10 is a graph comparing the magnitude of the frequency response of a digital filter according to the invention with the magnitude of the frequency response of an analog filter according to the invention.

Fig. 11 is a graph comparing the phase of the frequency response of a digital filter according to the invention with the phase of the frequency response of an analog filter according to the invention.

Fig. 12 shows an example of a digital filter system including an antialiasing filter according to an aspect of the invention.

DETAILED DESCRIPTION OF THE DRAWINGS

[0019] A model of complex impedances through a shunt is illustrated in Fig. 1. The model is composed of parallel-connected branches of series-connected resistors and inductors to represent complex impedances of paths through the shunt. The model of Fig. 1 does not include values for the resistors and inductors, but instead demonstrates a framework for modeling the shunt using as many resistor and inductor pairings as required to model a subject shunt, from Rl and LI through RN and LN. A current enters the shunt at connection point 100 and exits the shunt at connection point 110. A distorted waveform of a voltage across the shunt results.

[0020] Figure 2A shows a schematic diagram of an example PWM generator 200 used to provide a signal to a motor. An input signal 211 and a sawtooth signal 212 are provided to a comparator 213 and PWM output 216 is generated, with like numerals used throughout the drawings. Graphs of these signals are illustrated in Fig. 2B, with input signal 211 denoted VI 1, sawtooth signal 212 denoted V12 and PWM output 216 denoted V16. Connection of the PWM generator 200 with a motor 310 is shown in Fig. 3 A. Graphs of resulting motor voltage 370 and the motor current 380 delivered to a shunt are shown in Fig. 3B. The complex impedance of the shunt due to the presence of the skin effect is modeled according to an aspect of the invention and shown connected to the motor in Fig. 4A. PWM generator 200 is connected to an input of motor 410 and the current of the motor is connected to a shunt model 415. As noted earlier, the shunt model 415 is composed of parallel-connected branches of series-connected resistors and inductors to represent the complex impedance of the shunt. Once the motor current 480 passes through the shunt model 415, the voltage waveform 490 becomes highly distorted, as shown in the graphs of Fig. 4B.

[0021] As an example, the modeled resistors and inductors of the parallel paths through the shunt model 515 are assigned values, as shown in Fig. 5 A . Each parallel path through the shunt is modeled as a series connection of a resistor, R3-R7, with an inductor L2-L6. As mentioned above, design of a compensating filter begins with following the principles of electrical duality, that is, if the admittance (denoted as Y) of the shunt is the sum of the admittances of a parallel combination of series-connected resistance and inductance combinations, then the impedance (denoted as Z) of the filter can be the sum of the impedances of a series combination of parallel-connected conductance and capacitance combinations, provided that the two are linked so that the shunt admittance and the filter impedance are connected in such a way that the product of the two appears in the resulting transfer function. Resistor values for use in the compensating filter are thus calculated and chosen to provide conductance equal to the value of the resistance in the shunt model, and capacitances have values equal to the corresponding inductances in the shunt model.

[0022] A compensating filter according to an aspect of the invention may be constructed for the modeled shunt 515 of Fig. 5 A. Such a compensating filter 525 is shown in Fig. 5B, with values of resistors R9-R13 and capacitors C1-C5 chosen to compensate for the values of complex impedance in the model of Fig. 5 A as explained above. Once constructed, as shown in Fig. 6, the

compensating filter 625 may be applied to the voltage from the motor 610. A high-input-impedance voltage-to-current converter may be used to drive the filter. A diagram of this application of the compensating filter to the shunt voltage is shown in Fig. 7A. PWM 700 provides a signal to motor 710 and a motor current 711 enters shunt 715. Compensating filter 725 is applied to a distorted waveform of voltage across the shunt 715. Fig. 7B shows graphs of the motor current waveform 730, the distorted shunt voltage waveform 740 and the corrected shunt voltage waveform 750. As seen in these graphs, the distortion of the shunt voltage waveform 740 due to the skin effect in the shunt is completely compensated by application of a filter according to the invention.

[0023] Fig. 8 shows a system 800 containing a digital compensating filter 825 according to an aspect of the invention. Such a digital filter may be executed in software and implemented in an embedded controller. The digital compensating filter 825 receives as input a sampled voltage signal from sampler 840 at a sampling rate of T. As discussed above, the transfer function of the digital filter may also be modeled as a sum of component transfer functions of parallel paths through the shunt 815. An example of such a model is shown in Fig. 9. Compensating digital filter 900 is represented by a parallel connection of component transfer functions H - as described above.

Each path in the sum corresponds to one of the impedances of the resistor-capacitor parallel combinations in compensating filter 625, for example. As shown above, each component transfer function may be defined as follows:

with

and

by rearranging of terms.

[0024] Applying these definitions to each component transfer funtion of the model in design detail 950 shows that

and

„=1

similar to the analog compensating filter described above.

[0025] Using the inductor and resistor values of the 5 th -order shunt model of Fig. 5 A and a sampling period of Γ=2μ8, values for a n and b n were obtained for the shunt model and digital compensating filter. Fig. 10 shows results for the magnitude of the frequency response 1020 of the digital compensating filter compared with results for the magnitude of the frequency response 1010 of the analog compensating filter. Fig. 11 similarly shows results for the phase of the frequency response 1120 of the digital compensating filter compared with results for the phase of the frequency response 1110 of the analog compensating filter.

[0026] The alert reader will recognize that the digital compensating filter begins to deviate from the analog compensating filter at higher frequencies. To address potential problems such as aliasing at higher frequencies, an analog antialiasing filter may also be included in the design of the digital compensating filter. Fig. 12 shows a system 1200 containing a digital compensating filter 1225 according to an aspect of the invention. The digital compensating filter 1225 receives as input a sampled voltage signal from a sampler 1240 at a sampling rate of T. Sampler 1240 receives a voltage signal from shunt 1215 through antialiasing filter 1255.

[0027] It will be appreciated that one skilled in the art of electrical filter design, electrical hardware and software could devise additional obvious improvements and variations upon the invention described and claimed herein. All such obvious improvements and variants are intended to be encompassed by the claims which follow.

[0028] What has been described is a method for use with a current shunt, the shunt having a complex impedance, wherein the complex impedance produces frequency-dependent effects upon a voltage waveform across the shunt when passing an electric current through the shunt, the method comprising: modeling the complex impedance of the shunt as a summation of at least two component complex impedances associated with parallel paths through the shunt, thereby creating a shunt model; designing a physical electronic filter corresponding to the shunt model to reverse the frequency-dependent effects of the complex impedance of the shunt on the voltage waveform; physically connecting the filter to the shunt by an electrical connection, thereby applying the filter to the frequency-dependent voltage waveform, wherein the frequency-dependent voltage waveform is transformed into a linear function of the passing current; and reading the transformed value of the passing current.

[0029] Also described is an electrical filter apparatus, comprising: a plurality of parallel-connected pairs of components in series, each parallel-connected pair of components comprising: a compensating capacitor having a value of compensating capacitance and a compensating resistor having a value of compensating resistance, wherein the values of compensating resistance are calculated to provide a specific value of conductance and the values of compensating capacitance are calculated to provide a specific value of capacitance; wherein an input of the electrical filter apparatus is connected to an output of a first electrical circuit element.