# Patent

## Title
Closed-loop fluxgate current sensor

## Abstract

Electrical current sensor comprising a measuring circuit (6) and an inductor (4) for measuring a primary current IP flowing in a primary conductor (2), the inductor comprising a saturable magnetic core (10) made of a highly permeable magnetic material and a secondary coil (12) for carrying an alternating excitation i configured to alternatingly saturate the magnetic core, the coil being connected to the measuring circuit. The measuring circuit is configured to supply a positive or negative voltage to the inductor, to switch off the voltage when a condition signalling saturation is reached, to measure the time to saturation t1 in one direction and the time to saturation t2 in the other direction of the magnetic core and determine therefrom a value of the primary current for small current amplitudes, the measuring circuit being further configured for evaluating the average value of the excitation current i and determining therefrom the value of the primary current for large currents.

## Background
The present invention relates to a closed-loop current sensor, in particular of the fluxgate type.
A conventional fluxgate sensor typically comprises a core in a soft magnetic material of high magnetic permeability that is subjected to an alternating magnetic field by an excitation coil of the fluxgate. The magnetic field of the excitation coil saturates the core in an alternating manner. In the presence of a magnetic field, for example an external magnetic field generated by a current flowing in a primary conductor, the saturation characteristic of the soft magnetic core becomes (apparently, as seen from the secondary side) asymmetric and generates a corresponding signal in the circuit driving the fluxgate coil. The resulting signal is correlated to the amplitude of the external magnetic field. In a closed-loop sensor, this signal is used in a feedback loop to drive a secondary coil on a magnetic circuit configured to cancel the effect of the external magnetic field. The main advantage of closed-loop fluxgate sensors is their measurement sensitivity and ability to accurately measure currents of small amplitude. On the other hand, such sensors are generally not best suited for the measurement of currents of large amplitude, and like other sensors, have a limited measurement range.
Certain applications require however the measurement of a large range of currents. An example of an application requiring the accurate measurement of small amplitude currents and a large measurement range, is monitoring of batteries. Battery monitoring may include measuring different parameters of a battery system, temperature, voltage, impedance and current, in order to evaluate the status (charge, health) of the battery [2]. Often it is necessary to monitor complex systems made of several hundreds of blocks, e.g. at industrial UPS, telecommunications systems, or battery storage systems. One of the difficulties concerning battery monitoring applications is the current measurement, where the measurement range (DC) may typically vary from 10 mA up to 1000 A. Today's available low cost current transducers are not well adapted to work with sufficient accuracy for the small amplitude currents while supporting the very large measurement range, which may vary from a few milliamperes of trickle charging (float) currents to several hundreds of amperes of battery discharge and recharge currents.
Certain electrical motors, generators and other electrical drives may also require the measurement of currents over a very large range for accurate and reliable control of the drive or generator.
An object of the invention is to provide a current sensor that accurately measures small currents, yet has a large measurement range.
It is advantageous to provide a current sensor that is economical to produce.
It is advantageous to provide a current sensor for battery monitoring that is accurate and economical to produce.
It is advantageous to provide a current sensor that is easy to implement.
It is advantageous to provide a current sensor that is compact and reliable.
Objects of the invention have been achieved by providing the closed-loop fluxgate sensor according to claim 6 and a current measuring method according to claim 1.
Disclosed herein is a fluxgate electrical current sensor comprising a measuring circuit and an inductor for measuring a primary current IP, flowing in a primary conductor over a current range from a minimum measurable or specified current amplitude (Imin) to a maximum measurable or specified current amplitude (Imax), the inductor comprising a saturable magnetic core made of a highly permeable magnetic material and a secondary coil for applying an alternating excitation current i configured to alternatingly saturate the magnetic core, the coil being connected to the measuring circuit. The measuring circuit is configured to measure the saturation times t1 and t2 of the magnetic core in opposing magnetic field directions and determine therefrom a value of the primary current for small current amplitudes, the measuring circuit being further configured for evaluating the average value of the excitation current i and determining therefrom the value of the primary current for large currents.
A method of measuring an electrical current flowing in a primary conductor over a current range from a minimum specified current amplitude to a maximum specified current amplitude according to this invention includes:

    
    
        providing a current sensor including a measuring circuit and an inductor, the inductor comprising a secondary coil wound around a saturable magnetic core,
        applying an excitation voltage to the secondary coil configured to alternatingly saturate the magnetic core,
        evaluating the average value of the excitation current flowing through the inductor during the phases when the voltage source is turned on for measurement of large primary currents, and
        measuring the times to saturation t1, t2 of the magnetic core of the negative respectively positive signal of the alternating excitation current and for small currents determining the primary current based on the relationship of alternating saturation times t1, t2.
    
    


