The invention relates to a sensor, a system comprising a plurality of the sensors, and a method of detecting position or movement. Some embodiments detect for example velocity or movement of a key of a musical or computer keyboard.
The applicant has previously described resonant circuit-based sensors in GB2494230A, and keyboard sensor systems in GB2570533A. More generally, we refer to GB1115184.2 (publication GB2494183); GB1721448.7 (GB2569578); GB1812826.4 (publication GB2570533); GB1909213.9 (GB2576610); GB1909214.7 (GB2578346); GB2017797.8; and GB1208162.6 (GB2494230).
Resonant sensors, in particular position sensors and sensing systems, that employ an inductive coil as the sensing have many use cases due to their reliability, precision, accuracy, and low cost. However, for many applications, such sensing systems are not suitable because the electrical power required to drive the inductive coil of the sensor can be too high. For example, high power is disadvantageous in systems requiring a wireless connection and/or battery power.
Furthermore, the inductive coil is generally excited by a high-frequency drive signal, e.g. with a frequency more than 1 MHz. This drive signal is often comprised of a fundamental frequency and harmonic frequencies, which can extend to 10 s or 100 s of MHz, and cause radiation of unwanted electro-magnetic waves that can interfere with other systems. Consequently, resonant sensors as known in the art may be disadvantageous, or unsuitable, for any system requiring low levels of electromagnetic interference (EMI), such as a high-precision position sensor where, e.g. it is desirable to calculate velocity accurately.
To reduce unwanted electro-magnetic radiation and/or EMI, it could be considered to employ a sinusoidal drive signal containing no harmonic frequencies. However, this can add additional cost, complexity, and furthermore still doesn't address the problem of high electrical power requirements.
Electrical power requirements and unwanted electro-magnetic radiation are further increased in systems containing many resonant position sensors, in particular where such sensors are operated at the same time. For example, 88 position sensors may be required to sense the position of keys on a musical (piano) keyboard, or 104 or more position sensors may be required to sense the position of keys on a computer keyboard. It would be further advantageous to reduce power consumption in a computer keyboard, as such keyboards are often wireless for user convenience and thus require a local battery supply.
There is therefore a desire to provide a position and/or movement sensing system employing inductive sensing techniques and having, inter alia, reduced electrical power requirements, reduced EMI emissions, greater accuracy, increased sensor output reproducibility, and/or increased sensor speed for example to allow faster scan rates.
According to one aspect there is provided a sensor comprising: a resonant circuit comprising a passive load and an active circuit, wherein at least one of the active circuit and passive load is tuned to resonate at a resonant frequency; a driver to drive the active circuit to output an RF signal at the resonant frequency; a drive enable circuit to generate a control signal to enable and disable the driver; a sample-and-hold circuit for an amplitude signal indicating amplitude of an RF signal output from one of the passive load or active circuit, wherein the sample-and-hold circuit is to hold a peak level of the amplitude signal, the peak level being a peak level during a period when the driver is enabled. The sensor further comprises a measurement circuit to detect a relative position and/or movement between the passive load and active circuit based on the held peak level, the detection based on measuring the held peak level when the driver is disabled by the drive enable circuit.
The active circuit and/or passive load may comprise an inductive coil incorporated into a tuned electronic circuit, wherein the tuned electronic circuit is configured to resonate with the resonant frequency fR. Thus, one or both of the active circuit or passive load preferably comprises a tuned resonant circuit. One of said active circuit or passive load may be excited by a drive signal from the driver, where the driver generally outputs an RF signal with frequency equal to, or close to, fR. Generally, the passive load (otherwise referred to as a target) is chosen such that proximity of said passive load element to the active circuit causes a change in state of one of said passive load or active circuit, for example by changing the frequency of resonance and/or quality factor of a tuned circuit, or by the transfer of electrical energy from the active circuit to said target/passive load. The relative position and/or movement and/or velocity (e.g. speed) of said active circuit and target may be sensed by detecting such changes, e.g. in the resonant state of a tuned circuit.
In some examples, the sample-and-hold circuit may be configured to be effectively isolated from the driver (e.g. by grounding) during a detection by the measurement circuit. For example, the sample-and-hold circuit may have a threshold voltage such that, where an input to the sample-and-hold circuit is below said threshold voltage, the peak level held by the sample-and-hold circuit is unaffected by noise and/or other signals at the input. The sample-and-hold circuit may be implemented digitally or with analogue circuits. In either case, advantageously, it is not necessary that the driver remain active/enabled in order for the measurement circuit to detect a relative position and/or movement within the sensor. In this way, the sampling circuit may hold a peak amplitude from a point in time at which the active circuit was being driven. Thus, a relative position or movement may be detected/measured indirectly, after the driver has been disabled. This may allow for a reduction in power required for the sensing. Additionally or alternatively, the system may provide for a reduction in Electromagnetic Interference (EMI), since the sensor driver need not be active during the sensing.
Generally, the measurement circuit may detect a variation of a resonant signal output by the active circuit or passive load, to determine a relative position and/or movement of the active circuit and passive load.
The control signal of the driver may be configured or timed to repeatedly and/or periodically enable and disable the driver, preferably (i.e., optionally) such that the driver does not drive the active circuit simultaneously with a measurement/detection by the measurement circuit.
In some implementations the measurement circuit may be to detect a relative velocity between the passive load and the active circuit. In this regard, a plurality of successive relative positions may be detected in order to determine/calculate a relative velocity between the active circuit and the passive load.
In implementations, the sample-and-hold circuit comprises a peak detection input circuit, the peak detection input circuit configured to perform amplitude sensitive demodulation to generate the amplitude signal. Furthermore, the peak detection input circuit may comprise a diode configured to charge a capacitor to generate a voltage corresponding to the peak level. Advantageously, the diode can provide an additional protection from electrical or EMI noise.
Any of the above-disclosed implementations may further provide that the sample-and hold circuit is to receive an input signal dependent on the RF signal from one of the passive load or active circuit, and to generate the amplitude signal on the basis of the input signal when the input signal is above a threshold voltage.
Such an arrangement provides the further advantage that, regardless of the state of the driver, where the sample-and-hold circuit is effectively isolated from the driver, EMI may be further reduced since the sample-and-hold circuit can be effectively grounded from any input signals.
In implementations, the driver may be to drive the active circuit with a predetermined number of RF pulses during the period when the driver is enabled. A drive signal of the driver may be a series of pulses, for example a pulse-train such as a square wave or a sinusoidal wave. Generally, a pulse-train may have any duty-cycle, however around 50% is preferable to provide a good balance between power consumption and efficiency in resonating either the passive load or active circuit.
Generally, the sample-and-hold circuit will reach a peak level and/or steady state in response to a certain number of pulses. Thus, the number of pulses may be chosen to be sufficient to achieve this steady state/maximum capacity. After achieving this steady state, the driver may be disabled. The driver may therefore be actively driven only for a period of time sufficient for the sampling circuit to reach a steady state. Thus, power consumption may be substantially reduced, since the driving signal need not be continuously active, and/or the period of time over which the drive signal is enabled may be controlled precisely.
A sensor according to any above-described implementation may be configured wherein: the driver has a counter to count the RF pulses; and the drive enable circuit is to disable the driver in response to the count reaching the predetermined number. This may result in an inherent synchronicity, wherein counting the number of RF pulses results in a reproducible drive signal, and therefore a generally reproducible resonant response from either the active circuit or passive load. More accurate and/or reliable position and/or movement detections may then be obtained.
In implementations, the sample-and-hold circuit may be configured to be reset after the measurement and before a subsequent re-enabling of the driver by the drive enable circuit. This may allow a previously held peak level of the amplitude signal to be immediately reset, e.g. by discharge of a capacitive element, such that a further peak level can be sampled after a further enablement of the drive signal.
Alternatively, in embodiments without said reset function, the sample-and-hold circuit may allow a held peak level signal to decay (e.g. in an exponential fashion). The measurement circuit may perform a said detection during this decay period. In such an example, no reset switch is needed.
In implementations, the measurement circuit is to perform the measurement after elapse of a settling period during which the driver is disabled
A settling or waiting period may allow any residual noise or RF frequency from, e.g., the driver, active circuit or passive load, to dissipate before a detection by the measurement circuit. Thus, reliability and/or accuracy of the measurement may be improved due to the reduction in errors otherwise introduced by EMI noise.
According to a further aspect, there is provided a system comprising a multiplexer to enable a plurality of said resonant circuits to be driven at same or different times, preferably the resonant circuits to be driven sequentially, and to enable each measurement circuit to perform a said measuring during a period when driving of each of the active circuits by a driver is disabled by a said drive enable circuit. The system may be configured to enable the measurements by respective measurement circuits to occur simultaneously during the period when driving of each of the active circuits by a driver is disabled.
Thus, a plurality of measurements may be performed simultaneously when all of the active resonators are disabled. In embodiments, this may allow a fast scanning rate for multiple sensors controlled by a multiplexer. This may be beneficial in, e.g. a musical keyboard comprising e.g. 88 keys, and/or a computer keyboard comprising over 100 keys, where a rapid scan-rate is generally desired.
Further advantageously, because the sample-and-hold circuit may be configured to hold a peak level such that the driver need not be continuously active, multiple sensors may be driven in parallel, e.g., exactly in phase or only slightly out of phase. In other words, the detection by the measurement circuit for a plurality of sample-and-hold circuits can be obtained in the same measurement slot. This may contrast with measuring for one sensor per measurement cycle or time slot, e.g. driving an active circuit and subsequently performing a said detection by the measurement circuit one sensor at a time, which is generally less efficient.
The detection of relative position and/or movement can therefore be carried out simultaneously or sequentially for multiple sensors, each preferably during a period of time in which all driver(s) for the active circuits is/are disabled. The detection by the measurement circuit for multiple sensors may then be carried out within one measurement cycle, which may allow for a faster scanning rate in a multiplexing system.
According to a further related aspect, there is provided an apparatus that is a keyboard for a musical instrument, a computer keyboard, a computer touchpad, a foot pedal preferably for a musical instrument, or a drum, wherein the apparatus comprises at least one sensor according to an above-described sensor, or comprises an implementation of a system as described above, preferably wherein the musical instrument is an electric or acoustic piano, organ, guitar or drum.
In some implementations, the passive load may comprise a resonant circuit configured to resonate at the resonant frequency in response to the active circuit being driven by the driver. In such an implementation, the active circuit may comprise a resonant circuit configured to resonate at a frequency different to the resonant frequency.
Alternatively, in implementations, the passive load may comprise a conductive target.
In implementations having either of the above-described passive load, the active circuit may comprise a resonant circuit configured to resonate at the resonant frequency. For example, both the passive and active circuit may be tuned resonant circuits, e.g. inductive coils, optionally where each inductive coil comprise two primary smaller coils wired in series with opposing winding directions to form a figure-of-eight coil.
In implementations, the sample-and-hold circuit is coupled to an output of the active circuit, and configured to indicate the amplitude of said RF signal output from said active circuit. In other implementations, the sample-and-hold circuit may be coupled to an output of the passive load, and configured to indicate the amplitude of said RF signal output from said output of the passive load. In other words, an RF signal output of either the active circuit or passive load can be sampled and measured to determine a relative separation between the active circuit and passive load.
Arrangements where the passive load is a conductive target—such as a metal object which may lack a resonator coil—may be beneficial e.g. when only small changes in position need to be detected and/or where the target/passive load can be very close to the active circuit, for example in a computer touchpad. In such an example, said passive load is a conductive finger-pad which flexes in response to a touch and the amount of flex is measured by said sensor. Furthermore, a plurality of active sensors responsive to the said flexing of said conductive finger-pad allows the position of said touch to be determined by, for example, interpolation of the measured position output of each of said plurality of active sensors.
These and other aspects of the invention will now be further described, with reference to the accompanying drawings, in which:
In some examples, the sensor output 10 is not suitable for direct measurement. In such cases, a detector 5, as shown in
Generally, however, the peak-hold circuit of
In this sense, the circuit of
The time constant of the low-pass filter 16 in
A sensing system embodiment comprising a detector of
Referring to
Similarly, referring to
In other embodiments, the sensor inductive coil 7 of the active circuit may be formed from a plurality of electrically connected primary smaller coils wherein the winding direction of said primary smaller coils is chosen such that the sum of the electro-magnetic far field radiated from said primary smaller coils is substantially zero. A particularly suitable, but by way of non-limiting example, of said inductive coil 7 comprises two primary smaller coils wired in series with opposing winding directions to form a figure-of-eight coil. In such an arrangement the electro-magnetic far field radiated from the first half of said figure-of-eight coil may be equal in magnitude but with opposite polarity to the electro-magnetic far field radiated from the second half of said figure-of-eight coil, thus said electro-magnetic far field radiated from said figure-of-eight coil is substantially zero.
In such an arrangement, the target 2, being a passive tuned resonant circuit, may be ineffective unless the inductive coil of said passive tuned resonant circuit is primarily inductively coupled to only one half of the figure-of-eight coil of the active tuned resonant circuit. To maximise the output signal of the position sensor, it is preferable for said inductive coil of said passive tuned resonant circuit to be similarly formed of a figure-of-eight inductive coil, comprising two secondary smaller coils wired in series with opposing winding directions wherein each said secondary smaller coil is primarily inductively coupled to a different primary smaller coil of said figure-of-eight coil of said active circuit.
As shown in
Furthermore, in some examples, only the passive circuit has a tuned resonance, and the active circuit may not be tuned to a resonant frequency. In this regard, the active circuit may comprise an untuned transmitting coil, where the passive circuit comprises a receiving coil that is tuned to resonate at the frequency of the drive signal.
In summary, at least the following combination of circuits are possible for a resonant sensor for use in measurement schemes disclosed herein:
Output of Active Circuit is Measured, in which:
Consequently, therefore, there may be a trade-off between speed of measurements and the level of rejection of said frequency components of said drive signal. For example, a high time constant may reduce unwanted frequency components in the drive signal, however, may require a longer settling time. Optionally, a second measurement may be performed after a time period 41 has elapsed following the completion of a first measurement (thus, time period 41 may be zero).
Referring back to
Therefore, it may be advantageous to further improve upon the peak-hold circuit of
Preferably, to help ensure that the sampled voltage is maintained during the holding period, a high-impedance circuit path is provided at the active (non-grounded) side of said voltage storage capacitive element 23. This may be achieved by ensuring that the sample/hold switch has a high-impedance in the off-state, and optionally providing either that the output 25 is connected to a high-impedance measurement device, and/or by adding a signal buffer 24 to isolate the voltage storage capacitive element 23 from the impedance of the measurement device. In addition, a high impedance circuit path on the active side of the capacitive element 23 helps to prevent conducted electrical noise, and therefore helps to maintain the sampled voltage with increased stability.
The resettable peak detector may comprise: a connection to the sensor output 10; a diode 18 which permits a voltage at said sensor output to charge a capacitive element 19; a reset switch 26 to discharge said capacitive element; and/or an output 25 connected to a measurement device. Optionally, a signal buffer 24 may be provided to isolate said capacitive element 19 from the impedance of said measurement device. Sampling may be performed when said reset switch 26 is open and when the sensor drive signal is active, which causes a signal to be present at the said sensor output 10. The capacitive element 19 charges when the voltage at said sensor output 10 is above the threshold voltage, Vth=VC+VD, where VC is the voltage stored on said capacitive element 19 and VD is the voltage drop across said diode 18. Holding is performed when the voltage at the said sensor input 10 is below the said threshold voltage, Vth, in which case the capacitive element 19 cannot discharge back through said diode 18. To perform a new sample-and-hold operation and measure a new sensor-target separation, the capacitive element 19 may be discharged by closing said reset switch 26, preferably when the sensor drive signal is inactive/not enabled.
In preferred embodiments, and in contrast to
In some embodiments, the sensor drive signal is formed of a series of pulses (e.g. a pulse-train, such as a square-wave) where the time between the start of successive pulses, tperiod, set to be equal to, or close to,
and the number of pulses in said series of pulses is an integer value. Thus, the number of said pulses in said series of pulses is Ndrive, where
This applies to a pulse-train of any duty-cycle.
After the pre-determined number of said pulses, Ndrive, has been applied to said sensor, the output of said sensor drive signal 29 is disabled (e.g. by a drive enable circuit, or digital controller) preferably in such a way that the output voltage of said sensor is below Vth to ensure that any further fluctuations of the said output voltage of said sensor do not affect the voltage held by said sample-and-hold circuit. After an optional settling time (e.g. the interval between periods 34 and 35), a measurement 30 is initiated to measure the said voltage held by said sample-and-hold circuit, performed over a period of time 35. Finally, the said sample-and-hold circuit is reset 31 (for example, by closing a reset switch 26 in the case of the sample-and-hold circuit of
A circuit such as in
Furthermore, it is advantageous for the sensor drive signal 32 (e.g., the phase of a pulse-train signal) to be synchronous with the timing of the activation and deactivation 29 (e.g. the enabling and disabling of the drive signal by a drive enable circuit) of said sensor drive signal. In this manner, the form and phase of the sensor drive signal 32 is substantially similar each time the sensor is driven, preferably resulting in a reproducible output from said sensor and detector output 33, which in turn may yield measurements from the sensing system with high reproducibility and/or low error. Further, such a reproducible signal generally does not require averaging or filtering with a long time constant, allowing for faster sensor scan rates. In detail, for a given measurement performance, imposing this synchronicity allows tdrive to be smaller than when the sensor drive signal is not synchronous with the timing of the activation/deactivation of the sensor drive signal. Reducing the length of tdrive, may advantageously reduce the electrical power requirements of the said sensing system, and/or allow said measurements from the said sensing system to be made more frequently. Thus, an embodiment may allow any one or more of: faster changes in position to be measured, faster scan rates for sensors, more accurate sensor velocity measurements, and/or a greater number of sensors to be effectively scanned in a multiplexing sensor system.
In embodiments, a time division multiplex system (e.g., controlled by a circuit or suitable digital controller) may be used to multiplex a plurality of active tuned resonant circuits to determine the relative position or motion of a plurality of sensors, according to an example implementation of the system. A musical keyboard comprising one sensor per key is an example implementation. In such an implementation, a subset of position sensors are enabled at any given time. Generally, multiplexing systems have the advantage of reducing cost, complexity, power consumption and electro-magnetic emissions where a large number of sensors are required.
Generally, driving a plurality of (adjacent) sensors simultaneously, or in rapid sequential succession, creates unwanted EMI and introduces measurement errors. For example, any given resonant sensor may be driven by the signal of an adjacent resonant sensor, which may create problems for accurately measuring the position of a given sensor. In this regard, multiplex systems may generally include one or more mitigation systems in order to reduce the amount of noise/EMI. Such mitigation methods may include, e.g.: synchronous demodulation of the output of position sensors to remove interference components; driving adjacent sensors at different resonant frequencies, designing the drive of the multiplex to avoid driving adjacent or nearby sensor simultaneously; and/or physically offsetting the position of adjacent sensors relative to one another. Such a system may add additional complexity to known multiplexing systems. Nevertheless, multiplex systems leave substantial room for improvement in terms of sensor speed: e.g. the time response of low-pass filters used in synchronous demodulation can limit the speed of response of said position sensors, which is undesirable.
Advantageously, sample-and-hold techniques and implementations of the present disclosure allow for faster multiplexing systems, e.g. where the driving and measurement of a plurality of sensor can effectively be performed in parallel, or much faster sequential succession, preferably without compromising on EMI emissions. For example, the circuit of
Within each said time slot: a drive signal 32 is applied as a series of pulses to each said sensor of the plurality of sensors; the detected output 33 of each said sensor is measured at least once within a valid time period 30; and the sample-and-hold circuit of the detector is reset 31. Preferably, the timing may be configured such that only one of the said drive signals for any of the said sensors is active at a given time. This may provide the advantage of reducing the peak power required by the measurement system and thus reducing the peak level of unwanted electromagnetic radiation. Within each said time slot there may be a period of time 44 wherein it is possible to measure all of said sensors of the said plurality of sensors simultaneously, or sequentially. Optionally, as with S112 of
It would nevertheless be possible to enable (and subsequently disable) the plurality of drive signals simultaneously, e.g. to provide an even faster multiplexing scan rate. Such a parallel driving scheme may still provide the advantage of reduced EMI, as the measurement period 44 occurs in the absence of any drive signal.
The timing signal 46 is used to indicate the start of each measurement cycle of nine time slots. Regarding synchronisation between the drive signal and the measurement timing, therefore, it is advantageous to synchronise either the activation signal 46, and/or the timing of the drive enablement circuit, with the underlying frequency of the drive signal 34. This beneficially ensures that the start of a pulse-train is the same.
In some examples, simply counting the pulses would have inherent synchronisation provided that the first pulse starts the same each time (and not, e.g., part-way through a pulse). In some example, e.g. where a free-running clock is used to control the periods of measurement cycle, a pulse counter may count the same total number of pulses each time, however, the alignment may not be uniform. For example, on one cycle, a quarter pulse may occur at the start, with a three-quarter pulse at the end; on another cycle we get half a pulse at the start and end. Each of these pulse-trains would drive a resonant sensor differently, and thus yield slightly different output. Therefore, is it preferably to align or match the clock and/or frequency of the drive signal with the clock and/or frequency of the timer signal 46, such that a reproducible set of pulses are provided each time. Generally speaking, in any scenario, it is advantageous for the start of the first pulse 32 relative to the drive signal 34 to be the same each time slot time.
It will be appreciated that the sensor disclosed herein, and the corresponding multiplexing system, can be applied to a variety of systems and products. For example: piano keyboard (fully electric, or integrated into acoustic piano); computer keyboard (e.g. a mechanical keyboard, wired or wireless); computer game controller; computer touchpad or electronic drawing tablet; electric drums; a pedal, for example a guitar pedal, one of the pedals on an electric piano, and organ pedal and the like. The low-power requirements of embodiments described herein are particularly useful for devices can rely on battery power, e.g. wireless devices such a computer keyboard or game controllers.
Generally, in related implementation, the above described techniques and sensors may be employed to, in effect, sense pressure, where a sensor comprises a deformable element, for example a block or layer of rubber, below and/or between of one or both of the passive resonant circuit and the active resonant circuit. Such an arrangement may be employed, for example, as a sensor for sensing aftertouch on a piano keyboard or on a computer keyboard. For example, after a key has already been depressed, an aftertouch (e.g. further key pressure) applied by a user can be sensed by a pressure sensor having said deformable rubber element.
In the case of an electric drum comprising a deformable drum head or pad mounted on a non-deformable bottom member, the passive load or active circuit of the sensor disclosed herein may be mounted on, or mechanically coupled to, said drum head or pad and the other of the passive load or active circuit of said sensor may be mounted on said bottom member. Thus, the position and velocity of said drum head or pad relative to said bottom member may be sensed. Furthermore, a plurality of such said sensors mounted on said drum allows the spatial position of the hit on the drum head or pad to be determined, for example, by interpolation or other signal processing.
No doubt many other effective alternatives will occur to the skilled person. It will be understood that the invention is not limited to the described embodiments and encompasses modifications apparent to those skilled in the art lying within the scope of the claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
2108161.7 | Jun 2021 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/065008 | 6/2/2022 | WO |