INDUCTIVE SENSOR WITH DIGITAL DEMODULATION
20190212171 ยท 2019-07-11
Inventors
Cpc classification
G01R19/252
PHYSICS
International classification
Abstract
An eddy current displacement sensor includes devices or modules for digitizing and interpreting analog signals received from sensor coils. Periodic analog signals, such as sinusoidal or square wave signals, are sent to the coils with a suitable frequency. The output from the coils is then digitized using one or more analog-to-digital converters, at a sampling rate (frequency) that may be greater than that of the frequency of the input signal. The digitized output signals may then be processed to determine displacement of an object relative to the sensor coils, for example using magnitude and/or phase of the digital signals to estimate position. Digitizing the analog output signals directly, rather than only after such signals have been converted to DC signals, allows improvement in processing, as well as enabling flexibility in how the signals are used to estimate position.
Claims
1. An inductive sensor comprising: a pair of sensor heads; one or more current drives that apply periodic current to the heads at a drive frequency; one or more analog-to-digital converters that receive analog output signals from the sensor heads and convert the analog output signals to digital signals; and a digital demodulator that receives the digital signals from the one or more analog-to-digital converters, and determines phase and/or amplitude of the digital signal, with the phase and/or the amplitude of the digital signals used to determine displacement of an item between the sensor heads.
2. The sensor of claim 1, further comprising a pair of resonating capacitors, with the resonating capacitors in parallel with respective of the sensor heads.
3. The sensor of claim 1, further comprising a position estimator in the processor or firmware that uses the phase and/or the amplitude of the digital signals as and input, and determines the displacement of the item between the sensor heads.
4. The sensor of claim 3, wherein the position estimator may also use external calibration data as an input, in addition to the phase and/or the amplitude.
5. The sensor of claim 1, wherein the one or more current drives includes separate current drives corresponding to respective of the sensor heads.
6. The sensor of claim 1, wherein the one or more analog-to-digital converters includes separate analog-to-digital converters corresponding to respective of the sensor heads.
7. The sensor of claim 1, wherein the digital demodulator uses a Fourier transform to demodulate the digital signals.
8. The sensor of claim 1, wherein the digital demodulator uses an aliasing algorithm to demodulate the digital signals.
9. The sensor of claim 1, wherein the digital demodulator is part of a processor or field programmable gate array (FPGA).
10. The sensor of claim 1, wherein the one or more current drive receives one or more signals from one or more digital-to-analog converters that have a conversion rate that is an integer multiple of a frequency of a digital periodic input signal.
11. The sensor of claim 10, wherein a conversion rate of the one or more analog-to-digital converters is the conversion rate of one or more analog-to-digital converters, divided by an integer that is different from the integer multiple.
12. A method of determining position of an object relative to sensor heads of an inductive sensor, the method comprising: applying periodic current to the sensor heads at a drive frequency; digitizing output signals from the sensor heads to produce digitized output signals; and using phase and/or amplitude of the digitized output signals to determine position of the object relative to the sensor heads.
13. The method of claim 12, further comprising using a digital-to-analog converter to produce the periodic current from a digital periodic input signal.
14. The method of claim 13, wherein the digital-to-analog converter converts the digital input signal at a conversion rate that is an integer multiple of a frequency of the digital periodic input signal.
15. The method of claim 14, wherein the digitizing includes digitizing in an analog-to-digital converter at a conversion rate that is the conversion rate of the analog-to-digital converter, divided by an integer that is different from the integer multiple.
16. The method of claim 14, wherein the digitizing includes digitizing in an analog-to-digital converter at a conversion rate that less that the conversion rate of the analog-to-digital converter.
17. The method of claim 13, wherein the using the phase and/or the amplitude of the digitized output signals also includes using calibration data.
18. The method of claim 13, further comprising applying a Fourier transform on the digitized output signals to determine the phase and/or the amplitude of the digitized output signals.
19. The method of claim 13, further comprising applying an aliasing algorithm on the digitized output signals to determine the phase and/or the amplitude of the digitized output signals.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0024] The annexed drawings show various aspects of the invention.
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
DETAILED DESCRIPTION
[0033] An eddy current displacement sensor includes devices or modules for digitizing and interpreting analog signals received from sensor coils. Periodic analog signals, such as sinusoidal or square wave signals, are sent to the coils with a suitable frequency. The output from the coils is then digitized using one or more analog-to-digital converters, at a sampling rate (frequency) that may be greater than that of the frequency of the input signal, for example being a multiple of two (or more) times the input frequency. The digitized output signals may then be processed to determine displacement of an object relative to the sensor coils, for example using magnitude and/or phase of the digital signals to estimate position. The demodulation algorithm used to process the digitized signals may involve a Discrete Fourier Transform or an aliasing algorithm. Digitizing the analog output signals directly, rather than only after such signals have been converted to DC signals, allows improvement in processing, as well as enabling flexibility in how the signals are used to estimate position.
[0034]
[0035] Elements 32, and 36, labeled Zs in
[0036] The ADC 50 converts the analog signal from the sensor heads 12 and 14 to a digital signal. This digital signal is then processed by a digital processor or digital processing module 54. The digital processing module 54 includes a digital demodulator 56 and a module 58 for determining displacement of an electrically-conductive body that is place between the sensors 12 and 14. The digital processor 54 demodulates the digitized output signal to determine a difference amplitude and/or phase difference between the signals at the sensors 12 and 14. This difference amplitude and/or phase difference can then be used to sensor head inductance 12 and 14. Knowledge of head inductance in turn can be used to estimate target position, using inductance alone or combined with other data (such as calibration data or a look-up table) to produce an output of the object displacement detected by the sensors 12 and 14. For example, current practice calibrates the sensor by moving the target position to known positions and comparing the sensor estimated target position to these known positions. The differences between the estimated position and known positions can then be used within the device to reduce estimated position error via lookup table or other polynomial fit or other means.
[0037] Determining the amplitude or phase of the sinusoidal signal is sufficient for estimating the differential displacement of the sensor. The amplitude or phase information determines the location on the resonance curve, and that location on the resonance curve corresponds to a unique displacement of the sensor. Other techniques such as transfer function estimation using Kalman filters, instrument variables, or state variables estimation (or other techniques) may provide even more accurate estimates of position at the expense of greater computer processing. In this approach, it is not assumed the resonance curve is fixed as in the simpler methods. Instead, the algorithms estimate the resonance curve that changes as a function of temperature of the components as well as the position of the target. This allows for more accurate determination of differential displacement than the simpler methods.
[0038] In operation, the periodic alternating drive signal on the sensor heads 12 and 14 produces an oscillating magnetic field. The magnetic field induces eddy currents in the object 44 that is between the sensor heads 12 and 14, creating an opposing magnetic field that resists the magnetic field generated by the sensor heads 12 and 14. The output signal from the sensor heads 12 and 14 is the input periodic drive signal, altered in phase and/or amplitude by the field interaction.
[0039]
[0040] A pair of ADCs 146 and 148 digitize the respective signals from the sensor heads 116 and 118. The digitized signals are then processed by a digital processing module 154 that includes a digital demodulators 156 and 157, and a module 158 for determining displacement of an electrically-conductive body that is place between the sensors 112 and 114.
[0041] The sensors 10 and 110 shown in
[0042] In addition the digitization of the output upstream of the demodulation reduces the number of parts and cost of the sensor. More than half the parts of the eddy current displacement sensor may be omitted by digitizing upstream of the demodulator.
[0043] Furthermore, as described in greater detail below, the digitization of the signal allows increased flexibility in terms of how displacement is determined. Differences in amplitude and/or phase may be used in determining displacement.
[0044]
[0045]
[0046] The sensor output from the sensor heads 222 and 224 passes back through the resonating circuit 240, and is then injected into an analog-to-digital converter (ADC) 244. The ADC 244 may be precisely sampled at an integer multiple greater than twice the frequency of the digital sine wave driven by the Nyquist criterion (or Nyquist frequency). Continuing the example given above, a 500 kHz initial could be sampled at 5 MHz, which is exactly 10 times the 500 kHz signal and 1/10 of the conversion rate of the DAC 234. This sampling is represented by a block 246 of the FPGA 212. The resulting digitized signal is then digitally demodulated in the FPGA 212 using a discrete Fourier transform 252. This returns the magnitude and phase of the digitized signal. By sampling at an integer multiple of the drive signal, the corresponding discrete Fourier transform 252 will theoretically return the sine wave amplitude and phase without error (limited by electronics noise). The magnitude and phase are then used by the FPGA 212 in a position determination algorithm 260 that determines the best estimate of position using these inputs as well as calibration data from the sensor. This resulting position is the output of the sensor 210. The position estimator algorithm 260 may be part of a processor or may be in firmware.
[0047]
[0048] Digitized output from the ADC 344 is aliased by an aliasing algorithm 360 that is performed by the FPGA 358. The algorithm 360 can reconstruct the underlying sine wave from the aliased signal by relying on the known frequency of the sine wave which is driven by the FPGA 358.
[0049]
[0050] Since the frequency of the sampled data is known, one can determine the amplitude and phase of this 50 sec sample wave form by means of a linear, least squares fit algorithm, fitting the data using Equation (1):
f(t)=A+B sin(220000t)+C cos(220000t)(1)
This is first done by calculating a matrix M:
The matrix M is then used to compute a pseudo-inverse matrix {tilde over (M)}:
{tilde over (M)}=(M.sup.TM).sup.1M.sup.T(3)
This 263 matrix M can be computed ahead of time and stored in a look-up table.
[0051] Then a vector may be computed:
where the symbol Y.sub.n is a sampled data point. These coefficients define a linear least-squares fit to the data in terms of an offset and the sine and cosine functions. The matrix multiply can be done in parallel. This would amount to 26 parallel multipliers, each doing 26 multiplications. The amplitude of the sine wave is {square root over (B.sup.2+C.sup.2)}. The phase is
[0052]
[0053] An advantage of the separate paths for the sensor heads 422 and 424 is that the balancing of the differential network in hardware requires testing of numerous precision components that make the buildup of the sensor electronics time consuming and variable from unit to unit. Furthermore, this two-head technique performs the differencing in the firmware or software rather than in the circuitry, preserving the information otherwise lost when the differencing is done in hardware. This may result in better system performance overall.
[0054]
[0055] Although the invention has been shown and described with respect to a certain preferred embodiment or embodiments, it is obvious that equivalent alterations and modifications will occur to others skilled in the art upon the reading and understanding of this specification and the annexed drawings. In particular regard to the various functions performed by the above described elements (components, assemblies, devices, compositions, etc.), the terms (including a reference to a means) used to describe such elements are intended to correspond, unless otherwise indicated, to any element which performs the specified function of the described element (i.e., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary embodiment or embodiments of the invention. In addition, while a particular feature of the invention may have been described above with respect to only one or more of several illustrated embodiments, such feature may be combined with one or more other features of the other embodiments, as may be desired and advantageous for any given or particular application.