JP4670395B2 - Program for automatically operating automatic piano and keys - Google Patents

Program for automatically operating automatic piano and keys Download PDF

Info

Publication number
JP4670395B2
JP4670395B2 JP2005055662A JP2005055662A JP4670395B2 JP 4670395 B2 JP4670395 B2 JP 4670395B2 JP 2005055662 A JP2005055662 A JP 2005055662A JP 2005055662 A JP2005055662 A JP 2005055662A JP 4670395 B2 JP4670395 B2 JP 4670395B2
Authority
JP
Japan
Prior art keywords
key
trajectory
acceleration
speed
trajectory data
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.)
Expired - Fee Related
Application number
JP2005055662A
Other languages
Japanese (ja)
Other versions
JP2005292803A (en
Inventor
祐二 藤原
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2005055662A priority Critical patent/JP4670395B2/en
Publication of JP2005292803A publication Critical patent/JP2005292803A/en
Application granted granted Critical
Publication of JP4670395B2 publication Critical patent/JP4670395B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、自動的に鍵盤を駆動して演奏を行う自動ピアノに関し、更には、鍵を自動的に操作するためのプログラムに関し、特に、連打奏法による演奏の再現性の改良に関する。   The present invention relates to an automatic piano that automatically performs a performance by driving a keyboard, and more particularly to a program for automatically operating a key, and more particularly, to an improvement in reproducibility of performance by a continuous playing method.

自動ピアノは、一般に、アコースティックピアノの各鍵に対応して設けられたソレノイドを演奏情報に基づき選択的に励磁することで鍵を駆動して、ハンマによる打弦を自動的に行わせることで、自動演奏を行う。ハンマによる打弦の強弱は、鍵の駆動速度に対応し、鍵の駆動速度はソレノイドに対する供給電流に対応する。こうした自動ピアノにあって、演奏家が鍵操作して行った演奏を再現するには、演奏時の鍵軌道を正確に再生して、楽曲の微妙なニュアンスや楽音の表情を豊かに表現できることが望ましい。この点について、従来から知られる自動ピアノには、再生すべき演奏情報に基づき、鍵軌道上の所定位置(リファレンスポイント)における速度情報(リファレンス速度)を求め、任意の軌道種類(直線、放物線、その他)に応じた鍵の軌道データを生成し、該軌道データに応じてソレノイドを駆動するものがあった(例えば、特許文献1参照)。また、この種の自動ピアノにおいて、鍵をエンド位置に押し切る前に離鍵を開始する、或いは、離鍵途中から次の押鍵動作に入る所謂ハーフストローク演奏を再現するものとして、押鍵時の直線軌道及び離鍵時の直線軌道(等速軌道)に相当する軌道データと共に、鍵の速度変化を表現した2次曲線に相当する短縮軌道を算出し、押鍵から離鍵に移行する際に該短縮軌道に従って鍵を駆動することで、鍵の速度を連続的に変化させるものがあった(例えば、特許文献2参照)。
特開平7−175472号公報 特開平9−81125号公報
In general, an automatic piano drives a key by selectively energizing a solenoid provided corresponding to each key of an acoustic piano based on performance information, and automatically hits a string with a hammer. Perform an automatic performance. The strength of hammering by the hammer corresponds to the driving speed of the key, and the driving speed of the key corresponds to the current supplied to the solenoid. In such an automatic piano, in order to reproduce the performance performed by the key operation by the performer, the key trajectory at the time of performance can be reproduced accurately, and the subtle nuances and musical expressions of the music can be expressed richly. desirable. In this regard, a conventional automatic piano obtains speed information (reference speed) at a predetermined position (reference point) on a key trajectory based on performance information to be reproduced, and can select an arbitrary trajectory type (straight line, parabola, Others generate key trajectory data in accordance with the other, and drive the solenoid in accordance with the trajectory data (see, for example, Patent Document 1). Also, in this type of automatic piano, the key release is started before the key is fully pushed to the end position, or the so-called half-stroke performance that enters the next key pressing operation in the middle of the key release is reproduced. Along with the trajectory data corresponding to the linear trajectory and the linear trajectory at the time of key release (constant velocity trajectory), a shortened trajectory corresponding to a quadratic curve representing the speed change of the key is calculated, and when shifting from key press to key release There is one that continuously changes the speed of the key by driving the key according to the shortened trajectory (see, for example, Patent Document 2).
JP-A-7-175472 JP-A-9-81125

ところで、自動ピアノによる演奏再生において、ハーフストロークによる演奏等、鍵の動作速度を急激に変化させる場合、とりわけ、鍵の連打演奏を行わせる場合は、鍵の暴れが発生し易く、例えばハンマの打弦速度が増大してしまうこと等、種々の難点がある。上記特許文献2に記載された構成によれば、ハーフストローク演奏の場合に、鍵のストローク位置が押鍵軌道及び離鍵軌道の交差点に達する前に、前記短縮軌道に沿って鍵が動作するよう制御することで、上記問題を解決しうることが示されている。しかしながら、上記特許文献2に従う短縮軌道で鍵を駆動させると、鍵のストロークの振幅が小さくなってしまうため、打鍵ミスが生じやすくなる恐れがあり、また、連打性能についても不十分であった。   By the way, in performance reproduction by an automatic piano, when the operation speed of a key is suddenly changed, such as a performance by a half stroke, especially when a key is played repeatedly, key rage is likely to occur. There are various difficulties such as an increase in string speed. According to the configuration described in Patent Document 2, in the case of half-stroke performance, the key moves along the shortened trajectory before the key stroke position reaches the intersection of the key pressing trajectory and the key releasing trajectory. It has been shown that the above problem can be solved by controlling. However, when the key is driven in a shortened orbit according to the above-mentioned Patent Document 2, the key stroke amplitude is reduced, so that there is a risk that a keystroke error is likely to occur, and the continuous hit performance is insufficient.

この発明は上述の点に鑑みてなされたもので、連打をよりスムーズに行えるようにすると共に、豊かな演奏ニュアンスや音色の再現を可能にした自動ピアノを提供することを目的とし、更には自動ピアノにおいて、鍵を自動的に操作するためのコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and has as its object to provide an automatic piano capable of performing repeated hits more smoothly, and capable of reproducing rich performance nuances and timbres. An object of the present invention is to provide a computer program for automatically operating keys in a piano.

この発明に係る自動ピアノは、複数の鍵と、前記複数の鍵の各々を個別に駆動するための駆動装置と、演奏情報に基づき、自動的に操作されるべき特定の鍵の動きを規定するために、該特定の鍵の動きの位置、速度及び加速度成分の時間的変遷を表す1次的軌道データを生成する1次的軌道データ生成部と、前記1次的軌道データにおける加速度成分に基づき前記特定の鍵の動きに関して、該加速度成分の単位時間当たりの変化を示す躍動成分を算出し、この躍動成分によって前記1次的軌道データを修正した2次的軌道データを生成する2次的軌道データ生成部と、前記2次的軌道データに基づき、前記特定の鍵を駆動するために前記駆動装置を付勢する制御装置とを備えることを特徴とする。これによって、前記特定の鍵が前記2次的軌道データに応じた軌道で自動的に操作されることになる。 An automatic piano according to the present invention defines a plurality of keys, a driving device for individually driving each of the plurality of keys, and movement of a specific key to be automatically operated based on performance information Therefore, a primary trajectory data generating unit that generates primary trajectory data representing a temporal transition of the position, velocity, and acceleration component of the movement of the specific key, and based on the acceleration component in the primary trajectory data , A jump component indicating a change per unit time of the acceleration component with respect to the movement of the specific key is calculated, and secondary trajectory data in which the primary trajectory data is corrected by the jump component is generated. A trajectory data generation unit, and a control device that biases the driving device to drive the specific key based on the secondary trajectory data. Thus, the specific key is automatically operated in a trajectory according to the secondary trajectory data.

本発明によれば、従来公知の手法で生成された1次的軌道データをそのまま使用することなく、該1次的軌道データにおける加速度成分に基づき、特定の鍵の動きに関して、該加速度成分の単位時間当たりの変化を示す躍動成分を算出し、この躍動成分によって前記1次的軌道データを修正した2次的軌道データを生成し、前記特定の鍵を前記2次的軌道データに応じた軌道で自動的に駆動・操作することを特徴とする。例えば、前記1次的軌道データによって表わされる軌道には等加速度区間が含まれ、前記2次的軌道データ生成部は、この等加速度区間の加速度成分に基づき、該区間で加速度を徐々に変化させるように前記躍動成分を算出し、この躍動成分によって前記1次的軌道データにおける前記等加速度区間に対応する区間で加速度が変化するように修正した2次的軌道データを生成する。すなわち、従来の制御の仕方では、等加速度区間であったところを、該区間で加速度を徐々に変化させるように前記躍動成分を算出し、この躍動成分によって前記1次的軌道データにおける前記等加速度区間に対応する区間で加速度が変化するように修正した2次的軌道データを生成することで、鍵の加速度を時間経過に応じて連続に変化させることができる。これにより、鍵の変位、速度及び加速度をより滑らかに変化させることが可能な曲線状の軌道データを得ることができ、より滑らかな鍵の動作を再現できるようになる。よって、演奏の微妙なニュアンスや柔らかな音色などを表現できるようになり、自動ピアノによる演奏表現をより豊かにすることができる According to the present invention, without directly using the first-order trajectory data generated by a conventionally known method, based on the acceleration component in the first-order trajectory data, with respect to movement of the specific key, the unit of acceleration components A dynamic component indicating a change per time is calculated, and secondary trajectory data obtained by correcting the primary trajectory data is generated by the dynamic component, and the specific key is used in a trajectory corresponding to the secondary trajectory data. It is characterized by being driven and operated automatically. For example, said trajectory represented by the first-order trajectory data includes uniform acceleration section, the secondary trajectory data generating unit, based on the acceleration component of the uniform acceleration section, gradually changing the acceleration between the compartment In this way, the jump component is calculated, and secondary trajectory data corrected so that the acceleration changes in the section corresponding to the uniform acceleration section in the primary trajectory data is generated by the jump component. That is, in the conventional control method, the jump component is calculated so as to gradually change the acceleration in the constant acceleration section, and the constant acceleration in the primary trajectory data is calculated based on the jump component. By generating secondary trajectory data corrected so that the acceleration changes in the section corresponding to the section , the key acceleration can be continuously changed over time. As a result, it is possible to obtain curvilinear trajectory data that can change the displacement, speed, and acceleration of the key more smoothly, and it is possible to reproduce a smoother key operation. Therefore, it becomes possible to express subtle nuances and soft tone of the performance, and to enrich the performance expression by the automatic piano .

一例として、前記1次的軌道データ生成部は、前記特定の鍵を等速で押鍵操作するときの押鍵等速軌道と等速で離鍵操作するときの離鍵等速軌道をそれぞれ算出し、該押鍵等速軌道と離鍵等速軌道の交差点を含む或る区間を等加速度区間に設定して押鍵から離鍵に切り替わる等加速度軌道を算出し、これらの等速軌道と等加速度軌道の組み合わせによって前記1次的軌道データを生成する。そして、前記2次的軌道データ生成部は、前記等加速度区間で或る一定値となる前記躍動成分を算出し、この躍動成分の一定値に従い加速度が逐次変化するように前記等加速度区間における加速度の軌道を変更することにより、前記1次的軌道データを修正した前記2次的軌道データを生成する。これによれば、離鍵から押鍵動作或いは押鍵から離鍵動作に連続して移行する区間つまり加速度制御を行うべき区間で等加速(又は減速)制御することなく、鍵の加速度(又は減速度)を連続に変化させることができ、当該区間での鍵の動作をより滑らかに行えるようになる。このことは、自動ピアノにおける連打打鍵、特に所謂ハーフストローク奏法による連打打鍵の性能の向上という点で、極めて有効である。すなわち、連打を表す軌道の全般にわたって滑らかな力変化を与えることになり、よりスムーズな打鍵が再現できるようになる。よって、連打時の打弦速度の増大や、打弦抜け、或いは連打リズムの乱れ等の問題を解消することが可能である。また、この発明に係る鍵の加速度を連続に変化させる軌道は、上記特許文献2に開示された短縮軌道による連打軌道と比べて、軌道振幅が増大するので、連打時の打鍵ミスを軽減させることができるようになる。 As an example, the primary trajectory data generation unit calculates a key-pressed constant speed trajectory when the specific key is pressed at a constant speed and a key release constant speed trajectory when the key is released at a constant speed, respectively. Then, by setting a certain section including the intersection of the key pressing constant velocity trajectory and the key releasing constant velocity trajectory as a constant acceleration interval, calculating a constant acceleration trajectory for switching from key pressing to key releasing, The primary trajectory data is generated by a combination of acceleration trajectories. Then, the secondary trajectory data generation unit may calculate the dynamic component as a certain value at said equal acceleration section, the acceleration in the such as an acceleration section as acceleration changes successively in accordance with a fixed value of the dynamic component by changing the trajectory, to generate the secondary orbital data obtained by correcting the first-order trajectory data. According to this, the acceleration (or decrease) of the key is performed without performing equal acceleration (or deceleration) control in a section where the key release operation is continuously performed from the key release or from the key depression to the key release operation, that is, a section where acceleration control is to be performed. Speed) can be continuously changed, and the key operation in the section can be performed more smoothly. This is extremely effective in terms of improving the performance of repeated hitting keys in an automatic piano, in particular, repeated hitting keys by the so-called half-stroke playing method. That is, a smooth force change is given over the entire trajectory representing continuous hits, and a smoother keystroke can be reproduced. Therefore, it is possible to solve problems such as an increase in the stringing speed at the time of continuous hitting, missing of the stringing, or disturbance of the continuous hitting rhythm. Further, since the trajectory for continuously changing the acceleration of the key according to the present invention has an increased trajectory amplitude as compared to the repeated trajectory by the shortened trajectory disclosed in Patent Document 2, the keystroke mistake at the time of repeated hitting can be reduced. Will be able to.

本発明は、装置の発明として構成し、実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記録媒体の形態で実施することもできる。また、プロセッサとしては、任意のソフトウェアプログラムを実行するコンピュータのような汎用プロセッサを使用できるのは勿論のこと、専用ロジックをハードウェアで組んだ専用プロセッサを用いてもよい。   The present invention can be constructed and implemented not only as a device invention but also as a method invention. In addition, the present invention can be implemented in the form of a program of a processor such as a computer or a DSP, and can also be implemented in the form of a recording medium storing such a program. Further, as a processor, a general-purpose processor such as a computer that executes an arbitrary software program can be used, and a dedicated processor in which dedicated logic is assembled in hardware may be used.

以下、添付図面を参照してこの発明の一実施例について説明する。
図1は、この実施例に係る自動ピアノの概要構成図であり、機械的な発音機構の要部と共に、電気的制御系に関る機能ブロックの要部を抽出して示している。図1に示すように、自動ピアノは、機械的な発音機構として、複数(例えば88個)の鍵1と、該鍵1の運動をハンマに伝達するためのアクション機構2と、対応する鍵1の運動に連動して打弦運動するハンマ3と、該ハンマ2によって打撃される弦4と、弦4の振動を止めるためのダンパ5とを含む。鍵1の後端下面側には、当該鍵1を駆動するための鍵駆動装置として、電磁ソレノイド6が具備されている。鍵1は、バランスピンPに貫通された位置を凡その支点として、上下揺動可能に支持されており、非押鍵時(外力を加えない状態)では図1において実線で示すレスト位置にある。ソレノイド6が駆動(励磁)されると、ソレノイド6のプランジャが鍵1の後端を突き上げ、鍵1はバランスピンPを支点に揺動し、鍵1の前端が下がることで、鍵1が押鍵操作される。ソレノイド6の消磁に応じてプランジャが下がれば、鍵1はレスト位置に戻る(離鍵操作)。鍵1は、演奏操作(押鍵及び離鍵)に応じて、基本的にはレスト位置からエンド位置(図において2点鎖線で示す位置)の間で上下にストロークする。このとき、該演奏操作に連動して、アクション機構2が作動して、ダンパ5が弦4から離れ、弦4の振動の抑止が解除されると共に、ハンマ3が回動して弦4を打弦する。
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is a schematic configuration diagram of an automatic piano according to this embodiment, in which main parts of functional blocks related to an electric control system are extracted and shown together with main parts of a mechanical sound generation mechanism. As shown in FIG. 1, the automatic piano has a plurality of (for example, 88) keys 1 as a mechanical sounding mechanism, an action mechanism 2 for transmitting the movement of the key 1 to the hammer, and a corresponding key 1. A hammer 3 that strikes the string in conjunction with the movement of the string, a string 4 that is hit by the hammer 2, and a damper 5 that stops vibration of the string 4. An electromagnetic solenoid 6 is provided on the lower surface of the rear end of the key 1 as a key driving device for driving the key 1. The key 1 is supported so as to be able to swing up and down with a position penetrating the balance pin P as a general fulcrum, and is in a rest position indicated by a solid line in FIG. 1 when the key is not pressed (when no external force is applied). . When the solenoid 6 is driven (excited), the plunger of the solenoid 6 pushes up the rear end of the key 1, the key 1 swings around the balance pin P, and the front end of the key 1 is lowered, so that the key 1 is pressed. Key operated. When the plunger is lowered according to the demagnetization of the solenoid 6, the key 1 returns to the rest position (key release operation). The key 1 basically strokes up and down between a rest position and an end position (a position indicated by a two-dot chain line in the drawing) in accordance with a performance operation (key depression and key release). At this time, in conjunction with the performance operation, the action mechanism 2 is activated, the damper 5 moves away from the string 4, the vibration suppression of the string 4 is released, and the hammer 3 rotates to strike the string 4. String.

当該自動ピアノの各鍵1の下面側には、鍵1の動きを検出するためのキーセンサ25が配設される。キーセンサ25は、例えば、鍵1の動作ストロークの全工程について連続的な位置情報を出力可能な光学式の位置センサによって構成することができる。キーセンサ25の概略構成例としては、鍵1の下面におけるキーセンサ25の対向位置に該キーセンサ25と協働する被検出部材26を具え、鍵1のストローク変位に応じてキーセンサ25に対する被検出部材26の相対的な位置が変化することで、キーセンサ25に対する該被検出部材26の相対的位置を鍵1のストローク位置として検出し、鍵1の位置情報を表すアナログ信号を出力するよう構成しうる。また、周知の通り、位置情報を適宜微分することで速度情報を算出することができるので、キーセンサ25の出力から鍵1の速度情報を得ることも可能である。キーセンサ25の出力は、後述する記録制御部28並びにサーボコントローラ12の双方に供給され、演奏録音時の演奏情報の生成・記録処理と、演奏情報再生時のサーボ制御とに利用される。なお、キーセンサ25として適用可能な光学式位置センサの具体的な構成例については、従来から知られる適宜のセンサ構成を採用してよく、また、光学式に限らず、その他適宜の位置センサによって構成されても差し支えない。
また、当該自動ピアノにおいては、ハンマ3の動作を検出するためのハンマセンサ27が設けられてよい。該ハンマセンサ27も前記キーセンサ25と概ね同様に構成されてよい。この例では、ハンマセンサ27の出力は、後述する記録制御部28に供給され、演奏録音時の演奏情報の生成処理に際して利用される。
A key sensor 25 for detecting the movement of the key 1 is disposed on the lower surface side of each key 1 of the automatic piano. The key sensor 25 can be constituted by, for example, an optical position sensor that can output continuous position information for all steps of the operation stroke of the key 1. As a schematic configuration example of the key sensor 25, a detected member 26 that cooperates with the key sensor 25 is provided at a position opposite to the key sensor 25 on the lower surface of the key 1, and the detected member 26 with respect to the key sensor 25 according to the stroke displacement of the key 1. By changing the relative position, the relative position of the detected member 26 with respect to the key sensor 25 can be detected as the stroke position of the key 1, and an analog signal representing the position information of the key 1 can be output. As is well known, the speed information can be calculated by appropriately differentiating the position information, so that the speed information of the key 1 can be obtained from the output of the key sensor 25. The output of the key sensor 25 is supplied to both a recording control unit 28 and a servo controller 12 to be described later, and is used for performance information generation / recording processing during performance recording and servo control during performance information reproduction. As a specific configuration example of the optical position sensor applicable as the key sensor 25, a conventionally known appropriate sensor configuration may be adopted, and the configuration is not limited to the optical type and is configured by other appropriate position sensors. It does not matter if it is done.
In the automatic piano, a hammer sensor 27 for detecting the operation of the hammer 3 may be provided. The hammer sensor 27 may be configured in substantially the same manner as the key sensor 25. In this example, the output of the hammer sensor 27 is supplied to a recording control unit 28, which will be described later, and is used when performing performance information generation processing during performance recording.

ソレノイド6には、プランジャ6aの動きを検出するためのプランジャセンサ35が具備される。プランジャセンサ35は、この例ではプランジャ6aの動作速度を検出する適宜の速度センサ(例えばムービングマグネット型の速度センサ)によって構成され、ソレノイド6の駆動時のプランジャ6aの移動速度に応じたアナログ信号を出力する。プランジャセンサ35の出力は、後述するサーボコントローラ12に供給され、演奏情報再生時のサーボ制御に利用される。なお、プランジャセンサ35として適用可能なムービングマグネット型の速度センサの構成自体は公知なので、その構成の詳細な説明は省略する。なお、プランジャセンサ35は、ムービングマグネット型に限らず、その他適宜の速度センサによって構成されてもよい。   The solenoid 6 is provided with a plunger sensor 35 for detecting the movement of the plunger 6a. In this example, the plunger sensor 35 is constituted by an appropriate speed sensor (for example, a moving magnet type speed sensor) for detecting the operation speed of the plunger 6a, and an analog signal corresponding to the moving speed of the plunger 6a when the solenoid 6 is driven is output. Output. The output of the plunger sensor 35 is supplied to a servo controller 12 which will be described later, and is used for servo control during performance information reproduction. In addition, since the structure itself of the moving magnet type speed sensor applicable as the plunger sensor 35 is well-known, detailed description of the structure is abbreviate | omitted. The plunger sensor 35 is not limited to the moving magnet type, and may be constituted by other appropriate speed sensors.

ここで、図2を参照して、当該自動ピアノの電気的なハードウェア構成について簡単に説明すると、図2に示すように当該自動ピアノは、CPU40、ROM41、RAM42及び記憶装置43を含み、各装置間がデータ及びアドレスバス46を介して接続される。
CPU40は、当該自動ピアノの全体的な動作を制御するとともに、演奏情報の再生処理や、鍵操作に応じた演奏情報の記録(演奏録音)処理等の各種信号処理を実行する。CPU40が実行する各種処理の制御プログラムは、例えばROM41内に記憶されていてよい。該各種処理の実行中に発生した各種データや各種パラメータは、RAM42(あるいはROM41)等の適宜のメモリ内に記憶される。
Here, the electrical hardware configuration of the automatic piano will be briefly described with reference to FIG. 2. As shown in FIG. 2, the automatic piano includes a CPU 40, a ROM 41, a RAM 42, and a storage device 43. The devices are connected via a data and address bus 46.
The CPU 40 controls the overall operation of the automatic piano and executes various signal processing such as performance information reproduction processing and performance information recording (performance recording) processing according to key operations. Control programs for various processes executed by the CPU 40 may be stored in the ROM 41, for example. Various data and various parameters generated during the execution of the various processes are stored in an appropriate memory such as the RAM 42 (or ROM 41).

記憶装置43は、演奏録音処理により生成した演奏情報の書き込みや、演奏情報再生時に使用する演奏情報の記憶等に利用されるものであり、ハードディスク、フレキシブルディスク又はフロッピー(登録商標)ディスク、コンパクトディスク(CD‐ROM)、光磁気ディスク(MO)、ZIPディスク、DVD(Digital Versatile Disk)、半導体メモリ等、適宜の記憶媒体で構成してよい。   The storage device 43 is used for writing performance information generated by the performance recording process, storing performance information used when reproducing the performance information, and the like, and includes a hard disk, a flexible disk, a floppy (registered trademark) disk, and a compact disk. (CD-ROM), magneto-optical disk (MO), ZIP disk, DVD (Digital Versatile Disk), semiconductor memory, and the like may be used.

入出力インターフェース(I/O)44はAD変換器を含み、キーセンサ25、ハンマセンサ27及びプランジャセンサ35から出力される検出信号(アナログ信号)は、当該I/O44を介してディジタル信号に変換されてCPU40へ出力される。CPU40では所定のクロックタイミング毎に各センサの出力を取得する処理を行う。
また、後述する演奏情報再生時にCPU40において生成されるソレノイド駆動信号は、PWM発生器45を介してPWM形式の電流信号(以下PWM信号と略称)に変換され、ソレノイド6に出力される。なお、当該自動ピアノには、この他にも操作者(ユーザ)が動作モードの選択等を行うための設定操作子群や、適宜の外部機器に接続する通信インターフェース等が具備されてよい。
The input / output interface (I / O) 44 includes an AD converter, and detection signals (analog signals) output from the key sensor 25, the hammer sensor 27, and the plunger sensor 35 are converted into digital signals via the I / O 44. To the CPU 40. The CPU 40 performs processing for acquiring the output of each sensor at every predetermined clock timing.
In addition, a solenoid drive signal generated in the CPU 40 during reproduction of performance information, which will be described later, is converted into a PWM-type current signal (hereinafter abbreviated as a PWM signal) via the PWM generator 45 and output to the solenoid 6. In addition, the automatic piano may further include a setting operator group for an operator (user) to select an operation mode, a communication interface connected to an appropriate external device, and the like.

当該自動ピアノにおいて実行される演奏録音動作及び演奏情報の再生動作の概略について説明する。図1において、記録制御部28及び記録後処理部29は、演奏録音処理に関るモジュールに相当し、また、再生前処理部10、モーションコントローラ11及びサーボコントローラ12は演奏情報の再生処理に関るモジュールに相当しており、これら各モジュールが担う演算処理等の各種動作は、CPU40が実行するソフトウェアプログラムによって実施される。   An outline of the performance recording operation and performance information reproduction operation executed in the automatic piano will be described. In FIG. 1, a recording control unit 28 and a post-recording processing unit 29 correspond to modules related to performance recording processing, and a pre-reproduction processing unit 10, motion controller 11 and servo controller 12 are related to performance information reproduction processing. Various operations such as arithmetic processing performed by these modules are implemented by software programs executed by the CPU 40.

記録制御部28では、キーセンサ25やハンマセンサ27の出力を取り込み、キーセンサ25やハンマセンサ27が検出した鍵1やハンマ3の運動に関する物理量から、演奏イベントに関する種々の情報(押鍵速度、離鍵速度や打弦速度、並びに、それらの時刻情報等)を求める。記録後処理部29では、前記記録制御部28で求めた種々の情報に対して正規化処理を施した後、これら演奏イベントに関する種々の情報に基づき、ピアノ演奏の演奏内容を表す演奏情報を生成する。すなわち、演奏イベントに関する種々の情報を演奏情報として記憶装置43(図2参照)に供給する。ここで、演奏情報は、再生すべき演奏イベントと、該演奏イベントを発生すべき時刻のデータとから成るもので、MIDIデータ形式等、適宜のデータフォーマットで作成されてよい。なお、前記正規化処理とは、ピアノの個体差を吸収するための処理である。前記種々の物理情報は、個々のピアノにおけるセンサの配置位置や、構造上の違い、あるいは、機械的誤差等に応じて固有の傾向を持つことから、標準となるピアノを想定し、個々のピアノにおける押鍵時刻・押鍵速度、離鍵時刻・離鍵速度及び打弦時刻・打弦速度等を適切に変換する処理をいう。   The recording control unit 28 takes in the outputs of the key sensor 25 and the hammer sensor 27, and based on physical quantities related to the movement of the key 1 and the hammer 3 detected by the key sensor 25 and the hammer sensor 27, various information related to performance events (key pressing speed, key release). Speed, stringing speed, and time information thereof). The post-recording processing unit 29 normalizes the various information obtained by the recording control unit 28 and then generates performance information representing the performance content of the piano performance based on the various information related to these performance events. To do. That is, various pieces of information related to performance events are supplied to the storage device 43 (see FIG. 2) as performance information. Here, the performance information includes performance events to be reproduced and data of time at which the performance events are to be generated, and may be created in an appropriate data format such as a MIDI data format. The normalization process is a process for absorbing individual differences between pianos. The various physical information has an inherent tendency depending on the arrangement position of the sensor in each individual piano, a difference in structure, a mechanical error, and the like. The key-pressing time / key-pressing speed, the key-release time / key-release speed, and the string-pressing time / string-pressing speed are appropriately converted.

