This application is a non-provisional application that claims priority benefits under Title 35, Unites States Code, Section 119(a)-(d) from Japanese Patent Application entitled “POSITION SENSING DEVICE” by Tadao KIKUMOTO and Mitsuhiro UMETA, having Japanese Patent Application Serial No. JP2007-322092, filed on Dec. 13, 2007, which application is incorporated herein by reference in its entirety.
1. Technical Field
Embodiments of the present invention generally relate to operation position sensor devices for electronic musical instruments which correctly detect operation positions of operation members, such as, keys of a keyboard device or the like.
2. Related Art
A key operation sensor device for a relatively inexpensive electronic musical instrument may detect key-depression speed of keys on the instrument by measuring a time difference in opening and closing between two or more switches provided on each of the keys. An electronic musical instrument in related art shown in
A key operation sensor device for a relatively expensive electronic musical instrument may use various sensors to detect key depression speed and key depression force of keys on the instrument by measuring changes in pressure, magnetic force and the amount of reflection and transmission of light, which may occur in response to operations of the keys. For example, Japanese Laid-open Patent Application HEI 10-26983 (Patent Document 1) describes a sensor device having slits provided between a light emitting device and a photodetecting device. The slits are structured to continuously change the amount of light passing through the slits according to changes of the position of each key being operated, and the sensor device detects the position of the key operated based on the light detected by the photodetecting device. In the device described in Patent Document 1, two threshold light amounts are set corresponding to two key operation positions, and the key depression speed is obtained by measuring the time in which the amount of light detected by the photodetecting device passes these threshold light amounts.
Japanese Laid-open Patent Application SHO 63-81397 (Patent Document 2) describes a sensor device equipped with two pairs of light emitting elements and photodetecting element provided for each key at two operation positions of the key, and a shutter that is provided between the two pairs of light emitting element and photodetecting element and moves according to operations of the key. The sensor devices obtain the key depression speed by measuring the time in which the key passes the tow operation positions based on light detected by the respective photodetectors.
Japanese Laid-open Patent Application SHO 62-232572 (Patent Document 3) describes a sensor device shown in
Japanese Laid-open Patent Application 2006-201704 (Patent Document 4) describes a sensor device equipped with two pairs (first pair and second pair) of light emitting element and photodetecting element provided in parallel with each other. A shutter that continuously changes the amount of transmission light according to changes in the position of a key being operated is provided between the light emitting element and photodetecting element in the first pair. Another shutter that transmits light only at two operation positions of the key is provided between the light emitting element and photodetecting element in the second pair. Based on the amount of light detected by the photodetecting element in the first pair at the time of detection of light by the photodetecting element in the second pair, the sensor device determines the relation between the amount of light detected by the photodetecting element in the first pair and the operation position of the key, and obtains the operation position of the key based on the amount of light detected by the photodetecting element in the first pair. In the sensor device described in Patent Document 4, light emitted from the light emitting element is guided through an optical fiber and a lens to the shutter, and the light that has passed through the shutter is guided through an optical fiber to the photodetecting element. Also, FIG. 2 of Patent Document 4 shows a state in which light emitted from the light emitting element is expanded by the lens placed on the side of the light emitting element into a parallel beam of light having a predetermined radius and guided to the shutter, and the parallel beam of light that has passed through the shutter is focused on the optical fiber on the light detecting side by the lens placed on the side of the photodetecting element.
In the case of the sensor system that uses opening and closing of switches, the key depression speed may not be accurately measured because the resilient force generated by the elasticity of the switches may act in excess on the keys more than necessary, and the contacts of the switches may wear out and deform after having been used for an extended period of time.
The method that detects changes in a continuous quantity such as light and magnetic is contactless and has no wear, but does not necessarily provide accurate measurement of position and speed of the key due to differences among the individual sensors, changes in the temperature and the like. In the sensor device described in Patent Document 1, the amount of light emission of light emitting elements and the photosensitivity of photodetecting elements may differ from one another among the individual elements, or the sensor device may be affected by changes in the ambient temperature, such that the key depression speed may be obtained at operation positions different from those intended by the designer. The sensor device described in Patent Document 2 can accurately obtain the timing at which the key passes two operation positions, but may have a complex structure because two pairs of light emitting elements and photodetecting elements need to be provided for each of the keys.
The sensor device described in Patent Document 3 provides some contrivances to minimize differences in the light emitting elements and the photodetecting elements and influences by temperature changes. However, as described below, the resolution of the positions of the slits is limited, such that the amount of transmitting light would become uncertain, which would generate error detections. Patent Document 3 shows changes in the amount of light passing through the slits which take place according to depression and release of the key, as shown in
However, the light flux that has passed through the slit is spreading, such that the changes in the amount of light actually appear with its rising and falling being in continuous gentle hills and valleys due to dispersion, as shown in
The sensor device described in Patent Document 4 needs to be equipped with two pairs of light emitting elements and photodetecting elements for each of the keys and thus has a complex structure. Moreover, in the device described in Patent Document 4, neither the lens on the side of the light emitting element nor the lens on the side of the photodetecting element brings a focal point on the shutters, the light spot to be projected onto the shutter from the light emitting element is expanded to have a certain expansion, and light in the light spot having the certain expansion on the shutter is guided to the photodetecting element. Accordingly, even when the key is moved in a manner that the emitted light passes the shutter at a boundary portion where the amount of light transmission drastically changes from the maximum to the minimum or from the minimum to the maximum, the amount of light guided to the photodetecting element changes gently, which lowers the accuracy in detecting the key operation position, and makes it difficult to obtain an accurate operation position.
In the electronic musical instrument market, accurate and inexpensive operation position sensor devices with long serviceable life and excellent power of expression, which solve the problems described above, are demanded.
In accordance with an advantage of some aspects of the invention, there is provided an operation position sensor device for an electronic musical instrument, such as, a keyboard, which accurately detects operation positions of operation members, such as, keys of the keyboard.
An operation position sensor device for an electronic musical instrument in accordance with a first embodiment of the invention includes: an operation member; a light emitting section; a photodetecting section; a light amount controlling member that is placed in an optical path between the light emitting section and the photodetecting section, and controls the amount of light inputted from the light emitting section to the photodetecting section according to an operation position of the operation member; and an operation position sensor section that detects the operation position of the operation member based on the amount of light received by the photodetecting section, wherein the amount of light to be controlled by the light amount controlling member changes stepwise according to changes in the operation position of the operation member in the same direction of the changes, and the operation position sensor section determines that the operation position of the operation member has shifted from one of operation position zones to another adjacent one of the operation position zones when the amount of light detected by the photodetecting section changed stepwise, and determines to which one of adjacent ones of operation position zones the operation position has shifted from the one of operation position zones depending on whether the amount of light has increased or decreased.
An operation position sensor device for an electronic musical instrument in accordance with a second embodiment of the invention includes: an operation member; a light emitting section; a photodetecting section; a light amount controlling member that is placed in an optical path between the light emitting section and the photodetecting section, and controls the amount of light inputted from the light emitting section to the photodetecting section according to an operation position of the operation member; and an operation position sensor section that detects the operation position of the operation member based on the amount of light received by the photodetecting section, wherein the amount of light to be controlled by the light amount controlling member generally continuously changes in a first direction when the operation position is within at least one predetermined operation position zone, corresponding to changes in a predetermined direction of the operation position of the operation member, and discretely changes in a second direction opposite to the first direction when the operation position moves from outside the predetermined operation position zone to the predetermined operation position zone or the operation position moves from the predetermined operation position zone to outside the predetermined operation position zone; and the operation position sensor section judges, when the amount of light detected by the photodetecting section changes more than a predetermined value, that the operation position of the operation member has moved from outside the predetermined operation position zone to the predetermined operation position zone or the operation position has moved from the predetermined operation position zone to outside the predetermined operation position zone.
The operation position sensor device for an electronic musical instrument in accordance with a first aspect of the first embodiment or the second embodiment may further include an operation speed sensor device that detects an operation speed of the operation member by measuring with the operation position sensor section an elapsed time in which the operation position of the operation member passes a predetermined operation position zone.
In the operation position sensor device for an electronic musical instrument in accordance with a second aspect of the second embodiment, the operation position sensor section may detect an operation position of the operation member within the predetermined operation position zone when the amount of light detected by the photodetecting section does not change in excess of the predetermined value.
The operation position sensor device for an electronic musical instrument in accordance with a third aspect of the first embodiment or the second embodiment may include a lens having a focal point on the light amount controlling member in front of the light emitting section.
The operation position sensor device for an electronic musical instrument in accordance with a fourth aspect of the first embodiment or the second embodiment may include a lens having a focal point on the light amount controlling member in front of the photodetecting section.
The light amount controlling member may be capable of controlling the amount of light transmission or controlling the amount of light reflection.
According to the operation position sensor device in accordance with the first embodiment, an operation direction of the operation member, such as, a key can be reliably judged depending on whether the amount of light changes stepwise in an increasing direction or changes stepwise in a degreasing direction, and the timing at which the operation member passes a predetermined operation position can be accurately obtained by detecting a stepwise change occurred in the amount of light.
According to the operation position sensor device in accordance with the second embodiment, the timing at which the operation member, such as, a key passes a predetermined operation position can be accurately obtained by detecting an event in which the amount of light has changed in excess of a predetermined value.
According to the operation position sensor device in accordance with the first aspect of the first embodiment or the second embodiment, in addition to the effects described above, the timing at which the operation member, such as, a key passes a predetermined operation position zone for detecting an operation speed can be accurately determined, and the operation speed of the operation member can be accurately obtained based on the timing.
According to the operation position sensor device in accordance with the second aspect of the second embodiment, in addition to the effects described above, changes in the operation position of the operation member such as a key can be continuously obtained in an operation position zone in which the amount of light continuously changes.
According to the operation position sensor device in accordance with the third aspect of the first embodiment or the second embodiment, in addition to the effects described above, the size of the light spot projected from the light emitting section onto the light amount controlling member can be reduced, such that the operation position of the operation member can be more accurately obtained. Also, light emitted from the light emitting section is focused, such that the amount of light of the light emitting section can be suppressed. Accordingly, the power consumption by the light emitting section can be reduced, and the service life of the light emitting section can be extended.
According to the operation position sensor device in accordance with the fourth aspect of the first embodiment or the second embodiment, in addition to the effects described above, the size of the light spot on the light amount controlling member to be detected by the photodetecting section can be reduced, such that the operation position of the operation member can be more accurately obtained.
a and 10b comprise a flowchart of processing contents executed by the microprocessor (MPU) of
a and 11b comprise a flowchart of processing contents executed by the microprocessor (MPU) of
Preferred embodiments of the invention are described below with reference to the accompanying drawings.
It is noted that the length of each of the zones, zone a, zone b, zone c and zone d, shown in
Because there are provided the boundaries at which the amount of light passing through the shutter abruptly changes according to the depth of key depression, it is possible to detect an event in which the depressed key has passed a specified depth corresponding to each of the boundaries according to abrupt changes in the amount of light. As the depths of key depression are detected based on abrupt changes in the amount of light, the position of the key depression can be accurately detected even when there are individual specificities and changes in temperature present in the amount of light emission of the light emitting element 4 and the sensitivity of the photodetecting element 5. The characteristic of each of the shutters shall be described in detail below.
The output of the photodetecting element 5 rapidly changes at each of the boundaries where the amount of light rapidly changes. In particular, the more the focus of the lens 5-1 of the photodetecting element 5 is accurately brought on the transmission film of the shutter 6, the smaller the light spot on the transmission film becomes, and the sharper the change occurs, in other words, the more the accuracy in detecting the position improves when moving the shutter up and down. The lens may preferably be in a cylindrical shape, which may be used for bar-code reading, than in a spherical shape, as the cylindrical shaped lens can take in light in a greater amount. Also, by bringing the focus of the lens 4-1 of the light emitting element 4 on the transmission film of the shutter 6, the light spot projected on the transmission film can be made smaller, which can further improve the accuracy in position detection. Also, by providing the lens 4-1 on the light emitting element 4, light from the light emitting element can be focused and projected on the transmission film, such that the amount of light to be generated by the light emitting element can be suppressed. For this reason, the power consumption of the light emitting element can be reduced, and the service life of the light emitting element can be extended.
If the key depression depth can be quantitatively, accurately determined in a stepwise fashion, in other words, a specified depth of key depression can be accurately specified, in a manner described above, the speed of key depression can be accurately detected by measuring the elapsed time in key depression for the specified depth, like the switch system in related art. Next, the processes of detecting the position and speed are briefly described.
The microprocessor 12 fetches changes in the output of the photodetecting element 5 through an A/D converter 10, makes appropriate correction and adjustment, and issues commands for sound generation, sound muting, tone control and the like to a sound source 15, and outputs to a D/A converter 11 a signal for controlling the amount of light of the light emitting element 4, thereby adjusting the brightness of the light emitting element 4. The A/D converter 10 that measures the output of the photodetecting element 5 is deemed to have a sufficient resolution greater than that of transparency steps of the shutter 6. The output of the D/A converter 11 is deemed to be set at a predetermined value such that the light emitting element 4 emits an appropriate amount of light.
When the light flux passing through the transmission film in response to depressing of the key passes a boundary between adjacent ones of the zones described above, the output of the photodetecting element 5 detected through the A/D converter 10 rapidly changes. In this case, the more the photodetecting element 5 is focused on the transmission film, the sharper the change takes place, such that the boundary between the adjacent zones can be more accurately discriminated, as described above.
The microprocessor 12 monitors the output of the A/D converter 10 connected to the photodetecting element 5 at a predetermined sampling cycle, and determines, at the time when a rapid change takes place, that the depth of key depression has passed a predetermined depth corresponding to the aforementioned boundary, as described above. When a difference value in a sampling time interval exceeds a predetermined value, this can be discriminated as an occurrence of a rapid change. The predetermined value may be a threshold value by which a stepwise change in transparency of the transmission film of the shutter can be sufficiently identified. It is noted that, in the case of a transmission film whose transmittance changes only in a stepwise fashion, as shown in
The microprocessor 12 senses that a key is being depressed, when the depth at which the boundary passes, upon depression of the key, is a key depression start position, and makes the clock counter 13 to start counting clocks. The microprocessor 12 stores the clock count value of the clock counter 13 each time the key depression depth passes each of the boundaries. Based on a difference value between a clock count value of the clock counter 13 stored when the key depression depth passed one of the boundaries and another clock count value measured when the key depression depth passed the next one of the boundaries, an elapsed time in which the key depression depth passes a zone interposed between these boundaries can be obtained, and a key depression speed can be obtained based on the elapsed time. An initial speed of the key depression may be calculated based on an elapsed time at the initially passed zone. However, in order to obtain the final speed of the key depression from an elapsed time at the succeeding zone, the counted value measured at the initially passed zone is temporarily stored. When the boundary passes a key depression speed detection zone upon a key depression, the microprocessor 12 refers the elapsed time in the key depression speed detection zone with the conversion table, and converts the same to a final key depression speed.
Next, when the shutter with stepwise transmission gradations shown in
In step S1, it is judged as to whether a difference value between a present output and a preceding output of the A/D converter 10 increased in excess of a predetermined threshold value. The process proceeds to step S2 when the difference value increased in excess of the predetermined threshold value, and executes step S1 again when the difference value does not increase in excess of the predetermined threshold value. The process shown in
In the initial state, the light flux is within the zone a of the transmission film of the shutter. Therefore, when it is judged in step 1 that a difference value between the output of the A/D converter 10 stored in a preceding instance and the presently obtained output exceeded a predetermined threshold value, this means that the light flux moved from the zone a, crossing the boundary between the zone a and the zone b, and entered the zone b as the key depression position becomes deeper. In step S2, a “Key ON” flag indicating the start of a key depression is set to 1 and at this moment on, clock counting by the clock counter 13 is started. Upon completion of step S2, the process proceeds to step S3.
In step S3, the output of the A/D converter 10 is continuously monitored, and it is judged as to whether a difference value between the output of the A/D converter 10 measured in a preceding instance and the present output of the A/D converter 10 increased in excess of the predetermined threshold value. At this moment, the light flux is on the zone b of the transmission film of the shutter. Therefore, if it is judged that a difference value between the preceding output and the present output of the A/D converter 10 exceeded a predetermined threshold value, this means that the light flux moved from the zone b, traversing the boundary between the zone b and the zone c, and entered the zone c, as the key is further depressed deeper. If it is determined in step S3 that the light flux moved over the boundary between the zone b and the zone c of the transmission film of the shutter, the process proceeds to step S5; and if not, the process proceeds to step S4.
In step S4, it is judged as to whether a difference value between the output of the A/D converter 10 measured in a preceding instance and the present output of the A/D converter 10 decreased in excess of a predetermined threshold value. If the difference value decreased in excess of the predetermined threshold value, the process returns to step S1. If the difference value did not decrease in excess of the threshold value, the process returns to step S3. When it is judged that the difference value between the outputs of the A/D converter 10 decreased in excess of the predetermined threshold value, this means that the light flux moved beyond the boundary between the zone b and the zone a of the transmission film of the shutter, and returned to the zone a, as the key depression position becomes shallower.
In step S5, a clock count value measured at the time when the light flux passes over the boundary between the zone b and the zone c of the transmission film is stored at memory address 1, and the process proceeds to step S6. It is noted that an initial speed of the key depression can be obtained with an elapsed time in which the light flux passes through the zone b, but the description thereof is omitted for simplification.
In step S6, it is judged as to whether a difference value between the preceding output and the present output of the A/D converter 10 increased in excess of a predetermined threshold value. At this moment, the light flux is on the zone c of the transmission film of the shutter, and therefore, if it is judged that the difference value between the preceding output and the present output of the A/D converter 10 exceeded the predetermined threshold value, this means that the light flux moved over the boundary between the zone c and the zone d, and entered the zone d, as the key is further depressed deeper. If it is judged in step S6 that the light flux moved over the boundary between the zone c and the zone d of the transmission film of the shutter, the process proceeds to step S8; and if not, the process proceeds to step S7. The final speed of the key depression may be obtained during a period in which the light flux passes the zone c of the transmission film.
In step S7, it is judged as to whether a difference value between the preceding output and the present output of the A/D converter 10 decreased in excess of a predetermined threshold value. If the difference value decreased in excess of the predetermined threshold value, the process returns to step S3. If the difference value did not decrease in excess of the threshold value, the process returns to step S6. When it is judged in step S7 that the difference value between the outputs of the A/D converter 10 decreased in excess of the predetermined threshold value, this means that the light flux moved beyond the boundary between the zone c and the zone b of the transmission film of the shutter, and entered the zone b, as the key depression position becomes shallower.
In step S8, a clock count value measured at the time when the light flux passes over the boundary between the zone c and the zone d of the transmission film is stored at memory address 2, and the process proceeds to step S9. Step S9, step S10, step S11 and step S12 are a process to obtain the final speed of the key depression from the elapsed time in which the light flux passes the zone c of the transmission film. In step S9, the clock count value measured at the beginning point of the zone c stored at memory address 1 is subtracted from the clock count value measured at the end point of the zone c stored at memory address 2, thereby obtaining a difference value. Based on the obtained clock count difference value, the count difference value is converted to a sound intensity through referring to a conversion table for converting zone count difference values to key depression speeds (sound intensity) shown in
In step S11, the zone count difference value is referred to the conversion table for single strikes, whereby the value is converted to sound dynamics data in MIDI or the like, and the process proceeds to step S12. In step S12, the Key ON flag that designates a single strike is set to zero (0), and the process proceeds to step S14. In step S13, the key depression is determined in step S10 as belonging to successive strikes, the zone count difference value is referred to the conversion table for successive strikes, whereby the value is converted to sound dynamics data in MIDI or the like, and the process proceeds to step S14. In step S14, a sound generation command with the sound intensity in a single strike or successive strikes is issued to the sound source 15, and the process proceeds to step S21. The steps so far conducted are a process to issue a sound generation command based on a key depression.
Next, descriptions are made as to detection of a key releasing speed when the key is released and the shutter upwardly returns, and a sound muting command to the sound source.
In step S21, it is judged as to whether a difference value between the preceding output and the present output of the A/D converter 10 decreased in excess of a predetermined threshold value. If the difference value decreased in excess of the predetermined threshold value, the process proceeds to step S22. If the difference value did not decrease in excess of the threshold value, step S21 is executed again. When it is judged in step S21 that the difference value between the outputs of the A/D converter 10 decreased in excess of the predetermined threshold value, this means that the light flux moved beyond the boundary between the zone d and the zone c of the transmission film of the shutter, and entered the zone c, as the key depression position becomes shallower, in other words, the key has moved and entered a key releasing process.
In step S22, a clock count value measured at this moment is stored at memory address 3, and the process proceeds to step S23. In steps S23, it is judged as to whether a difference value between the preceding output and the present output of the A/D converter 10 decreased in excess of a predetermined threshold value. If the difference value decreased in excess of the predetermined threshold value, the process returns to step S24. If the difference value did not decrease in excess of the threshold value, the processing in step S23 is executed again. When it is judged in step S23 that the difference value between the outputs of the A/D converter 10 decreased in excess of the predetermined threshold value, this means that the light flux moved beyond the boundary between the zone c and the zone b of the transmission film of the shutter, and entered the zone b, as the key depression position becomes shallower.
In step S24, the clock count value measured at this moment is stored at memory address 4, and the process proceeds to step S25. In step S25, the value stored at memory address 3 is subtracted from the value stored at memory address 4, thereby obtaining a clock count difference value for passing the zone c. The clock count difference value is referred to a key releasing table, whereby a key releasing speed is obtained. A muting command indicating a muting speed corresponding to the obtained key releasing speed is issued to the sound source 15. In accordance with the present embodiment, the key releasing sequence does not distinguish between a single strike and a successive strike, and further the key releasing table may be substituted for the conversion table for successive strikes.
When step S25 is finished, the light flux stays in the zone b of the transmission film of the shutter, and the process proceeds to step S25.
When the key depression position becomes shallower again due to successive key strikes, the process proceeds from step S3 to step S5. When the key depression position further becomes shallower, the process proceeds from step S3 to step S4.
As described above, when the shutter whose transparency changes stepwise, as shown in
Next, the case where an operation position sensor device uses a shutter having a transmission film whose transparency changes in a sawtooth profile according to a key depression depth, as shown in
Unlike the shutter with stepwise transparency gradation shown in
The process executed by the microprocessor 12 is described in detail below with reference to
Processing from step S101 through step S114 are executed in a key depression process, and correspond to the processing executed in steps S1 through S14 shown in
Processing in step S115 and thereafter are executed in a key releasing process. In step S115, it is judged as to whether a difference value between the preceding output and the present output of the A/D converter 10 increased in excess of a predetermined threshold value. The process proceeds to step S121 when the difference value increased in excess of the predetermined threshold value, but proceeds to step S118 when the difference value does not increase in excess of the predetermined threshold value. When it is judged in step S115 that the output of the A/D converter 10 increased in excess of the predetermined threshold value, this means that the light flux moved beyond the boundary between the zone d and the zone c of the transmission film of the shutter, and entered the zone c, as the key depression position becomes shallower. When it is judged in step S115 that the output of the A/D converter 10 does not increase in excess of the predetermined threshold value, this means that the light flux remains within the zone d of the transmission film of the shutter. When the light flux stays within the zone d, the processing for aftertouch is executed.
In step S118, the output value of the A/D converter 10 is converted to aftertouch intensity in MIDI or the like, and the process proceeds to step S119. The obtained aftertouch intensity is issued to the sound source 15 in step S119, and the process returns to step S115. Changes in the key depression depth with aftertouch after completion of the key depression take place slowly, such that the changes can be sampled at a longer cycle, compared to the case of detection of changes in the key depression depth during a key depressing process. For this reason, the processing for aftertouch may be executed in a longer processing cycle, compared to the processing to be executed during a key depressing process. Also, in step S114, a pressure force on the cushioning member generated when the key 1 collides with the stopper 3 may be read through the A/D converter 10 to generate pressure data immediately after the key strike, and the pressure data may be issued as a sound generation command to the sound source, together with the aforementioned key depression speed.
When it is judged in step S115 that the light flux entered the zone c of the transmission film of the shutter as the key depression position became shallower, this means that the key has entered the key releasing process. Processing in step S121 through step S124 correspond to the processing in step S22 through step S25 shown in
It is noted that, in the processing shown in
When the shutter whose transparency repeatedly changes in a sawtooth profile, the key depression position can be continuously detected in each of the zones where the transparency continuously changes with respect to a key depression depth. Also, because the transparency rapidly changes with respect to a key depression depth at the boundary between adjacent ones of the zones whose transparency continuously changes, in a direction opposite to the transparency changing direction in each of the zones, the transition of the boundary between the zones can also be accurately detected. For this reason, by matching each of the boundaries with each of specific key depression depths, detection of the timings at which the key depression depth reaches the specific depths would become difficult to be influenced by differences in the amount of light of the light emitting element 4 and the sensitivity of the photodetecting element 5. As a result, the key depression speed and the key releasing speed can be accurately obtained, and changes in the key depth during a key depression process and changes in the key depth during a key releasing process after the sound has been generated can be rapidly detected.
With the shutter whose transparency repeatedly changes in a sawtooth profile, the amount of darkest light to the amount of brightest light can be used in full range in each of the zones where the transparency continuously changes, which can provide a greater dynamic range, compared to a shutter with a full key depression depth range being made to correspond to the amount of darkest light to the amount of brightest light. Therefore, the amount of shift of a key can be accurately, continuously measured even in a minute zone segment, and continuous changes with the lapse of time, such as, the aftertouch and its shifting directions can be detected with good precision. Moreover, a greater change in the amount of light is available at each boundary between adjacent ones of the zones, each having a continuously changing transparency, such that the boundary can be more readily detected.
It is noted that, instead of the shutter shown in
In the embodiment described above, an example of obtaining a key depression position of a single key is shown. However, processing for light emission, light reception, detection and the like may be obtained by processing them by a time division method. It is noted that the processing by a time division method may be generally known, and therefore its description is omitted. It is noted that, when the shutter with stepwise transparency gradation shown in
In the embodiment described above, a light emitting element and a photodetecting element are opposed one-to-one to each other. However light from a single light emitting element may be optically distributed and may be shared by a plurality of keys. Also, in the embodiment described above, the shutter is directly attached to the key. However, the shutter may be attached to a hammer driven by the key or a lever linked with the key.
Furthermore, in the embodiment described above, the shutter that controls the amount of transmitting light according to the key depression depth is provided in the optical path between the light emitting element and the photodetecting element. However a reflection member that controls the amount of light reflection according to the key depression depth may be provided in the optical path between the light emitting element and the photodetecting element. Moreover, in the embodiment described above, the shutter is disposed directly between the light emitting element and the photodetecting element. However, an optical fiber may be inserted in the optical path between the light emitting element and the photodetecting element. For example, light from the light emitting element may be guided through the optical fiber to the shutter or the reflection member, and light from the shutter or the reflection member may be guided through the optical fiber to the photodetecting element.
Furthermore, the change characteristics of the amount of transmission or the amount of reflection with respect to changes in the key depression depth may be in reverse with respect to those of the embodiment described above.
In accordance with the embodiment described above, the microprocessor that is connected through the D/A converter to the light emitting element controls the current flowing through the light emitting element, whereby deviations in light emitting elements and photodetecting elements caused by individual specificities and temperature changes may be corrected. In the shutters shown in the embodiments described above, the transmittance is at the lowest level when the key is not depressed. However, the change characteristic of transparency of the shutter with respect to changes in a key depression depth may be in reverse with respect to that of the embodiment described above, wherein the transmittance is set at the highest level when the key is not depressed. In this case, the amount of light of the light emitting element and the sensitivity of the photodetecting element can be measured and adjusted in a key depression standby period. Furthermore, for power saving on current flowing through the light emitting element and longer serviceable life thereof, in addition to the time-division emission, the current of the light emitting element may be suppressed in the key depression standby period, and the current of the light emitting element may be returned to a level for the regular amount of emission when the A/D converter 10 detects even a slightest change; and the current of the light emitting element may be suppressed to a sleep mode when the key is not played for a predetermined period of time or longer.
In the embodiments described above, keys of a keyboard are described as operation members that are subject to detection of their operation positions, but the invention is also applicable to other operation members, such as, pedals, levers and the like, in addition to the keys.
Number | Date | Country | Kind |
---|---|---|---|
JP2007-322092 | Dec 2007 | JP | national |