Small primary currents have amplitude in a first portion of the current range from the minimum specified current Imin to a transition or intermediate amplitude, and large primary currents have an amplitude in a second portion of the current range from the transition amplitude to the maximum specified current amplitude Imax. The value of the intermediate amplitude, where the transition from the first measurement method to the second measurement method, may vary as a function of the values of Imin and Imax.
The current sensor according to this invention, which is based on a technology of type “fluxgate”, is economical to produce and implement yet has a wide measurement range while providing excellent accuracy. The sensor uses the magnetic field created by a primary current acting on a saturable inductor. By measuring the intervals to reach saturation and the inductor load current and making use of a suitable microcontroller it is possible to accurately evaluate the value of the primary current for both high and low current levels.
For primary currents IP that are small, the primary current value may be determined based on a value of the saturation time in one direction divided by the sum of the saturation times in both directions (IP is proportional to t1/(t1+t2)).
The measuring method for small currents is preferably employed for primary currents respecting the following condition:




  
    
    
      
        I
        P
      
      N
    
    
  
  <
  
    i
    
      s
      ⁢
      
        
      
      ⁢
      0
    
  




where IP is primary current, N the number of turns of the secondary coil, and is0 the value of the saturation excitation current for a primary current that is 0.

For large primary currents the measurement of the primary current may be based on an evaluation of the average value of the excitation current.



Further objects and advantageous features of the invention will be apparent from the claims and the following detailed description of embodiments of the invention and the annexed drawings in which:
FIG. 1 is a simplified illustration of a battery monitoring system indicating the measured parameters;
FIG. 2 illustrates a saturable inductor of a current sensor according to an embodiment of this invention and its main parameters;
FIG. 3 is a graphical illustration of an idealized characteristic B(H) of the inductor;
FIG. 4 is a graphical illustration of an idealized characteristic of flux linkage ψ(i) as a function of current/flowing in a secondary coil of the inductor;
FIG. 6 is a graphical illustration of a shifting of the inductance value for a primary current (current to be measured) greater than zero (IP>0);
FIG. 7 illustrates a circuit diagram of an embodiment of a measuring circuit of a current sensor according to this invention;
FIGS. 8a and 8b are simplified graphs illustrating the shifting of the inductance value, respectively the saturation times t1, and t2 for a positive primary current (IP>0);
FIGS. 9a and 9b are graphical illustrations of the inductance as a function of current respectively the current as a function of time for a positive primary current to depict the relationship between the primary current and the excitation current;
FIGS. 10a and 10b are similar to FIGS. 9a, 9b but for a negative primary current;
FIG. 11 is a screen-shot of an oscilloscope illustrating saturation times for a positive excitation current signal P and a negative excitation current signal N for a primary current that is 0;
FIG. 12 is a screen-shot of an oscilloscope for a voltage Um at a primary current of 1000 Ampere;
FIGS. 13 to 15 illustrate test results of a prototype current sensor made according to the invention where FIG. 13 illustrates measured current error in milliamperes for a primary current in the range of −1 to +1 amperes, FIG. 14 illustrates the sensor error in percentage for a primary current ranging from −15 to +15 amperes, and FIG. 15 illustrates the sensor error in percentage for a primary current in the range of −1000 to +1000 amperes.



