GB2569578A - Keyboard sensor systems and methods - Google Patents

Keyboard sensor systems and methods Download PDF

Info

Publication number
GB2569578A
GB2569578A GB1721448.7A GB201721448A GB2569578A GB 2569578 A GB2569578 A GB 2569578A GB 201721448 A GB201721448 A GB 201721448A GB 2569578 A GB2569578 A GB 2569578A
Authority
GB
United Kingdom
Prior art keywords
sensors
key
resonant
keyboard
active
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB1721448.7A
Other versions
GB201721448D0 (en
GB2569578B (en
Inventor
Hastings Clark James
Michael McAuliffe John
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sonuus Ltd
Original Assignee
Sonuus Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sonuus Ltd filed Critical Sonuus Ltd
Priority to GB1721448.7A priority Critical patent/GB2569578B/en
Publication of GB201721448D0 publication Critical patent/GB201721448D0/en
Priority to GB1918916.6A priority patent/GB2580542B/en
Priority to GB1918915.8A priority patent/GB2580541B/en
Priority to GB1812826.4A priority patent/GB2570533B/en
Priority to KR1020227018811A priority patent/KR102527173B1/en
Priority to PCT/GB2018/053683 priority patent/WO2019122867A1/en
Priority to KR1020237013889A priority patent/KR102610620B1/en
Priority to CN201880083102.0A priority patent/CN111512360A/en
Priority to JP2020554947A priority patent/JP7009648B2/en
Priority to EP22160076.0A priority patent/EP4030418A1/en
Priority to CN202210527474.6A priority patent/CN115019754A/en
Priority to EP22160075.2A priority patent/EP4030417B1/en
Priority to EP22189546.9A priority patent/EP4109223A1/en
Priority to KR1020207020945A priority patent/KR102406688B1/en
Priority to EP18829443.3A priority patent/EP3729416B1/en
Publication of GB2569578A publication Critical patent/GB2569578A/en
Priority to US16/904,994 priority patent/US11657789B2/en
Application granted granted Critical
Publication of GB2569578B publication Critical patent/GB2569578B/en
Priority to JP2021178527A priority patent/JP2022029457A/en
Priority to US17/726,190 priority patent/US20220246122A1/en
Priority to US18/156,002 priority patent/US20230197044A1/en
Priority to JP2023137172A priority patent/JP2023166456A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/9618Touch switches using a plurality of detectors, e.g. keyboard
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
    • G10H1/04Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation
    • G10H1/053Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only
    • G10H1/055Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only by switches with variable impedance elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/20Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature
    • G01D5/2006Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature by influencing the self-induction of one or more coils
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
    • G10H1/04Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation
    • G10H1/053Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only
    • G10H1/055Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only by switches with variable impedance elements
    • G10H1/0555Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only by switches with variable impedance elements using magnetic or electromagnetic means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/18Selecting circuits
    • G10H1/182Key multiplexing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/32Constructional details
    • G10H1/34Switch arrangements, e.g. keyboards or mechanical switches specially adapted for electrophonic musical instruments
    • G10H1/344Structural association with individual keys
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/945Proximity switches
    • H03K17/95Proximity switches using a magnetic detector
    • H03K17/952Proximity switches using a magnetic detector using inductive coils
    • H03K17/9537Proximity switches using a magnetic detector using inductive coils in a resonant circuit
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/20Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature
    • G01D5/204Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature by influencing the mutual induction between two or more coils
    • G01D5/2066Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature by influencing the mutual induction between two or more coils by movement of a single coil with respect to a single other coil
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/221Keyboards, i.e. configuration of several keys or key-like input devices relative to one another
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/265Key design details; Special characteristics of individual keys of a keyboard; Key-like musical input devices, e.g. finger sensors, pedals, potentiometers, selectors
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/265Key design details; Special characteristics of individual keys of a keyboard; Key-like musical input devices, e.g. finger sensors, pedals, potentiometers, selectors
    • G10H2220/271Velocity sensing for individual keys, e.g. by placing sensors at different points along the kinematic path for individual key velocity estimation by delay measurement between adjacent sensor signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/265Key design details; Special characteristics of individual keys of a keyboard; Key-like musical input devices, e.g. finger sensors, pedals, potentiometers, selectors
    • G10H2220/275Switching mechanism or sensor details of individual keys, e.g. details of key contacts, hall effect or piezoelectric sensors used for key position or movement sensing purposes; Mounting thereof
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/405Beam sensing or control, i.e. input interfaces involving substantially immaterial beams, radiation, or fields of any nature, used, e.g. as a switch as in a light barrier, or as a control device, e.g. using the theremin electric field sensing principle
    • G10H2220/425Radio control, i.e. input or control device involving a radio frequency signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/965Switches controlled by moving an element forming part of the switch
    • H03K17/97Switches controlled by moving an element forming part of the switch using a magnetic movable element
    • H03K2017/9713Multiposition, e.g. involving comparison with different thresholds
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/96Touch switches
    • H03K2217/96038Inductive touch switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/96Touch switches
    • H03K2217/96054Double function: touch detection combined with detection of a movable element

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)

Abstract

A set of sensors for a piano-style musical keyboard, where each sensor comprises a passive resonant circuit 11 for mounting on a moving part 15 of a key and an active tuned resonant circuit 10 for mounting in a fixed, reference position, for example on part of the keyboard 14. The passive resonant circuit has a resonant frequency and the active resonant circuit excites the passive resonant circuit at the resonant frequency. Each sensor further comprises a detector, which may be shared between multiple sensors, to detect variation of a resonant signal in the active resonant circuit with relative position of the active and passive resonant circuits to thereby detect a position and/or velocity of the key. The variation may be a variation in amplitude of signal in the resonant signal. The set of sensors comprises sensors having two or more different resonant frequencies arranged such that sensors having the same resonant frequency are non-adjacent when mounted to sense keys of the keyboard. The keyboard may include damping and time multiplexing functions, along with a processor configured to distinguish between a note-off position, note-on position and a polyphonic after-touch position.

Description

FIELD OF THE INVENTION
The invention relates to movement detection systems for musical keyboards, to sensors for keyboard instruments, and to corresponding methods.
BACKGROUND
Musical keyboards for electronic instruments generally use a mechanical switch or similar contacting device to sense a single striking position of a key wherein the closing of the switch is used to detect a note-on event and the opening of the switch is used to detect a note-off event. More sophisticated versions of such instruments may use a plurality of such switches.
Using mechanical sensors such as switches to sense the position of a key on a musical keyboard has many disadvantages. Most musical keyboards feature a large number of keys, typically from 21 to 88 keys. To support such a large number of keys the switches are commonly time-interleaved using a multiplexing method. Such a multiplexing method combined with connection jitter of the switches, also known as switch bounce, limits the speed at which the switches' connection and disconnection points can be detected. In some cases the connection and disconnection of the switches can be felt by the musician, which is highly undesirable. In other cases the switches can become unreliable due to mechanical wear unless high-reliability switches are used, but such switches are expensive. In all cases mechanical variations between the switches causes variations in the response from one key to another key. Such variations are very difficult to remove by a calibration procedure because variation also occurs on an individual key when the key is actuated repeatedly. Furthermore, it is not possible to change the point during the movement of the key at which a switch connects and disconnects without a mechanical change.
More advanced musical keyboards permit the pressure applied to the key after the note-on event has been issued to be used to control aspects of the musical sound. This pressure can be detected by a single pressure sensor element, for example a force-sensing resistor, where the pressure from all the keys on the keyboard is combined by mechanical coupling to exert pressure on the pressure sensor. Such a system is commonly referred to as monophonic aftertouch. A more desirable system permits the pressure applied to each individual key to be detected independently; this is referred to as pressure, or polyphonic aftertouch. Such a polyphonic aftertouch system is expensive because a separate pressure sensor is used for each individual key.
Alternative detection methods for musical keyboards are known which overcome many of the limitations of mechanical switches and pressure sensors, however these all still have undesirable properties.
Optical position sensing of a piano keyboard is described in US 2009/0282962. However the performance of such systems is vulnerable to degradation by contamination and they need to be cleaned, or recalibrated to retain optimal performance. Moreover, they can contain delicate optical elements such as shades or films with graduated transparency or reflectivity, which make them sensitive to shock and vibration with a corresponding reduction in long-term reliability. Furthermore, US2009/0282962 has an optical sensor and op-amp for each key which makes such an implementation expensive.
Magnetic sensors such as Hall probes where a permanent magnet is moved with respect to the Hall probe are another way to detect the position of a key on a musical keyboard. However such magnetic sensors are sensitive to interference from external magnetic fields, to interference from movement of nearby ferrous metals, and to changes in temperature, and the sensors experience hysteresis which limits the accuracy and repeatability of position sensing. Furthermore, the requirement of a permanent magnet and a magnetic sensor on each key makes such a solution too expensive for most applications.
Capacitive position sensors are too sensitive to electro-magnetic interference and to the position of the musician's hands, and to temperature, which make their application for a musical keyboard impractical.
US 4,838,139 describes a musical keyboard with inductive coil sensors. In this arrangement each key carries a metal spoiler which moves towards/away from its associated sensor inductance coil. However the system is slow, too slow than desirable for an 88-note keyboard, and is affected by metal jewellery, and casework of the product and supporting structures.
SUMMARY OF THE INVENTION
In a first aspect there is provided a set of sensors for the keyboard of a keyboard instrument, in particular a piano-style keyboard. The keyboard has a plurality of keys. Each sensor comprises a passive resonant circuit for mounting on a moving part of a key and an active resonant circuit for mounting in a fixed, reference position, for example on part of the keyboard or instrument. The passive resonant circuit has a resonant frequency and the active resonant circuit excites the passive resonant circuit at the resonant frequency. Each sensor further comprises a detector, which may be shared between multiple sensors, to detect variation of a resonant signal in the active resonant circuit with relative position of the active and passive resonant circuits to thereby detect a position and/or velocity of the key. The variation may, in some implementations, be a variation in amplitude of signal in the resonant signal. The set of sensors comprises sensors having two or more different resonant frequencies arranged such that sensors having the same resonant frequency are non-adjacent when mounted to sense keys of the keyboard.
Embodiments of this approach can be relatively inexpensive to construct but are also reliable and not prone to the key bounce of mechanical switches, which in turn enables them to respond to key movements very quickly and reliably. For example ideally each key would be measured at a rate of at least 250 times per second, and on an 88-note keyboard this corresponds to 22,000 keys/second. Some implementations of the described system can operate at well over ten times this speed. Embodiments of the system can also provide excellent temperature stability, and are non-contact so robust and substantially immune to contamination. Some implementations of the sensors are further able to determine a key position as it moves between key pressed and key released positions, and may provide a substantially continuous determination of key position.
Some implementations of the sensors are also able to detect when a key moves beyond a key pressed position, and hence are useful in implementing polyphonic aftertouch. Aftertouch allows a musician to apply force to a key after depression to add expression to a note by modifying the note, for example to control volume, vibrato and the like. In some implementations polyphonic aftertouch allows a musician to control this expression for each key separately.
The sensors can further sense key velocity, and/or sensed key velocity may be employed to determine key position. Sensing key velocity may allow further expression to be added.
In some implementations sensors having a first resonant frequency are interleaved with sensors having a second, different resonant frequency, for example using alternate frequencies on alternate keys. This helps to reduce inter-sensor interference.
The set of sensors may include a controller to control selection or scanning of the sensors such that adjacent keyboard sensors are selected at different times, again to reduce inter-sensor interference. In some implementations the controller may damp the response of active resonant circuits of unselected sensors, for example by connecting part of the active resonant circuit to ground, for example via a resistor.
In some implementations the controller may be configured to time division multiplex operation of the sensors. In such an approach each resonant frequency may define a group of sensors, and the time division multiplexing may define a plurality of n time slots. Successive keyboard sensors of each group are allocated successive time slots. The successive sensors of each group may be non-adjacent on the keyboard if sensors of the groups of sensors are interleaved. There may be N resonant frequencies and thus N groups of sensors. In some implementations, after activating a sensor of a current group of sensors in a current time slot the controller may in the next time slot activate the next sensor along the keyboard which is in the same group of sensors.
Preferably the controller is configured such that adjacent sensors are not active simultaneously, although next-to-adjacent sensors may be active simultaneously. The spacing between simultaneously active sensors may be (m x N) + 1 where m is in the range 1 to n/2; higher separations are preferred (where a spacing of 1 refers to adjacent sensors).
The closest physical spacing for simultaneously active sensors in the same group may be a spacing of η x N sensors, later referred to as a subset of sensors, since typically a keyboard will have more than one such subset. Thus the controller may be configured such that keyboard sensors in the same group and activated in the same time slot have (n x N)-1 sensors between them. In some implementations n may be 8 and N may be 2.
The controller may be implemented using a processor coupled to an addressing device such as a digital demultiplexer to address the sensors; a signal may be read from the addressed sensors by selectively connecting a sensor active resonator to a read-out circuit via an analogue multiplexer. The read-out circuit may perform an envelope detect function. The read-out circuit and/or analogue multiplexer may be enabled by an enable signal derived from a drive signal to an active resonator, in some implementations via an adjustable phase shift. The adjustable phase shift may be used, in the context of or separately from such a demultiplexer-multiplexer arrangement, to implement synchronous detection ofthe signal from an active resonant circuit.
The controller or another processor may be configured to process the variation of the resonant signal in the active resonant circuit of each sensor to determine the motion of each key of the keyboard over a succession of time intervals as a depressed key moves between released and depressed positions, when a key is depressed and/or released. The motion of each key may comprise a position and/or an approximate velocity ofthe key as the key moves between released and depressed positions.
In some approaches the position of a key may be determined from the velocity of a key, for example by integration, rather than directly. The processor may output data defining a profile of approximate position and/or velocity over time for each key or for each moving key.
In some implementations the processor is configured to process the variation of the resonant signal in the active resonant circuit of each sensor to determine the approximate velocity of a key from changes in position of the key determined at successive time intervals. A velocity determined in this way may be filtered dependent upon key velocity, for example applying greater filtering/smoothing when a key is moving slowly. This helps to provide accurate data when a key is moving slowly without significantly compromising the response time for a fast-moving key.
More generally a processor may process the amplitude and/or other variation of the resonant signal to determine a key press and key release event for each key, for example from a determination of key position and/or velocity. The processor may thus output a note signal for each key/each active key.
In some approaches the succession of key positions or key movement profile may be used to predict when a pressed (or released) key reaches a key-press/note-on (or keyrelease/note-off) position, for example by extrapolating a trajectory of the key position. The predicted position may be the position later referred to as Kzero. The processor may then issue a key-press/note-on (or key-release/note-off) signal in advance of the actual key-press/note-on (or key-release/note-off) position being reached. This can be advantages for compensating in processing delays in the instrument, for example latency in the sound generation engine.
In some implementations the succession of key positions or key movement profile may be used to provide signals to control the instrument, for example to control the sound generation engine to add expression to the sounds, before and/or after a note-on event has been issued.
In some implementations the processor may be further configured to distinguish between at least three different key positions, a first, note-off position, a second, noteon position, and a third, aftertouch position. The aftertouch position may be beyond the note-on position and correspond to additional pressure applied to the key after depression. The processor may determine a position and/or velocity of the key as it moves to/from the aftertouch position, for example to act as a variable pressure sensor, or the processor may simply identify when the aftertouch position is reached. The aftertouch position may correspond to motion of a key beyond its usual depressed position as a result of the application of additional pressure to the key. Each key may be provided with a resilient bias or deformable end-stop device such as a compression or tension spring or compressible element or block, so that on depression part of the key interacts with the device and is inhibited from further motion by the device unless additional pressure is applied to the key, whereupon the key moves towards its aftertouch position. An aftertouch position may be detectable for each key to provide a polyphonic aftertouch function.
The set of sensors may be provided on a substrate such as a printed circuit board. The sensors may be disposed linearly along the substrate, in particular at locations which correspond to locations of keys of the keyboard, more specifically adjacent where the passive resonant circuits are located on the keys. Coils for the active resonant circuits may be formed by tracks on the substrate, for example defining pancake coils. Although a piano keyboard has black and white keys the sensors may be placed in a single line when the passive resonant circuits are appropriately located. However in some implementations the active and passive resonant circuits are alternate between two positions and are alternately displaced to either side of a longitudinal line defining a general arrangement of the sensors. A set of sensors may comprise sensors for a complete keyboard or for part of the length of a keyboard, for example one, two or more octaves. There is also provided a keyboard for a keyboard instrument comprising one or more the sets of sensors as previously described.
In general a processor/controller of the set of sensors may be any sort of processing device/circuitry, for example comprising one or more of: a microprocessor under program code control, or a digital signal processor (DSP), or hardware such as an FPGA (field programmable gate array) or ASIC (application specific integrated circuit). In some implementations the control/processing functions for a set of sensors may be provided in a single integrated circuit.
Where a programmable device is employed the processor may have associated working memory and non-volatile program memory storing processor control code to control the processor to implement some or all of the functions described above. Thus there is also provided a non-transitory data carrier, such as non-volatile memory, carrying code and/or data to implement functions described above. The code/data may comprise 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 (Trade Mark). As the skilled person will appreciate such code and/or data may be distributed between a plurality of coupled components in communication with one another.
There is also provided a method of sensing the positions of a plurality of keys of a keyboard instrument, the method comprising: providing each key with a sensor comprising a passive resonant circuit for mounting on a moving part of a key and an active resonant circuit for mounting in a fixed, reference position, for example part of the keyboard or instrument, the passive resonant circuit having a resonant frequency, the active resonant circuit exciting the passive resonant circuit at the resonant frequency, each sensor further having a detector, which may be shared, to detect variation of a resonant signal in the active resonant circuit with relative position of the active and passive resonant circuits to detect a position and/or velocity of the key; and arranging the sensors to operate at two or more different resonant frequencies arranged such that keyboard sensors having the same resonant frequency are nonadjacent.
The method may further comprising providing polyphonic aftertouch by distinguishing between at least three different key positions, a first, note-off position, a second, noteon position, and a third, aftertouch position, wherein the aftertouch position is beyond the note-on position and corresponds to additional pressure applied to the key after depression and movement of a key beyond an end-stop position.
There is further provided a musical keyboard providing an output signal derived from measurements of the position and of the velocity and of the pressure applied to a plurality of moveable keys on the keyboard wherein the measurements are derived from position sensors on the moveable keys wherein each the position sensor comprises: an active tuned resonant circuit; drive electronics coupled to the active tuned resonant circuit to drive the active tuned resonant circuit at a resonant frequency; an electrically reactive element associated with the moveable key, wherein the electrically reactive element provides a variable modification to a response of the active tuned resonant circuit dependent on a relative position of the electrically reactive element with respect to the active tuned resonant circuit; and read-out electronics coupled to the active tuned resonant circuit, to provide a variable output signal responsive to the relative position of the electrically reactive element with respect to the active tuned resonant circuit, wherein the variable output signal of the read-out electronics provides the position sensor output.
Preferably, but not essentially, the electrically reactive element comprises a passive tuned resonant circuit tuned to a frequency at which the active tuned resonant circuit is driven, thus the position sensor is operated at a single resonant frequency. Advantages to this approach include: Firstly, a larger effective sensing distance can be achieved for a given size of position sensor. Secondly, a larger variation in the output signal of the position sensor for a given variation in sensed position can be obtained, often removing the requirement of an output amplifier for the position sensor and thus reducing complexity and cost. Thirdly, operation of a plurality of proximally located position sensors is facilitated because the inventors have found that a passive 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 a second position sensor if the second position sensor is tuned to a significantly different resonant frequency to that of the first position sensor.
In broad terms a desired range of resonant frequencies is 1-10MHz, balancing speed against the deleterious effect of parasitics. For example a first resonant frequency may be in the range 3-4MHz and a second resonant frequency may be in the range 45MHz.
A particularly advantageous means of forming inductance coils used by the active tuned resonant circuit and passive tuned resonant circuit has been found to be a flat or planar coil defined by tracks on a printed circuit board. This helps achieve a welldefined repeatable geometry and facilitates other electrically active components being proximally located on the printed circuit board.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other aspects of the invention will now be described in detail, with reference to the accompanying drawings, in which:
Figure 1 shows an active tuned resonant circuit for use with embodiments of the present invention.
Figure 2 shows a passive tuned resonant circuit for use with embodiments of the present invention.
Figure 3A shows an example printed circuit design, on an enlarged scale, for an active tuned resonant circuit for use with embodiments of the present invention.
Figure 3B shows an example printed circuit design, on an enlarged scale, for a passive tuned resonant circuit for use with embodiments of the present invention.
Figure 4 shows a cross section view of a key of a musical keyboard wherein the position of a key is determined using an embodiment of the present invention.
Figure 5 shows an example of a simple read-out electronic circuit comprising a synchronous demodulator which may be used by embodiments of the present invention.
Figure 6 shows the relative positioning of a series of active tuned resonant circuits and a series of corresponding passive tuned resonant circuits positioned to minimise interference between adjacent tuned resonant circuits according to embodiments of the present invention.
Figure 7 shows a timing diagram of a time division multiplex circuit used to multiplex a plurality of active tuned resonant circuits to determine the position of a plurality of keys on a musical keyboard according to an embodiment of the present invention.
Figure 8 shows a time division multiplex circuit diagram of a preferred embodiment used to multiplex a plurality of active tuned resonant circuits to determine the position of a plurality of keys on a musical keyboard according to embodiments of the present invention.
Figure 9 shows the sensor output versus key displacement of a key on a musical keyboard according to embodiments of the present invention.
Figure 10 shows an example of the measured position and measured velocity of a key on a musical keyboard as it is depressed according to embodiments of the present invention.
Figure 11 shows an example calibration procedure used to calibrate the detected position of a key on a musical keyboard according to embodiments of the present invention.
Figure 12 shows an example algorithm used to detect note-on events, note-off events, expression events, and pressure events for a key on a musical keyboard according to embodiments of the present invention.
DESCRIPTION OF PREFERRED EMBODIMENTS
A preferred embodiment comprises a musical keyboard with a plurality of moveable keys wherein each moveable key Fig 4 comprises: a moveable top member 15 that is rotated about a pivot point 17 and which resists movement by means of a spring 16 or other mechanical linkage; a fixed bottom member 14; a deformable end-stop 18 which limits movement of said top member; and a position sensor comprising an active tuned resonant circuit 10 inductively coupled to an electrically reactive element 11, henceforth referred to as the target, providing a signal which varies as the mutual separation of said active tuned resonant circuit and said target is varied, drive electronics connected to said active tuned resonant circuit and read-out electronics connected to said active tuned resonant circuit.
The active tuned resonant circuit Fig 1 comprises an input resistive element 4, an inductive coil 1, two capacitive elements 2 and 3, an output resistive element 5, a means of connecting 6 drive electronics to said input resistive element and a means of connecting 7 read-out electronics to said output resistive element. Said input resistive element may be omitted, but it is preferred because: it limits the current supplied to said active tuned resonant circuit from said drive electronics which reduces the operating current and thus reduces both power consumption and electro-magnetic emissions from said active tuned resonant circuit; and it increases the sensitivity of proximity detection when said read-out electronics are connected to said active tuned resonant circuit. Said output resistive element may be omitted, but it is also preferred because said input and output resistive elements reduce the effect of connecting wires on the impedance of said active tuned resonant circuit thus allowing all the position sensors to be essentially the same regardless of the length of connections to the drive electronics and to the read-out electronics.
Referring to Fig 2, the reactive element preferably comprises a passive tuned resonant circuit which comprises an inductive coil 8 and a capacitive element 9 wherein said inductive coil and said capacitive element are connected to form a closed resonant LC circuit. It is not necessary for the size nor for the value of inductance of the inductive coils 1 and 8 to be substantially similar. The value of the capacitance of said capacitive element 9 is preferably chosen to tune the frequency of resonance of said passive tuned resonant circuit to match the frequency of resonance of the active tuned resonant circuit Fig 1. When said passive and active circuits are thus tuned, it is possible to operate a plurality of position sensors where proximally located said position sensors are tuned to substantially different frequencies of resonance thereby minimising the interaction between said proximally located position sensors. Furthermore when said passive and active circuits are thus tuned the signal amplitude at 7 in Fig 1 decreases as the distance between said passive and active circuits decreases because more energy is coupled to and dissipated by said passive tuned resonant circuit. Such variation in said signal amplitude is preferred because measuring variations in signal amplitude is faster than measuring variations in frequency of resonance as would be implemented in the case where said active tuned resonant circuit was detuned by proximity to said reactive element.
In the case where the moveable top member 15 of a key comprises an electrically conductive material, and air gap or spacer 13 comprised of a non-conductive material is interposed between said electrically reactive element 11 and said top member. Similarly, in cases there the fixed bottom member 14 comprises an electrically conductive material, and air gap or spacer 12 comprised of a non-conductive material is interposed between the active tuned resonant circuit 10 and said fixed bottom member.
The drive electronics comprise a means of generating an oscillating voltage drive waveform at a frequency equal to or close to the frequency of resonance 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 analogue timing circuit.
The read-out electronics comprise a means of generating a voltage proportional to the amplitude of the signal at the read-out point 7. Typically, but by way of non-limiting example, this comprises a synchronous demodulator circuit Fig 5 wherein the signal from said read-out point is connected to 20 and demodulated by an analogue switch 22 controlled by the oscillating voltage drive waveform connected to 19 whose phase is optionally adjusted by a phase shifting element 21 and a low-frequency (or de) voltage is presented at 25 by a low-pass filter comprising a resistive element 23 and a capacitive element 24. Alternative read-out electronic circuits may comprise phasesensitive rectifiers, phase-insensitive rectifiers, non-synchronous demodulators and peak detectors as understood by those trained in the art.
The inductive coils 1 and 8 used in the active tuned resonant circuit and the passive tuned resonant circuit respectfully can be of any type. However using planar spiral coils formed by tracks on a printed circuit board has three main advantages: they are inexpensive, they can be made with highly reproducible values of inductance and the printed circuit board can also be used to mount the other components, namely the capacitive elements 2, 3 and 9, and the resistive elements 4 and 5. It is therefore possible to design a plurality of inductive coils whose inductance values are closely matched.
Referring to Fig 3A, a typical active tuned resonant circuit may be formed on a printed circuit board comprising a single electrically conductive layer or a plurality of electrically conductive layers whereon: the inductive coil 1 is formed of a continuous spiral track whereby electrical continuity of said track is maintained by electrical connection through connecting vias 53 to a connecting wire or to another spiral track on another conductive layer or to a plurality of spiral tracks on a plurality of conductive layers of said printed circuit board; capacitive elements 2 and 3 and resistive elements 4 and 5 are proximally located; and connection points 6 and 7 are provided for drive electronics read-out electronics, respectfully.
Similarly, referring to Fig 3B, a typical passive tuned resonant circuit may be formed on a printed circuit board comprising a single electrically conductive layer or a plurality of electrically conductive layers whereon: the inductive coil 8 is formed of a continuous spiral track whereby electrical continuity of said track is maintained by electrical connection through connecting vias 54 to a connecting wire or to another spiral track on another conductive layer or to a plurality of spiral tracks on a plurality of conductive layers of said printed circuit board; and the capacitive element 9 is proximally located.
The inventors hereof have found that although a first passive tuned resonant circuit tuned to a first frequency of resonance 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 frequency of resonance, when a corresponding second passive tuned resonant circuit tuned to said second frequency of resonance is proximally located, movement of said first passive tuned resonant circuit may affect the output of said second active tuned resonant circuit due to mutual coupling between said first and second passive tuned resonant circuits. Such undesirable interaction can be minimised by offsetting the positions of physically adjacent passive tuned resonant circuits, as shown in Fig 6 wherein: active tuned resonant circuits 26 and passive tuned resonant circuits 28 are tuned to a first frequency of resonance and active tuned resonant circuits 27 and passive tuned resonant circuits 29 are tuned to a second frequency of resonance.
In a further preferred embodiment the position sensors on the moveable keys of the musical keyboard are controlled by a time-division multiplexing scheme whereby a subset of position sensors are enabled at any given time. For a typical musical keyboard with a large number of keys such as 16 or more, such a scheme has the advantage of reducing cost, complexity, power consumption and electro-magnetic emissions.
In the case where a first position sensor operating at first frequency of resonance and a second position sensor operating at a substantially different second frequency of resonance are proximally located said position sensors can interact in such a way that the output of said first position sensor and the output of said second position sensor contains interference components which vary with a frequency of variation equal to the frequency difference of said first frequency of resonance and said second frequency of resonance. Synchronous demodulation of the output of said position sensors substantially removes said interference components when the cut-off frequency of the reconstruction low-pass filter is substantially lower than said frequency difference. However, the time response of said low-pass filter can limit the speed of response of said position sensors which is undesirable. Therefore, a mechanism to minimise this interference is desired. Using a time-division multiplexing scheme where physically adjacent sensors are not driven at the same time avoids this problem.
In practice it has been found that synchronous demodulation is not necessary for good performance.
Referring to Fig 7, one illustrative example of such a mechanism is shown as a timing diagram for a subset of position sensors wherein position sensors 30 operating at a first frequency of resonance F1 are adjacent to position sensors 31 operating at a second frequency of resonance F2. In each time slot only one position sensor operating at a first frequency of resonance is enabled and only one position sensor operating at a second frequency of resonance is enabled. Furthermore, physically adjacent position sensors are never enabled at the same time, minimising said interference components. A plurality of said subsets of position sensors can be operated simultaneously.
A particularly suitable, but by way of non-limiting example, time-division multiplexed scheme is shown for a subset of position sensors operating at a single frequency of resonance in Fig 8. In the system of Fig 8 a processor 35 generates a drive waveform 36 whose frequency matches the frequency of resonance said position sensors' active tuned resonant circuits; said processor generates selector signals 37 to select which position sensor is to be enabled; said position sensors' outputs 7 are coupled to an analogue multiplexer 34; said analogue multiplexer's output is coupled to an analogueto-digital converter within said processor via a low-pass filter comprising a capacitive element 24 and resistive element within said analogue multiplexer; and an output 55 from said processor used to send information regarding the position and velocity of said position sensors. A further advantage to using said analogue multiplexer to couple said position sensors' outputs to said analogue-to-digital converter is that said analogue multiplexer can perform the function of the analogue switch 22 used for synchronous demodulation whereby the output of said analogue multiplexer can be synchronously enabled and disabled via an enable input 39 coupled to said drive waveform 36. In the case where a plurality of position sensors are operated at substantially different frequencies of resonance said time-division multiplexed scheme can be replicated as necessary. A suitable processor is an ARM Cortex-M0.
Fig 8 shows just one demultiplexer/multiplexer but in practice one may be employed for each of the resonant frequencies used - that is a second where alternate resonant frequencies are mapped to alternate keys of the keyboard.
Decreased sensitivity to detuning of the position sensor's active tuned resonant circuit or passive tuned resonant circuit, for example, caused by variations of component tolerance, 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 capacitive element 24). In the case where a switching element is used said switching element may reset the detected peak level synchronously with the selector signals used to control the multiplexers.
In the case where a disabled position sensor's active tuned resonant circuit is not being driven, said active tuned resonant circuit acts as a tuned antenna. This has the negative effect whereby moving the target corresponding to said disabled position sensor can effect a measurable variation in the output of a similarly-tuned position sensor even if said similarly-tuned position sensor is not physically adjacent to said disabled position sensor and the motion of said target is constrained to be within its normal limits above said disabled position sensor, according to Fig 4 and Fig 6. Said negative effect can be reduced by changing the frequency of resonance of said disabled position sensor's active tuned resonant circuit for the duration of the disablement, for example by changing the capacitance, resistance or inductance of said active tuned resonant circuit by electronic switching. Most simply this can be done by driving said disabled sensor with a direct-current, or low-frequency signal, to prevent resonance. Referring to Fig 8, a particularly advantageous way to achieve this in a time-division multiplexed scheme is to use a digital demultiplexer 33 to drive the inputs 6 of the active tuned resonant circuits whereby enabled position sensors' active tuned resonant circuits are driven by a waveform 36 at the frequency of resonance of said active tuned resonant circuits and disabled position sensors' active tuned resonant circuits are driven by a direct-current signal corresponding to logic-high or logic-low of said digital demultiplexer.
A musical keyboard with moveable keys utilising a multiplexing scheme as hereinabove described allows fast and accurate measurement of the position of said keys. For example it is possible to multiplex the example shown in Fig 8 wherein the frequency of update of selector signals 37 is at least 32,000Hz thus allowing the position of each moveable key in a subset of 8 moveable keys to be determined at a frequency of 4,000Hz. This example can be replicated and run in parallel for other subsets of moveable keys, thus allowing a full-size piano keyboard with 88 keys to have the position of the keys determined at a rate of at least 352,000 keys/second. The inventors hereof have found that positions of said keys should ideally be determined at least 250 times per second, corresponding to a rate of at least 22,000 keys/second for 88 keys, to allow suitably accurate timing of note-on events and note-off events and to determine the key velocity associated with said events. Clearly implementations of the described system easily exceed these targets.
Referring to Fig 9, when a moveable key on a musical keyboard according to embodiments of the present invention is depressed there are three primary positions of said key: the resting position Kmax 43 when said key is at rest; the point Kzero 44 when the moveable top member 13 makes a first contact with the deformable end-stop 18; and the point of maximum depression Kmin 45, corresponding to the point of maximum pressure being applied to said key by a typical musician wherein the deformable end-stop 18 may be considered to be maximally deformed. For a plurality of such moveable keys, due to mechanical variation and due to electronic component tolerance, it is unlikely that the output signal of the position sensor of a first key at any one of said primary positions of said first key will be identical to the output signal of the position sensor of a second key at the same primary position of said second key. Therefore a calibration procedure is necessary to ensure that the position of any moveable keys is known relative to the respective primary positions of said moveable keys. Such a calibration procedure is shown in Fig 11.
In the case where the position of a moveable key is between primary positions Kmax and Kzero, the calibrated position K of said key as a percentage of depression between Kmax and Kzero can thus be calculated from the measured position Ko of said key using the following equation: K = 100% x (Ko - Kzero) / (Kmax - Kzero).
In the case where the position of a moveable key is between primary positions Kzero and Kmin, the calibrated position Kpress of said key as a percentage of depression between Kzero and Kmin, 50 in Fig 9, can thus be calculated from the measured position of said key Ko using the following equation: Kpress = 100% x (Ko - Kmin) I (Kzero - Kmin). In such a case Kpress may be considered to be the amount of pressure being applied to said key, corresponding to the range of depression 50 of said key.
On a typical musical keyboard it is desirable for each moveable key on said keyboard to issue a note-on event when the depression of said key is beyond a secondary position Kon and to issue a note-off event when the depression of said key is returned to another secondary position Koff. In some cases Kon may equal Koff, but it is preferred for Kon and Koff to be unequal. Referring to Fig 9, preferably secondary position Kon 48 is chosen to be near the primary position Kzero 44. Similarly, the secondary position Koff 47 is chosen to be near the said secondary position Kon.
In a further preferred embodiment the secondary position Koff 46 of each moveable key is chosen to be near the primary position Kmax 43. Such an arrangement allows the position of said key to be used to issue expression events prior to issuing a note-off event wherein the measured position Ko of said key between Koff and Kzero can be used to calculate a calibrated expression value Kexp = 100% x (Ko - Kzero) / (Koff Kzero), corresponding to the range of depression 49 of said key.
By way of non-limiting example, one particular algorithm shown in Fig 12 may be used for each moveable key on a musical keyboard according to an embodiment of the present invention wherein the measured position Ko of said moveable key, when calibrated using primary positions Kmax, Kzero and Kmin and thence using secondary positions Kon and Koff, may be used to issue: note-on events, note-off events, expression events and pressure events for each moveable key on said musical keyboard.
A particular advantage of deriving the secondary positions Kon and Koff of a moveable key on a musical keyboard from the primary positions Kmax and Kzero of said moveable key is that said secondary positions can be modified easily by simple numerical calculations, allowing the response of said musical keyboard to be changed. Moreover such modification can be different for each individual key on a musical keyboard with a plurality of moveable keys, allowing a large range of responses to be achieved on said musical keyboard without requiring any mechanical changes to the musical keyboard.
To provide further expressive control of a musical sound production system it is common for a musical keyboard to send velocity information relating to note-on events and also possibly related to note-off events. Such velocity information can be determined by measuring the separation in time between two known points of key depression, or conversely measuring the change in said key depression at two known points in time.
In embodiments the velocity (speed and direction) of a moveable key is determined from a plurality of positions of said key at a plurality of corresponding times using averaging, filtering, or similar methods. An example is described in detail below. Such a method of calculating said velocity has several advantages over other methods: it does not assume a linear velocity profile as is used for a two-point measurement method but allows changes in velocity throughout the range of depression of said key to be detected thus measured values of velocity are more representative of the true velocity of said key thus making the response of said key more consistent; higher resolution and precision of velocity can be determined because a larger number of statistically significant data points are used; and it allows predictions of the future position of said key to be calculated allowing, for example, the future time at which said key's position equals secondary positions Kon and Koff to be estimated, thus permitting note-on or note-off events to be issued in advance of the corresponding physical event thus compensating for latency in a musical sound production system.
One example filtering procedure is as follows:
deltaV = deltaPos (i.e. the change in position between fixed time steps) alpha = k * abs(deltaV)
The filtering coefficient, alpha, depends on magnitude of deltaV; alpha is limited to sensible values to avoid overflow/underflow.
velocity = alpha * last_velocity + deltaV * (1 - alpha)
Such a method, which may be implemented in the digital domain, can provide improved resolution because of the filtering, which is especially important for a very slowly moving key, without significantly compromising the time response for a fastmoving key. Modifying the filtering and/or a maximum permitted velocity value can modify the feel of an instrument, for example to give it a harder of softer response.
To illustrate such benefits of such a method, Fig 10 shows the calibrated position 51 of a moveable key and the corresponding calibrated velocity 52 of said key wherein the depression of said key reaches primary point Kzero 44 within 7ms of the start of depression of said key. The plot of Fig 10 approximates a velocity calculated directly from differentiated position but when the position moves slowly the velocity filtering is heavier so the velocity lags a little. Such a method can yield substantially more information regarding the velocity of a moveable key on a musical keyboard than other methods.
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 spirit and scope of the claims appended hereto.

Claims (17)

CLAIMS:
1. A set of sensors for the keyboard of a keyboard instrument, wherein the keyboard has a plurality of keys;
wherein each sensor comprises a passive resonant circuit for mounting on a moving part of a key and an active resonant circuit for mounting in 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 having a detector to detect variation of a resonant signal in the active resonant circuit with relative position of the active and passive resonant circuits to detect a position and/or velocity of the key; and wherein the set of sensors comprises sensors having two or more different resonant frequencies arranged such that sensors having the same resonant frequency are non-adjacent.
2. A set of sensors as claimed in claim 1 wherein sensors having a first resonant frequency are interleaved with sensors having a second, different resonant frequency.
3. A set of sensors as claimed in claim 1 or 2 further comprising a controller to control selection of sensors of the set of sensors such that adjacent keyboard sensors are selected at different times.
4. A set of sensors as claimed in claim 3 wherein the controller is further configured to damp the active resonant circuits of unselected sensors.
5. A set of sensors as claimed in claim 3 or 4 wherein the controller is configured to time division multiplex operation of the sensors, wherein each resonant frequency defines a group of sensors having the resonant frequency, wherein the time division multiplexing defines a plurality of n time slots, and wherein successive keyboard sensors of each group are allocated successive time slots.
6. A set of sensors as claimed in claim 5 wherein there are N resonant frequencies and N groups of sensors, wherein sensors of the groups of sensors are interleaved on the keyboard.
7. A set of sensors as claimed in claim 6 wherein the controller is configured such that keyboard sensors in the same group and activated in the same time slot have (n x N)-1 sensors between them.
8. A set of sensors as claimed in any preceding claim further comprising a processor configured to process the variation of the resonant signal in the active resonant circuit of each sensor to determine the motion of each key of the keyboard over a succession of time intervals as a depressed key moves between released and depressed positions.
9. A set of sensors as claimed in claim 8 wherein the motion of each key comprises a position and a velocity of the key as the key moves between released and depressed positions.
10. A set of sensors as claimed in claim 8 or 9 wherein the processor is configured to process the variation of the resonant signal in the active resonant circuit of each sensor to determine the velocity of a key, as the key moves between depressed and released positions, from changes in position of the key determined at successive time intervals filtered dependent upon key velocity.
11. A set of sensors as claimed in any preceding claim further comprising a processor coupled to process the variation of the resonant signal to determine a key press and key release event for each key.
12. A set of sensors as claimed in any one of claims 8-11 wherein the processor is further configured to distinguish between at least three different key positions, a first, note-off position, a second, note-on position, and a third, aftertouch position, wherein the aftertouch position is beyond the note-on position and corresponds to additional pressure applied to the key after depression.
13. A set of sensors as claimed in any preceding claim further comprising a substrate supporting the active resonant circuits for the sensors in a sequence corresponding to a sequence of keys of the keyboard.
14. A keyboard for a keyboard instrument comprising the set of sensors of any preceding claim.
15. A polyphonic aftertouch keyboard comprising the set of sensors of claim 12 or 13, each key having a deformable end-stop, such that the after-touch position corresponds to movement of a key beyond an end-stop position defined by the deformable end-stop, wherein identification of the aftertouch position for the key enables polyphonic aftertouch.
16. A method of sensing the positions of a plurality of keys of a keyboard instrument, the method comprising:
providing each key with a sensor comprising a passive resonant circuit for mounting on a moving part of a key and an active resonant circuit for mounting in 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 having a detector to detect variation of a resonant signal in the active resonant circuit with relative position of the active and passive resonant circuits to detect a position and/or velocity of the key; and arranging the sensors to operate at two or more different resonant frequencies arranged such that keyboard sensors having the same resonant frequency are nonadjacent.
17. A method as claimed in claim 16 further comprising providing polyphonic aftertouch by distinguishing between at least three different key positions, a first, noteoff position, a second, note-on position, and a third, aftertouch position, wherein the aftertouch position is beyond the note-on position and corresponds to additional pressure applied to the key after depression and movement of a key beyond an endstop position.
GB1721448.7A 2017-12-20 2017-12-20 Keyboard sensor systems and methods Active GB2569578B (en)

Priority Applications (20)

Application Number Priority Date Filing Date Title
GB1721448.7A GB2569578B (en) 2017-12-20 2017-12-20 Keyboard sensor systems and methods
GB1918916.6A GB2580542B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods
GB1918915.8A GB2580541B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods
GB1812826.4A GB2570533B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods
EP22160076.0A EP4030418A1 (en) 2017-12-20 2018-12-19 Keyboard sensor system and method
EP18829443.3A EP3729416B1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
PCT/GB2018/053683 WO2019122867A1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
KR1020237013889A KR102610620B1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
CN201880083102.0A CN111512360A (en) 2017-12-20 2018-12-19 Keyboard sensor system and method
JP2020554947A JP7009648B2 (en) 2017-12-20 2018-12-19 Keyboard sensor system and method
KR1020227018811A KR102527173B1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
CN202210527474.6A CN115019754A (en) 2017-12-20 2018-12-19 Keyboard sensor system and method
EP22160075.2A EP4030417B1 (en) 2017-12-20 2018-12-19 Keyboard sensor system and method
EP22189546.9A EP4109223A1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
KR1020207020945A KR102406688B1 (en) 2017-12-20 2018-12-19 Keyboard sensor systems and methods
US16/904,994 US11657789B2 (en) 2017-12-20 2020-06-18 Keyboard sensor systems and methods
JP2021178527A JP2022029457A (en) 2017-12-20 2021-11-01 Sensing systems and sensing methods
US17/726,190 US20220246122A1 (en) 2017-12-20 2022-04-21 Keyboard sensor systems and methods
US18/156,002 US20230197044A1 (en) 2017-12-20 2023-01-18 Keyboard sensor systems and methods
JP2023137172A JP2023166456A (en) 2017-12-20 2023-08-25 Detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB1721448.7A GB2569578B (en) 2017-12-20 2017-12-20 Keyboard sensor systems and methods

Publications (3)

Publication Number Publication Date
GB201721448D0 GB201721448D0 (en) 2018-01-31
GB2569578A true GB2569578A (en) 2019-06-26
GB2569578B GB2569578B (en) 2020-07-08

Family

ID=61008775

Family Applications (3)

Application Number Title Priority Date Filing Date
GB1721448.7A Active GB2569578B (en) 2017-12-20 2017-12-20 Keyboard sensor systems and methods
GB1918916.6A Active GB2580542B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods
GB1918915.8A Active GB2580541B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods

Family Applications After (2)

Application Number Title Priority Date Filing Date
GB1918916.6A Active GB2580542B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods
GB1918915.8A Active GB2580541B (en) 2017-12-20 2018-08-07 Keyboard sensor systems and methods

Country Status (1)

Country Link
GB (3) GB2569578B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200320966A1 (en) * 2017-12-20 2020-10-08 Sonuus Limited Keyboard sensor systems and methods
DE102019132356A1 (en) * 2019-11-28 2021-06-02 Tdk Electronics Ag Dual channel detector
DE102019135881A1 (en) * 2019-12-30 2021-07-01 Preh Gmbh Method and arrangement for reading out sensors for proximity detection
WO2022101046A1 (en) * 2020-11-11 2022-05-19 Sonuus Limited Latency compensation system
FR3122945A1 (en) * 2021-05-11 2022-11-18 Apem Control device
WO2022258474A1 (en) 2021-06-08 2022-12-15 Sonuus Limited Position or movement sensing system
EP4064270A4 (en) * 2019-11-20 2023-12-20 Yamaha Corporation Detection system, playing operation device, electronic keyboard instrument, and detection method
EP4064274A4 (en) * 2019-11-20 2024-01-10 Yamaha Corp Music performing device and keyboard instrument

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7443984B2 (en) * 2020-08-20 2024-03-06 ヤマハ株式会社 Displacement amount detection device, displacement amount detection method, and operation information output device for operators

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4838139A (en) * 1986-03-18 1989-06-13 Sensor Technologies, Inc. Musical keyboard
GB2494230A (en) * 2011-09-02 2013-03-06 Sonuus Ltd Musical effect controller with a position sensor comprising a tuned resonant circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2482651B (en) * 2010-04-15 2013-05-01 And Technology Res Ltd An electromagnetic method for sensing the relative position of two items using coupled tuned circuits

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4838139A (en) * 1986-03-18 1989-06-13 Sensor Technologies, Inc. Musical keyboard
GB2494230A (en) * 2011-09-02 2013-03-06 Sonuus Ltd Musical effect controller with a position sensor comprising a tuned resonant circuit

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200320966A1 (en) * 2017-12-20 2020-10-08 Sonuus Limited Keyboard sensor systems and methods
US11657789B2 (en) * 2017-12-20 2023-05-23 Sonuus Limited Keyboard sensor systems and methods
EP4064270A4 (en) * 2019-11-20 2023-12-20 Yamaha Corporation Detection system, playing operation device, electronic keyboard instrument, and detection method
EP4064274A4 (en) * 2019-11-20 2024-01-10 Yamaha Corp Music performing device and keyboard instrument
DE102019132356A1 (en) * 2019-11-28 2021-06-02 Tdk Electronics Ag Dual channel detector
DE102019135881A1 (en) * 2019-12-30 2021-07-01 Preh Gmbh Method and arrangement for reading out sensors for proximity detection
DE102019135881B4 (en) 2019-12-30 2022-01-27 Preh Gmbh Method and arrangement for reading sensors for proximity detection
WO2022101046A1 (en) * 2020-11-11 2022-05-19 Sonuus Limited Latency compensation system
GB2601113A (en) * 2020-11-11 2022-05-25 Sonuus Ltd Latency compensation system
FR3122945A1 (en) * 2021-05-11 2022-11-18 Apem Control device
WO2022258474A1 (en) 2021-06-08 2022-12-15 Sonuus Limited Position or movement sensing system

Also Published As

Publication number Publication date
GB2580541B (en) 2021-11-17
GB201918915D0 (en) 2020-02-05
GB201721448D0 (en) 2018-01-31
GB2569578B (en) 2020-07-08
GB2580541A (en) 2020-07-22
GB2580542B (en) 2021-11-17
GB201918916D0 (en) 2020-02-05
GB2580542A (en) 2020-07-22

Similar Documents

Publication Publication Date Title
US11657789B2 (en) Keyboard sensor systems and methods
GB2569578A (en) Keyboard sensor systems and methods
EP3834195B1 (en) Electronic drums