再生前処理部10では、記憶装置43(図2参照)や、図示しないリアルタイム通信装置等から供給される演奏情報に基づいて、該演奏情報が表す演奏内容(演奏イベント)を再現するための鍵の軌道データを生成する。この軌道データはモーションコントローラ11に供給される。モーションコントローラ11では、供給された軌道データを用いてソレノイド駆動制御用の制御信号(目標値)を生成し、これをサーボコントローラ12に供給する。サーボコントローラ12では、キーセンサ25とプランジャセンサ35の出力をフィードバック信号として利用して、前記モーションコントローラ11で生成された目標値と該フィードバック信号とに基づくサーボ制御を行うことで、ソレノイド6に対する励磁電流(ソレノイド駆動信号)を制御する。これにより、鍵1は、与えられた軌道データに従って駆動される。   In the pre-reproduction processing unit 10, a key for reproducing the performance content (performance event) represented by the performance information based on performance information supplied from the storage device 43 (see FIG. 2) or a real-time communication device (not shown). Generate orbital data. This trajectory data is supplied to the motion controller 11. The motion controller 11 generates a control signal (target value) for solenoid drive control using the supplied trajectory data, and supplies it to the servo controller 12. The servo controller 12 uses the outputs of the key sensor 25 and the plunger sensor 35 as feedback signals, and performs servo control based on the target value generated by the motion controller 11 and the feedback signal, thereby exciting current to the solenoid 6. (Solenoid drive signal) is controlled. As a result, the key 1 is driven according to the given trajectory data.