Referring to FIGS. 1, 2 and 7, an embodiment of a current sensor according to this invention, for measuring a primary current IP flowing in a primary conductor 2, for example connected to a battery 1 or other electrical device or motor, the primary current corresponding to the charge or discharge current of the battery, or a drive current of an electrical motor. The sensor comprises an inductor 4 (representing an inductance L) connected to a measuring circuit 6. The inductor comprises a magnetic circuit 8 comprising a magnetic core 10 made of a high magnetic permeability material (soft magnetic material), and a secondary coil (also called herein excitation coil) 12 wound around at least a portion of the saturable magnetic core 10. The secondary coil 12 is connected to the measuring circuit 6 which feeds an excitation current +i, −i through the secondary coil, the excitation current being configured to alternatingly saturate the magnetic core in one direction and then in the opposed direction. In the embodiment shown, the magnetic core is in the form of an annular closed ring having a central passage 14 through which the primary conductor extends.
The primary conductor is shown as a single conductor passing straight through the central passage of the magnetic core, however it is also possible to have a primary conductor with one or more turns (windings) around a portion of the saturable core. The portion of primary conductor may be integrated to the current sensor and comprises connection terminals for connection to an external primary conductor of the system to be measured. The primary conductor may also be separate from the sensor and inserted through the sensor. The magnetic core may have other shapes than circular, for example rectangular, square, polygonal or other shapes. Moreover, the magnetic core of the inductor may also form a non-closed circuit, for example in the form of a bar or an almost closed magnetic core with an air gap. The magnetic core may also be formed of more than one part, for example of two halves or two parts that are assembled together around the primary conductor. Also, the current sensor may comprise a magnetic core that does not have a central passage through which the primary conductor extends whereby the primary conductor can be positioned in proximity of the magnetic core or wound around in one or more turns around a portion of the magnetic core. In these various configurations, the functioning principle remains essentially the same whereby the excitation in the secondary coil is an alternating current that saturates the magnetic core in alternating directions, and where the primary current generates a magnetic field that affects the saturation characteristic of the magnetic core.
In the present invention, for small currents the measuring circuit measures the shift of the inductance characteristic as a function of the excitation current, this shift being essentially proportional to the amplitude of the primary current. For large primary currents however, this measuring principle is no longer employed because the core is already completely saturated without any secondary (excitation) current and the result of the relationship t1/(t1+t2) does not change any more. For high currents the measuring circuit thus employs another measurement method, this method comprising evaluating the average value of the secondary coil excitation current during the time the excitation voltage is supplied, i.e. t1 or t2 which corresponds to the amplitude of the primary current as described in more detail hereafter.
Advantageously, a single, simple and low cost sensor can thus be used for measuring a very large current range.
FIGS. 1 and 2 illustrate parameters of a battery monitoring system with a closed-loop current sensor, where:

    N is the number of secondary turns
    IFe is the average magnetic circuit length
    SFe is the magnetic circuit cross section
    i is the excitation current
    IP is the primary current (to be measured), and
    φ is the magnetic flux.


The main difficulty in this type of application is the measurement of the current, because it can vary in a very large range, from the few milliamperes of the trickle charging (float) currents to the several hundreds of ampere of the battery discharge and recharge currents.
The main parameters of the saturable inductor are defined in FIG. 2. While knowing the characteristics B(H) of the core, as well as the geometric parameters of the magnetic circuit, the inductance value can be defined as a function of the excitation current i.
The ideal characteristic B(H) (magnetic induction B as a function of the magnetic field H) of the magnetic circuit can be approximated as shown in FIG. 3. For a magnetic field value varying between +Hs and −Hs the core is not saturated, so B(H) is represented by the well known equation (1):

B(H)=μ0·μr·H if −Hs<H<+Hs  (1)

where μ0 is the permeability coefficient of air, and μr is the relative permeability coefficient of the magnetic material of the circuit.

FIG. 4 illustrates an idealized characteristic ψ(i), the flux linkage, as a function of current. The geometric parameters of the magnetic circuit as well as the number of turns N allow to determine the relationship between the flux linkage ψ and the excitation current i.




  
    
      
        H
        =
        
          
            N
            
              I
              Fe
            
          
          ⁢
          i
        
      
    
    
      
        (
        2
        )
      
    
  
  
    
      
        Ψ
        =
        
          
            φ
            ·
            N
          
          =
          
            B
            ·
            
              S
              f
            
            ·
            N
          
        
      
    
    
      
        (
        3
        )
      
    
  




