Inductive Position and Velocity Estimator
20200386530 ยท 2020-12-10
Inventors
Cpc classification
G01B7/003
PHYSICS
International classification
Abstract
A position sensor has a plurality of moveable surfaces, each moveable surface having a region with an electrically conductive surface. Each moveable surface has an inductor which forms a magnetic field inducing eddy currents in the electrically conductive surface. The inductor is momentarily connected to a pre-charged capacitor, thereby forming an LC resonant circuit, and disconnected before a quarter cycle of the LC resonant period occurs. The voltage on the capacitor is read at the end of the measurement period and before the next capacitor pre-charge event. As the eddy currents generated in the electrically conductive surface by the inductor cause a damping of the LC resonant waveform, the voltage at the end of the measurement cycle varies monotonically with the position of the moveable surface.
Claims
1) A position estimator comprising: a loss element attached to the moveable surface; an inductor positioned to generate a dynamic magnetic field causing eddy currents in the loss element, a separation distance between loss element and inductor changing when the moveable surface changes position; a charged capacitor coupled to a switch to generate a current flow in the inductor for a duration of time less than a quarter cycle of the resonant frequency of the inductor and capacitor circuit, thereafter opening the switch; the voltage present on the capacitor read by an analog to digital converter (ADC) and converted to an estimate of the separation distance between the inductor and loss element.
2) The position estimator of claim 1 where the loss element is a substantially planar electrical conductor.
3) The position estimator of claim 2 where the planar electrical conductor includes at least one of copper or aluminum.
4) The position estimator of claim 1 where the capacitor is periodically pre-charged at the beginning of a cycle, after which the switch is closed for a second interval of time and then opened, and the capacitor is read after the second interval of time and before a subsequent pre-charge event.
5) The position estimator of claim 1 where the moveable surface is a key having a pivot, and the loss element is electrically conductive tape attached to the key.
6) The position estimator of claim 1 where the conversion to an estimate of separation distance includes a first calibration value associated with a first separation distance and a second calibration value associated with a second separation distance.
7) The position estimator of claim 6 where the moveable surface is a key of a musical instrument, and the first calibration value is associated with a key rest position and the second calibration value is associated with a key depressed position.
8) A sensor for estimating the separation distance between a movable surface having a conductive loss element and an inductor which generates eddy currents in the loss element, the sensor comprising: the movable surface having a pivot and a return-to-rest mechanism such that the distance between the loss element and the inductor changes when the movable surface is displaced from a rest position; a pre-charged capacitor in parallel with the inductor and a switch; the switch closed for a duration of time less than a quarter cycle of the resonant frequency of the inductor and capacitor; the capacitor voltage read after the switch is opened to form an estimate of separation distance between the loss element and the inductor.
9) The sensor of claim 8 where the estimate of separation distance is formed by applying the capacitor voltage read after the switch is opened to at least one of: a look-up table or a second order or greater equation.
10) The sensor of claim 8 where the pre-charging of the capacitor, closing of the switch for the duration of time, and the capacitor voltage being read occur in a series of canonical cycles, thereby providing a moveable surface position and also a velocity.
11) The sensor of claim 8 where the movable surface is a key for a musical instrument, and the loss element includes an electrically conductive surface including at least one of aluminum or copper.
12) The sensor of claim 11 where the moveable surface has a rest position and an associated first calibration value associated with a capacitor ADC reading at the rest position, and the movable surface has a depressed position and an associated second calibration value associated with a capacitor ADC reading at the depressed position.
13) The sensor of claim 12 where the capacitor ADC reading is scaled using the first calibration value and second calibration value prior to being linearized to a separation distance estimate, the linearized value using at least one of a lookup table or a second order or higher order polynomial.
14) A multiplexed movable surface sensor for a plurality of movable surfaces comprising: a capacitor coupled to a pre-charge switch charging the capacitor to a charge voltage at the start of a series of canonical cycles; a plurality of movable surfaces, each moveable surface having a loss element magnetically coupled to an associated inductor generating a dynamic magnetic field sufficient to generate eddy currents in the associated loss element; one end of each associated inductor coupled to the capacitor receiving the charge voltage, the other end of each associated inductor connected to a measurement switch; each canonical cycle comprising: closing the pre-charge switch until the capacitor is charged; closing a measurement switch for an associated subsequent inductor for a measurement interval of time; opening the measurement switch; reading the capacitor voltage and converting the capacitor voltage to an estimate of separation distance from the inductor to the loss element.
15) The multiplexed moveable surface sensor of claim 14 where converting the capacitor voltage to a movable key displacement includes a comparison with one or more previous separation distance estimates to estimate a moveable key velocity.
16) The multiplexed moveable surface sensor of claim 14 where the plurality of moveable surfaces comprise a plurality of keyboard keys, each key having an associated loss element coupled to an associated inductor.
17) The multiplexed moveable surface sensor of claim 14 where the plurality of moveable surfaces comprise a plurality of keyboard keys, each key having an associated rest and depressed calibration value used in forming an associated conversion of capacitor voltage to an associated separation distance.
18) A method for estimating a moveable surface, the moveable surface having a region generating eddy currents when coupled to an inductor generating a dynamic magnetic field, such that the separation distance between the planar conductor and inductor changes monotonically when the separation distance from the inductor to the region generating eddy currents is changed, the method comprising: pre-charging a capacitor to a charge voltage; connecting the capacitor to the inductor for a measurement duration of time which is shorter than a quarter cycle of the frequency of the inductor/capacitor combination; removing the connection between the capacitor and inductor; reading the voltage on the capacitor; converting the capacitor voltage to an estimate of the separation distance.
19) The method of claim 18 where the moveable surface is a key of a musical instrument having a rest position and a depressed position, and the capacitor voltage associated with the rest position has a first calibration value and the capacitor voltage associated with the depressed position has a second calibration value, the first and second calibration values used to form a scaled estimate.
20) The method of claim 19 where the scaled estimate is converted to a separation distance measurement using at least one of a look-up table or a second order or higher order polynomial.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION OF THE INVENTION
[0019]
[0020] In a second step of operation, Precharge signal 102 is disabled by turning off switch element 110, and StMeas 106 is asserted, which initiates a current flow in inductor 114, which is now in an LC resonant circuit with capacitor 112. A damped sinusoidal current flow through inductor 114 begins, and prior to the end of a quarter cycle of resonant period of the LC circuit, StMeas 106 is de-asserted, and current flowing through inductor 114 is returned via clamp diode 116 until the current in inductor 114 dissipates. A decrease in separation distance between inductor 114 magnetic field and loss element 113 causes an increase in the damping of the LC circuit as well as a decrease in the inductance and increase in resonant frequency from the mutual inductance effect from coupling to the miniscule inductance of loss element 113, which causes a reduced capacitor voltage 112 at the end of an interval which is less than a quarter cycle of an LC resonant frequency. An increase in separation distance between inductor 114 magnetic field and loss element 113 causes a decrease in the damping of the LC circuit as well as the inductor to return to a value closer to its self-inductance, and an increased capacitor 112 voltage at the end of the measurement interval. After removal of StMeas 106 and opening of current source 120, the capacitor 112 voltage is frozen in its previous state of the LC resonant cycle, and the capacitor 112 voltage ToADC 104 may be read at any any time thereafter prior to the start of the next measurement cycle, such as by coupling to an ADC (analog to digital converter, not shown). Each measurement cycle repeats at regular intervals, each measurement of voltage at capacitor 112 being converted to a voltage read by an ADC, linearized according to the monotonic relationship which can be formed between capacitor 112 voltage at end of cycle associated with a separation distance from inductor 114 to loss element 113.
[0021] The inductor 114 L value and capacitor C 112 form a damped resonant circuit with a cycle time 1/2{square root over (LC)}, where L is the effective inductance of 114 which including self-inductance and mutual inductance to loss element 113 which has negligible inductance. The mutual inductance which reduces the inductance of L is dependent on separation distance and dynamic flux coupling from the inductor 114 to loss element 113, and the pre-charge applied to capacitor 112 starts the damped resonance cycle with the closure of switch 120 of
[0022]
[0023]
[0024]
[0025] The relationship between capacitor voltage 204 at the end of the measurement cycle and the separation distance between loss element and inductor is monotonic, but may be non-linear, whereas the desired estimate is of a separation distance between loss element and the inductor. For this reason, it may be desirable to linearize the ADC readings 310 of the capacitor voltage 204 using a look-up table of correspondences, or a second order or higher equation which curve fits the capacitor voltage to estimates of separation distance. Additionally, it may be desirable to use adjacent time sequence samples of the estimated separation distance to form a moveable surface velocity, such as for sending data related to key position and velocity in the Musical Instrument Data Interface (MIDI) format. In another example of the invention for a musical instrument having keys in a rest position and a depressed position, a calibration sequence may be performed to associate a first calibration value with a moveable surface rest measurement and a second calibration value with a moveable surface depressed position, thereby providing endpoints for a range of separation distance estimates and capacitor voltage samples. The first and second calibration values may be used in conjunction with the capacitor voltages which are read at the end of the StMeas interval, and used to scale the capacitor ADC voltage to form a scaled value for application to a linearizing function using a look-up table or polynomial of second or greater order.
[0026]
[0027]
[0028] Although the invention may be generally practiced to estimate distance between a movable surface and an inductor,
[0029] In a preferred example, inductor 618 generates a magnetic field which is substantially perpendicular to the conductive plane of loss element 618, where substantially perpendicular is understood to be within 45 degrees of perpendicular, or any angle which couples a magnetic field generated by inductor 618 into eddy current losses. It is known from Lenz law that eddy current losses are present in any electrical conductor placed perpendicular to a changing magnetic field such as produced by inductor 618. Accordingly, in a preferred example of the invention, inductor 618 does not include an enclosed magnetic return path, such that the magnetic field is directed toward loss element 620. Loss element 620 can be a conductive metal containing at least one of: copper, aluminum, or other electrical conductor, preferably as a continuous planar conductor spanning a region of key 602 magnetically coupled to, and substantially perpendicular to the axis of, inductor 618. The conductive metal can be attached to key 602 using an adhesive, or any other suitable attachment means.
[0030] In one example of the invention, an 88 key piano utilizes 5 groups of 16 circuits (such as 412-1 to 412-16) and a group of 8 circuits (412-1 to 412-8), requiring only 6 ADC channels (one for each group). The group of 8 circuits may sample at double the rate of the groups of 16 circuits, or it may preferably sample at the same rate for consistency. In another example of the invention, 8 groups of 11 circuits (412-1 to 412-11) may be used for 88 keys, requiring 8 ADC inputs.
[0031] The loss element magnetically coupled to the changing fields of the inductor may include any conductive surface which is coupled to the magnetic field of a respective inductor for generation of eddy currents. For example, the loss element can be a metallic tape such as copper or aluminum with self-adhesive backing. It is preferable that the axis of the inductor be substantially perpendicular to the surface of the loss element for maximum coupling.
[0032] The loss element may take the form of a planar conductor which may be any thickness or shape sufficient to generate eddy currents from pulsatile current flow in an inductor magnetically coupled to the loss element. In a preferred embodiment, the loss element is aluminum self-adhesive tape, and in an example such as 620 of
[0033] The present examples are provided for illustrative purposes only, and are not intended to limit the invention to only the embodiments shown.