再生前処理部10において実行される軌道データの作成処理の手順について説明する。なお、ここで「軌道」は時間経過に対する鍵の位置変化をいう。
先に引用した特許文献1には、従来から知られる軌道作成の原理の一例が示されている。これは、再生すべき演奏情報に基づき軌道データを生成するための基本的なパラメータとして、鍵軌道上の所定位置(リファレンスポイント)において鍵がとるべき速度の情報(リファレンス速度)、及び、鍵1が該リファレンスポイントを通過すべき時刻(リファレンス時刻)を算出すると共に、該リファレンスポイントを通過する任意の種類の軌道データを生成するものである。ここで、リファレンスポイントは実験等によりあらかじめ設定しうる鍵の所定のストローク位置である。また、リファレンス速度とリファレンス時刻は、再生すべき演奏情報に基づき算出することが可能である。このリファレンス速度とリファレンス時刻を算出するための演算処理の詳細は前記特許文献1に示されており、本実施例においても該特許文献1の記載と同様な処理を採用して差し支えない。
The procedure of the orbit data creation process executed in the pre-reproduction processing unit 10 will be described. Here, “orbit” means a change in the position of the key over time.
Patent Document 1 cited above shows an example of a conventionally known principle of trajectory creation. This is a basic parameter for generating trajectory data based on performance information to be reproduced, information on the speed (reference speed) that the key should take at a predetermined position (reference point) on the key trajectory, and the key 1 Calculates a time (reference time) that should pass through the reference point, and generates any kind of trajectory data that passes through the reference point. Here, the reference point is a predetermined stroke position of the key that can be set in advance by experiments or the like. Further, the reference speed and reference time can be calculated based on performance information to be reproduced. The details of the calculation processing for calculating the reference speed and the reference time are shown in Patent Document 1, and the same processing as described in Patent Document 1 may be adopted in this embodiment.

本実施例においては、まず、押鍵イベントに対応する演奏情報(例えば打弦速度と打弦時刻等)に基づき、鍵がレスト位置xR(鍵のストローク量0mmの位置)から一定速度でエンド位置xE(例えばレスト位置xRから10mm押し下げられた位置)に到る押鍵軌道(以下、これを押鍵等速軌道という)を上記の軌道作成の原理に従って生成すると共に、離鍵イベントに対応する演奏情報(例えば離鍵速度と離鍵時刻等)に基づき鍵がエンド位置xEから等速運動してレスト位置xRに到る離鍵軌道(以下、これを離鍵等速軌道という)を、該軌道作成の原理に従って生成するものとする。なお、レスト位置xR(鍵のストローク0mmの位置)及びエンド位置xE(例えばレスト位置xRから10mm押し下げられた位置)は固定値として予め設定される。   In this embodiment, first, the key is moved from the rest position xR (position of the key stroke amount 0 mm) to the end position at a constant speed based on the performance information (for example, the stringing speed and the stringing time) corresponding to the key depression event. A key depression trajectory (hereinafter referred to as a key depression constant velocity trajectory) reaching xE (for example, a position depressed 10 mm from the rest position xR) is generated according to the above-described principle of trajectory creation, and a performance corresponding to a key release event. Based on information (for example, key release speed and key release time), a key release trajectory (hereinafter referred to as a key release constant velocity trajectory) in which the key moves at a constant speed from the end position xE to the rest position xR is defined as the trajectory. It shall be generated according to the principle of creation. The rest position xR (position of the key stroke 0 mm) and the end position xE (for example, a position pushed down 10 mm from the rest position xR) are preset as fixed values.

押鍵等速軌道において、鍵が等速運動することを想定しているので、押鍵時の鍵の初速度は、前記リファレンス速度と等しいものとなるため、既知の値として定めることができる。押鍵時の初速度(=リファレンス速度)を押鍵リファレンス速度vP(但しvP>0)、鍵の駆動開始時点からの時間をt、当該軌道上の鍵の位置をXとすると押鍵等速軌道は、下記の式(1)によって表すことができる。
X=vP*t+xR・式(1)
なお、本明細書中では、数式中の「*」は乗算を表すものとする。
上記式(1)により、再生すべき演奏情報(押鍵イベント)を直線軌道に従って再現する際の押鍵開始時刻(押鍵レスト出発時刻tPR)と押鍵終了時刻(押鍵エンド到着時刻tPE)を求めることができる。そして、この軌道データに従って、押鍵レスト出発時刻tPRから一定速度vPで鍵を押鍵駆動するように制御することができる。
Since it is assumed that the key moves at a constant speed in the key-pressed constant speed trajectory, the initial speed of the key at the time of key pressing is equal to the reference speed, and can be determined as a known value. If the initial speed (= reference speed) at the time of key pressing is the key pressing reference speed vP (where vP> 0), the time from the key driving start time is t, and the key position on the trajectory is X, the key pressing constant speed. The trajectory can be expressed by the following equation (1).
X = vP * t + xR (1)
In the present specification, “*” in mathematical expressions represents multiplication.
By the above equation (1), the key press start time (key press rest start time tPR) and key press end time (key press end arrival time tPE) when reproducing the performance information (key press event) to be reproduced in accordance with the linear trajectory. Can be requested. Then, according to the trajectory data, the key can be controlled to be depressed at a constant speed vP from the key depression rest departure time tPR.

離鍵時の鍵の軌道についても、所定のリファレンスポイント(例えばダンパ5が弦4に接するときの鍵1の位置)、リファレンス速度(離鍵リファレンス速度vN)及びリファレンス時刻を定義し、演奏情報に基づく直線軌道を設定することで、離鍵等速軌道を求めることができる。離鍵等速軌道では、鍵が等速運動することを想定しているので、離鍵時の鍵の初速度は離鍵リファレンス速度vN(但しvN<0)と等しいものとなる。従って、鍵の駆動開始時点からの時間をtN、離鍵等速軌道上の鍵の位置をXNとすると、離鍵等速軌道は下記式(2)によって表すことができる。
XN=vN*tN+xE・式(2)
上記式(2)により、再生すべき演奏情報(離鍵イベント)を直線軌道に従って再現する際の離鍵開始時刻(離鍵エンド出発時刻tNE)と離鍵終了時刻(離鍵レスト到着時刻tNR)を求めることができる。そして、この軌道データに従って、離鍵エンド出発時刻tNEから一定速度vNで鍵が離鍵されるように制御することができる。
As for the key trajectory at the time of key release, a predetermined reference point (for example, the position of the key 1 when the damper 5 is in contact with the string 4), the reference speed (key release reference speed vN), and the reference time are defined, and the performance information By setting a linear trajectory based on it, a key-released constant velocity trajectory can be obtained. In the key-released constant velocity trajectory, it is assumed that the key moves at a constant velocity, so that the initial speed of the key at the time of key release is equal to the key release reference speed vN (where vN <0). Therefore, if the time from the key driving start time is tN and the key position on the key release constant velocity orbit is XN, the key release constant velocity orbit can be expressed by the following equation (2).
XN = vN * tN + xE. Formula (2)
By the above equation (2), the key release start time (key release end departure time tNE) and key release end time (key release rest arrival time tNR) when reproducing the performance information (key release event) to be reproduced according to the linear trajectory. Can be requested. Then, according to the trajectory data, the key can be controlled to be released at a constant speed vN from the key release end departure time tNE.

上述した押鍵等速軌道及び離鍵等速軌道によれば、レスト位置からエンド位置まで押し下げられた後に、エンド位置からレスト位置まで戻る鍵の動きを等速運動で再現することができる。しかしながら、実際のピアノ演奏では、このような等速運動による軌道ばかりでなく、鍵の押し下げ途中で速度が変化する演奏操作や、所謂ハーフストロークのように完全にエンド位置まで押しきる(あるいはレスト位置まで戻しきる)前に、離鍵(あるいは次の押鍵)操作が開始される奏法等のように、鍵の動作速度の変化を伴う奏法がある。上記の等速軌道では、そのような速度変化を伴う鍵の軌道を適切に再現することはできない。また、ハーフストロークの連打奏法などにおいては、鍵の暴れが発生し易く、正確な演奏の再現が難しい。この実施例に従う自動ピアノは、軌道作成に際して、前記の点に改良が施されたことに特徴がある。すなわち、必要に応じて、鍵の動作速度並びに加速度を連続的に変化させることが可能な滑らかな曲線軌道を生成して、その軌道に基づき鍵1の駆動が制御されることに特徴がある。   According to the key pressing constant velocity trajectory and the key releasing constant velocity trajectory described above, the movement of the key returning from the end position to the rest position after being pushed down from the rest position to the end position can be reproduced with constant velocity motion. However, in an actual piano performance, not only the trajectory due to the constant velocity movement, but also a performance operation in which the speed changes while the key is being depressed, or the end position is completely pushed like the so-called half stroke (or the rest position). There is a rendition accompanied by a change in the operation speed of the key, such as a rendition in which a key release (or next key press) operation is started before the key is fully returned. With the above constant velocity trajectory, the key trajectory with such a speed change cannot be reproduced appropriately. In addition, in the half-stroke continuous playing method or the like, a key rage is likely to occur, and it is difficult to accurately reproduce the performance. The automatic piano according to this embodiment is characterized in that the above points have been improved when creating a trajectory. That is, it is characterized in that a smooth curved trajectory capable of continuously changing the operation speed and acceleration of the key is generated as necessary, and the driving of the key 1 is controlled based on the trajectory.

次に、この発明に係る曲線軌道の作成処理について説明する。一例として、エンド位置まで押し切った鍵を、完全にレスト位置に戻しきらずに、再びエンド位置まで押し切るハーフストロークの連打奏法(すなわち、鍵を半ば押し下げた状態で、離鍵操作と押鍵操作を繰り返すハーフストロークの連打)の軌道を作成する場合について説明する。図3(a)はこの実施例に係る連打軌道の一例を示す軌道図である。図3(a)において、実線はこの実施例に係る連打軌道(時間経過に応じた位置成分の変化)を示し、点線は等速運動による軌道(等速軌道)を示している。また、(b)は(a)に示す軌道における速度成分の変化を示し、(c)は(a)に示す軌道における加速度成分の変化を示し、(d)は(a)に示す軌道における躍動成分の変化を示す。なお、ここで「躍動」とは加速度の時間微分を意味する。また、図3(b)、(c)及び(d)において、実線はこの実施例に係る連打軌道における各成分の変化を表し、点線は等速運動における前記各成分の変化を表している。   Next, a process for creating a curved track according to the present invention will be described. As an example, a half-stroke playing method in which a key that has been pushed all the way to the end position is pushed back to the end position without being completely returned to the rest position (that is, the key release operation and the key depression operation are repeated with the key half pressed down) The case of creating a trajectory for half-stroke repeated) will be described. FIG. 3A is a track diagram showing an example of a continuous hitting track according to this embodiment. In FIG. 3 (a), the solid line indicates the continuous hitting trajectory (change in the position component with time) according to this embodiment, and the dotted line indicates the trajectory (constant velocity trajectory) due to constant velocity motion. Further, (b) shows the change in the velocity component in the trajectory shown in (a), (c) shows the change in the acceleration component in the trajectory shown in (a), and (d) shows the jump in the trajectory shown in (a). Indicates changes in ingredients. Here, “dynamic” means time differentiation of acceleration. In FIGS. 3B, 3C, and 3D, the solid line represents the change of each component in the continuous hitting track according to this embodiment, and the dotted line represents the change of each component in the constant velocity motion.