By replacing (2) in (1) we can obtain:





  
    
      
        B
        =
        
          
            
              μ
              0
            
            ·
            
              μ
              r
            
            ·
            
              N
              
                I
                f
              
            
          
          ⁢
          i
        
      
    
    
      
        (
        4
        )
      
    
  




And by replacing (4) in (3) we obtain:





  
    
      
        Ψ
        =
        
          
            (
            
              
                μ
                0
              
              ·
              
                μ
                r
              
              ·
              
                N
                
                  I
                  f
                
              
              ·
              i
            
            )
          
          ·
          
            S
            f
          
          ·
          N
        
      
    
    
      
        (
        5
        )
      
    
  




and finally:





  
    
      
        
          Ψ
          ⁡
          
            (
            i
            )
          
        
        =
        
          
            
              
                μ
                0
              
              ·
              
                μ
                r
              
              ·
              
                S
                f
              
              ·
              
                N
                2
              
            
            
              I
              f
            
          
          ·
          i
        
      
    
    
      
        (
        6
        )
      
    
  




By deriving (6) as a function of the current we obtain the inductance value as (7):





  
    
      
        
          
            L
            f
          
          ⁡
          
            (
            i
            )
          
        
        =
        
          
            
              
                
                  
                    μ
                    0
                  
                  ·
                  
                    μ
                    r
                  
                  ·
                  
                    S
                    f
                  
                  ·
                  
                    N
                    2
                  
                
                
                  I
                  f
                
              
              ⁢
              
                
              
              ⁢
              if
            
            -
            
              i
              s
            
          
          <
          i
          <
          
            +
            
              i
              s
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




FIG. 5 illustrates an idealized inductance value as a function of the excitation current. When the magnetic material is not saturated, this value can be obtained from




  
    
      
        
          L
          f
        
        =
        
          
            
              μ
              0
            
            ·
            
              μ
              r
            
            ·
            
              S
              f
            
            ·
            
              N
              2
            
          
          
            I
            f
          
        
      
    
    
      
        (
        8
        )
      
    
  




Once saturation is reached, the inductance value is described by:




  
    
      
        
          L
          e
        
        =
        
          
            
              μ
              0
            
            ·
            
              S
              f
            
            ·
            
              N
              2
            
          
          
            I
            f
          
        
      
    
    
      
        (
        9
        )
      
    
  




The inductance value Lf is μr times higher than Le. For example, in the case of a test prototype, Lf=22 H while Le=2 mH. In the following, we will make the hypothesis that the saturated value of the inductance Le is zero. Taking the current flow directions shown in FIG. 2, the characteristic L(i) shifts to the left by applying a positive current to the primary and in case of negative primary current, the characteristic shifts to the right. This shifting is correlated to the primary current, and theoretically proportional to the primary current as demonstrated below.
Shifting of the Inductance Characteristic:
Let us consider HP, the magnetic field strength created by the primary current. We can write:

B(H)=μ0·μr·(H−HP)  (10)

By replacing (2) into (10) we obtain:





  
    
      
        B
        =
        
          
            μ
            0
          
          ·
          
            μ
            r
          
          ·
          
            (
            
              
                
                  N
                  
                    I
                    f
                  
                
                ⁢
                i
              
              -
              
                
                  1
                  
                    I
                    f
                  
                
                ·
                
                  I
                  P
                
              
            
            )
          
        
      
    
    
      
        (
        11
        )
      
    
  




