1. Field of the Invention
The invention generally relates to sensor systems having transducers.
2. Description of Related Art
Transducers, such as Hall effect devices (HEDs), have a voltage output that varies in response to changes in a detected magnetic field. In its simplest form, the Hall effect device (HED) operates as an analog transducer, directly returning a voltage. Electrical current carried through a conductor will produce a magnetic field that varies with that current, and the Hall effect device can be used to measure the current without interrupting the circuit by sensing the magnetic field around the conductor. Typically, this type of sensor is integrated with a magnetically permeable core that surrounds the conductor carrying the current to be measured.
However, the composition of the magnetic core is important and will have a significant impact on the voltage output of the Hall effect device. More specifically, it is desirable to have a voltage output from the sensor that is linear with respect to the strength of the magnetic field emanating from the main conductor which is proportional to the current being sensed. In order to accomplish this, prior art solutions would generally utilize cores that were made of silicon-iron, and other permeable materials. However, in order to manufacture a core that would yield a linear output signal, a significant amount of material would be required to produce a very linear response. This generally leads to a fairly large and bulky sensor device. Advancements in materials lead to the use of nickel-iron cores, which produce better accuracy because of lower remenance and hysteresis in the output response. Never the less, these other materials still require significant volume to yield a linear signal. Moreover, using alternate materials having better performance can lead to a core that is relatively expensive to manufacture. Therefore, manufacturers are left with multiple limitations: manufacturing lower priced, lower performance devices, or higher performance higher priced devices with both being bulky.
The sensor system of this invention includes a transducer having an output and a microcontroller in combination with the output of the transducer. Generally, the transducer is a Hall effect device which is capable of measuring a magnetic field. The transducer outputs an electrical signal to the microcontroller. The transducer signal generally has a linear relationship to the magnetic field passing through it, but a non-linear relationship to the actual current the sensor is intended to sense. The microcontroller receives the non-linear transducer signal and compensates accordingly to produce a linear sensor output signal. As there is no need for the transducer to have a linear output (with respect to the actual current being sensed), the core size can be made much smaller. This results because the magnetic field in the core can be allowed to reach near saturation levels with the resulting nonlinearities being compensated by the microcontroller. Prior art relies on large core masses to achieve output linearity. With the microcontroller correcting core nonlinearities, a much less expensive core can be used. These less expensive cores can be both smaller and made of lower cost materials.
Further objects, features and advantages of this invention will become readily apparent to persons skilled in the art after a review of the following description, with reference to the drawings and claims that are appended to and form a part of this specification.
Referring to
The transducer 12 is designed to measure the physical quantity being sensed. In the case of a current sensor, the current in the main conductor is sensed indirectly by sensing the magnetic flux in the surrounding core. This flux is proportional to the magnetic field passing though the transducer 12. One type of transducer used for this purpose is a Hall effect device (HED). When the transducer 12 is a Hall effect device, the transducer 12 can be constructed from Silicon, Germanium Arsenide, or Indium Arsenide semiconductor. When the transducer 12 is held such that a magnetic field lines are passing at right angles through the transducer 12, an output signal is generated and sent to the output 16, which is then sent to the microcontroller 14. As was explained previously, this output signal generally has a non-linear relationship to the physical quantity being sensed. In other words, it may be linear, but is not required to be such, and may be deliberately designed to be nonlinear.
The sensor system 10a may also include a C-shaped magnetic core 20 having a relatively small gap 22 formed therein. The transducer 12 is located within the gap 22. A conductor 24 is located adjacent to the core 20 and generally passes though the middle of the C-shaped core 20. Although the conductor 24 is shown as having a single pass through the core 20, the conductor 24 could be configured to have multiple turns of the core 20. The core 20 is preferably manufactured from a high permeability magnet material, such as iron or ferrite. Some common materials utilized to make the core 20 include both silicon-iron and nickel-iron. Core cross-sectional area is chosen to produce a reasonable nonlinear response between core flux and current in the main conductor.
For a given full-scale sensing range, the cross-sectional area is chosen to allow some core saturation but not total saturation at full scale current. With a reduced-size core of Nickel/Iron, the curved non-linear response 42 is shown in
The slope of this response is double that of a sensor with a full size core installed at or near zero current. The reason for this is that the air gap 22 of the core 20 is smaller than for a full size core, but the cross-sectional area smaller as well. So the flux in the reduced-size core builds up much faster than in a full-size core as the sensed current increases from zero. This means that the digital resolution is much finer because the analog to digital counts increment faster with each added ampere of sensed current. So, in section 48, there is a quasi linear output, but in sections 50 and 52, the output is non-linear.
At near full scale we have the opposite effect of more quantization error since the slope is about 0.33 near location 46 and at sections 50 and 52. However, there is a diminished need for high accuracy at high current levels, so the tradeoff is a net benefit. This produces a data compression advantage of 6:1 from zero to full scale. The linearized response 44 is created by a lookup table in the microcontroller 14 that corrects for the pronounced curvature in the raw signal 42 at sections 50 and 52. There is an added benefit that can be realized if the nonlinear shape 42 of the sensor's transfer function is maintained all the way to the control module (receiving the sensor's signal); noise and error that enter the signal path from sensor to module are reduced. If the sensor fully linearizes itself, this benefit cannot be realized.
To accomplish this added benefit, the microcontroller 14 would be programmed to fit its transfer function to a predetermined shape. The receiving control module would then have its own lookup table to correct from this predetermined shape to a fully linear response 44.
As stated previously, the transducer 12 is located within the gap 22 so as to be perpendicular to the magnetic field in the core. As the current varies in the main conductor 24, the magnetic field generated will vary as well. This magnetic field generated within the core 20 is then measured by the transducer 12 and outputted to the output 16, which is connected to the microcontroller 14. The microcontroller 14 is then configured to output a linear signal to the output 15 of the microcontroller 14. Generally, the non-linear signal from the transducer 12 is converted to a linear signal by the microcontroller 14. However, the microcontroller can be configured to output a predetermined nonlinear response to the physical quantity being sensed.
Referring to
Referring to
Thereafter, in step 34, the digital signals are then filtered using low-pass and median-value filter algorithms. Generally, the filter utilized may be either a median value filter and/or an infinite impulse response low pass filter. A median value filter essentially replaces each entry with the median of neighboring entries. The pattern of neighbors is called the “window”, which slides, entry by entry, over the entire signal. For one-dimensional signals, the most obvious window is just the first few preceding and following entries, whereas for 2-D (or higher-dimensional) signals such as images, more complex window patterns are possible (such as “box” or “cross” patterns). An infinite impulse response low pass filter processes time-varying input signals to produce output signals, subject to the constraint of linearity.
In step 36, the filtered digital signal is then linearized using a lookup table. The lookup table contains a conversion value for converting the filtered digital signal to a linearized analog of the physical quantity being sensed. More specifically, each entry in this lookup table relates a physical quantity value with a filtered transducer value. The microcontroller 14 looks up each digitized transducer value in the table and then maps this to a corresponding linearized value. The lookup table is learned at the time of manufacture by experimentally applying test currents or stimuli to the sensor after assembly. The microcontroller 14 is in communication with the test equipment and provides the necessary data needed to assembly the lookup table. Once, the test equipment determines the proper values for the table for the sensor under test; these values are downloaded to the microcontroller 14. In normal sensor operation, the table can be read to perform needed linearization, but the values initially loaded to the table are never changed throughout the life of the sensor.
In step 38, the microcontroller may optionally apply hysteresis algorithm for Reminance Cancellation. Generally, the hysteresis algorithm utilizes the Jiles-Atherton model of the core. High range open loop current sensors often use core materials like silicon iron that can have significant reminance. This reminant effect adds error to the current sensor readings significantly reducing performance. The core behavior is predicted using a Jiles-Atherton type hysteresis model. (see references) This is a set of non-linear implicit ordinary differential equations which must be solved numerically.
The Jiles-Atherton hysteresis model (inverse) is as follows:
This inverse model is used to derive estimates of M (bulk magnetization) given periodic measurements of B (the induced core magnetic field). In normal operation in the sensor system 10a or 10b, the inverse model is used because we are measuring B with the transducers 12 and/or 26 which convert the magnetic field density in the core 20 to an electrical signal. Once M is calculated, H (the impressed magnetic field from the main conductor which is proportional to current in the main conductor) is calculated from B and M, and this value is proportional to the current being sensed.
The forward model is used for model training purposes, since in this case we know H (from the known applied test currents) and are trying to get the model to predict B (which is proportional to the HED transducer output). The forward model is as follows:
Once the forward model is properly predicting B given a known H, we apply the identified optimal model parameters [Ms,a,α,k,c] to the inverse model for use in the sensor.
A Model optimization method can derive the optimal model parameters, a particle swarm optimization (PSO) algorithm is used. The technique is iteratively uses evolving estimations of the five model parameters to eventually converge on a set that accurately predicts M and B given the experimentally measured H values and HED readings. Remember H is exactly proportional to the current we want the sensor to measure while B is being sensed by the transducers 12 and/or 26.
To implement this technique in the actual sensor system 10a or 10b, one must use simplified numerical methods so as not to over burden the limited computational capacity of the microcontroller 14. The following is a step by step procedure that the sensor processor will execute each time sample period to update its current output signal:
Afterwards, in step 40, the linearized transducer value is converted to a signal outputted by the microcontroller output. The output signal may take any one of variety of different standard forms. For example, the output signal may be a single edge nibble transmission signal (SENT), a pulse with modulated signal (PWM), or may be an analog signal, or can be any signal capable of transmitting data.
In other embodiments, dedicated hardware implementations, such as application specific integrated circuits, programmable logic arrays and other hardware devices, can be constructed to implement one or more of the methods described herein. Applications that may include the apparatus and systems of various embodiments can broadly include a variety of electronic and computer systems. One or more embodiments described herein may implement functions using two or more specific interconnected hardware modules or devices with related control and data signals that can be communicated between and through the modules, or as portions of an application-specific integrated circuit. Accordingly, the present system encompasses software, firmware, and hardware implementations.
In accordance with various embodiments of the present disclosure, the methods described herein may be implemented by software programs executable by a computer system. Further, in an exemplary, non-limited embodiment, implementations can include distributed processing, component/object distributed processing, and parallel processing. Alternatively, virtual computer system processing can be constructed to implement one or more of the methods or functionality as described herein.
Further, the methods described herein may be embodied in a computer-readable medium. The term “computer-readable medium” includes a single medium or multiple media, such as a centralized or distributed database, and/or associated caches and servers that store one or more sets of instructions. The term “computer-readable medium” shall also include any medium that is capable of storing, encoding or carrying a set of instructions for execution by a processor or that cause a computer system to perform any one or more of the methods or operations disclosed herein.
As a person skilled in the art will readily appreciate, the above description is meant as an illustration of implementation of the principles this invention. This description is not intended to limit the scope or application of this invention in that the invention is susceptible to modification, variation and change, without departing from the spirit of this invention, as defined in the following claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US11/35840 | 5/10/2011 | WO | 00 | 2/4/2013 |
Number | Date | Country | |
---|---|---|---|
61332979 | May 2010 | US |