図3(a)において実線で示すように、離鍵動作と押鍵動作とを表す一連の軌道は、エンド位置xEから所定のストローク位置までの間では、前述したような押鍵等速軌道及び離鍵等速軌道によって表現され、離鍵動作から押鍵動作に移行する区間では3次曲線状の曲線軌道によって表現されている。すなわち、当該連打軌道は等速軌道と曲線軌道の組み合わせによって構成されている。前記所定のストローク位置は、エンド位置xEとレスト位置xRの間において、鍵1に自然な動作を与えうるよう適宜設定してよく、以下、この位置をトランジット位置xTという。等速軌道が短すぎると鍵速度の再現性が不安定になってしまうことから、前記トランジット位置xTは、エンド位置xEとレスト位置xRの中間位置よりもややレスト位置xR寄りに設定するとよい。また、以下の説明において、鍵の軌道がトランジット位置xTを通過する時刻について、離鍵時のものを離鍵トランジット通過時刻tNT、押鍵時のものを押鍵トランジット通過時刻tPTと称する。
図3(a)に示す連打軌道は、具体的には、鍵の離鍵時の軌道については、エンド位置xEからトランジット位置xTの間では離鍵等速軌道によって表現され、該トランジット位置xTから離鍵動作終了時点までの間で、鍵速度が漸減変化する特性を示す曲線軌道(以下、これを離鍵スローダウン軌道と称する)によって表現される。また、押鍵時の軌道については、押鍵動作開始時点からトランジット位置xTまでの間では、鍵速度が漸増変化する特性を示す曲線軌道(以下、これを押鍵スローアップ軌道と称する)によって表現され、トランジット位置xTからエンド位置xEの間では押鍵等速軌道によって表現される。
As shown by a solid line in FIG. 3A, a series of trajectories representing the key release operation and the key press operation is a key press constant velocity trajectory as described above between the end position xE and a predetermined stroke position. It is expressed by a key-released constant-velocity trajectory, and is expressed by a cubic curve-like curve trajectory in a section in which the key-release operation shifts to the key-press operation. That is, the continuous hitting track is constituted by a combination of a constant velocity track and a curved track. The predetermined stroke position may be appropriately set between the end position xE and the rest position xR so that a natural operation can be given to the key 1. Hereinafter, this position is referred to as a transit position xT. If the constant velocity trajectory is too short, the reproducibility of the key speed becomes unstable. Therefore, the transit position xT may be set slightly closer to the rest position xR than the intermediate position between the end position xE and the rest position xR. Further, in the following description, regarding the time when the key trajectory passes the transit position xT, the time when the key is released is referred to as a key release transit time tNT, and the time when the key is pressed is referred to as a key press transit time tPT.
Specifically, the continuous hitting trajectory shown in FIG. 3A is expressed by a key-released constant velocity trajectory between the end position xE and the transit position xT with respect to the trajectory at the time of key release, from the transit position xT. This is expressed by a curved trajectory (hereinafter referred to as a key release slow-down trajectory) showing a characteristic that the key speed gradually decreases until the key release operation ends. Further, the trajectory at the time of key depression is expressed by a curved trajectory (hereinafter referred to as a key depression slow-up trajectory) showing a characteristic in which the key speed gradually increases from the key depression operation start time to the transit position xT. Then, between the transit position xT and the end position xE is expressed by a key-pressed constant velocity trajectory.

この実施例に係る連打軌道の作成処理の手順の一例として、先ず、演奏情報に基づき離鍵等速軌道と押鍵等速軌道とを算出してから、該離鍵等速軌道と押鍵等速軌道とが交差するかどうかを判定することで、曲線軌道の作成が必要かどうかを調べる。そして、曲線軌道の作成が必要であった場合に、後述する演算処理によって曲線軌道を作成する。ここで、「離鍵等速軌道と押鍵等速軌道とが交差する」とは、図3(a)の軌道図において点線で示すようにレスト位置xRに達する前に、離鍵等速軌道と押鍵等速軌道とが交差していることを指しており、このような場合、離鍵等速軌道と押鍵等速軌道によって再現される鍵の軌道は、レスト位置に戻りきる前に押鍵が開始されるハーフストロークとなる。離鍵等速軌道と押鍵等速軌道が交差するか否かを判定は、種々の条件乃至方法によって実行可能であり、従来から知られるどのような条件乃至方法を適用してもよい。一例としては、離鍵等速軌道がエンド位置xEに達する時刻(離鍵レスト到着時刻tNR)が押鍵等速軌道の開始時刻(押鍵レスト出発時刻tPR)よりも時間的に遅ければ、2つの等速軌道は交差する、ということが判定できる。なお、離鍵等速軌道と押鍵等速軌道の交差判定のための諸条件の具体的な例については、例えば上記特許文献2に詳細に記載されており、ここではその詳細な説明を省略する。なお、離鍵等速軌道と押鍵等速軌道がレスト位置xRよりも手前(エンド位置よりの位置)では交差しない場合であったとしも、曲線軌道との組み合わせによってハーフストロークの軌道が表現される(レスト位置xRに達する前に交差する軌道となる)ことがあるため、等速軌道が交差しない場合には、更に、離鍵スローダウン軌道と押鍵スローアップ軌道が交差するかどうかを計算によって調べるよう構成してもよい。この場合の判定構成についても、上記特許文献2に詳細に記載されている。
この実施例では、説明の便宜上、離鍵等速軌道と押鍵等速軌道とが交差するかどうかのみによって、曲線軌道(離鍵スローダウン軌道及び押鍵スローアップ軌道)の作成が必要かどうか判定するものとするが、更に、離鍵スローダウン軌道と押鍵スローアップ軌道の交差を判定するよう構成しても差し支えない。また、当該演奏イベントにおいて曲線軌道を作成すべきことを標識するデータを演奏情報に含み、該データによって曲線軌道の作成が必要かどうか判定できるよう構成してもよい。要するに、加速度特性で鍵を駆動する必要のあるときに、曲線軌道(離鍵スローダウン軌道及び押鍵スローアップ軌道)の作成を行うようにすればよい。
As an example of a procedure for creating a continuous hitting trajectory according to this embodiment, first, a key release constant velocity trajectory and a key pressing constant velocity trajectory are calculated based on performance information, and then the key release constant speed trajectory and key pressing etc. It is determined whether a curved trajectory needs to be created by determining whether or not the fast trajectory intersects. Then, when it is necessary to create a curved trajectory, the curved trajectory is created by a calculation process described later. Here, “the key release constant speed trajectory and the key press constant speed trajectory intersect” means that the key release constant speed trajectory before reaching the rest position xR as shown by the dotted line in the trajectory diagram of FIG. The key trajectory reproduced by the key-released constant-speed trajectory and the key-pressed constant-velocity trajectory is before the return to the rest position. The half stroke starts to press the key. The determination as to whether or not the key-released constant velocity trajectory and the key-pressed constant velocity trajectory intersect can be executed by various conditions or methods, and any conventionally known condition or method may be applied. As an example, if the time at which the key release constant velocity trajectory reaches the end position xE (key release rest arrival time tNR) is later in time than the key press constant velocity trajectory start time (key press rest departure time tPR), 2 It can be determined that two constant velocity trajectories intersect. Note that specific examples of various conditions for determining the intersection between the key-released constant velocity trajectory and the key-pressed constant velocity trajectory are described in detail in, for example, Patent Document 2 described above, and detailed description thereof is omitted here. To do. Even if the key release constant velocity trajectory and the key pressing constant velocity trajectory do not intersect before the rest position xR (position from the end position), the half stroke trajectory is expressed by the combination with the curved trajectory. If the constant velocity trajectory does not intersect, it is further calculated whether the key release slowdown trajectory and the key depression slowup trajectory intersect. You may comprise so that it may investigate. The determination configuration in this case is also described in detail in Patent Document 2.
In this embodiment, for convenience of explanation, it is necessary to create a curved trajectory (a key release slow-down trajectory and a key press slow-up trajectory) only by whether or not the key release constant velocity trajectory and the key press constant velocity trajectory intersect. However, it may be configured to determine the intersection of the key release slow-down trajectory and the key press slow-up trajectory. Further, the performance information may include data that indicates that a curved track should be created in the performance event, and whether or not the curved track needs to be created can be determined based on the data. In short, when it is necessary to drive a key with acceleration characteristics, a curved trajectory (key-release slow-down trajectory and key-press slow-up trajectory) may be created.

さて、離鍵等速軌道と押鍵等速軌道が交差する場合は、曲線軌道(離鍵スローダウン軌道及び押鍵スローアップ軌道)の作成処理を行う。押鍵等速軌道と離鍵等速軌道とが交差する位置を等速時交差位置xcとし、その時刻を等速時交差時刻tcとすると、等速時交差時刻tcは押鍵等速軌道と離鍵等速軌道の軌道データから計算によって求めることができる。すなわち、等速時交差時刻tcは下記式(3)によって算出することができる。
tc=(−vN*tNE+vP*tPE)/(−vN+vP)・式(3)
なお、上記式(3)による等速時交差時刻tcの算出に際して、離鍵リファレンス速度vN(但し<0)、離鍵エンド出発時刻tNE、押鍵リファレンス速度vP(但し>0)及び押鍵エンド到着時刻tPEは、夫々既知値として定まる。
When the key release constant velocity trajectory and the key press constant velocity trajectory intersect, a process of creating a curved trajectory (key release slow-down trajectory and key press slow-up trajectory) is performed. Assuming that the position where the key pressing constant velocity trajectory and the key releasing constant velocity trajectory intersect is the constant velocity crossing position xc and the time is the constant velocity crossing time tc, the constant velocity crossing time tc is the key pressing constant velocity trajectory. It can be obtained by calculation from the orbit data of the key-released constant velocity orbit. That is, the constant speed crossing time tc can be calculated by the following equation (3).
tc = (− vN * tNE + vP * tPE) / (− vN + vP) Equation (3)
When calculating the constant time crossing time tc according to the above equation (3), the key release reference speed vN (where <0), the key release end departure time tNE, the key depression reference speed vP (where> 0) and the key depression end. Each arrival time tPE is determined as a known value.

図示の通り、等速時交差時刻tcは離鍵動作から押鍵動作に移行時点であるから、離鍵スローダウン軌道は、離鍵トランジット通過時刻tNTから該交差時刻tcまでの間に鍵の速度がvNから0に漸減変化するよう設定され、また、押鍵スローアップ軌道は該交差時刻tcから押鍵トランジット通過時刻tPTまでの間に鍵の速度が0からvPに漸増変化するよう設定される。また、離鍵トランジット通過時刻tNTから押鍵トランジット通過時刻tPTの間が、この発明に係る曲線軌道(離鍵スローダウン軌道と押鍵スローアップ軌道)を適用する区間となる。
先ず、離鍵スローダウン軌道における離鍵加速度aNを求める。加速度は速度の時間微分であるから下記式(4)によって算出することができる。
aN=(0−vN)/(tc−tNT)・(4)
上記式(4)における離鍵トランジット通過時刻tNTは、下記式(5)によって算出できる。
tNT=tNE+(xT−xE)/vN・(5)
なお、上記式(5)におけるトランジット位置xT及びエンド位置xEは、固定値として予め設定されている。
As shown in the figure, since the constant time crossing time tc is the time of transition from the key release operation to the key press operation, the key release slowdown trajectory is the key speed between the key release transit time tNT and the crossing time tc. Is set to gradually decrease from vN to 0, and the key-pressing slow-up trajectory is set so that the key speed gradually increases from 0 to vP from the crossing time tc to the key-press transit transit time tPT. . Further, the section between the key release transit passage time tNT and the key depression transit passage time tPT is a section to which the curved trajectory (the key release slow-down trajectory and the key press slow-up trajectory) according to the present invention is applied.
First, the key release acceleration aN in the key release slow-down trajectory is obtained. Since acceleration is a time derivative of speed, it can be calculated by the following equation (4).
aN = (0−vN) / (tc−tNT) · (4)
The key release transit passage time tNT in the above equation (4) can be calculated by the following equation (5).
tNT = tNE + (xT−xE) / vN · (5)
The transit position xT and end position xE in the above formula (5) are set in advance as fixed values.

また、押鍵スローアップ軌道における押鍵加速度aPは、下記式(6)によって算出することができる。
aP=(vP−0)/(tPT−tc)・(6)
また、上記式(6)における押鍵トランジット通過時刻tPTは、下記式(7)によって算出できる。
tPT=tPE−(xE−xT)/vP・(7)
Further, the key depression acceleration aP in the key depression slow-up trajectory can be calculated by the following equation (6).
aP = (vP-0) / (tPT-tc) · (6)
Further, the key depression transit passage time tPT in the above equation (6) can be calculated by the following equation (7).
tPT = tPE− (xE−xT) / vP · (7)

離鍵加速度aNと押鍵加速度aPとを求めることで、図3(a)において一点鎖線で示すような離鍵スローダウン軌道(離鍵用の時変動する速度特性の軌道)及び押鍵スローアップ軌道(押鍵用の時変動する速度特性の軌道)を生成しうる。すなわち、離鍵加速度aN及び押鍵加速度aPに基づき、時間経過に応じて連続に変化する押鍵及び離鍵速度情報を求めると共に、その連続的な速度変化を再現する曲線軌道(一点鎖線で示す離鍵スローダウン軌道及び押鍵スローアップ軌道)の軌道データを算出できる。この軌道は、図3(c)において一点鎖線で示すように加速度成分が或る一定の値(離鍵加速度aN及び押鍵加速度aP)に保たれた等加速度軌道となる。等加速度軌道において連続的に変化する速度成分の様子を図3(b)において一点鎖線で示す。なお、上述のように加速度を一定に保ち鍵の速度を連続的に変化させる軌道の生成については、上記特許文献2においても示されている。
以上の処理によって求めた、鍵の自動操作のための位置、速度、加速度成分からなる軌道データを、1次的軌道データということにする。この1次的軌道データは、従来技術によって求められるもので、加速度特性は等加速度特性である。
By calculating the key release acceleration aN and the key press acceleration aP, a key release slow-down trajectory (trajectory of a speed characteristic that changes at the time of key release) and a key press slow-up as shown by an alternate long and short dash line in FIG. A trajectory (a trajectory of time-varying speed characteristics for key pressing) can be generated. That is, on the basis of the key release acceleration aN and the key press acceleration aP, the key press and key release speed information that changes continuously with the passage of time is obtained, and a curved orbit (represented by a one-dot chain line) that reproduces the continuous speed change. Orbit data of a key release slow-down trajectory and a key press slow-up trajectory). This trajectory is a uniform acceleration trajectory in which the acceleration component is maintained at a certain value (key-release acceleration aN and key-depression acceleration aP) as shown by a one-dot chain line in FIG. The state of the velocity component that continuously changes in the uniform acceleration trajectory is shown by a one-dot chain line in FIG. Note that the generation of a trajectory that continuously changes the speed of the key while keeping the acceleration constant as described above is also disclosed in Patent Document 2.
The trajectory data made up of the position, speed, and acceleration components for automatic key operation obtained by the above processing will be referred to as primary trajectory data. The primary trajectory data is obtained by the prior art, and the acceleration characteristic is a constant acceleration characteristic.