And replacing (11) into (3) we obtain:





  
    
      
        Ψ
        =
        
          
            μ
            0
          
          ·
          
            μ
            r
          
          ·
          
            (
            
              
                
                  N
                  
                    I
                    f
                  
                
                ⁢
                i
              
              -
              
                
                  1
                  
                    I
                    f
                  
                
                ·
                
                  I
                  P
                
              
            
            )
          
          ⁢
           
          ·
          
            S
            f
          
          ·
          N
        
      
    
    
      
        (
        12
        )
      
    
  
  
    
      
        
          
            Ψ
            ⁡
            
              (
              i
              )
            
          
          =
          
            
              
                
                  μ
                  0
                
                ·
                
                  μ
                  r
                
                ·
                
                  S
                  f
                
                ·
                
                  N
                  2
                
              
              
                I
                f
              
            
            ·
            
              (
              
                i
                -
                
                  
                    I
                    P
                  
                  N
                
              
              )
            
          
        
        ⁢
         
      
    
    
      
        (
        13
        )
      
    
  




From (13) it can be seen that the amount of shifting of the flux characteristics is IP/N.

FIG. 6 illustrates a shifting of the inductance value for a positive primary current (IP>0). The current is0 is the value of the saturation excitation current for IP=0. In this case the characteristic L(i) is symmetrical and +is0=−is0. For a non-zero primary current IP the positive saturation current is i1, while the negative saturation current is i2. In this case the characteristic L(i) is not symmetrical any more. With a positive primary current: i1<|i2|, the characteristic's parameters can be calculated as:




  
    
      
        
          i
          
            s
            ⁢
            
              
            
            ⁢
            0
          
        
        =
        
          
            
              Ψ
              s
            
            
              L
              f
            
          
          =
          
            
              
                
                  B
                  s
                
                ·
                
                  S
                  f
                
                ·
                N
                ·
                
                  I
                  f
                
              
              
                
                  μ
                  0
                
                ·
                
                  μ
                  r
                
                ·
                
                  S
                  f
                
                ·
                
                  N
                  2
                
              
            
            =
            
              
                
                  B
                  s
                
                ·
                
                  I
                  f
                
              
              
                
                  μ
                  0
                
                ·
                
                  μ
                  r
                
                ·
                N
              
            
          
        
      
    
    
      
        (
        14
        )
      
    
  
  
    
      
        
          
            
            
              i
              
                1
                ⁢
                
                  
                
              
            
            
          
          =
          
            
              i
              
                s
                ⁢
                
                  
                
                ⁢
                0
              
            
            -
            
              
                I
                P
              
              N
            
          
        
        ;
      
    
    
      
        (
        15
        )
      
    
  
  
    
      
        
          
          
            i
            
              2
              ⁢
              
                
              
            
          
          
        
        =
        
          
            i
            
              s
              ⁢
              
                
              
              ⁢
              0
            
          
          +
          
            
              I
              P
            
            N
          
        
      
    
    
      
        (
        16
        )
      
    
  




As an example, in a prototype tested with +is0=7 mA and N=1000, a primary current of 1 A caused a positive saturation limit of i1=(0.007−1/1000) A=6 mA.
Measuring Circuit
FIG. 7 illustrates a measuring circuit layout of an embodiment of a sensor according to this invention. The current to be measured is the primary current of a current transformer built with a suitable toroidal core. The secondary (measuring) circuit is made of a DC voltage source VC=12 V, supplying an H-bridge circuit design made of MOSFETs. The H-bridge excites the secondary coil alternatively with a positive and a negative voltage. The coil resistance is Rs. The excitation current is measured with the resistance Rm. A measurement cycle may comprise four steps. At the beginning of the measuring sequence, the inductance is “unloaded”, i.e. the current in the winding is zero, and all switches are open.
Step 1) The MOSFETs “P” are switched on. The inductor 4 which represents an inductance L is charged with a positive current +i, according to the directions shown in FIG. 7. Once saturation is reached, the transistors are switched off.
Step 2) The inductance discharges itself through the free-wheeling diodes of the “N” switches. Before passing to next step, the inductance is preferably completely discharged.
Step 3) The MOSFETs “N” are switched on. This time a negative current in the inductance builds up. When saturation is reached, the switches are turned off.
Step 4) The inductance discharge itself through the free-wheeling diodes of the “P” switches. Again the discharge of the inductance is preferably completed before the beginning of next sequence.
The measured values of the times t1, t2 to reach saturation and of the average excitation current iaverage during phases P resp. N are used to calculate the primary current. These operations may be performed by a microcontroller (not shown) to which the measuring circuit is connected, during the two charging periods, for example making use of an ADC unit and a timer of the microcontroller. When saturation is reached, the rapid increase of the excitation current i through the measuring resistance Rm, may be detected through a comparator. The saturation time t1, t2 is calculated between the closing of the switches and the detection of saturation. The average value of the excitation current iaverage can then be calculated. For a zero primary current, a measuring sequence requires for example about 180 ms.
Measuring Method for Low Primary Currents
By applying a positive primary current, taking the current flow directions shown in FIG. 2, the inductance characteristic L=L(i) shifts toward the left. It can be demonstrated that this shift is proportional to the primary current IP. If the primary current (IP/N) is negative, the inductance characteristic shifts toward the right. In FIG. 8, t1 is the saturation time for a positive current, t2 is the saturation time for a negative current, i, is the positive saturation current and i2 is the negative saturation current. This shift has a consequence on the time to saturation of the inductor (FIG. 8).
In order to calculate the time domain behavior of this circuit, the resistive part of the circuit (R=Rs+Rm) can be neglected. Indeed the saturation times are small (typically 20 ms) in comparison with the time constant (Lf=22 H and R=5Ω).
Then, after applying the voltage step we obtain the linear relationship:




  
    
      
        
          i
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              V
              C
            
            
              L
              f
            
          
          ·
          t
        
      
    
    
      
        (
        17
        )
      
    
  




