DETECTION SYSTEM AND DETECTION METHOD
The sensing system for musical keyboards uses resonant circuits to address the limitations of mechanical switches and other detection methods, ensuring accurate and efficient key position and velocity detection with reduced interference and cost.
Patent Information
- Application Number
- JP2021178527
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-08-07
- Filing Date
- 2021-11-01
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2038-12-19
AI Technical Summary
Existing musical keyboards face issues with mechanical switches, such as switch bounce, mechanical wear, and variations in response among keys, leading to unreliable and expensive solutions, while alternative methods like optical and magnetic sensors suffer from degradation, interference, and high costs.
A sensing system using passive and active resonant circuits with coils and capacitors, configured to minimize interference through multiplexing and temperature compensation, allowing for accurate and reliable detection of key positions and velocities without mechanical contact.
The system provides fast, reliable, and cost-effective detection of key positions and velocities, enabling polyphonic aftertouch and reducing interference, with the ability to detect key movements at high speeds and maintain accuracy over time.
Smart Images

Figure 0007569778000001 
Figure 0007569778000002 
Figure 0007569778000003
Abstract
Description
[Technical field]
[0001] The present invention relates to sensing systems and methods for keyboards, such as musical instrument keyboards. [Background technology]
[0002] The applicant has previously described a resonant circuit based sensor in GB 2494230 A1.
[0003] Musical keyboards for electronic instruments generally use mechanical switches or similar contact devices to detect keystroke position, where a switch closure is used to detect a note-on event and a switch release is used to detect a note-off event. More sophisticated types of instruments may use multiple such switches.
[0004] There are many drawbacks to using mechanical sensors such as switches to detect key positions on musical keyboards. Most musical keyboards have a large number of keys, typically between 21 and 88. To accommodate this large number of keys, the switches are typically time-interleaved using a multiplexing method. This multiplexing method, combined with switch connection jitter, also known as switch bounce, limits the speed at which the switch connection and disconnection points can be detected. In addition, the switch connections and disconnections can be perceived by the performer, which is highly undesirable. Mechanical wear can reduce the reliability of the switches unless highly reliable switches are used, which are expensive. Furthermore, mechanical variations between switches will inevitably result in variations in response across multiple keys. Repeated actuation of the keys will also result in variations in response across individual keys, and these variations are very difficult to calibrate out. In addition, it is not possible to change the connection and disconnection points of the switches during key travel without mechanical modifications.
[0005] More advanced musical keyboards allow pressure to be applied to a key after a note-on event has been issued, allowing various controls over the musical tone. This pressure can be detected by a single pressure sensor element, for example a force-sensing resistor. In this configuration, pressure from all keys on the keyboard is combined through mechanical connections to apply pressure to the pressure sensor. Such systems are commonly referred to as monophonic aftertouch. A more desirable system allows pressure applied to each individual key to be detected independently, and is called pressure, or polyphonic, aftertouch. Polyphonic aftertouch systems are expensive, since a separate pressure sensor is used for each individual key.
[0006] Alternative sensing methods are known for musical keyboards that overcome many of the limitations of mechanical switches and pressure sensors, but each method still has undesirable properties.
[0007] Optical position sensing of piano keys is described in US 2009 / 0282962. However, such systems are susceptible to performance degradation due to contamination and must be cleaned or recalibrated to maintain optimal performance. Furthermore, they may contain delicate optical elements such as shades or films with graded transparency or reflectance, making them sensitive to shock and vibration, and long-term reliability decreases in response to shock and vibration. Furthermore, US 2009 / 0282962 has an optical sensor and op-amp for each key, but such implementations are expensive.
[0008] Other methods for detecting key position on musical keyboards include magnetic sensors, such as Hall probes, which move a permanent magnet relative to the Hall probe. However, magnetic sensors are sensitive to interference from external magnetic fields, interference from nearby ferrous metal movement, and temperature changes, and suffer from hysteresis, which limits the accuracy and repeatability of position sensing. Furthermore, the need for a permanent magnet and magnetic sensor for each key makes this solution cost prohibitive in most cases.
[0009] Capacitive position sensors are too sensitive to electromagnetic interference, the position of the player's hands, and temperature, making them impractical for musical keyboard applications.
[0010] U.S. Patent No. 4,838,139 describes a musical keyboard with an induction coil sensor. In this configuration, a metal spoiler is housed in each key, and each key moves toward or away from a corresponding sensor inductance coil. However, this system is slow, too slow for an 88-key keyboard, and is also affected by metal jewelry, the product's outer box, and supporting structures. Summary of the Invention
[0011] In one aspect, a sensing system for a keyboard, e.g., a musical instrument keyboard, such as a piano-type keyboard, is provided. The sensing system may include a plurality of key sensors. Each key sensor may include a passive resonant circuit, e.g., for mounting to a moving portion of the key, and an active resonant circuit, e.g., for mounting to a reference position. In some implementations, the passive resonant circuit has a resonant frequency, and the active resonant circuit is configured to excite the passive resonant circuit at the resonant frequency. The sensing system may further include at least one sensor driver for driving the active resonant circuit with an RF drive signal at the resonant frequency. The sensor driver may be shared among multiple sensors. In some implementations, the sensing system may further include a multiplexing system, such as one or more multiplexers and / or demultiplexers, that multiplexes the drive signals such that simultaneously driven key sensors are (physically) separated by at least (k-1) keys, where (k-1) is an integer equal to or greater than 1. Thus, in some implementations, a key is not driven simultaneously with an adjacent key (or simultaneously with a key at least k keys away). The sensing system may further comprise at least one detector, e.g., a readout circuit and / or a microprocessor, for detecting the level of an RF signal from an activated key sensor, which may be used to sense the position and / or velocity of a key associated with the key sensor. The at least one detector may detect variations in the resonant RF signal in the active resonant circuit from the relative positions of the active and passive resonant circuits, and may peak detect the level of the RF signal.
[0012] At least the active resonant circuit, and optionally also the passive resonant circuit, may comprise one or more coils, in particular with opposing windings, so that, for example, the windings may generate balanced or mutually coincident opposing magnetic fields, in particular to cancel each other out, in particular at long distances from the sensor.
[0013] In some implementations, coils with opposing windings (and therefore opposing currents / magnetic fields) combined with multiplexed sensor addressing can facilitate the use of multiple sensors in close proximity. Thus, in some implementations, the opposing windings are configured to generate opposing, balanced magnetic fields, which can result in near-perfect cancellation of the magnetic fields at distances from the sensors, e.g., at least 10 times the largest coil dimension (not that the RF field from the sensors is undetectable at such distances).
[0014] In some implementations, the active resonant circuit comprises a pair or three or more laterally adjacent pancake coils (reference to two or more coils herein may be interpreted to include a single coil having two or more windings, e.g., with opposing windings). The coils may be arranged next to each other along a longitudinal direction defined by a single key. For ease of manufacture, the pancake coils may be formed on a printed circuit board (PCB), which may be a flexible PCB. The coils do not necessarily have to have opposing windings, but merely employing this coil configuration may reduce some mutual interference.
[0015] In some implementations, the system, particularly the multiplexing system, is configured to suppress the motion of the active resonant circuit of the non-driven key sensor, for example, by shorting the coil / sensor and / or driving it with an off-resonance signal (e.g., a low frequency or DC signal). This configuration facilitates the use of resonant circuit-based sensors by reducing interference between the sensors.
[0016] One or more of the techniques described above may be employed to limit interference between adjacent sensors. Which techniques and how many techniques are employed may depend in part on the distance between the active and passive resonant circuits when the key is in the up position, and / or the distance of movement between the key up and key down positions. For example, a piano-type keyboard may have an approximate range of movement between 5mm and 15mm depending on the design. The greater the distance, the more likely it is that pressing one key will move other adjacent keys. Thus, one or more of the techniques described above may be beneficially employed to improve such results. Thus, in general, some implementations of the present sensing system may utilize the multiplexing configurations described herein and some additional means to reduce interference between adjacent sensors.
[0017] The detection system may further include a temperature compensation system for temperature compensating the detected level of the RF signal. The temperature compensation system may be configured to apply a non-resonant drive signal to at least one of the plurality of active resonant circuits. The temperature compensation system may then measure a level of the non-resonant drive signal from the at least one detector and then compensate (e.g., offset) the detected level of the RF signal in response to the level of the non-resonant drive signal. In some implementations, the multiplexing system is configured to multiplex the drive signals such that one of the plurality of key sensors is driven in each of a set of time slots. The temperature compensation system may then be configured to apply the non-resonant drive signal in additional time slots, particularly time slots not used for key testing.
[0018] In some implementations, each key sensor may comprise an elastically deformable element, which may for example be provided under one of the resonant circuits, for example as a deformable end stop, or between the resonant circuits, to limit the movement of one or both of the passive and active resonant circuits, in particular for pressure sensing, by detecting movement relative to the elastically deformable element.
[0019] In a related aspect, a method is provided for periodically compensating a response of a keyboard, each key of the keyboard may include a sensor including an active resonant circuit, a passive tuned resonant circuit, and a detector, the method including detecting an initial output signal O from the sensor detected at a first time t0. t0 At time t0, the active resonant circuit is driven at a frequency below a resonant frequency of the active resonant circuit. The method further includes, for at least one of the plurality of sensors, at a time after t0, reading a later output signal O t1 The method may then calculate an adjustment value, for example, a difference between an early output signal of the sensor and a later output signal of the sensor. The method may then further compensate for the response of the keyboard by adjusting an operational output of the sensor using the adjustment value. The operational output may be an output from the sensor when the active resonant circuit is driven at the resonant frequency of the active resonant circuit. The method may further activate the sensor according to a time division multiplexed addressing scheme. And the method may use "spare" time slots in the time division multiplexed addressing scheme where the sensor is inactive for detection.
[0020] In another aspect, a set of sensors for a keyboard, particularly a keyboard of a keyboard instrument, particularly a piano-type keyboard, is provided. The keyboard has a plurality of keys. The set of sensors may be part of a sensing system. Each sensor may comprise a passive resonant circuit for mounting to a moving portion of the key and an active resonant circuit for mounting to a fixed reference position, for example, on a portion of the keyboard or instrument. In some implementations, the passive resonant circuit has a resonant frequency, and the active resonant circuit excites the passive resonant circuit at the resonant frequency. Each sensor may further comprise a detector, which may be shared among the sensors to detect the position and / or velocity of the key by detecting a variation in a resonant signal in the active resonant circuit due to the relative positions of the active resonant circuit and the passive resonant circuit. The variation may be a variation in the amplitude of the signal in the resonant signal in some implementations. When mounted to sense a plurality of keys of a keyboard, the set of sensors may comprise two or more sensors with different resonant frequencies, arranged such that sensors with the same resonant frequency are non-adjacent.
[0021] Embodiments of this approach can be relatively inexpensive to build, yet highly reliable and not susceptible to key bounce of mechanical switches. This allows for very fast and reliable response to key movement. For example, ideally, each key is measured at a rate of at least 250 times per second. For an 88-key keyboard, this equates to 22,000 keys / second. Some implementations of the above system can run well over 10 times faster. Embodiments of the system can also provide excellent temperature stability, and being non-contact, are robust and virtually unaffected by dirt. Some implementations of the above sensors can further determine the key position as the key moves between the key pressed and key released positions, allowing for substantially continuous determination of key position. The reference position can be a fixed position, for example, under the key on the keyboard base or platform, or it can be a position on a printed circuit board (PCB) that houses a set of multiple sensors for the keyboard. However, alternatively, in some implementations an active resonant circuit may be mounted on or associated with the key, the resonant circuit may be mounted on a base, PCB, etc.
[0022] In some implementations of the above sensors, the sensors can also detect when a key has moved beyond its pressed position, and are therefore useful in implementing polyphonic aftertouch, where the performer can apply force to a key after it has been pressed in order to add expression to a note, for example by modifying the note to control volume, vibrato, etc. In some implementations, polyphonic aftertouch allows the performer to control this expression individually on a per-key basis.
[0023] The sensor may further detect key velocity and / or the detected key velocity may be utilized to determine the key position. Detecting the key velocity may allow for the addition of further expressions.
[0024] In some implementations, sensors having a first resonant frequency are interleaved with sensors having a second, different resonant frequency, for example using alternating frequencies for alternating keys, which further reduces inter-sensor interference.
[0025] The set of sensors may include a controller that controls the selection or scanning of the sensors such that adjacent keyboard sensors are selected at different times, again with the goal of reducing inter-sensor interference. In some implementations, the controller may dampen the response of the active resonant circuits of the non-selected sensors, for example, by connecting a portion of the active resonant circuit to ground, for example, via a resistor. The controller may be comprised of a multiplexing system and / or a microprocessor.
[0026] In some implementations, the controller / multiplexing system may be configured to time-division multiplex the operation of the multiple sensors. In such an approach, a sensor group may be defined by each resonant frequency, and a number n of time slots may be defined by time-division multiplexing. For example, successive keyboard sensors in each group are assigned successive time slots. For example, successive sensors in each group may be non-adjacent on the keyboard if the sensors in a sensor group are interleaved. There may be N resonant frequencies, and thus N sensor groups, where in some implementations N=1. In some implementations, after activating one sensor in a current sensor group in a current time slot, the controller may activate the next sensor along the keyboard in the same sensor group in the next time slot.
[0027] Preferably, the controller / multiplexing system is configured so that adjacent sensors are not active at the same time, although a sensor adjacent to an adjacent sensor may be active at the same time. The spacing between simultaneously active sensors may be (m×N)+1, where m is in the range 1 to n / 2, although a more distant configuration is preferred (spacing 1 refers to adjacent sensors).
[0028] The physical spacing between simultaneously active sensors in the same group may be the nearest n×N sensor spacing. The n×N sensors are referred to below as a subset of sensors, since a keyboard typically has multiple such subsets. Thus, the controller / multiplexing system may be configured such that there are (n×N)-1 sensors between keyboard sensors that are activated in the same time slot in the same sensor group. In some implementations, n may be 8 and N may be 2.
[0029] The controller may be implemented with a processor connected to an addressing device, such as a digital demultiplexer, for addressing the sensors and reading out signals from the addressed sensors by selectively connecting the sensor active resonators to a readout circuit via an analog multiplexer. The detector, i.e., readout circuit, may perform an envelope detection function. In some implementations, the readout circuit and / or the analog multiplexer may be enabled by an enable signal derived from the drive signal for the active resonators via an adjustable phase shift. Synchronous detection of signals from the active resonator circuits may be achieved using an adjustable phase shift in the context of or separately from the demultiplexer-multiplexer arrangement.
[0030] The controller or another processor may be configured to process the variations in the resonant signal in the active resonant circuit of each sensor to determine the movement of each key of the keyboard over a series of time intervals as the pressed key moves between the released and pressed positions when the key is pressed and / or released. The movement of each key may include the position and / or approximate velocity of the key as it moves between the released and pressed positions.
[0031] In some approaches, the position of the key may be determined from the velocity of the key, rather than directly, for example by integration. The processor may output data defining an approximate position and / or velocity profile over time for each key, or for each key in motion.
[0032] In some implementations, the processor is configured to process the variations in the resonant signal in the active resonant circuit of each sensor to determine an approximate key velocity from the changes in the determined key position in successive time intervals. The velocity thus determined may be filtered depending on the key velocity, for example applying more filtering / smoothing when the key is moving at a slower speed. This allows providing accurate data when the key is moving at a slower speed without significantly compromising the response time of keys moving at a faster speed.
[0033] More generally, the processor may process the amplitude and / or other variations of the resonant signal to determine key press and key release events for each key, for example from determining key position and / or velocity, and may thus output a sound signal for each key / each active key.
[0034] In some approaches, a series of key positions or a key movement profile may be used to predict when a pressed (or released) key will reach a key press / note on (or key release / note off) position, for example by extrapolating the key position trajectory. The predicted position may be a position referred to below as K. The processor may then issue a key press / note on (or key release / note off) signal before the actual key press / note on (or key release / note off) position is reached. This may be advantageous to compensate for processing delays in the instrument, for example latencies in the sound generation engine.
[0035] In some implementations, a series of key positions or key movement profiles may be used to provide signals to control an instrument, for example to control a sound generation engine to add expression to a sound before and / or after a note-on event is issued.
[0036] In some implementations, the processor may be further configured to distinguish between at least three different key positions, namely a first note-off position, a second note-on position, and a third aftertouch position. The aftertouch position is, for example, a position beyond the note-on position and corresponds to additional pressure applied to the key after depression. The processor may determine the position and / or velocity of the key as it moves to / from the aftertouch position, for example acting as a variable pressure sensor. Alternatively, the processor may identify when the aftertouch position is reached. The aftertouch position corresponds to movement of the key beyond a normally depressed position, for example as a result of application of additional pressure to the key. Each key may be provided with a resilient biasing body or a deformable end-stop device, such as a compression / tension spring or a compressible element / block. With this configuration, a depressed portion of the key interacts with the device and is inhibited from further movement by the device unless additional pressure is applied to the key, in which case the key moves towards its aftertouch position. Aftertouch position may be detectable for each key, providing polyphonic aftertouch functionality.
[0037] In some implementations of the above system, a new note-on signal may be issued before a note-off is detected. This allows for easier retriggering, which is useful for piano keyboards. For example, a pressure-adjustable key travel distance (deadzone) may be provided between the maximum key pressure and the start of aftertouch detection, allowing the user to set the amount of pressure required before aftertouch begins.
[0038] The set of sensors may be provided on a substrate such as a printed circuit board. The sensors are arranged in a line along the substrate, particularly at positions corresponding to the key positions of the keyboard. More specifically, if the passive resonant circuits are located at the keys, the sensors may be arranged adjacent to each other. The coils for the active resonant circuits may be formed in tracks on the substrate, for example constituting a pancake coil. A piano keyboard has black and white keys, and the sensors may be arranged in a line if the passive resonant circuits are appropriately arranged. However, in some implementations, the active and passive resonant circuits are alternately arranged between two positions, and are alternately arranged on either side of a longitudinal line that defines the overall arrangement of the sensors. The set of sensors may consist of sensors for the entire keyboard, or may consist of sensors for a portion of the length of the keyboard, for example, one or more octaves. As mentioned above, a keyboard for a keyboard instrument is also provided that includes one or more sets of the above-mentioned sensors.
[0039] In general, the processor / controller for the multiple sensor set may be any type of processing device / circuit, such as a microprocessor controlled by program code, a digital signal processor (DSP), or a processing device / circuit comprising one or more of a hardware such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). In some implementations, the control / processing functionality for the multiple sensor set may be provided within a single integrated circuit.
[0040] In the case where a programmable device is utilized, the processor may have an associated working memory and a non-volatile program memory storing processor control code for controlling the processor to implement some or all of the above-mentioned functions. Accordingly, a non-transient data carrier, such as a non-volatile memory, is also provided, carrying code and / or data for implementing the above-mentioned functions. The code / data may consist of source, object or executable code in a conventional programming language, interpreted or compiled; or assembly code, code / data for setting up or controlling an ASIC or FPGA, such as code for a hardware description language such as Verilog™. As will be appreciated by those skilled in the art, such code and / or data may be distributed between multiple connected components communicating with each other.
[0041] Also provided is a method for sensing the position of multiple keys, for example of a keyboard instrument. The method may provide each key with a sensor, for example comprising a passive resonant circuit for mounting to a moving portion of the key and an active resonant circuit for mounting to a fixed reference position, for example a portion of the keyboard or instrument. In some implementations, the passive resonant circuit has a resonant frequency, and the active resonant circuit excites the passive resonant circuit at the resonant frequency. Each sensor may further comprise a detector, which detects variations in a resonant signal in the active resonant circuit due to the relative positions of the active resonant circuit and the passive resonant circuit to detect the position and / or velocity of the key. The detector may be shared. The method may further arrange the sensors to operate at two or more different resonant frequencies, with keyboard sensors having the same resonant frequency being arranged such that they are non-adjacent. Additionally or alternatively, the method may further reduce interference between the sensors by configuring at least one or more coils of the active resonant circuit, and optionally also one or more coils of the passive resonant circuit, to have opposite windings.
[0042] The method may further provide polyphonic aftertouch by distinguishing at least three distinct key positions, first a note-off position, second a note-on position, and third an aftertouch position, where the aftertouch position is a position beyond the note-on position and corresponds to additional pressure applied to the key after depression and movement of the key beyond an endstop position.
[0043] A keyboard, particularly a musical keyboard, is further provided. The musical keyboard provides output signals derived from measurements of position, velocity, and pressure applied to a number of movable keys on the keyboard. The measurements may be derived from position sensors on the movable keys. Each position sensor may comprise an active tuned resonant circuit, drive electronics connected to the active tuned resonant circuit for driving the active tuned resonant circuit at a resonant frequency, and an electrically reactive element associated with the movable key. The drive electronics are optionally shared between the sensors. The electrically reactive element may variably modify a response of the active tuned resonant circuit depending on the relative position of the electrically reactive element to the active tuned resonant circuit. The keyboard may further comprise readout electronics connected to the active tuned resonant circuit for providing a variable output signal depending on the relative position of the electrically reactive element to the active tuned resonant circuit. The variable output signal of the readout electronics may provide the position sensor output.
[0044] Preferably, but not necessarily, the electrically reactive element comprises a passively tuned resonant circuit tuned to the frequency at which the active tuned resonant circuit is driven. Thus, the position sensor is operated at a single resonant frequency. Advantages of this approach include: first, a larger effective sensing distance can be achieved for a given size of position sensor; second, a larger variation in the output signal of the position sensor can be obtained for a variation in the sensed position; thus, an output amplifier for the position sensor is often not required, reducing complexity and cost; and third, operation of multiple closely spaced position sensors is facilitated, since the inventors have found that a passively tuned resonant circuit of a first position sensor tuned to the resonant frequency of the first position sensor does not substantially affect the output of the second position sensor if the second position sensor is tuned to a resonant frequency significantly different from the resonant frequency of the first position sensor.
[0045] Broadly speaking, an exemplary range of resonant frequencies is 1-10 MHz, which balances speed against the deleterious effects of parasitic capacitance. For example, the first resonant frequency may be in the range of 3-4 MHz and the second resonant frequency may be in the range of 4-5 MHz.
[0046] It has been found to be particularly advantageous for the coils used by the active and passive tuned resonant circuits to be formed as flat or planar coils defined by tracks on a printed circuit board, which gives rise to a well-defined and highly repeatable shape and facilitates the placement of other electrically active components in close proximity on the printed circuit board.
[0047] In order to minimize the electromagnetic emissions radiated from the position sensor and to minimize the susceptibility of the position sensor to electromagnetic interference signals, the coil of the active tuned resonant circuit may be formed from a number of electrically connected "smaller" primary coils, where the winding directions of the primary minor coils are selected such that the sum of the far-field fields radiated from the primary minor coils is substantially zero. In this case, the inductance coil used by the passive tuned resonant circuit may be inductively coupled to only a subset of the primary minor coils or may consist of a number of electrically connected secondary minor coils. In this case, the winding direction and number of turns of the secondary minor coils may be selected to maximize the variation of the output signal of the position sensor.
[0048] Although the systems and methods described above are particularly advantageous for use with keyboards, their application is not limited to keyboards.
[0049] These and other aspects of the invention will now be further described with reference to the accompanying drawings. [Brief description of the drawings]
[0050] [Figure 1] FIG. 1 illustrates an active tuned resonant circuit used in an example implementation of the system. [Diagram 2] FIG. 1 illustrates a passive tuned resonant circuit used in an exemplary implementation of the system. [Figure 3A] FIG. 1 illustrates an expanded example of a printed circuit design for an active tuned resonant circuit used in an example implementation of the system. [Figure 3B] FIG. 1 illustrates a close-up example of a printed circuit design for a passive tuned resonant circuit used in an example implementation of the system. [Figure 4] 1 is a cross-sectional view of a key of a musical keyboard whose position is determined using an implementation of the system. [Diagram 5] FIG. 1 illustrates an example of a simple readout electronic circuit with a synchronous demodulator that can be used with an implementation of the system. [Figure 6]FIG. 13 illustrates the relative placement of a series of active tuned resonant circuits and a corresponding series of passive tuned resonant circuits arranged to minimize interference between adjacent tuned resonant circuits, according to an example implementation of the system. [Figure 7] FIG. 13 is a timing diagram of a time division multiplexing circuit used to multiplex multiple active tuned resonant circuits to determine the positions of multiple keys on a musical keyboard in accordance with an exemplary implementation of the system. [Figure 8] FIG. 2 is a time division multiplexing circuit diagram of a preferred embodiment used to multiplex multiple active tuned resonant circuits to determine the positions of multiple keys on a musical keyboard in accordance with an exemplary implementation of the system. [Figure 9] FIG. 13 is a diagram showing the relationship between key displacement and sensor output in a musical keyboard according to an implementation example of the system. [Figure 10] 1A and 1B are diagrams showing examples of measurement positions and measurement speeds when a key is pressed on a musical keyboard according to an implementation example of the system. [Figure 11] FIG. 11 illustrates an example of a calibration procedure used to calibrate the detection positions of keys on a musical keyboard in accordance with an exemplary implementation of the system. [Figure 12] FIG. 13 illustrates an example algorithm used to detect note-on, note-off, expression, and pressure events for keys on a musical keyboard in accordance with an example implementation of the system. [Figure 13] FIG. 1 illustrates an example of a sensor resonant circuit with coils having opposing windings according to an example implementation of the system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0051] The preferred embodiment is a musical keyboard with multiple moveable keys. Each moveable key in FIG. 4 comprises a moveable top member 15 that rotates about a pivot point 17 and is restrained against movement by a spring 16 or other mechanical linkage, a fixed bottom member 14, a deformable end stop 18 that limits the movement of the top member, and a position sensor. The position sensor comprises an active tuned resonant circuit 10 inductively coupled to an electrically reactive element 11 (hereafter called the target), drive electronics connected to the active tuned resonant circuit, and readout electronics connected to the active tuned resonant circuit. The position sensor outputs a signal that varies with changes in the mutual separation between the active tuned resonant circuit and the target.
[0052] The active tuned resonant circuit of Fig. 1 comprises an input resistive element 4, a coil 1, two capacitive elements 2 and 3, an output resistive element 5, means 6 for connecting a drive electronic circuit to the input resistive element, and means 7 for connecting a readout electronic circuit to the output resistive element. The input resistive element may be omitted. However, it is preferred, since it limits the current supplied by the drive electronic circuit to the active tuned resonant circuit, thus reducing the operating current and thus reducing both the power consumption and the electromagnetic emissions from the active tuned resonant circuit. It also increases the sensitivity of the proximity detection when the readout electronic circuit is connected to the active tuned resonant circuit. The output resistive element may be omitted. However, it is still preferred, since it reduces the influence of the connection wiring on the impedance of the active tuned resonant circuit, so that all position sensors can be essentially the same regardless of the connection length to the drive electronic circuit and to the readout electronic circuit.
[0053] With reference to FIG. 2, the reactive element is preferably a passively tuned resonant circuit comprising a coil 8 and a capacitive element 9, where the coil and the capacitive element are connected to form a closed resonant LC circuit. The size of the coils 1 and 8, as well as their inductance values, need not be substantially similar. The capacitance value of the capacitive element 9 is preferably selected such that the resonant frequency of the passively tuned resonant circuit is adjusted so that it matches the resonant frequency of the active tuned resonant circuit of FIG. 1. When the passive and active circuits are adjusted in this way, it is possible to operate multiple position sensors. The position sensors located in close proximity are tuned to substantially different resonant frequencies, thereby minimizing the interaction between the position sensors located in close proximity. Furthermore, when the passive and active circuits are tuned in this way, the signal amplitude at 7 in FIG. 1 decreases as the distance between the passive and active circuits decreases, since more energy is coupled to and dissipated by the passively tuned resonant circuit. Such a variation in the signal amplitude is preferable because measuring the variation in signal amplitude is faster than measuring the variation in resonant frequency if the actively tuned resonant circuit becomes detuned by the proximity of the reactive element.
[0054] If the movable top part 15 of the key is made of an electrically conductive material, then an air gap or a spacer 13 made of a non-conductive material is inserted between the electrically reactive element 11 and the top part. Similarly, if the fixed bottom part 14 is made of an electrically conductive material, then an air gap or a spacer 12 made of a non-conductive material is inserted between the active tuned resonant circuit 10 and the fixed bottom part.
[0055] The drive electronics include means for generating an oscillating voltage drive waveform at a frequency equal to or close to the resonant frequency of the active tuned resonant circuit. Typically, but by way of non-limiting example, this waveform is a square waveform generated by the output of a microcontroller timer or a digital or analog timing circuit.
[0056] The readout electronics comprises means for generating a voltage proportional to the amplitude of the signal at the readout point 7. Typically, but by way of non-limiting example, the voltage generating means is a synchronous demodulator circuit of FIG. 5. In this circuit, the signal from said readout point is connected to 20 and demodulated by an analog switch 22. The analog switch 22 is controlled by an oscillating voltage drive waveform connected to 19, the phase of which is optionally adjusted by a phase shift element 21. At 25, it is reduced to a low frequency (or dc) voltage by a low pass filter with resistive element 23 and capacitive element 24. Alternative readout electronics may be a phase sensitive rectifier, a phase insensitive rectifier, an asynchronous demodulator and a peak detector, as will be appreciated by those skilled in the art.
[0057] The coils 1 and 8 used in the active and passive tuned resonant circuits, respectively, can be of any type. However, the use of planar spiral coils formed in tracks on a printed circuit board has three main advantages: the coils are cheap and can be made with highly reproducible inductance values. The printed circuit board can also be used to mount other components such as the capacitive elements 2, 3, 9 and the resistive elements 4 and 5. It is therefore possible to design multiple coils with closely matched inductance values.
[0058] 3A, a typical active tuned resonant circuit may be formed on a printed circuit board with a single conductive layer or multiple conductive layers. On the printed circuit board, the coil 1 consists of a continuous spiral track, the electrical continuity of which is maintained by electrical connection through a connection via 53 to a connecting wire, to another spiral track on another conductive layer, or to multiple spiral tracks on multiple conductive layers of the printed circuit board. The printed circuit board also includes closely arranged capacitive elements 2 and 3, and resistive elements 4 and 5, and connection points 6 and 7 for the drive electronics and the readout electronics, respectively.
[0059] Similarly, referring to Figure 3B, a typical passively tuned resonant circuit may be formed on a printed circuit board with a single conductive layer or multiple conductive layers, where the coil 8 consists of a continuous spiral track whose electrical continuity is maintained by electrical connection through a connection via 54 to a connecting wire, to another spiral track on another conductive layer, or to multiple spiral tracks on multiple conductive layers of the printed circuit board, and where a capacitive element 9 is located in close proximity.
[0060] The inventors have found that electromagnetic emissions from an active tuned resonant circuit and the susceptibility of the active tuned resonant circuit to electromagnetic interference signals can be substantially reduced when an induction coil of the active tuned resonant circuit is formed from a number of electrically connected primary small coils, the winding directions of which are selected such that the sum of the far electromagnetic fields radiated from the primary small coils is substantially zero. A suitable example of the induction coil 1 is shown, by way of non-limiting example, in FIG. 13A, where two primary small coils are wired in series with opposite winding directions 58 to form a figure-of-eight coil. In such an arrangement, the far electromagnetic fields radiated from a first half 56 of the figure-of-eight coil and from a second half 57 of the figure-of-eight coil are equal in magnitude but have opposite polarity. Thus, the far electromagnetic field radiated from the figure-of-eight coil is substantially zero.
[0061] In such an arrangement, the passively tuned resonant circuit shown in Figure 3B may be inefficient unless the induction coil of the passively tuned resonant circuit is primarily inductively coupled to only one of the figure-eight coil halves 56 or 57 of the active tuned resonant circuit. To maximize the output signal of the position sensor, the induction coil of the passively tuned resonant circuit is preferably similarly formed with a figure-eight induction coil, as shown in Figure 13B. The figure-eight induction coil comprises two secondary minor coils wired in series with opposite winding directions 58. Each of the secondary minor coils is primarily inductively coupled to a different primary minor coil of the figure-eight coil of the active tuned resonant circuit.
[0062] The inventors have found that a first passive tuned resonant circuit tuned to a first resonant frequency of a first active tuned resonant circuit does not substantially affect the output of an adjacent second active tuned resonant circuit tuned to a substantially different second resonant frequency, but when a corresponding second passive tuned resonant circuit tuned to the second resonant frequency is located close to the first passive tuned resonant circuit, the movement of the first passive tuned resonant circuit may affect the output of the second active tuned resonant circuit by mutual coupling between the first passive tuned resonant circuit and the second passive tuned resonant circuit. Such undesirable interaction can be minimized by offsetting the positions of physically adjacent passive tuned resonant circuits, as shown in FIG. 6. In this case, the active tuned resonant circuit 26 and the passive tuned resonant circuit 28 are tuned to a first resonant frequency, and the active tuned resonant circuit 27 and the passive tuned resonant circuit 29 are tuned to a second resonant frequency.
[0063] In a further preferred embodiment, the position sensors on the movable keys of the musical keyboard are controlled in a time division multiplexed manner, which allows a subset of the position sensors to be enabled at any one time. This scheme has the advantages of reducing cost, complexity, power consumption and electromagnetic emissions for a typical musical keyboard with a large number of keys, such as 16 or more.
[0064] When a first position sensor operating at a first resonant frequency and a second position sensor operating at a substantially different second resonant frequency are located in close proximity, the position sensors may interact such that the output of the first position sensor and the output of the second position sensor contain an interference component that varies at a varying frequency equal to the frequency difference between the first resonant frequency and the second resonant frequency. By synchronously demodulating the output of the position sensor, when the cutoff frequency of a reconstruction low pass filter is substantially lower than the frequency difference, the interference component is substantially eliminated. However, the time response of the low pass filter may undesirably limit the speed of response of the position sensor. Therefore, a mechanism for minimizing this interference is desired. By using a time division multiplexing scheme in which physically adjacent sensors are not driven simultaneously, this problem is avoided.
[0065] In practice, it has been found that synchronous demodulation is not necessary to ensure good performance.
[0066] Referring to FIG. 7, an illustrative example of such a mechanism is shown as a timing diagram for a subset of position sensors, where a number of position sensors 30 operating at a first resonant frequency F1 are adjacent to a number of position sensors 31 operating at a second resonant frequency F2. In each time slot, only one position sensor operating at the first resonant frequency is enabled and only one position sensor operating at the second resonant frequency is enabled. Furthermore, physically adjacent position sensors are never enabled at the same time, thereby minimizing the interference components. The subsets of position sensors may be operated simultaneously.
[0067] Broadly speaking, in the multiplexing of FIG. 7, the keys shown with black shading and the keys shown with white shading each form a group of keys. The sensors of one key group may have a different resonant frequency than the sensors of another key group. For example, if there is a group of black keys, there are 8 time slots and every 8th key is activated (driven) at the same time. Those skilled in the art will appreciate that this approach may be adapted to k time slots, driving every kth key at the same time (i.e., simultaneously driven keys have k-1 inactive keys in between). Keys of simultaneously active groups, e.g. black keys and white keys, may be (physically) separated as much as possible.
[0068] Some implementations of the system do not employ different key groups with different resonant frequencies. Instead, all sensors may have substantially the same resonant frequency. Use of such an approach is facilitated by the coil design described below with reference to FIG. 13. Thus, there may be k time slots, and every kth key may be active (driven) simultaneously. That is, simultaneously driven keys may have k-1 inactive keys between them.
[0069] FIG. 8 shows an example of a time division multiplexing scheme for a subset of position sensors operating at a single resonant frequency. In the system of FIG. 8, a processor 35 generates a drive waveform 36 whose frequency matches the resonant frequency of the active tuned resonant circuit of the position sensor. The processor generates a selector signal 37 that selects which position sensor should be enabled. The output 7 of the position sensor is coupled to an analog multiplexer 34. The output of the analog multiplexer is coupled to an analog to digital converter in the processor via a low pass filter comprising a capacitive element 24 and a resistive element in the analog multiplexer. An output 55 from the processor is used to transmit information regarding the position and velocity of the position sensor. An additional advantage of employing the analog multiplexer in coupling the output of the position sensor to the analog to digital converter is that the analog multiplexer can perform the function of the analog switch 22 used for synchronous demodulation. This allows the analog multiplexer output to be synchronously enabled or disabled via an enable input 39 coupled to the drive waveform 36. If multiple position sensors are operated at substantially different resonant frequencies, the time division multiplexing scheme can be replicated as required. A suitable processor is an ARM Cortex-M0.
[0070] 8 shows only one demultiplexer / multiplexer, if multiple resonant frequencies are used, one demultiplexer / multiplexer may be employed for each resonant frequency used, for example if alternating resonant frequencies are mapped to alternating keys on a keyboard, a second demultiplexer / multiplexer may be used.
[0071] For example, variations in component tolerances may cause detuning of the actively or passively tuned resonant circuits of the position sensor, and sensitivity to detuning may be facilitated by coupling the output of the (optional) synchronous demodulator circuit to a peak detection circuit comprising a diode 40, a capacitive element 24 and optionally a resistive element 41 or a switching element 42 (to reset the charge on the capacitive element 24). If a switching element is used, it may reset the detected peak level synchronously with the selector signal used to control the multiplexer.
[0072] The signal from the detector (readout circuit) may be input to an analog-to-digital converter 38 , for example integrated into an analog input of the processor 35 .
[0073] When the active tuned resonant circuit of a disabled position sensor is not driven, the active tuned resonant circuit acts as a tuned antenna. This has a detrimental effect. Due to this, moving the target corresponding to the disabled position sensor can cause a measurable change in the output of the similarly tuned position sensor, even if the similarly tuned position sensor is not physically adjacent to the disabled position sensor and the target's movement is constrained within its normal limits above the disabled position sensor, as shown in Figures 4 and 6. The detrimental effect can be reduced by changing the resonant frequency of the active tuned resonant circuit of the disabled position sensor during the disabled time, for example by changing the capacitance, resistance or inductance of the active tuned resonant circuit by an electronic switch. It is simplest to drive the disabled sensor with a direct current or a low frequency signal to prevent resonance. 8, a particularly advantageous way of achieving this in a time division multiplexed manner is to use a digital demultiplexer 33 when driving the inputs 6 of the actively tuned resonant circuits, such that the actively tuned resonant circuits of enabled position sensors are driven by a waveform 36 at the resonant frequency of the actively tuned resonant circuits, and the actively tuned resonant circuits of disabled position sensors are driven by a DC current signal corresponding to a logic high or logic low level of the digital demultiplexer.
[0074] It is important that the performance of a musical keyboard be stable over a range of operating temperatures. Although the tuned resonant circuit used by the position sensor described herein has excellent temperature stability, especially when the tuned resonant circuit is formed on a printed circuit board and the capacitive elements of the tuned resonant circuit are temperature stable dielectrics (Class 1 dielectrics), other electronic elements in the circuit may have properties that change with temperature. This can cause the output signal of the position sensor to vary with variations in operating temperature. Such electronic elements include, but are not limited to, diodes 40, digital demultiplexer 33, analog multiplexer 34, resistive elements 4, 5, 41, tracks on the printed circuit board, as well as voltage regulators. Therefore, a temperature compensation scheme may be useful to minimize variations in the output signals of multiple position sensors on a musical keyboard caused by variations in operating temperature.
[0075] As a particularly preferred, but non-limiting example, a temperature compensation scheme comprises taking a plurality of measurements of a position sensor's output signal while driving an active tuned resonant circuit of the position sensor with a direct current or low frequency signal such that the passive tuned resonant circuit of the position sensor has no effect on the output signal of the position sensor, a first of the plurality of measurements being performed during a calibration procedure and subsequent measurements being performed periodically, typically in additional time slots in a time division multiplexed manner, calculating a temperature dependent offset in the output signal by subtracting the subsequent measurements from the first measurement, and adding the offset to the measurement of the output signal when the active tuned resonant circuit is driven at a frequency equal to or close to the resonant frequency of the active tuned resonant circuit to measure position. Such a temperature compensation scheme may use one temperature dependent offset for each position sensor in a musical keyboard, for each group of position sensors in a musical keyboard, or for all position sensors in a musical keyboard.
[0076] For musical keyboards with movable keys, a multiplexing scheme such as that described above can be used to provide rapid and accurate measurement of the positions of the keys. For example, the example shown in FIG. 8 can be multiplexed, where the frequency of updating the selector signal 37 is at least 32,000 Hz, so that the position of each movable key in a subset of 8 movable keys can be determined at a frequency of 4,000 Hz. This example can be replicated and run in parallel for other subsets of movable keys, so that in a full-sized piano keyboard with 88 keys, the positions of these keys can be determined at a rate of at least 352,000 keys / second. The inventors have found that to be able to time note-on and note-off events with adequate precision and to determine the key velocities associated with the events, ideally the positions of the keys should be determined at least 250 times per second, which corresponds to a rate of at least 22,000 keys / second for 88 keys. Clearly, implementations of the system described above easily exceed these goals.
[0077] Referring to FIG. 9, when a movable key on a musical keyboard according to an implementation of the above system is depressed, there are three primary positions of the key: a rest position Kmax 43 when the key is at rest, a point Kzero 44 where the movable upper member 13 first contacts the deformable end stop 18, and a maximum depression point Kmin 45 corresponding to the point of maximum pressure applied to the key by a typical player. At the maximum depression point Kmin 45, the deformable end stop 18 may be considered to be maximally deformed. Due to mechanical variations and electronic component tolerances, a number of such movable keys are unlikely to have an output signal of a position sensor of a first key located at any one of the plurality of primary positions of a first key that is identical to the output signal of a position sensor of a second key located at the same primary position. Therefore, a calibration process is required to ensure that the position of any movable key is known for each primary position of the movable keys. Such a calibration process is illustrated in FIG. 11.
[0078] If the position of a movable key is between the primary positions Kmax and Kzero, the post-calibration position K of the key can be calculated from the measured position Ko of the key by the following formula, K=100%×(Ko-Kzero) / (Kmax-Kzero), which is the pressing ratio between Kmax and Kzero.
[0079] If the position of a movable key is between the primary positions Kzero and Kmin, the calibrated position Kpress of said key can be calculated from the measured position of said key Ko by the following formula: Kpress=100%×(Ko−Kmin) / (Kzero−Kmin), where Kpress is the percentage of depression between Kzero and Kmin, i.e., 50 in Fig. 9. In such a case, Kpress may be considered to be the amount of pressure applied to said key that corresponds to the range of depression of 50 for said key.
[0080] In some embodiments, the calculation of Kpress may include an offset Kpoff, so that Kpress is zero until the key position Ko is between (Kzero-Kpoff) and Kmin, i.e., Kpress=100%*(Ko-Kmin) / (Kzero-Kpoff-Kmin). The offset creates a dead zone where neither the calibrated position K nor Kpress of the key changes as the key position changes. This makes it easier to implement aftertouch thresholds.
[0081] On a typical musical keyboard, it is desirable for each movable key of the keyboard to issue a note-on event when the depression of the key passes a secondary position Kon, and to issue a note-off event when the depression of the key returns to another secondary position Koff. Although Kon may be equal to Koff in some cases, it is preferable that Kon and Koff are not equal. Referring to FIG. 9, preferably, secondary position Kon 48 is selected to be close to primary position Kzero 44. Similarly, secondary position Koff 47 is selected to be close to the secondary position Kon.
[0082] In some embodiments, after issuing a first note-on event, a second note-on event can be issued, and optionally, a note-off event can be issued prior to the second note-on event when the movable key press returns to a position before the secondary position Kon but not to the secondary position Koff, and then the movable key press changes to a position beyond the secondary position Kon, thereby facilitating retriggering.
[0083] In some embodiments, the secondary position Koff 46 of each movable key is selected to be close to its primary position Kmax 43. Such an arrangement allows the position of the key to be used to issue an expressive event prior to issuing a note-off event. The measured position Ko of the key between Koff and Kzero may be used to calculate a calibrated expressive value Kexp=100%×(Ko−Kzero) / (Koff−Kzero) corresponding to the depression range 49 of the key.
[0084] As a non-limiting example, one particular algorithm shown in Figure 12 may be used for each movable key of a musical keyboard in accordance with an implementation of a system in which the measured position Ko of the movable key may be used to issue note-on events, note-off events, expression events and pressure events for each movable key of the musical keyboard, where the measured position Ko of the movable key is calibrated by primary positions Kmax, Kzero and Kmin and therefore by secondary positions Kon and Koff.
[0085] Deriving the secondary positions Kon and Koff of a movable key of a musical keyboard from the primary positions Kmax and Kzero of said movable keys is particularly advantageous in that said secondary positions can be easily modified by simple numerical calculations, thereby changing the response of said musical keyboard. Moreover, such modifications can be made different for individual keys of a musical keyboard having multiple movable keys, thereby allowing a wide range of response in said musical keyboard without requiring any mechanical modifications to the musical keyboard.
[0086] To provide further expressive control of the musical sound generation system, it is common for musical keyboards to transmit velocity information relating to note-on events and possibly also to note-off events. This velocity information can be determined by measuring the time difference between two known points in a key press, or conversely, by measuring the change in said key press at two known times.
[0087] In some embodiments, the velocity (speed and direction) of a movable key is determined from multiple positions of the key at multiple times using averaging, filtering, or similar methods. An example is described in detail below. The method of calculating the velocity has several advantages over other methods. Namely, since it does not assume a linear velocity profile as used in the two-point measurement method, but detects the change in velocity over the entire depression range of the key, the velocity measurement is more representative of the true velocity of the key and is more consistent with the response of the key. Also, since more statistically valid data points are used, a higher resolution and higher accuracy of the velocity determination can be achieved. It allows the calculation of a prediction of the future position of the key, for example, to estimate the future time when the position of the key will be equal to the secondary positions Kon and Koff, thereby allowing the issuance of a note-on or note-off event in advance of the corresponding physical event. Thus, compensating for latency in the musical tone generation system.
[0088] An example of a filtering procedure is: deltaV = deltaPos (i.e., the change in position between fixed time steps). alpha = k*abs(deltaV)
[0089] The filtering coefficient alpha depends on the magnitude of deltaV, and alpha is limited to detectable values to avoid overflow / underflow. velocity=alpha*last_velocity+deltaV*(1-alpha)
[0090] This method may be performed in the digital domain and allows filtering to improve resolution without significantly compromising the time response for fast moving keys. This filtering is particularly important for very slow moving keys. By modifying the filtering and / or the maximum allowed velocity value, the feel of the instrument can be modified, for example to give a harder or softer response.
[0091] To illustrate the advantages of such a method, FIG. 10 shows a calibrated position 51 of a movable key and its corresponding calibrated velocity 52, where the key press reaches a first order point Kzero 44 within 7 ms of the start of the key press. The plot in FIG. 10 approximates the velocity calculated directly from the differentiated position. However, as the position moves more slowly, the velocity lags a little because the velocity filtering is heavier. The above method provides substantially more information about the velocity of a movable key of a musical keyboard than other methods.
[0092] A movement detection system for a musical keyboard and a sensing system and method for a keyboard instrument have been described. However, the techniques described above are not limited to musical keyboards and may be used, for example, in computer keyboards.
[0093] For example, in some implementations, the techniques described above may be utilized in a laptop keyboard. In this case, one or both of the passive and active resonant circuits may be mounted on a flexible PCB. For example, the passive resonant circuit may be mounted on a flexible PCB underneath the key, and the active resonant circuit may be mounted on an underlying rigid PCB. The position sensing capability may be used, for example, to sense pressure applied to the key if some elastic material is provided between the active and passive resonant circuits. In some implementations, for example, in a laptop, computer, or other keyboard where the keys are arranged in a 2D pattern on a flat or curved surface, multiplexing may be applied, for example, in a manner generally corresponding to the configuration described above, such that no key is actuated simultaneously with its neighbors in the two dimensions. For example, in a rectangular 2D grid, alternating keys in each of the two dimensions of the surface defined by the keyboard may be active in alternating time slots (i.e., two sets of non-adjacent keys may be specified), and this may be extended to key layouts defined by hexagonal and other grids where multiple sets of non-adjacent keys may be specified as well. Keys adjacent to each other in the surface defined by the keyboard may be inactive and / or damped during the time period in which the target key is read. However, as previously mentioned, multiplexing may be configured to read multiple keys of a keyboard simultaneously. The above-described techniques may be advantageous for computer and other keyboards as they are inexpensive to manufacture and have very fast response times, e.g., less than 1 ms.
[0094] In another implementation, the above-mentioned techniques may be employed to sense pressure. The sensor further comprises a deformable element, e.g., a block or layer of rubber, under and / or between one or both of the passive and active resonant circuits. Such a configuration may be employed, for example, as a sensor for an electronic drum pad.
[0095] No doubt many other effective alternatives will occur to those skilled in the art, and it will be understood that the invention is not limited to the described embodiments, but encompasses modifications apparent to those skilled in the art within the spirit and scope of the claims appended hereto.
[0096] Additional notes: [Appendix 1] 1. A sensing system for a keyboard, comprising: Equipped with multiple key sensors, Each key sensor is a passive resonant circuit having a resonant frequency; an active resonant circuit configured to excite the passive resonant circuit at the resonant frequency; Equipped with The detection system further comprises: at least one sensor driver that drives a plurality of the active resonant circuits with an RF drive signal at the resonant frequency; a multiplexing system that multiplexes the driving signals such that simultaneously driven key sensors are separated by at least (k-1) keys, where (k-1) is an integer equal to or greater than 1; and at least one detector configured to detect a level of an RF signal from an activated key sensor to sense a position and / or a velocity of a key associated with the key sensor. Detection system. [Appendix 2] 2. The detection system of claim 1, configured to damp the active resonant circuits corresponding to a plurality of key sensors that are not driven. [Appendix 3] At least the active resonant circuit comprises one or more coils having opposing windings; In particular, the opposing windings are configured to generate opposing magnetic fields that cancel each other. 3. A detection system according to claim 1 or 2. [Appendix 4] The active resonant circuit comprises two laterally adjacent pancake coils. 4. The detection system of claim 1, 2 or 3. [Appendix 5] a temperature compensation system for temperature compensating the detected level of an RF signal; The temperature compensation system comprises: configured to apply a non-resonant drive signal to at least one of the plurality of active resonant circuits, measure a level of the non-resonant drive signal from the at least one detector, and compensate the detected level of an RF signal in response to the level of the non-resonant drive signal. 5. A detection system according to any one of claims 1 to 4. [Appendix 6] the multiplexing system is configured to multiplex the drive signals such that one of the plurality of key sensors is driven in each of a set of a plurality of time slots; the temperature compensation system is configured to apply the non-resonant drive signal during an additional time slot to the set of the plurality of time slots; 6. The detection system of claim 5. [Appendix 7] each key sensor further comprises a deformable element for limiting the movement of one or both of said passive resonant circuit and said active resonant circuit for pressure sensing; 7. A detection system according to any one of claims 1 to 6. [Appendix 8] 1. A sensing system for a keyboard of a keyboard instrument, comprising a set of a plurality of sensors, the keyboard has a plurality of keys; each sensor comprising a passive resonant circuit for mounting on a moving portion of a key and an active resonant circuit for mounting on a reference position, said passive resonant circuit having a resonant frequency, said active resonant circuit exciting said passive resonant circuit at said resonant frequency; each sensor further comprises a detector for detecting a variation in a resonant signal in the active resonant circuit according to a relative position between the active resonant circuit and the passive resonant circuit to detect a position and / or a speed of the key; the set of sensors includes sensors having two or more different resonant frequencies arranged such that the sensors having the same resonant frequency are non-adjacent; Detection system. [Appendix 9] A plurality of sensors having a first resonant frequency are interleaved with a plurality of sensors having a second, different resonant frequency. 9. The detection system of claim 8. [Appendix 10] moreover, a multiplexing system and / or controller that controls selection of multiple sensors in the set of multiple sensors such that adjacent keyboard sensors are selected at different times; 10. The detection system of claim 8 or 9. [Appendix 11] The multiplexing system / controller includes: moreover, configured to damp the plurality of active resonant circuits of a plurality of non-selected sensors; 11. The detection system of any one of claims 1 to 7 and 10. [Appendix 12] The multiplexing system / controller includes: configured to time-multiplex the operation of the sensors; A group of sensors is set up for each resonant frequency. the time division multiplexing defines a plurality of n time slots; Consecutive keyboard sensors in each group are assigned consecutive time slots. 12. The detection system of claim 10 or 11. [Appendix 13] there are N resonant frequencies and N groups of sensors, and sensors of the groups of sensors are interleaved on the keyboard; 13. The detection system of claim 12. [Appendix 14] The multiplexing system / controller includes: A plurality of keyboard sensors activated in the same time slot within the same group are configured to have (n×N)−1 sensors among the plurality of sensors. 14. The detection system of claim 13. [Appendix 15] moreover, a processor configured to process the variations in the resonant signal in the active resonant circuit of each sensor to determine movement of each key of the keyboard over a series of time intervals as a depressed key moves between a released position and a depressed position; In particular, the movement of each key includes the position and velocity of the key as it moves between a released position and a pressed position; 13. The detection system of any preceding claim. [Appendix 16] The processor, configured to process the variations in the resonant signal in the active resonant circuit of each sensor to determine the velocity of the key as it moves between a pressed and a released position from changes in the position of the key determined in successive time intervals, filtered as a function of the key velocity; 16. The detection system of claim 15. [Appendix 17] 13. The detection system of any preceding claim, further comprising a processor connected to process the levels / variations of the RF / resonance signal to determine key press and key release events for each key. [Appendix 18] The processor, moreover configured to distinguish between at least three different key positions, firstly, a note-off position, secondly, a note-on position, and thirdly, an aftertouch position; the aftertouch position is a position beyond the note-on position and corresponds to additional pressure applied to the key after depression; 18. A detection system according to any one of claims 15 to 17. [Appendix 19] a substrate supporting the active resonant circuits of the sensors in an arrangement corresponding to an arrangement of the keys of the keyboard; 13. The detection system of any preceding claim. [Appendix 20] A keyboard, in particular for a keyboard instrument, comprising a detection system according to any of the preceding claims. [Appendix 21] A polyphonic aftertouch keyboard comprising a sensing system or keyboard according to claim 19 or 20, Each key is having a deformable endstop such that the aftertouch position corresponds to movement of the key beyond an endstop position defined by the deformable endstop; By specifying the aftertouch position for the key, polyphonic aftertouch is possible. Polyphonic aftertouch keyboard. [Appendix 22] 1. A method for detecting the position of a plurality of keys, particularly on a keyboard instrument, comprising the steps of: each key is provided with a sensor comprising a passive resonant circuit for mounting on a moving portion of the key and an active resonant circuit for mounting at a reference position, the passive resonant circuit having a resonant frequency, the active resonant circuit exciting the passive resonant circuit at the resonant frequency, each sensor further comprising a detector for detecting a variation in a resonant signal in the active resonant circuit depending on the relative positions of the active and passive resonant circuits to detect the position and / or velocity of the key; and Arranging multiple sensors to operate at two or more different resonant frequencies arranged such that keyboard sensors having the same resonant frequency are non-adjacent, and / or reducing interference between sensors by configuring at least one coil of the plurality of active resonant circuits to have opposite windings; method. [Appendix 23] moreover, Providing polyphonic aftertouch by distinguishing between at least three different key positions, firstly, the note-off position, secondly, the note-on position, and thirdly, the aftertouch position; the aftertouch position is a position beyond the note-on position and corresponds to additional pressure applied to the key after depression and movement of the key beyond an endstop position; 23. The method according to claim 22. [Appendix 24] 1. A method for periodically compensating a keyboard response, comprising: the keyboard comprises a plurality of keys each having a sensor comprising an active resonant circuit, a passive tuned resonant circuit and a detector; The method comprises: The initial output signal O of the sensor detected at a first time t0 t0 is read from the storage unit, and at t0, the active resonant circuit is driven at a frequency lower than the resonant frequency of the active resonant circuit, Periodically, for at least one of the sensors At a time after t0, the later output signal O t1 Detects calculating an adjustment value that is the difference between the initial output signal of the sensor and the later output signal of the sensor; compensating for the response of the keyboard by adjusting an operational output of the sensor using the tuning value, the operational output being an output from the sensor when the active resonant circuit is driven at the resonant frequency of the active resonant circuit; method. [Appendix 25] moreover, activating said sensors according to a time division multiplexed addressing scheme; using, for said detection, time slots of said time division multiplexed addressing scheme in which said sensor is not in operation; 25. The method according to claim 24.
Claims
1. 1. A sensing system for sensing a position and / or velocity of a plurality of keys of a keyboard, comprising: a plurality of sensors provided corresponding to the plurality of keys; Each of the plurality of sensors is A passive resonant circuit is mounted on the moving part of the key and includes a coil and a capacitive element connected to the coil; an active resonant circuit inductively coupled to the coil and mounted at a reference position; a detector for detecting a change in a signal in the active resonant circuit by mutual isolation between the active resonant circuit and the coil, thereby detecting the position and / or the speed of the key; having two primary coils of at least one active resonant circuit among the plurality of active resonant circuits are connected in series with each other and configured to have magnetic fields in opposite directions so that interference between sensors of adjacent keys is reduced; Detection system.
2. Two secondary coils of at least one of the plurality of passive resonant circuits are configured to have magnetic fields in opposite directions. The detection system of claim 1 .
3. a plurality of active resonant circuits of adjacent keys are offset to one side and the other side with respect to a line along which the plurality of sensors are arranged; The detection system according to claim 1 or 2.
4. an active resonant circuit of a first key among the plurality of keys and an active resonant circuit of a second key among the plurality of keys are arranged on both sides of a line in a direction in which the plurality of sensors are arranged; A detection system according to any one of claims 1 to 3.
5. 1. A method of detecting the position and / or velocity of a plurality of keys of a keyboard using a detection system, comprising: the detection system includes a plurality of sensors provided corresponding to the plurality of keys; Each of the plurality of sensors is A passive resonant circuit is mounted on the moving part of the key and includes a coil and a capacitive element connected to the coil; an active resonant circuit inductively coupled to the coil and mounted at a reference position; A detection unit; Equipped with The detection unit, detecting a variation in a signal in the active resonant circuit due to a mutual isolation between the active resonant circuit and the coil; detecting the position and / or velocity of the key based on the variation of the signal in the active resonant circuit; Equipped with two primary coils of at least one active resonant circuit among the plurality of active resonant circuits are connected in series with each other and configured to have magnetic fields in opposite directions so that interference between sensors of adjacent keys is reduced; Detection method.
Citation Information
Patent Citations
Noncontact switch device
JP2004087250A
Planar coil apparatus employing a stationary and a movable board
US4425511A
Musical keyboard using planar coil arrays
US4580478A