次に、この発明にしたがって提案する離鍵スローダウン軌道と押鍵スローアップ軌道を確立するために、更に加速度成分(離鍵加速度及び押鍵加速度)もまた時間経過に応じて連続に変化させるように、1次的軌道データを修正する。そこで、連続に変化するような加速度情報を1次的軌道データから算出すべく、該1次的軌道データの加速度成分(等加速度特性)から、時間的に変化する離鍵加速度並びに押鍵加速度の単位時間当たりの変位量(時間微分値)たる躍動成分を夫々求める。
離鍵スローダウン軌道における離鍵躍動jNは下記式(8)によって算出することができる。
jN=2*aN/(tc−tNT)・(8)
但し、上記式(8)において、aNは前記等加速度軌道における離鍵加速度である。この意味は、時間長「tc−tNT」の間での加速度の変化量をaNの2倍にするような、単位時間当たりの加速度変化値を、躍動成分jNとして算出する、ということである。なお、係数「2」の値は設計上適宜に可変調整してよい。
また、押鍵スローアップ軌道における押鍵躍動jPは下記式(9)によって算出することができる。
jP=2*aP/(tPT−tc)・(9)
但し、上記式(9)において、aPは前記等加速度軌道における押鍵加速度である。この意味も上記と同様である。
Next, in order to establish the key release slow-down trajectory and the key press slow-up trajectory proposed according to the present invention, the acceleration components (key release acceleration and key press acceleration) are also continuously changed over time. First, the primary trajectory data is corrected. Therefore, in order to calculate acceleration information that changes continuously from the primary trajectory data, the key release acceleration and the key press acceleration that change with time are determined from the acceleration component (equal acceleration characteristic) of the primary trajectory data. A dynamic component as a displacement amount (time differential value) per unit time is obtained.
The key release jump jN in the key release slow-down trajectory can be calculated by the following equation (8).
jN = 2 * aN / (tc−tNT) · (8)
However, in the above formula (8), aN is the key release acceleration in the uniform acceleration trajectory. This means that the acceleration change value per unit time is calculated as the dynamic component jN so that the amount of change in acceleration during the time length “tc−tNT” is twice the aN. Note that the value of the coefficient “2” may be variably adjusted as appropriate in design.
Further, the key depression speed jP in the key depression slow-up trajectory can be calculated by the following equation (9).
jP = 2 * aP / (tPT−tc) · (9)
However, in the above formula (9), aP is the key depression acceleration in the uniform acceleration trajectory. This meaning is also the same as above.

上記式(8)及び(9)によって離鍵躍動jNと押鍵躍動jPとを求めることで、図3(a)において実線で示すような離鍵スローダウン軌道及び押鍵スローアップ軌道の軌道データを生成することができる。すなわち、1次的軌道データにおける等加速度区間の軌道(一点鎖線で示す等加速度軌道)が、図3(a)において実線で示すような離鍵スローダウン軌道及び押鍵スローアップ軌道(不等加速度軌道)で置換・修正されたこととなり、このように修正されたものを、2次的軌道データということにする。こうして生成した離鍵スローダウン軌道及び押鍵スローアップ軌道(2次的軌道データ)によれば、離鍵スローダウン軌道及び押鍵スローアップ軌道の交差時刻tcJ(=等速時交差時刻tc)を含む所定区間(離鍵トランジット時刻tNTから押鍵トランジット時刻tPTの間)において、図3(d)において実線で示すように、当該軌道の躍動成分を或る一定の値(離鍵躍動jN及び押鍵躍動jP)に保つことができる(この軌道を等躍動軌道という)。すなわち、上記算出した離鍵躍動jNと押鍵躍動jPに基づき躍動成分を一定値に管理することで、図3(c)に実線で示すよう押鍵加速度及び離鍵加速度を時間経過に応じて連続に変化させることができる。このように等躍動軌道により加速度を連続的に変化させることで、図3(b)に実線で示すように、速度成分を曲線状に変化させることができる。従って、この実施例に係る等躍動による離鍵スローダウン軌道及び押鍵スローアップ軌道によれば、従来の等速度軌道や等加速度軌道と比較して、鍵の変位、速度及び加速度をより滑らかに制御できるようになる。また、等加速度軌道の場合と比べて離鍵スローダウン軌道の開始位置(離鍵側トランジット位置)における加速度の変化を滑らかにすることができるので、離鍵動作時の鍵の暴れを効果的に抑制することができるようになる。   By obtaining the key release jump jN and the key press jump jP by the above equations (8) and (9), the trajectory data of the key release slow-down trajectory and the key press slow-up trajectory as shown by the solid line in FIG. Can be generated. That is, the trajectory of the uniform acceleration section in the primary trajectory data (the uniform acceleration trajectory indicated by a one-dot chain line) is a key release slow-down trajectory and a key depression slow-up trajectory (unequal acceleration) as indicated by a solid line in FIG. (Orbit) is replaced / corrected, and the corrected data is called secondary trajectory data. According to the key release slow-down trajectory and the key press slow-up trajectory (secondary trajectory data) generated in this way, the crossing time tcJ (= the constant time crossing time tc) of the key release slow-down trajectory and the key press slow-up trajectory is obtained. In a predetermined section (between key release transit time tNT and key press transit time tPT), as shown by a solid line in FIG. 3D, the jump component of the trajectory is set to a certain value (key release jump jN and press key (Key orbit jP) can be kept (this orbit is called an equal orbit). In other words, by managing the dynamic component to a constant value based on the calculated key release movement jN and key release movement jP, the key depression acceleration and the key separation acceleration are represented as time elapses as shown by the solid line in FIG. Can be changed continuously. In this way, by continuously changing the acceleration by the uniform jump trajectory, the speed component can be changed in a curved line as shown by a solid line in FIG. Therefore, according to this embodiment, the key release slow-down trajectory and the key-press slow-up trajectory due to equal swaying move the key displacement, speed, and acceleration more smoothly than the conventional constant velocity trajectory and constant acceleration trajectory. You will be able to control. In addition, the change in acceleration at the start position (key release side transit position) of the key release slowdown trajectory can be made smoother than in the case of the uniform acceleration orbit, so that the key rampage during the key release operation can be effectively prevented. It becomes possible to suppress.

図3(a)において、この実施例に係る等躍動による離鍵スローダウン軌道及び押鍵スローアップ軌道(実線で示す軌道)の交差位置xcJは、一点鎖線で示す等加速度による軌道の交差位置xcAに比較して、よりレスト位置xR側の位置を取る。したがって、この実施例に係る等躍動による離鍵スローダウン軌道及び押鍵スローアップ軌道によれば、等加速度による軌道よりも、鍵の駆動振幅を拡大することができる。具体的には、等加速度時(1次的軌道データ)の交差位置xcAは、トランジット位置xTと等速時交差位置xcの略中間点にあった。これに対して、等躍動時(2次的軌道データ)の交差位置xcJは、等加速度時の交差位置xcAと等速時交差位置xcの略中間点に位置する。従って、等躍動の軌道によると、トランジット位置xTから交差位置までの距離を、等加速度の場合と比べて、略4/3倍にすることができる。このように軌道の振幅を拡大することで、軌道データ再生時の打鍵ミスを減少させることができるようになる。   In FIG. 3 (a), the intersection position xcJ of the key release slow-down trajectory and the key depression slow-up trajectory (trajectory indicated by the solid line) due to the equal movement according to this embodiment is the intersection position xcA of the trajectory due to the constant acceleration indicated by the alternate long and short dash line. Compared to the above, a position closer to the rest position xR is taken. Therefore, according to the key release slow-down trajectory and the key-pressing slow-up trajectory due to the equal movement according to this embodiment, it is possible to expand the key drive amplitude as compared with the trajectory due to the uniform acceleration. Specifically, the intersection position xcA at the time of uniform acceleration (primary trajectory data) was at a substantially middle point between the transit position xT and the uniform speed intersection position xc. On the other hand, the crossing position xcJ at the time of equal jump (secondary trajectory data) is located at a substantially middle point between the crossing position xcA at the time of constant acceleration and the crossing position xc at the time of constant speed. Therefore, according to the orbit of equal sway, the distance from the transit position xT to the crossing position can be approximately 4/3 times that in the case of equal acceleration. By expanding the amplitude of the trajectory in this way, it becomes possible to reduce keystroke mistakes when reproducing trajectory data.

以上説明した処理に従って、再生前処理部10(図1参照)において軌道データが作成される。この再生前処理部10における上述の1次的軌道データの作成処理及び2次的軌道データの作成処理は、CPU40(図2参照)が上述した各演算及び処理を実行するように組まれたコンピュータプログラムによって実現される。あるいは、それに限らず、専用のハードウェア回路で実現されるようになっていてもよい。勿論、1次的軌道データにおいて曲線軌道(離鍵スローダウン軌道及び押鍵スローアップ軌道)がない場合は、1次的軌道データを修正することなくそのまま出力すればよい。   In accordance with the processing described above, trajectory data is created in the pre-reproduction processing unit 10 (see FIG. 1). The primary trajectory data creation process and secondary trajectory data creation process in the pre-reproduction processing unit 10 are performed by a computer configured so that the CPU 40 (see FIG. 2) executes the above-described calculations and processes. Realized by the program. Alternatively, the present invention is not limited to this, and it may be realized by a dedicated hardware circuit. Of course, if there is no curved trajectory (key-release slow-down trajectory and key-press slow-up trajectory) in the primary trajectory data, the primary trajectory data may be output without modification.

次に、モーションコントローラ11(図1参照)では、前記作成された軌道データ(2次的軌道データ、又はそれが作成されなかった場合は1次的軌道データ)を用いてソレノイド駆動制御用の制御信号(目標値)を生成し、これをサーボコントローラ12に供給する。そして、サーボコントローラ12は、前記供給された制御信号と、キーセンサ25及びプランジャセンサ35の出力とに基づくサーボ制御を行う。
図4は、当該自動ピアノにおけるサーボ制御のシステム構成の一例を機能的に示すブロック図である。図4において、1点鎖線で囲むフィードバックループにおける各種演算処理は、CPU40(図2参照)が実行するソフトウェアプログラムによって実施される。
Next, the motion controller 11 (see FIG. 1) uses the created trajectory data (secondary trajectory data or primary trajectory data if it is not created) to control solenoid drive control. A signal (target value) is generated and supplied to the servo controller 12. The servo controller 12 performs servo control based on the supplied control signal and the outputs of the key sensor 25 and the plunger sensor 35.
FIG. 4 is a block diagram functionally showing an example of a servo control system configuration in the automatic piano. In FIG. 4, various arithmetic processes in a feedback loop surrounded by a one-dot chain line are implemented by a software program executed by the CPU 40 (see FIG. 2).

目標値生成部50には、当該サーボ制御の目標値(リファランス値)として、再生すべき演奏情報に応じて生成された鍵の軌道データ(軌道リファランス)が供給される。目標値生成部50では、供給された軌道リファランスに従って、或る時刻における目標値として、位置目標値rx、速度目標値rv及び加速度目標値raの夫々の事象について生成する。ここで、位置目標値rx、速度目標値rv及び加速度目標値raは、前記軌道データにおける位置成分、速度成分及び加速度成分である。目標値生成部50で生成された各事象(位置、速度、加速度)についての目標値は、所定のサンプル時間(例えば1ms毎)に従って、並行に送出される。また、図において「ru」は目標値に相当する電気量(電流信号)の直接出力を表す。この電流信号ruの目標値全体に対する使用率は実験により適切に定めるものとする。目標値生成部50で生成された位置目標値rx、速度目標値rv及び加速度目標値raは、前記所定のサンプリング時間に従って、位置比較部51、速度比較部52及び加速度比較部53に夫々入力される。   The target value generation unit 50 is supplied with the key trajectory data (trajectory reference) generated according to the performance information to be reproduced as the target value (reference value) of the servo control. The target value generation unit 50 generates a position target value rx, a speed target value rv, and an acceleration target value ra as target values at a certain time according to the supplied trajectory reference. Here, the position target value rx, the speed target value rv, and the acceleration target value ra are a position component, a velocity component, and an acceleration component in the trajectory data. The target value for each event (position, velocity, acceleration) generated by the target value generation unit 50 is sent in parallel according to a predetermined sample time (for example, every 1 ms). In the figure, “ru” represents a direct output of an electric quantity (current signal) corresponding to a target value. The usage rate of the current signal ru with respect to the entire target value is appropriately determined by experiment. The position target value rx, the speed target value rv, and the acceleration target value ra generated by the target value generation unit 50 are respectively input to the position comparison unit 51, the speed comparison unit 52, and the acceleration comparison unit 53 according to the predetermined sampling time. The

他方、キーセンサ25及びプランジャセンサ35の出力の取り込みについて説明すると、前述のとおりソレノイド6に対して通電オンがなされると、通電されたソレノイド6に対応して設けられた鍵1が駆動される。速度センサ(プランジャセンサ)35は、ソレノイド6のプランジャ6aの移動速度ymを検出し、該移動速度ymに対応するアナログ検出信号yvmaを出力する。AD変換器(図2のI/O44に相当)44aは、速度センサ(プランジャセンサ)35から出力されるプランジャ速度を表すアナログ検出信号yvmaをディジタル信号(プランジャ速度検出値)yvmdに変換する。   On the other hand, taking in the output of the key sensor 25 and the plunger sensor 35 will be described. When the solenoid 6 is energized as described above, the key 1 provided corresponding to the energized solenoid 6 is driven. The speed sensor (plunger sensor) 35 detects the moving speed ym of the plunger 6a of the solenoid 6 and outputs an analog detection signal yvma corresponding to the moving speed ym. The AD converter (corresponding to the I / O 44 in FIG. 2) 44a converts the analog detection signal yvma representing the plunger speed output from the speed sensor (plunger sensor) 35 into a digital signal (plunger speed detection value) yvmd.

また、位置センサ(キーセンサ)25は、ソレノイド6によって駆動された鍵1のストローク位置ykを検出し、鍵のストローク位置ykに対応するアナログ検出信号yxkaを出力する。AD変換器(図2のI/O44に相当)44bは、位置センサ(キーセンサ)25から出力されるアナログ検出信号yxkaをディジタル信号(鍵位置検出値)yxkdに変換する。   The position sensor (key sensor) 25 detects a stroke position yk of the key 1 driven by the solenoid 6 and outputs an analog detection signal yxka corresponding to the stroke position yk of the key. The AD converter (corresponding to the I / O 44 in FIG. 2) 44b converts the analog detection signal yxka output from the position sensor (key sensor) 25 into a digital signal (key position detection value) yxkd.

AD変換器44a,44bでディジタル信号に変換されたプランジャ速度検出値yvmd及び鍵位置検出値yxkdは、正規化処理部54a,54bに夫々供給され、該正規化処理部54a,54bにおいてプランジャ速度検出値yvmd及び鍵位置検出値yxkdの各々に対する所定の正規化処理が行われる。図において、正規化処理後のプランジャ速度検出値を「yvm」、正規化処理後の鍵位置検出値を「yxk」で示す。   The plunger speed detection value yvmd and the key position detection value yxkd converted into digital signals by the AD converters 44a and 44b are supplied to the normalization processing units 54a and 54b, respectively, and the normalization processing units 54a and 54b detect the plunger speed. A predetermined normalization process is performed on each of the value yvmd and the key position detection value yxkd. In the figure, the plunger speed detection value after normalization processing is indicated by “yvm”, and the key position detection value after normalization processing is indicated by “yxk”.

速度生成部55は、鍵位置検出値yxkに基づき、鍵1の速度情報(鍵速度値yvk)を生成する。すなわち、速度生成部55では、キーセンサ25から出力された鍵1の位置情報を適宜微分演算(例えば多項式適合等)することにより鍵の速度情報を算出する。算出方法の一例として、ある任意のサンプリング時点について前後7点での位置情報(鍵位置検出値)を使用した2次曲線適合によって鍵の速度情報(鍵速度値yvk)を算出することができる。   The speed generation unit 55 generates speed information (key speed value yvk) of the key 1 based on the key position detection value yxk. That is, the speed generation unit 55 calculates key speed information by appropriately differentiating the position information of the key 1 output from the key sensor 25 (for example, polynomial fitting). As an example of a calculation method, key speed information (key speed value yvk) can be calculated by quadratic curve fitting using position information (key position detection value) at seven points before and after a certain sampling time point.

位置生成部56は、プランジャ速度検出値yvkに基づき、プランジャ6aの位置情報(プランジャ位置値yxm)を生成する。すなわち、位置生成部56では、プランジャセンサ35から出力されたプランジャ6aの速度情報を積分演算することによりプランジャ6aの位置情報(プランジャ位置値yxm)を算出する。   The position generator 56 generates position information (plunger position value yxm) of the plunger 6a based on the plunger speed detection value yvk. That is, the position generator 56 calculates the position information (plunger position value yxm) of the plunger 6 a by integrating the speed information of the plunger 6 a output from the plunger sensor 35.

加速度生成部57は、プランジャ速度検出値yvmに基づき、プランジャ6aの加速度情報(プランジャ加速度値yam)を生成する。すなわち、加速度生成部57では、プランジャセンサ35から出力されたプランジャ6aの速度情報を適宜微分演算(例えば多項式適合等)することによりプランジャ6aの加速度情報を算出する。算出方法の一例として、ある任意のサンプリング時点について前後7点での速度情報(プランジャ速度検出値yvm)を使用した2次曲線適合によってプランジャ6aの加速度情報(プランジャ加速度値yam)を算出することができる。   The acceleration generation unit 57 generates acceleration information (plunger acceleration value yam) of the plunger 6a based on the plunger speed detection value yvm. That is, the acceleration generating unit 57 calculates the acceleration information of the plunger 6a by appropriately differentiating the velocity information of the plunger 6a output from the plunger sensor 35 (for example, polynomial fitting). As an example of the calculation method, the acceleration information (plunger acceleration value yam) of the plunger 6a is calculated by quadratic curve fitting using the speed information (plunger speed detection value yvm) at seven points before and after a certain sampling time point. it can.

速度調整部58には、プランジャセンサ35から出力されるプランジャ速度検出値yvmと、速度生成部55にて生成された鍵速度値yvkが供給される。速度調整部58ではプランジャ速度検出値yvmと鍵速度値yvkの一本化調整を行うことで、速度フィードバック信号yvを得る。速度フィードバック信号yvは、プランジャセンサ35とキーセンサ25の双方のセンサ出力から得たフィードバック制御用の速度情報であり、これは、前記目標値生成部50で生成された速度目標値rvと比較するために前記速度比較部52へ帰還入力(負帰還)される。
速度調整部58において、具体的には、プランジャ速度検出値yvmに対して所定の係数Kvmによって重み付け(演算要素58a)し、また、鍵速度値yvkに対して所定の係数Kvkによって重み付け(演算要素58b)して、加算要素58cにて両者を加算することで速度フィードバック信号yvを得ている。ここで、両者の重み係数Kvm及びKvkは、「Kvm+Kvk=1」の関係を持たせつつ、プランジャ速度検出値yvmと鍵速度値yvkのいずれに重点を置いた速度フィードバック信号yvを得るのかに応じて設定されるもので、実験の結果を基に適切な値に設定する。実験結果に基づく重み係数の一例として、係数Kvm=0.7、係数Kvk=0.3と設定しうる。
The speed adjustment unit 58 is supplied with the plunger speed detection value yvm output from the plunger sensor 35 and the key speed value yvk generated by the speed generation unit 55. The speed adjustment unit 58 obtains a speed feedback signal yv by performing a single adjustment of the plunger speed detection value yvm and the key speed value yvk. The speed feedback signal yv is speed information for feedback control obtained from the sensor outputs of both the plunger sensor 35 and the key sensor 25, and is compared with the speed target value rv generated by the target value generation unit 50. Are fed back to the speed comparator 52 (negative feedback).
In the speed adjustment unit 58, specifically, the plunger speed detection value yvm is weighted by a predetermined coefficient Kvm (calculation element 58a), and the key speed value yvk is weighted by a predetermined coefficient Kvk (calculation element). 58b), and the speed feedback signal yv is obtained by adding both at the addition element 58c. Here, both weight coefficients Kvm and Kvk have a relationship of “Kvm + Kvk = 1”, and depending on whether the speed feedback signal yv with emphasis on the plunger speed detection value yvm or the key speed value yvk is obtained. Set to an appropriate value based on the experimental results. As an example of the weighting coefficient based on the experimental result, the coefficient Kvm = 0.7 and the coefficient Kvk = 0.3 can be set.