The excitation current is linearly and directly related to the primary current. Once saturation is reached, the current increases instantaneously (Le=0) up to its steady-state value:




  
    
      
        
          i
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            V
            C
          
          R
        
      
    
    
      
        (
        18
        )
      
    
  




The primary current is a function of the times to saturation. In FIG. 8 the behaviour for a positive primary current is shown. FIG. 8 illustrates saturation times t1 and t2 for a positive primary current




  
    
      
        
          
            
            
              i
              
                1
                ⁢
                
                  
                
              
            
            
          
          
            t
            1
          
        
        =
        
          
            
            
              i
              
                2
                ⁢
                
                  
                
              
            
            
          
          
            t
            2
          
        
      
    
    
      
        (
        19
        )
      
    
  




By replacing (15) and (16) into (19) we obtain





  
    
      
        
          
            
              i
              
                s
                ⁢
                
                  
                
                ⁢
                0
              
            
            -
            
              
                I
                P
              
              N
            
          
          
            t
            1
          
        
        =
        
          
            
              i
              
                s
                ⁢
                
                  
                
                ⁢
                0
              
            
            +
            
              
                I
                P
              
              N
            
          
          
            t
            2
          
        
      
    
    
      
        (
        20
        )
      
    
  




and by replacing (14) into (20) we obtain





  
    
      
        
          I
          P
        
        =
        
          
            
              
                B
                s
              
              ·
              
                I
                f
              
            
            
              
                μ
                0
              
              ·
              
                μ
                r
              
            
          
          ·
          
            (
            
              1
              -
              
                2
                ·
                
                  
                    t
                    1
                  
                  
                    
                      t
                      1
                    
                    +
                    
                      t
                      2
                    
                  
                
              
            
            )
          
        
      
    
    
      
        (
        21
        )
      
    
  




The H-bridge supply voltage VC doesn't appear explicitly in this equation, so a precise stabilization of this voltage is not required. Once saturation is reached, the excitation current attains the steady-state value of VC/R. As an example, in a test prototype, this value was VC/R=2.4 A, however, the MOSFETs were switched off at about 1.25 A (ithreshold) because the application didn't require a higher current value.
The above measuring method for small primary currents can be used for primary currents respecting the following condition:




  
    
      
        
          
          
            
              I
              P
            
            N
          
          
        
        <
        
          i
          
            s
            ⁢
            
              
            
            ⁢
            0
          
        
      
    
    
      
        (
        22
        )
      
    
  