位置調整部59には、キーセンサ25から出力される鍵位置検出値yxkと、位置生成部56にて生成されたプランジャ位置値yxmが供給される。位置調整部59では鍵位置検出値yxkとプランジャ位置値yxmの一本化調整を行うことで、位置フィードバック信号yxを得る。位置フィードバック信号yxは、キーセンサ25とプランジャセンサ35との双方のセンサ出力から得たフィードバック制御用の位置情報であり、これは、前記目標値生成部50で生成された位置目標値rxと比較するために前記位置比較部51へ帰還入力(負帰還)される。
位置調整部59において、具体的には、鍵位置検出値yxkに対して所定の係数Kxkによって重み付け(演算要素59a)し、また、プランジャ位置値yxmに対して所定の係数Kxmによって重み付け(演算要素59b)して、加算要素59cにて両者を加算することで位置フィードバック信号yxを得ている。ここで、両者の重み係数Kxk及びKxmは、「Kxk+Kxm=1」の関係を持たせつつ、鍵位置検出値yxkとプランジャ位置値yxmのいずれに重点を置いた位置フィードバック信号yxを得るのかに応じて設定されるもので、実験の結果を基に適切な値に設定する。実験結果に基づく重み係数の一例として、係数Kxk=0.9、係数Kxm=0.1と設定しうる。
The position adjustment unit 59 is supplied with the key position detection value yxk output from the key sensor 25 and the plunger position value yxm generated by the position generation unit 56. The position adjustment unit 59 obtains a position feedback signal yx by performing a single adjustment of the key position detection value yxk and the plunger position value yxm. The position feedback signal yx is position information for feedback control obtained from the sensor outputs of both the key sensor 25 and the plunger sensor 35, and this is compared with the position target value rx generated by the target value generation unit 50. Therefore, a feedback input (negative feedback) is made to the position comparison unit 51.
In the position adjustment unit 59, specifically, the key position detection value yxk is weighted by a predetermined coefficient Kxk (calculation element 59a), and the plunger position value yxm is weighted by a predetermined coefficient Kxm (calculation element). 59b), the position feedback signal yx is obtained by adding both by the addition element 59c. Here, both weight coefficients Kxk and Kxm have a relationship of “Kxk + Kxm = 1”, and depending on whether the position feedback signal yx with emphasis on the key position detection value yxk or the plunger position value yxm is obtained. Set to an appropriate value based on the experimental results. As an example of the weighting coefficient based on the experimental result, the coefficient Kxk = 0.9 and the coefficient Kxm = 0.1 can be set.

また、加速度生成部57において算出されたプランジャ加速度値yamは、フィードバック制御用の加速度情報として、前記目標値生成部50で生成された加速度目標値raと比較するために前記加速度比較部53へ帰還入力(負帰還)される。なお、前記速度生成部55において算出した鍵速度値yvkを更に微分して鍵加速度情報を求めて、その鍵加速度情報とプランジャ加速度値yamを一本化調整して位置フィードバック信号を求めることも考えられるが、その場合、該鍵加速度情報は鍵位置検出値yxkを2次微分した値であり、信号の品質が劣化するので、この実施例では、これを行わない。   Further, the plunger acceleration value yam calculated by the acceleration generation unit 57 is fed back to the acceleration comparison unit 53 for comparison with the acceleration target value ra generated by the target value generation unit 50 as acceleration information for feedback control. Input (negative feedback). It is also conceivable to obtain a key feedback information by further differentiating the key speed value yvk calculated in the speed generation unit 55, and to obtain a position feedback signal by unifying and adjusting the key acceleration information and the plunger acceleration value yam. In this case, however, the key acceleration information is a value obtained by second-order differentiation of the key position detection value yxk, and the signal quality deteriorates. Therefore, this is not performed in this embodiment.

以上のようにして、キーセンサ25及びプランジャセンサ35の出力に基づき、位置、速度及び加速度目標値のそれぞれと同一種類の物理量のフィードバック制御用の物理量情報、つまり位置フィードバック信号yx、速度フィードバック信号yv及びプランジャ加速度値yamが与えられる。   As described above, based on the outputs of the key sensor 25 and the plunger sensor 35, physical quantity information for feedback control of the same physical quantity as the position, speed, and acceleration target value, that is, the position feedback signal yx, the speed feedback signal yv, and A plunger acceleration value yam is given.

位置比較部51には、前記位置調整部59から出力された位置フィードバック信号yxと、目標値生成部50から出力された位置目標値rxとが供給される。位置比較部51では、位置目標値rxと位置フィードバック信号yxを減算演算することで、rx、yxの差分である位置偏差exを求める。   The position comparison unit 51 is supplied with the position feedback signal yx output from the position adjustment unit 59 and the position target value rx output from the target value generation unit 50. The position comparison unit 51 subtracts the position target value rx and the position feedback signal yx to obtain a position deviation ex that is the difference between rx and yx.

速度比較部52には、前記速度調整部58から出力された速度フィードバック信号yvと、目標値生成部50から出力された速度目標値rvとが供給される。速度比較部52では、位置目標値rvと位置フィードバック信号yvを減算演算することで、rv、yvの差分である速度偏差evを求める。   The speed comparison unit 52 is supplied with the speed feedback signal yv output from the speed adjustment unit 58 and the speed target value rv output from the target value generation unit 50. The speed comparison unit 52 subtracts the position target value rv and the position feedback signal yv to obtain a speed deviation ev that is a difference between rv and yv.

加速度比較部53には、前記加速度生成部57から出力されたプランジャ加速度値yamと、目標値生成部50から出力された加速度目標値raとが供給される。加速度比較部53では、加速度目標値raとプランジャ加速度値yamを減算演算することで、ra、yamの差分である加速度偏差eaを求める。ここで、サーボ制御の要素として加速度目標値raが入っていることで、鍵駆動時の躍動成分をより直接に管理することができる。この実施例において、上述したような加速度を連続変化させる等躍動軌道を再生する場合は、躍動成分を或る一定の値に保つよう鍵の駆動が制御されることとなるだろう。   The acceleration comparison unit 53 is supplied with the plunger acceleration value yam output from the acceleration generation unit 57 and the acceleration target value ra output from the target value generation unit 50. The acceleration comparison unit 53 subtracts the acceleration target value ra and the plunger acceleration value yam to obtain an acceleration deviation ea that is a difference between ra and yam. Here, since the acceleration target value ra is included as a servo control element, it is possible to more directly manage the dynamic component at the time of key driving. In this embodiment, in the case of reproducing the same dynamic trajectory in which the acceleration is continuously changed as described above, the driving of the key will be controlled so as to keep the dynamic component at a certain value.

位置偏差exは、増幅部60aを介して位置サーボゲインKxによって増幅されて、位置制御信号uxとして加算部61に供給される。また、速度偏差evは、増幅部60bを介して速度サーボゲインKvによって増幅されて、速度制御信号uvとして加算部61に供給される。また、加速度偏差eaは、増幅部60cを介して加速度サーボゲインKaよって増幅されて、加速度制御信号uaとして加算部61に供給される。前記位置偏差ex、速度偏差ev及び加速度偏差eaの各々に乗算する各ゲインの係数Kx,Kv及びKaは実験によって適切設定されてよく、ゲイン係数の数値例として、位置サーボゲインKx=1.7、速度サーボゲイン=3.5、加速度サーボゲイン=0.5という値に設定しうる。前記ゲイン係数の一例によれば、速度成分にサーボ制御の重点が置かれるようになる。   The position deviation ex is amplified by the position servo gain Kx via the amplifying unit 60a, and is supplied to the adding unit 61 as a position control signal ux. Further, the speed deviation ev is amplified by the speed servo gain Kv via the amplifying part 60b and supplied to the adding part 61 as a speed control signal uv. The acceleration deviation ea is amplified by the acceleration servo gain Ka via the amplifying unit 60c and supplied to the adding unit 61 as an acceleration control signal ua. The gain coefficients Kx, Kv, and Ka to be multiplied by each of the position deviation ex, the speed deviation ev, and the acceleration deviation ea may be appropriately set by experiment. As a numerical example of the gain coefficient, a position servo gain Kx = 1.7. The values of speed servo gain = 3.5 and acceleration servo gain = 0.5 can be set. According to an example of the gain coefficient, the focus of servo control is placed on the speed component.

加算部61において、位置制御信号ux、速度制御信号uv及び加速度制御信号uaを加算することで、これら各事象の制御信号を一本化する。そして、その加算結果に対して更に目標値電流信号ruを加算(加算要素62)することで、ソレノイド駆動信号uが生成される。   The adder 61 adds the position control signal ux, the speed control signal uv, and the acceleration control signal ua to unify the control signals for these events. Then, the solenoid drive signal u is generated by further adding the target value current signal ru to the addition result (addition element 62).

ソレノイド駆動信号uは、PWM変換器45を介してPWM形式のソレノイド励磁電流信号uiに変換され、この励磁電流信号uiに基づきソレノイド6が駆動される。
上述したサーボ制御システムによれば、直接のサーボ制御対象となるソレノイド6の動きと該ソレノイド6によって駆動される鍵1の動きとを反映したソレノイド駆動信号uが生成されるので、この駆動信号uに応じた励磁電流信号uiでソレノイド6を駆動することで、鍵1を目標値に対してより正確に動作させることができ、与えられた軌道リファレンスをより精密に再現することができるようなる。また、図4に示すサーボ制御システムによれば、位置センサたるキーセンサ25の出力と速度センサたるプランジャセンサ35の出力から生成した位置、速度及び加速度の各事象についてのフィードバック信号と、位置、速度及び加速度の各事象の目標値とに基づいたハイブリットタイプのサーボ制御を実現することで、より高性能な自動ピアノを実現することができる。ここで、当サーボ制御システムでは、位置センサ(キーセンサ25)の出力を微分して生成した速度情報、速度センサ(プランジャセンサ35)の出力を積分して生成した位置情報、及び、速度センサの出力を微分して生成した加速度情報を利用しており、この点について、当該ハイブリットタイプのサーボ制御を位置制御の立場からみれば、速度サーボ制御が微分補償器としての機能を果たし、また、速度制御の立場からみれば、位置サーボ制御が積分補償器、加速度サーボが微分補償器としての機能を果たす。
The solenoid drive signal u is converted into a PWM-type solenoid excitation current signal ui via the PWM converter 45, and the solenoid 6 is driven based on the excitation current signal ui.
According to the servo control system described above, the solenoid drive signal u reflecting the movement of the solenoid 6 directly subject to servo control and the movement of the key 1 driven by the solenoid 6 is generated. By driving the solenoid 6 with the excitation current signal ui corresponding to the key 1, the key 1 can be operated more accurately with respect to the target value, and the given trajectory reference can be reproduced more precisely. Further, according to the servo control system shown in FIG. 4, the feedback signal for each event of position, velocity and acceleration generated from the output of the key sensor 25 as a position sensor and the output of the plunger sensor 35 as a velocity sensor, and the position, velocity and By realizing the hybrid type servo control based on the target value of each acceleration event, a higher performance automatic piano can be realized. In this servo control system, speed information generated by differentiating the output of the position sensor (key sensor 25), position information generated by integrating the output of the speed sensor (plunger sensor 35), and output of the speed sensor. The acceleration information generated by differentiating is used. In this regard, from the standpoint of position control of the hybrid type servo control, the speed servo control functions as a differential compensator. From this standpoint, the position servo control functions as an integral compensator and the acceleration servo functions as a differential compensator.

図5は、図3(a)を参照して説明した等躍動連打軌道を上記図4に示す構成からなるサーボ制御によって再現した際の制御結果の実測例を示すグラフである。図において、当該連打軌道データの位置成分(位置目標値rx)を破線で示し、連打駆動された鍵1の位置データの実測値yxkを実線で示す。また、該連打軌道データの速度成分(速度目標値rv)を1点鎖線で示し、該連打軌道データの加速度成分(加速度目標値ra)を2点鎖線で示す。また、横軸は時間tを表す。前述の通り、この実施例に係る等躍動による離鍵スローダウン軌道及び押鍵スローアップ軌道によれば、加速度成分(加速度目標値ra)を連続的に変化させることで、連打軌道の全般にわたって滑らかな力変化を鍵に対して与えることができる。このため、図5に示すように、連打軌道の位置目標値rxに対して極めて正確な(近似した)鍵1の位置データの実測値yxkを得ることができるようになる。よって、この実施例に係る等躍動連打軌道によれば、スムーズな打鍵を行わせることが可能となり、連打性能を向上することができる。また、鍵の加速度変化が滑らか(連続的)になることによって、連打時に打弦速度が増大する問題を改善することができる。   FIG. 5 is a graph showing an actual measurement example of a control result when the constant dynamic striking trajectory described with reference to FIG. 3A is reproduced by servo control having the configuration shown in FIG. In the figure, the position component (position target value rx) of the continuous hitting trajectory data is indicated by a broken line, and the actual measurement value yxk of the position data of the key 1 driven repeatedly is indicated by a solid line. The speed component (speed target value rv) of the continuous hitting trajectory data is indicated by a one-dot chain line, and the acceleration component (acceleration target value ra) of the continuous hitting trajectory data is indicated by a two-dot chain line. The horizontal axis represents time t. As described above, according to the key release slow-down trajectory and key press slow-up trajectory according to this embodiment, the acceleration component (acceleration target value ra) is continuously changed, so that the entire hitting trajectory is smooth. Can be given to the key. For this reason, as shown in FIG. 5, it is possible to obtain an actual measurement value yxk of the position data of the key 1 that is extremely accurate (approximate) with respect to the position target value rx of the continuous hitting trajectory. Therefore, according to the constant dynamic continuous striking trajectory according to this embodiment, it is possible to perform a smooth keystroke and improve the repeated striking performance. Further, since the acceleration change of the key becomes smooth (continuous), it is possible to improve the problem that the string striking speed increases at the time of continuous hitting.

なお、上述の実施例では、等躍動による連打軌道の作成について説明したが、この発明に係る等躍動軌道の適用例は、これに限定されず、この発明に係る等躍動軌道をフルストロークでの単打打鍵に適用することも可能である。この発明に係る等躍動軌道を単打打鍵に適用した場合の特徴について、図6(a)〜(c)を参照して説明する。図6(a)〜(c)は鍵最終速度80mm/sにて単打打鍵するための軌道を表す軌道図であって、レスト位置(ストローク0mmの位置)からエンド位置(該レスト位置からストローク量10mmの位置)まで押鍵動作し、該エンド位置にて適宜の時間停止した後に、レスト位置まで戻る(離鍵動作する)軌道を表している。(a)は等躍動による軌道を、また、(b)は等速度による軌道を、また、(c)は等加速度による軌道を、夫々示す。また、図6(a)〜(c)の各図において、当該軌道の位置成分を実線で示し、速度成分を点線で示し、また、加速度成分を一点鎖線で示す。   In the above-described embodiment, the creation of the repetitive striking trajectory by equal swaying has been described. However, the application example of the uniform swaying trajectory according to the present invention is not limited to this, and the isocracking trajectory according to the present invention is a full stroke. It is also possible to apply to a single key. The characteristics when the equal dynamic trajectory according to the present invention is applied to a single keystroke will be described with reference to FIGS. FIGS. 6A to 6C are trajectory diagrams showing a trajectory for single keystroke at a key final velocity of 80 mm / s, from a rest position (position of 0 mm stroke) to an end position (stroke amount from the rest position). This represents a trajectory in which the key is depressed to a position of 10 mm), stopped for an appropriate time at the end position, and then returned to the rest position (key release operation). (A) shows a trajectory by equal sway, (b) shows a trajectory by constant velocity, and (c) shows a trajectory by constant acceleration. In each of FIGS. 6A to 6C, the position component of the trajectory is indicated by a solid line, the velocity component is indicated by a dotted line, and the acceleration component is indicated by a one-dot chain line.