As an example, in a test prototype this condition means a measuring range (primary current) of ±7 A. For higher primary current values, a different measuring method is used.
Measuring Method for High Primary Currents
If |IP/N|>is0, the characteristics L(i) translate far to the left. This means that the inductance is already saturated without any excitation current flowing. With a large negative primary current, the phenomenon is the same but reversed (shift to the right). FIG. 9 illustrates relationships between IP and iaverage. The relationships established for the measurement of small primary currents discussed above can no longer be used. In this case, the measurement is made by evaluating the average value of the excitation current during the phases “P” or “N”. The average value iaverage of the characteristics illustrated in FIG. 9, which corresponds to the inductor current when the magnetic core 10 is not saturated, represents IP/N. In order to obtain the primary current, we can calculate the average value of the excitation current (value between in and in′) and multiply it by the number of turns.

|IP|=iaverage·N  (23)

EXAMPLE
An exemplary embodiment has the following characteristics

    Measuring range: 0 . . . ±1000 A DC
    Error @Ta=25° C.: ±10 mA for IP=0 to ±1 A: ±1% for IP=1±1000 A
    Supply voltage: 12 V
    Supply current: 250 mA (average)
    Settling time: ≦1 s
    Output type: digital

Measuring Signals



The FIG. 11 shows the times to saturation for zero primary current. The P (respectively N) signal imposes the beginning of the positive (respectively negative) charging phase. The Um signal is the voltage on the measuring resistance Rm.
From (17) in our case we can find:
for IP=0:




  
    t
    1
  
  =
  
    
      t
      2
    
    =
    
      
        
          i
          
            s
            ⁢
            
              
            
            ⁢
            0
          
        
        
          
            V
            C
          
          
            L
            f
          
        
      
      =
      
        
          
            7
            ·
            
              10
              
                -
                3
              
            
          
          
            12
            20
          
        
        =
        
          12.8
          ⁢
          
            
          
          ⁢
          ms
        
      
    
  




After this time, due to the saturation of the inductor, the voltage Um reaches the opening voltage of the switches

Um=i·Rm  (24)

Umoff=ioff·Rm=1.25·2=2.5V

After that, the diodes' free-wheeling current imposes a negative voltage Um.
FIG. 11 illustrates saturation times for IP=0.
FIG. 12 shows the measuring voltage with a primary current of +1000 A and illustrates Voltage Um at IP=+1000 A. For the positive excitation current, the threshold is reached immediately, and this allows to determine the flow direction of the primary current. For a negative excitation current, relation (23) allows the calculation of its average value:




  
    i
    average
  
  =
  
    
      
        
        
          I
          P
        
        
      
      N
    
    =
    
      
        1000
        1000
      
      =
      
        1
        ⁢
        A
      
    
  




According to (24), the voltage Um is

Um=1·2=2V

Tests Results

Each measuring cycle, the transducer's digital output transmits the value of the primary current. FIGS. 13, 14 and 15 represent the error of the transducer current as a function of the primary current (Ta=25° C.) for the tested prototype discussed above. FIG. 13 illustrates a transducer current error (mA) for

−1 A≦IP≦1 A;

FIG. 13 illustrates a transducer current error (%) for

−15 A≦IP≦15 A; and

FIG. 15 illustrates a transducer current error (%) for

−1000 A≦IP≦1000 A.

References

    [1] W. Teppan, “Transfer Functions of Current Sensors”, 5th Int. IMEKO, TC-4 Symposium on Electrical Measuring Instruments for Low and Medium Frequencies, Vienna, Austria, 8-10 Apr. 1992
    Waltari, T. Suntio: “Survey and evaluation of battery monitoring methods and results from user's viewpoint”, 21st International Telecommunications Energy Conference, 1999. INTELEC '99, 6-9 Jun. 1999 Page(s):7 pp.

## Claims

1. Electrical current sensor comprising a measuring circuit and an inductor for measuring a primary current Ip flowing in a primary conductor over a current range from a minimum specified current amplitude to a maximum specified current amplitude, the inductor comprising a saturable magnetic core made of a highly permeable magnetic material and a secondary coil for carrying an alternating excitation i configured to alternatingly saturate the magnetic core, said secondary coil being connected to the measuring circuit, wherein the measuring circuit is configured to supply a positive or negative voltage to the inductor, to switch off said positive or negative voltage when a condition signalling saturation is reached, to measure a time to saturation t1 in one direction and a time to saturation t2 in another direction of the magnetic core and determine therefrom a value of the primary current for primary currents having an amplitude in a first portion of the current range from the minimum specified current to a transition amplitude, the measuring circuit being further configured for evaluating an average value of said alternating excitation current i during phases when a voltage is supplied to the inductor and before the saturation condition is reached, and determining therefrom a value of the primary current for primary currents having an amplitude in a second portion of the current range from the transition amplitude to the maximum specified current amplitude.

2. Electrical current sensor according to claim 1 wherein the measuring circuit includes a DC voltage source Vc, and an H-bridge circuit supplied by the DC voltage source configured to excite the secondary coil alternatively with a positive and a negative voltage.

3. Electrical current sensor according to claim 2 wherein switches of the H-Bridge comprise MOSFETs.

4. Electrical current sensor according to claim 1, wherein the measuring circuit comprises a resistance Rm to measure the excitation current.

5. Electrical current sensor according to claim 1 wherein the saturable magnetic core is annular and closed.

6. Electrical current sensor according to claim 1 further including a microcontroller to which the measuring circuit is connected, the microcontroller comprising a timer for measuring the saturation times t1, t2.

7. A method of measuring an electrical current flowing in a primary conductor over a current range from a minimum specified current amplitude to a maximum specified current amplitude comprising:
providing a current sensor including a measuring circuit and an inductor, the inductor comprising a secondary coil wound around a saturable magnetic core,
applying an excitation voltage to the secondary coil to alternatingly saturate the magnetic core,
evaluating an average value of an alternating excitation current during phases when the excitation voltage is applied for measurement of large primary currents, and
measuring times to saturation t1, t2 of the magnetic core of a negative, respectively positive signal of the alternating excitation current and for small currents determining a primary current based on the relationship of alternating saturation times t1, t2,
where small primary currents have amplitudes in a first portion of the current range from the minimum specified current Imin to a transition or intermediate amplitude, and large primary currents have an amplitude in a second portion of the current range from the transition amplitude to the maximum specified current amplitude Imax.

8. Method according to claim 7, wherein for primary currents Ip that are small, the primary current is based on a value of the saturation time in one direction divided by a sum of the saturation times in both directions.

9. Measuring method according to claim 7, wherein a measuring method for small currents is employed for primary currents respecting the following condition:




  
    
      
        
          
          
            
              I
              P
            
            N
          
          
        
        <
        
          i
          
            s
            ⁢
            
              
            
            ⁢
            0
          
        
      
    
    
      
        (
        22
        )
      
    
  



where Ip is primary current, N the number of turns of the secondary coil, and is0 a value of the saturation excitation current for a primary current that is 0.

10. Method according to claim 7, wherein for large primary currents the measurement of the primary current is based on an evaluation of the average value of the excitation current during the phases when an excitation voltage is supplied.

11. Method according to claim 7, wherein the measuring circuit includes a DC voltage source Vc, and an H-bridge circuit with transistor switches supplied by the DC voltage source configured to excite the secondary coil alternatively with a positive (P) and a negative (N) voltage, comprising the steps of:
switching on the transistors configured to supply a positive voltage to the excitation coil thus charging the inductor (4) with a positive current +i until saturation of the magnetic core is reached, switching off the transistors;
measuring the time t1 to reach saturation;
discharging the inductance;
switching on the transistors configured to supply a negative voltage to an excitation coil thus charging the inductor (4) with a negative current −i, and once saturation of the magnetic core is reached, switching off the transistors;
measuring the time t2 to reach saturation;
discharging the said inductor.

12. Method according to claim 11 wherein saturation of the magnetic core is detected through a comparator by determining reaching a certain threshold of the excitation current i through a measuring resistance Rm.

13. Method according to claim 12 wherein the saturation times t1, t2 are determined between a closing of the switches and a detection of saturation.

14. Method according to claim 13 wherein a value of the saturation times are calculated by a microcontroller to which the measuring circuit is connected, making use of a timer unit of a microcontroller.