図6(a)に示すように、等躍動による押鍵スローアップ軌道は、レスト位置x0(ストローク0mm)から、初期速度v0=0mm/s及び初期加速度a0=0mm/s^2(なお、「s^2」は秒sの二乗を表す)で動作開始して、エンド位置x1(ストローク量10mm)において、最終速度v1=80mm/s及び最終加速度a1=約427mm/s^2で停止する軌道となる。この軌道は、躍動j0=約1138mm/s^3(なお、「s^3」は秒sの三乗を表す)にて一定(等躍動)に保たれたスローアップ軌道となる。この軌道に従って鍵がレスト位置x0からエンド位置x1に到達するのにかかる時間は、375msとなる。そして離鍵動作時には、エンド位置x1を初期速度v2=−80mm/s及び初期加速度a2=約427mm/s^2で動作開始して、レスト位置x0において、最終速度v3=0mm/s及び最終加速度a3=0mm/s^2で停止するスローダウン軌道となり、エンド位置x1からレスト位置x0に到達までの所要時間は375msとなる。
これに対して、(b)に示す等速度の場合は、レスト位置x0から、初期速度v0=80mm/sで動作開始して、等速度v0=80mm/sでエンド位置x1まで動作する軌道となるため、この軌道に従って鍵がレスト位置x0からエンド位置x1に到達するのにかかる時間は、125msとなる。離鍵時の等速度軌道は、等速度v2=−80mm/sでエンド位置x1からレスト位置x0まで動作するものであるから、その所要時間は125msとなる。また、(c)に示す等加速の場合は、レスト位置x0から、初期速度v0=0mm/sで動作開始して、等加速度a0=320mm/s^2にてエンド位置x1まで動作し、最終速度v1=80mm/sとなる。この軌道に従って鍵がレスト位置x0からエンド位置x1に到達するのにかかる時間は、250msとなる。この場合の離鍵スローダウン軌道は、初期速度v2=−80mm/sで動作開始して、等加速度a2=320mm/s^2にてスローダウンする軌道であり、レスト位置x0において最終速度v1=80mm/sとなる。この軌道に従って鍵がエンド位置x1からレスト位置x0に到達するのにかかる時間は250msである。
As shown in FIG. 6 (a), the key depression slow-up trajectory due to equal swaying moves from the rest position x0 (stroke 0 mm) to the initial velocity v0 = 0 mm / s and the initial acceleration a0 = 0 mm / s ^ 2 ( s ^ 2 "represents the square of the second s), and the trajectory stops at the end position x1 (stroke amount: 10 mm) and the final velocity v1 = 80 mm / s and the final acceleration a1 = about 427 mm / s ^ 2. It becomes. This trajectory is a slow-up trajectory that is kept constant (equal dynamic) at a dynamic j0 = about 1138 mm / s ^ 3 (where "s ^ 3" represents the cube of seconds s). The time required for the key to reach the end position x1 from the rest position x0 according to this trajectory is 375 ms. During the key release operation, the end position x1 starts to operate at an initial speed v2 = −80 mm / s and an initial acceleration a2 = about 427 mm / s ^ 2, and at the rest position x0, the final speed v3 = 0 mm / s and the final acceleration. The slowdown trajectory stops at a3 = 0 mm / s ^ 2, and the required time from the end position x1 to the rest position x0 is 375 ms.
On the other hand, in the case of the uniform speed shown in (b), the trajectory starts from the rest position x0 at the initial speed v0 = 80 mm / s and moves to the end position x1 at the constant speed v0 = 80 mm / s. Therefore, the time required for the key to reach the end position x1 from the rest position x0 along this trajectory is 125 ms. Since the constant velocity trajectory at the time of key release operates from the end position x1 to the rest position x0 at a constant velocity v2 = −80 mm / s, the required time is 125 ms. In the case of the uniform acceleration shown in (c), the operation starts from the rest position x0 at the initial speed v0 = 0 mm / s, moves to the end position x1 at the constant acceleration a0 = 320 mm / s ^ 2, and finally The speed v1 = 80 mm / s. It takes 250 ms for the key to reach the end position x1 from the rest position x0 according to this trajectory. The key release slow-down trajectory in this case is a trajectory that starts operation at the initial speed v2 = −80 mm / s and slows down at the constant acceleration a2 = 320 mm / s ^ 2, and the final speed v1 = at the rest position x0. 80 mm / s. It takes 250 ms for the key to reach the rest position x0 from the end position x1 along this trajectory.

図6(a)〜(c)から明らかなように、等躍動の軌道によれば、等速度、更に等加速度による軌道と比較して、より緩やかな速度でのスローアップ軌道並びにスローダウン軌道を表現できるようになる。従って、等躍動でのスローアップ・スローダウン軌道によれば、単打打鍵において、より滑らかな押鍵動作の再現が可能となり、より丁寧な(ソフトなタッチの)指付け打鍵を表現して、例えばより柔らかい音色での演奏音を発音させること等が可能となる。離鍵の場合も、より遅い、ゆったりした離鍵動作を再現することが可能となり、これにより、例えば止音による音の減衰をより緩やかなものとすることができる。このように、より緩やかな押鍵動作及び離鍵動作の再現が可能となることで、例えば、演奏者が気持ちを込めて行った滑らかな押鍵動作及び離鍵動作を、軌道データによって表現できるようになる。従って、自動ピアノにおいて、演奏者の気持ち等をより繊細、緻密に再現することが可能となる。   As is clear from FIGS. 6 (a) to 6 (c), according to the isokinetic trajectory, the slow-up trajectory and the slow-down trajectory at a slower speed than the trajectory with the constant velocity and further with the constant acceleration are used. It becomes possible to express. Therefore, according to the slow-up / slow-down trajectory with equal dynamics, it is possible to reproduce a smoother key pressing operation with a single keystroke, expressing a more polite (soft touch) finger keystroke, It is possible to generate a performance sound with a softer tone. Also in the case of key release, it is possible to reproduce a slower and more relaxed key release operation, and thereby, for example, the attenuation of sound due to stop sound can be made more gradual. As described above, since it is possible to reproduce more gentle key pressing and key releasing operations, for example, smooth key pressing and key releasing operations performed by the player with feelings can be expressed by orbit data. It becomes like this. Therefore, in an automatic piano, it becomes possible to reproduce a player's feeling etc. delicately and precisely.

なお、上述した図3(a)〜(d)に示す軌道の例では、エンド位置から離鍵を開始し、完全にレスト位置に戻しきらずに、再びエンド位置まで押し切るハーフストロークの連打奏法(すなわち、鍵を半ば押し下げた状態で、離鍵操作と押鍵操作を繰り返すハーフストロークの連打)の軌道の作成について説明したが、この発明を適用可能な連打軌道は、上記に限らず、レスト位置から押鍵開始して、エンド位置まで完全に押しきらずに離鍵を開始して、再びレスト位置まで戻す動作を繰り返すタイプの連打軌道など、どのようなタイプの連打軌道であってもよい。また、上述した実施例に係る連打軌道においては、軌道の一部を等速軌道によって表す例について説明したが、これに限らず押鍵及び離鍵動作の全工程を等躍動軌道によって表現することも可能である。また、この発明によれば、押鍵を押鍵等速軌道に従い、該押鍵に続く離鍵を等躍動による離鍵スローダウン軌道に従う単打打鍵を行うことができ、また、押鍵を等躍動による押鍵スローアップ軌道に従い、該押鍵に続く離鍵を離鍵等速軌道に従う単打打鍵を行うこともできる。更に、離鍵を離鍵等速軌道に従い、該離鍵に続く押鍵を等躍動による押鍵スローアップ軌道に従う単打打鍵を行うことができ、また、離鍵を等躍動による離鍵スローダウン軌道に従い、該離鍵に続く押鍵を押鍵等速軌道に従う単打打鍵を行うこともできる。また、これらの単打打鍵を組み合わせた連打演奏を行うことも可能である。
また、上述の例では、鍵1を駆動するための軌道データの作成について説明したが、これに限らず、例えばペダル等を自動で駆動するための軌道データに、この発明に係る等躍動軌道を適用することも可能である。また、この発明に係る自動ピアノの形態は、グランドピアノ、アップライトピアノいずれであってもよい。
In the example of the trajectory shown in FIGS. 3 (a) to 3 (d) described above, half-stroke continuous playing (ie, starting from the end position and completely pushing back to the end position without completely returning to the rest position (ie, In the state where the key is pressed halfway down, half-stroke repeated hitting that repeats the key release operation and key pressing operation) has been described. However, the continuous hitting trajectory to which the present invention can be applied is not limited to the above, but from the rest position Any type of continuous hitting trajectory may be used, such as a type of continuous hitting trajectory in which the key pressing is started and the key release is started without being fully pressed to the end position and the operation is returned to the rest position again. Moreover, in the continuous hitting trajectory according to the above-described embodiment, an example in which a part of the trajectory is represented by a constant velocity trajectory has been described. Is also possible. In addition, according to the present invention, it is possible to perform a single-stroke key that follows a key-released slow-down trajectory by pressing the key following the key-pressing constant velocity trajectory and the key release following the key pressing by the same-key movement. According to the key depression slow-up trajectory, the key release following the key depression can be performed by a single stroke key following the key-released constant velocity trajectory. Furthermore, it is possible to perform single keystrokes according to key release slow-up trajectories by releasing keys according to the key release slow-down trajectory according to the key release slow-up trajectory according to the key release slow-up trajectory. Accordingly, it is possible to perform a single keystroke following a key-pressed constant velocity trajectory for the key depression following the key release. It is also possible to perform a repetitive hit performance combining these single hit keys.
In the above example, the generation of trajectory data for driving the key 1 has been described. However, the present invention is not limited to this. For example, the isokinetic trajectory according to the present invention is added to the trajectory data for automatically driving a pedal or the like. It is also possible to apply. The form of the automatic piano according to the present invention may be either a grand piano or an upright piano.

この発明の一実施例に係る自動ピアノの全体構成を示す図。The figure which shows the whole structure of the automatic piano which concerns on one Example of this invention. 同実施例に係る自動ピアノにおける電気的ハードウェア構成を示すブロック図。The block diagram which shows the electrical hardware constitutions in the automatic piano which concerns on the Example. 同実施例に係る鍵の連打軌道の一例を示す軌道図であり、(a)は該連打軌道の位置成分を示し、(b)は該連打軌道の速度成分を示し、(c)は該連打軌道の加速度成分を示し、(b)は該連打軌道の躍動成分を示す。It is a track | orbit figure which shows an example of the continuous hitting track | orbit of the key which concerns on the Example, (a) shows the position component of this repeated hitting track, (b) shows the velocity component of this repeated hitting track, (c) is this repeated hitting track. The acceleration component of the trajectory is shown, and (b) shows the dynamic component of the continuous hitting trajectory. 同実施例に係る自動ピアノのサーボ制御システム構成例を示す機能ブロック図。The functional block diagram which shows the servo control system structural example of the automatic piano which concerns on the Example. 同実施例に係る連打軌道の軌道データに従って鍵を駆動制御した際の制御結果を示す実測例を示すグラフ。The graph which shows the example of a measurement which shows the control result at the time of driving-controlling a key according to the track data of the continuous striking track based on the Example. 上記実施例の変更例であって、(a)は、この発明に係る等躍動軌道を単打打鍵に適用した場合の軌道図であり、(b)は従来から知られる等速度による単打打鍵の軌道を示し、(c)は従来から知られる等加速度による単打打鍵の軌道を示す。FIG. 5A is a modified example of the above embodiment, in which FIG. 5A is a trajectory diagram in the case where the equal dynamic trajectory according to the present invention is applied to a single keystroke, and FIG. (C) shows the trajectory of a single keystroke with a constant acceleration known conventionally.

符号の説明Explanation of symbols

1 鍵、2 アクション機構、3 ハンマ、4 弦、5 ダンパ、6 電磁ソレノイド、6a プランジャ、10 再生前処理部、11 モーションコントローラ、12 サーボコントローラ、25 キーセンサ、27 ハンマセンサ、28 記録制御部、29 記録後処理部、35 プランジャセンサ   1 key, 2 action mechanism, 3 hammer, 4 strings, 5 damper, 6 electromagnetic solenoid, 6a plunger, 10 playback pre-processing unit, 11 motion controller, 12 servo controller, 25 key sensor, 27 hammer sensor, 28 recording control unit, 29 Post-recording processing section, 35 Plunger sensor

Claims (5)

複数の鍵と、
前記複数の鍵の各々を個別に駆動するための駆動装置と、
演奏情報に基づき、自動的に操作されるべき特定の鍵の動きを規定するために、該特定の鍵の動きの位置、速度及び加速度成分の時間的変遷を表す1次的軌道データを生成する1次的軌道データ生成部と、
前記1次的軌道データにおける加速度成分に基づき前記特定の鍵の動きに関して、該加速度成分の単位時間当たりの変化を示す躍動成分を算出し、この躍動成分によって前記1次的軌道データを修正した2次的軌道データを生成する2次的軌道データ生成部と、
前記2次的軌道データに基づき、前記特定の鍵を駆動するために前記駆動装置を付勢する制御装置と
を備えることを特徴とする自動ピアノ。
Multiple keys,
A driving device for individually driving each of the plurality of keys;
Based on the performance information, in order to define the movement of a specific key to be automatically operated, primary trajectory data representing the temporal transition of the position, velocity and acceleration components of the specific key movement is generated. A primary trajectory data generator;
Based on the acceleration component in the primary trajectory data , a dynamic component indicating a change per unit time of the acceleration component with respect to the movement of the specific key is calculated, and the primary trajectory data is corrected by the dynamic component. A secondary trajectory data generating unit for generating secondary trajectory data;
An automatic piano comprising: a control device that biases the driving device to drive the specific key based on the secondary trajectory data.
前記1次的軌道データによって表わされる軌道には等加速度区間が含まれ、
前記2次的軌道データ生成部は、この等加速度区間の加速度成分に基づき、該区間で加速度を徐々に変化させるように前記躍動成分を算出し、この躍動成分によって前記1次的軌道データにおける前記等加速度区間に対応する区間で加速度が変化するように修正した2次的軌道データを生成することを特徴とする請求項1に記載の自動ピアノ。
The trajectory represented by the primary trajectory data includes a constant acceleration interval ,
The secondary trajectory data generation unit calculates the jump component so as to gradually change the acceleration in the interval based on the acceleration component of the constant acceleration interval, and the jump component in the primary trajectory data is calculated based on the jump component. 2. The automatic piano according to claim 1, wherein secondary trajectory data corrected so that acceleration changes in a section corresponding to a uniform acceleration section is generated.
前記2次的軌道データ生成部は、前記躍動成分の値を増減することで加速度が逐次変化するように前記1次的軌道データを修正し、これにより、前記等加速度区間に対応する区間で加速度が変化するように修正された前記2次的軌道データ生成することを特徴とする請求項2に記載の自動ピアノ。 The secondary trajectory data generation unit corrects the primary trajectory data so that the acceleration sequentially changes by increasing / decreasing the value of the dynamic component, and accordingly, acceleration is performed in a section corresponding to the uniform acceleration section . There piano of claim 2, wherein generating a modified said secondary orbital data were to vary. 前記1次的軌道データ生成部は、前記特定の鍵を等速で押鍵操作するときの押鍵等速軌道と等速で離鍵操作するときの離鍵等速軌道をそれぞれ算出し、該押鍵等速軌道と離鍵等速軌道の交差点を含む或る区間を等加速度区間に設定して押鍵から離鍵に切り替わる等加速度軌道を算出し、これらの等速軌道と等加速度軌道の組み合わせによって前記1次的軌道データを生成し、
前記2次的軌道データ生成部は、前記等加速度区間で或る一定値となる前記躍動成分を算出し、この躍動成分の一定値に従い加速度が逐次変化するように前記等加速度区間における加速度の軌道を変更することにより前記1次的軌道データを修正した前記2次的軌道データを生成することを特徴とする請求項1に記載の自動ピアノ。
The primary trajectory data generation unit calculates a key-pressed constant velocity trajectory when the specific key is pressed at a constant speed and a key-released constant velocity trajectory when the key is released at a constant speed, respectively. Set a certain section including the intersection of the key-pressed constant-speed trajectory and the key-released constant-speed trajectory as the constant-acceleration section, calculate the constant-acceleration trajectory that switches from key-pressing to key-release, Generating the primary trajectory data by combination;
The secondary trajectory data generation unit may calculate the dynamic component as a certain value at said equal acceleration section, the trajectory of acceleration in the such as an acceleration section as acceleration changes successively in accordance with a fixed value of the dynamic component piano according to claim 1, wherein the benzalkonium generate the secondary orbital data obtained by correcting the first-order trajectory data by changing the.
複数の鍵と、前記複数の鍵の各々を個別に駆動するための駆動装置とを有する自動ピアノにおいて、前記駆動装置により演奏情報に基づき鍵を自動的に操作するための処理をコンピュータに実行させるためプログラムであって、前記コンピュータに、
演奏情報に基づき、自動的に操作されるべき特定の鍵の動きを規定するために、該特定の鍵の位置、速度及び加速度の時間的変遷を表す1次的軌道データを生成する手順と、
前記1次的軌道データにおける加速度成分に基づき前記特定の鍵の動きに関して、該加速度成分の単位時間当たりの変化を示す躍動成分を算出し、この躍動成分によって前記1次的軌道データを修正した2次的軌道データを生成する手順と、
前記2次的軌道データに基づき、前記特定の鍵を自動的に操作するために前記駆動装置を駆動する手順
を実行させるプログラム
In an automatic piano having a plurality of keys and a driving device for individually driving each of the plurality of keys, the driving device causes a computer to execute a process for automatically operating keys based on performance information a program for, in the computer,
Generating primary trajectory data representing the temporal transition of the position, velocity and acceleration of the specific key to define the movement of the specific key to be automatically operated based on the performance information;
Based on the acceleration component in the primary trajectory data , a dynamic component indicating a change per unit time of the acceleration component with respect to the movement of the specific key is calculated, and the primary trajectory data is corrected by the dynamic component. A procedure for generating secondary trajectory data;
A program for executing a procedure for driving the driving device to automatically operate the specific key based on the secondary trajectory data .
JP2005055662A 2004-03-12 2005-03-01 Program for automatically operating automatic piano and keys Expired - Fee Related JP4670395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005055662A JP4670395B2 (en) 2004-03-12 2005-03-01 Program for automatically operating automatic piano and keys

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004071043 2004-03-12
JP2005055662A JP4670395B2 (en) 2004-03-12 2005-03-01 Program for automatically operating automatic piano and keys

Publications (2)

Publication Number Publication Date
JP2005292803A JP2005292803A (en) 2005-10-20
JP4670395B2 true JP4670395B2 (en) 2011-04-13

Family

ID=35325734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005055662A Expired - Fee Related JP4670395B2 (en) 2004-03-12 2005-03-01 Program for automatically operating automatic piano and keys

Country Status (1)

Country Link
JP (1) JP4670395B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4687474B2 (en) * 2006-01-26 2011-05-25 ヤマハ株式会社 Keyboard instrument
JP5298437B2 (en) * 2006-03-08 2013-09-25 ヤマハ株式会社 Keyboard instrument
JP4967406B2 (en) * 2006-03-27 2012-07-04 ヤマハ株式会社 Keyboard instrument
JP5320781B2 (en) * 2008-03-21 2013-10-23 ヤマハ株式会社 Force control device for electronic musical instruments

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003295863A (en) * 2002-04-03 2003-10-15 Kawai Musical Instr Mfg Co Ltd Key depression information detecting device for keyboard musical instrument

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3620063B2 (en) * 1994-03-25 2005-02-16 ヤマハ株式会社 Automatic piano and performance data processing device
JP3588872B2 (en) * 1995-09-19 2004-11-17 ヤマハ株式会社 Automatic piano
JP3772491B2 (en) * 1996-10-18 2006-05-10 ヤマハ株式会社 Keyboard force sense control device, keyboard force sense control method, and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003295863A (en) * 2002-04-03 2003-10-15 Kawai Musical Instr Mfg Co Ltd Key depression information detecting device for keyboard musical instrument

Also Published As

Publication number Publication date
JP2005292803A (en) 2005-10-20

Similar Documents

Publication Publication Date Title
JP4967406B2 (en) Keyboard instrument
JP4617921B2 (en) Musical instrument playback drive, keyboard instrument and automatic piano
JP4479554B2 (en) Keyboard instrument
JP5338401B2 (en) Key drive device, upright automatic piano and program
JP3587167B2 (en) Electronic musical instrument
JP4193752B2 (en) Automatic piano
JP4687474B2 (en) Keyboard instrument
US20070256550A1 (en) Automatic player musical instrument, testing system incorporated therein and method for specifying half pedal point
JP2006251633A (en) Keyboard musical instrument
US7235727B2 (en) Automatic piano, and method and program for automatically operating a key
JPH0981125A (en) Automatic piano
JP4670395B2 (en) Program for automatically operating automatic piano and keys
JP4134952B2 (en) Automatic piano
JP4222210B2 (en) Performance system
JP4661143B2 (en) A musical instrument performance driving apparatus, a method for driving a musical instrument performance operator by feedback control, and a control program for executing the method by a computer.
JP4548053B2 (en) A musical instrument performance driving apparatus, a method for driving a musical instrument performance operator by feedback control, and a control program for executing the method by a computer.
JP2014112221A (en) Drive control device for percussion member in sound production mechanism
JP3596015B2 (en) Automatic piano
JP3586882B2 (en) Automatic performance system for keyboard instruments
JP6064758B2 (en) Keyboard instrument
JP4222395B2 (en) Automatic piano
JP5104928B2 (en) Performance information playback device
JP5298437B2 (en) Keyboard instrument
JP4677800B2 (en) Performance information playback device
JP4815774B2 (en) Driving device and method for performance controller of automatic musical instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100909

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101221

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110103

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140128

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees