JP2010204369A - Device, and method for testing keyboard - Google Patents

Device, and method for testing keyboard Download PDF

Info

Publication number
JP2010204369A
JP2010204369A JP2009049536A JP2009049536A JP2010204369A JP 2010204369 A JP2010204369 A JP 2010204369A JP 2009049536 A JP2009049536 A JP 2009049536A JP 2009049536 A JP2009049536 A JP 2009049536A JP 2010204369 A JP2010204369 A JP 2010204369A
Authority
JP
Japan
Prior art keywords
key
load
switch
stroke
turned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009049536A
Other languages
Japanese (ja)
Other versions
JP5403225B2 (en
Inventor
Yukio Kamiya
幸男 神谷
Tatsuya Dejima
達也 出嶌
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009049536A priority Critical patent/JP5403225B2/en
Publication of JP2010204369A publication Critical patent/JP2010204369A/en
Application granted granted Critical
Publication of JP5403225B2 publication Critical patent/JP5403225B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a keyboard testing device for testing a key load value and a key stroke at the same time, when each of a plurality of key switches provided in a key is switched on. <P>SOLUTION: Position information H0 for showing a probe position, when a probe contacts a key face and a load value detected by a pressure sensor 28 is changed, is obtained. When the probe presses the key, and for example, four key switches SW1 to SW4 are provided in the key, testing data are generated at timing when they are sequentially switched on. Every time the testing data is generated, four sets of measurement data (position information H1, a load value L1) to (position information H4, a load value L4) of a pair of position information for showing the probe position, and the load values at that time, are obtained, and then, position information H5 for showing a probe position when the pressure sensor 28 outputs a full stroke load value, is obtained. Based on each of the obtained load values L1 to L4, and key strokes (H1-H0, H2-H0, H3-H0, H4-H0 and H5-H0), it is determined whether it is good or not. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、電子鍵盤楽器の鍵盤を検査する鍵盤検査装置、鍵盤検査方法およびプログラムに関する。   The present invention relates to a keyboard inspection device, a keyboard inspection method, and a program for inspecting a keyboard of an electronic keyboard instrument.

キーボード楽器などの電子鍵盤楽器では、鍵盤を構成する各鍵毎に複数の鍵スイッチを設け、押鍵による鍵の揺動に応じて、これら鍵スイッチがそれぞれONされるタイミング差から押鍵速度(ベロシティ)や、発生楽音の音色を制御する為のスイッチ信号を発生する鍵盤装置を備えており、この種の鍵盤装置については例えば特許文献1に開示されている。   In an electronic keyboard instrument such as a keyboard instrument, a plurality of key switches are provided for each key constituting the keyboard, and the key pressing speed ( And a keyboard device that generates a switch signal for controlling the tone of the generated musical tone. This type of keyboard device is disclosed in Patent Document 1, for example.

従来、こうした鍵盤装置を検査する工程では、鍵に加える静荷重とその静荷重に応じて沈降する鍵ストローク(鍵変位量)とが規定範囲に収まるか否かを判定する静特性検査の他、一定の押鍵速度で実際に鍵を押鍵し、これにより得られるベロシティの良否を判定する動特性検査を施すことが多い。 Conventionally, in the process of inspecting such a keyboard device, in addition to the static characteristic inspection for determining whether or not the static load applied to the key and the key stroke (key displacement amount) that settles according to the static load fall within a specified range, In many cases, a dynamic characteristic test is performed in which a key is actually pressed at a constant key pressing speed, and the velocity obtained thereby is judged as good or bad.

特許第3543845公報Japanese Patent No. 3543845

ところで、従来の鍵盤検査装置では、鍵盤の各鍵に配設される複数の鍵スイッチがそれぞれオンされる時の荷重値と、その鍵ストロークとを同時に検査することが出来ないという問題がある。
本発明は、このような事情に鑑みてなされたもので、鍵盤の各鍵に配設される複数の鍵スイッチがそれぞれオンされる時の荷重値と、その鍵ストロークとを同時に検査することができる鍵盤検査装置、鍵盤検査方法およびプログラムを提供することを目的としている。
By the way, the conventional keyboard inspection apparatus has a problem that it is impossible to inspect simultaneously the load value and the key stroke when each of the plurality of key switches arranged on each key of the keyboard is turned on.
The present invention has been made in view of such circumstances, and it is possible to simultaneously inspect a load value when each of a plurality of key switches arranged on each key of a keyboard is turned on and its key stroke. An object of the present invention is to provide a keyboard inspection device, a keyboard inspection method, and a program.

上記目的を達成するため、請求項1に記載の発明では、鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出手段と、押鍵部に加わる荷重値を検出する荷重検出手段と、押鍵部の鍵面当接による荷重変化を前記荷重検出手段が検出した時に、前記位置検出手段により検出される押鍵部の位置を初期位置として取得する初期位置取得手段と、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出手段により検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得手段と、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出手段により検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得手段と、前記ストローク位置取得手段により取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得手段により取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得手段により取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定手段とを具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, there is provided a position detecting means for detecting a position of a pressing / releasing portion that moves downward with respect to the key surface and presses a key on the keyboard, Load detecting means for detecting a load value applied to the key, and when the load detecting means detects a load change due to key surface contact of the key pressing section, the position of the key pressing section detected by the position detecting means is set as an initial position. The initial position acquisition means for acquiring and the position of the key pressing part detected by the position detection means each time a plurality of key switches provided on the key are sequentially turned on according to the key pressing of the key pressing part, A stroke position acquisition unit that acquires the stroke position at which the switch is turned on, and a load detection unit that detects each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression unit. The load value is the load at which the key switch is turned on. Each of the keys obtained by subtracting the initial position acquired by the initial position acquisition means from the stroke positions acquired by the load position acquisition means and the stroke position acquisition means, and the plurality of key switches are turned on. It is characterized by comprising pass / fail judgment means for judging pass / fail of a key stroke corresponding to a switch and a load value acquired by the load value acquisition means and each key switch being turned on.

上記請求項1に従属する請求項2に記載の発明では、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、少なくともオン状態となった鍵スイッチを表す検査データを発生する検査データ発生手段と、前記検査データ発生手段が発生した検査データを送信する送信手段と、前記送信手段により送信される検査データを受信する受信手段とを更に備え、前記ストローク位置取得手段は、前記受信手段が検査データを受信した時に、前記位置検出手段により検出される押鍵部の位置を、その受信した検査データで表される鍵スイッチがオンとなるストローク位置として取得し、前記荷重取得手段は、前記受信手段が検査データを受信した時に、前記荷重検出手段により検出される荷重値を、その受信した検査データで表される鍵スイッチがオンとなる荷重値として取得することを特徴とする。   In the invention according to claim 2, which is dependent on claim 1, the key switch which is turned on at least every time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression unit. Further comprising: test data generating means for generating test data representing the test data; transmitting means for transmitting the test data generated by the test data generating means; and receiving means for receiving the test data transmitted by the transmitting means, The stroke position acquisition means uses the position of the key pressing portion detected by the position detection means as the stroke position at which the key switch represented by the received inspection data is turned on when the receiving means receives the inspection data. The load acquiring means represents the load value detected by the load detecting means when the receiving means receives the inspection data, by the received inspection data. Wherein the key switch is obtained as a load value which is turned.

上記請求項2に従属する請求項3に記載の発明では、前記検査データ発生手段は、押鍵により各鍵スイッチが順次オンされる毎に、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを発生することを特徴とする。 In the invention according to claim 3, which is dependent on claim 2, the inspection data generating means generates a note-on event indicating a key press and a key pressed each time each key switch is sequentially turned on by the key press. The inspection data in the MIDI format is generated, which is composed of a note number representing the switch number and a switch number representing the key switch in the on state.

上記請求項1に従属する請求項4に記載の発明では、前記荷重検出手段がフルストローク荷重値を検出した時に、前記位置検出手段により検出される押鍵部の位置をフルストローク位置として取得するフルストローク位置取得手段を更に備え、前記良否判定手段は、前記フルストローク位置取得手段により取得されたフルストローク位置から前記初期位置取得手段により取得された初期位置分を差し引いた鍵のフルストロークの良否も判定することを特徴とする。 In the invention according to claim 4 that is dependent on claim 1, when the load detecting means detects a full stroke load value, the position of the key pressing portion detected by the position detecting means is acquired as a full stroke position. Full stroke position acquisition means is further provided, wherein the pass / fail determination means is obtained by subtracting the initial position acquired by the initial position acquisition means from the full stroke position acquired by the full stroke position acquisition means. Is also determined.

請求項5に記載の発明では、鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出過程と、押鍵部に加わる荷重値を検出する荷重検出過程と、押鍵部の鍵面当接による荷重変化を前記荷重検出過程で検出した時に、前記位置検出過程により検出される押鍵部の位置を初期位置として取得する初期位置取得過程と、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出過程により検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得過程と、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出過程で検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得過程と、前記ストローク位置取得過程により取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得過程で取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得過程で取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定過程とを具備することを特徴とする。 According to the fifth aspect of the present invention, a position detecting process for detecting the position of the pressing / separating portion that moves downward with respect to the key surface and presses the key of the keyboard, and a load value applied to the key pressing portion are detected. A load detection process, and an initial position acquisition process for acquiring, as an initial position, the position of the key pressing part detected by the position detection process when a load change due to the key surface contact of the key pressing part is detected in the load detection process; Each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression part, the position of the key depression part detected by the position detection process is determined as the stroke position at which the key switch is turned on. Each time a plurality of key switches provided on the key are sequentially turned on in accordance with the key depression of the key depression unit, the load value detected in the load detection process is calculated by the key switch. Get load value to be acquired as the load value to be turned on And a key stroke corresponding to each key switch obtained by subtracting the initial position obtained in the initial position obtaining process from each stroke position obtained by the stroke position obtaining process and turning on each of the plurality of key switches. And a pass / fail determination process for determining pass / fail with load values acquired in the load value acquisition process and each key switch being turned on.

請求項6に記載の発明では、コンピュータに、鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出ステップと、押鍵部に加わる荷重値を検出する荷重検出ステップと、押鍵部の鍵面当接による荷重変化を前記荷重検出ステップにて検出した時に、前記位置検出ステップにより検出される押鍵部の位置を初期位置として取得する初期位置取得ステップと、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出ステップにより検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得ステップと、鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出ステップで検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得ステップと、前記ストローク位置取得ステップにより取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得ステップで取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得ステップで取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定ステップとを実行させるを特徴とする。 In the invention according to claim 6, a position detecting step for detecting a position of a pushing / separating portion that moves downward relative to the key surface and pushes the key of the keyboard, and a load value applied to the key pushing portion. A load detecting step for detecting the key position, and an initial position for acquiring the position of the key pressing portion detected by the position detecting step when the load change due to the key surface contact of the key pressing portion is detected in the load detecting step. Each time a plurality of key switches provided in the key are sequentially turned on according to the key depression of the key depression unit, the key switch is turned on by the position detection step. Each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression unit, the load value detected in the load detection step is obtained as a stroke position to be obtained as a stroke position. ,key A load value acquisition step acquired as a load value at which the switch is turned on, and an initial position portion acquired at the initial position acquisition step from each stroke position at which the plurality of key switches are turned on, acquired by the stroke position acquisition step. And a pass / fail judgment step for judging pass / fail of each key switch corresponding to each key switch and a load value acquired in the load value acquisition step and each key switch being turned on. .

本発明では、鍵盤の各鍵に配設される複数の鍵スイッチがそれぞれオンされる時の荷重値と、その鍵ストロークとを同時に検査することができる。   In the present invention, it is possible to simultaneously inspect the load value and the key stroke when each of the plurality of key switches disposed on each key of the keyboard is turned on.

実施の一形態による鍵盤検査装置200および検査対象となる楽器本体100の構成を示すブロック図である。It is a block diagram which shows the structure of the keyboard test | inspection apparatus 200 by one Embodiment, and the musical instrument main body 100 used as test | inspection object. 検査治具300の構造を示す側面図である。4 is a side view showing the structure of an inspection jig 300. FIG. 水平摺動部302の移動方向を説明するための図である。It is a figure for demonstrating the moving direction of the horizontal sliding part. 垂直摺動部304の移動方向を説明するための図である。It is a figure for demonstrating the moving direction of the vertical sliding part. 楽器本体100において実行されるモード選択処理の動作を示すフローチャートである。4 is a flowchart showing an operation of mode selection processing executed in the musical instrument main body 100. 楽器本体100において実行される検査モード処理の動作を示すフローチャートである。5 is a flowchart showing an operation of inspection mode processing executed in the musical instrument main body 100. 鍵盤検査装置200において実行されるメインルーチンの動作を示すフローチャートである。4 is a flowchart showing an operation of a main routine executed in the keyboard inspection apparatus 200. 鍵盤検査装置200において実行される鍵盤検査処理の動作を示すフローチャートである。4 is a flowchart showing an operation of a keyboard inspection process executed in the keyboard inspection apparatus 200. 鍵盤検査処理により得られる位置情報、荷重値および検査データの構成を示す図である。It is a figure which shows the structure of the positional information obtained by a keyboard test | inspection process, a load value, and test | inspection data. 鍵盤検査装置200において実行される鍵盤検査処理の動作を説明するためのグラフである。6 is a graph for explaining an operation of a keyboard inspection process executed in the keyboard inspection apparatus 200. 鍵盤検査装置200において実行されるラインフロー制御処理の動作を示すフローチャートである。4 is a flowchart showing an operation of a line flow control process executed in the keyboard inspection apparatus 200.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
図1は、実施の一形態による鍵盤検査装置200の構成および検査対象となる楽器本体(電子鍵盤楽器)100の構成を示すブロック図である。以下、楽器本体100の構成と、鍵盤検査装置200の構成とについて説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Constitution
FIG. 1 is a block diagram showing a configuration of a keyboard inspection device 200 according to an embodiment and a configuration of an instrument body (electronic keyboard instrument) 100 to be inspected. Hereinafter, the configuration of the instrument main body 100 and the configuration of the keyboard inspection apparatus 200 will be described.

(1)楽器本体100の構成
図1において、CPU10は、「検査モード」および「通常モード」の2つの動作モードを有し、ユーザ操作により選択される動作モードで楽器各部を制御する。CPU10は、検査モードが選択された場合には検査モード処理(後述する)を実行し、一方、通常モードが選択された場合には、例えば操作部13の音色スイッチ操作に応じて設定される音色の楽音を、鍵盤14の押離鍵操作に応じて発音・消音するよう楽音発生部16に指示する通常モード処理を実行する。
(1) Configuration of Instrument Main Body 100 In FIG. 1, the CPU 10 has two operation modes of “inspection mode” and “normal mode”, and controls each part of the instrument in an operation mode selected by a user operation. When the inspection mode is selected, the CPU 10 executes an inspection mode process (described later). On the other hand, when the normal mode is selected, for example, a timbre set according to a timbre switch operation of the operation unit 13. A normal mode process is executed to instruct the musical tone generator 16 to generate and mute the musical tone of the musical instrument according to the key press / release operation of the keyboard 14.

ROM11は、CPU10により実行される各種プログラムや制御データなどを記憶する。ここで言う各種プログラムとは、後述するモード選択処理および検査モード処理を含む。RAM12は、各種レジスタ・フラグデータを一時記憶する。操作部13は、例えば電源をパワーオン/オフする電源スイッチの他、検査モード選択時に操作される検査モードスイッチや、通常モード下で使用される各種スイッチ(音色スイッチなど)を備え、操作されるスイッチ種に対応したスイッチイベントを発生する。操作部13が発生するスイッチイベントはCPU10に取り込まれる。 The ROM 11 stores various programs executed by the CPU 10, control data, and the like. The various programs mentioned here include a mode selection process and an inspection mode process which will be described later. The RAM 12 temporarily stores various register / flag data. The operation unit 13 includes, for example, a power switch for powering on / off the power supply, an inspection mode switch that is operated when an inspection mode is selected, and various switches (such as a timbre switch) that are used in a normal mode. A switch event corresponding to the switch type is generated. A switch event generated by the operation unit 13 is captured by the CPU 10.

鍵盤14は、検査モード下では押鍵操作に応じた鍵スイッチ情報を出力する。この鍵スイッチ情報は、CPU10により検査データに変換される。検査データとは、押鍵された鍵に配設される複数の鍵スイッチがそれぞれオンになる毎に発生するMIDI形式のデータであり、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成される。   The keyboard 14 outputs key switch information corresponding to the key pressing operation in the inspection mode. This key switch information is converted into inspection data by the CPU 10. The inspection data is MIDI format data that is generated each time a plurality of key switches arranged on the pressed key are turned on, and represents a note-on event indicating the key press and a key pressed. It consists of a note number and a switch number representing the key switch that is turned on.

具体的には、例えば検査データが「9n××01」である場合、先頭の「9(16進表示)」はノートオンイベントを、次の「n」は発音チャンネルを、「××」は押鍵された鍵のノートナンバ(音高)を、「01」はオンされた鍵スイッチのスイッチ番号をそれぞれ表す。 Specifically, for example, when the inspection data is “9nxx01”, the first “9 (hexadecimal display)” is a note-on event, the next “n” is a sound channel, and “xx” is The note number (pitch) of the key that was pressed, and “01” represents the switch number of the key switch that was turned on.

表示部15は、CPU10から供給される表示制御信号に従い、通常モード下では発生楽音に関する設定内容(音色やエフェクト種類など)や動作状態を画面表示し、一方、検査モード下では鍵盤検査実行中であることをユーザに報知する内容を画面表示する。楽音発生部16は、鍵盤14から出力される演奏情報に基づきCPU10が生成する楽音コマンド(発音又は消音指示)に従って楽音を形成して出力する。インタフェース部17は、CPU10の制御の下に、MIDIデータ(シリアルデータ)を授受する。インタフェース部17では、検査モード下において、CPU10が発生するMIDI形式の検査データを鍵盤検査装置200側に送出する。   In accordance with the display control signal supplied from the CPU 10, the display unit 15 displays the setting contents (tone color, effect type, etc.) relating to the generated musical tone and the operation state under the normal mode, while the keyboard inspection is being performed under the inspection mode. The content for notifying the user of the existence is displayed on the screen. The musical tone generator 16 forms and outputs musical sounds according to musical tone commands (sounding or muting instructions) generated by the CPU 10 based on performance information output from the keyboard 14. The interface unit 17 exchanges MIDI data (serial data) under the control of the CPU 10. The interface unit 17 sends MIDI-type inspection data generated by the CPU 10 to the keyboard inspection device 200 side in the inspection mode.

(2)鍵盤検査装置200の構成
上記楽器本体(電子鍵盤楽器)100が備える鍵盤14の各鍵について、複数の鍵スイッチがそれぞれONされる時の荷重値とその鍵ストロークとを同時に検査する鍵盤検査装置200は、CPU20、ROM21、RAM22、操作部23、表示部24、ライン制御部25、検査治具制御部26、インタフェース部27、圧力センサ28を備える。
(2) Configuration of Keyboard Inspection Device 200 A keyboard for simultaneously checking the load value and the key stroke when each of the plurality of key switches is turned on for each key of the keyboard 14 provided in the musical instrument main body (electronic keyboard instrument) 100. The inspection apparatus 200 includes a CPU 20, a ROM 21, a RAM 22, an operation unit 23, a display unit 24, a line control unit 25, an inspection jig control unit 26, an interface unit 27, and a pressure sensor 28.

CPU20は、操作部23から供給されるスイッチイベントに応じて装置各部を制御するものであり、本発明の要旨に係わる特徴的な処理の動作については追って詳述する。ROM21は、データエリアおよびプログラムエリアを備える。ROM21のデータエリアには、例えば検査治具300(後述する)を構成する水平摺動部302および垂直摺動部304の位置や移動速度を設定する検査用データや、検査結果の良否判定に用いる荷重上限値/下限値およびストローク上限値/下限値を含む判定データ等が記憶される。ROM21のプログラムエリアには、CPU20が実行する鍵盤検査処理(後述する)や、検査ラインで被検査品(楽器本体100)の搬送を制御するラインフロー制御処理(後述する)のプログラムなどをがストアされる。 The CPU 20 controls each part of the apparatus in response to a switch event supplied from the operation unit 23, and the characteristic processing operation according to the gist of the present invention will be described in detail later. The ROM 21 includes a data area and a program area. The data area of the ROM 21 is used, for example, for inspection data for setting the position and moving speed of the horizontal sliding portion 302 and the vertical sliding portion 304 constituting the inspection jig 300 (described later), and for determining the quality of the inspection result. Determination data including a load upper limit value / lower limit value and a stroke upper limit value / lower limit value are stored. In the program area of the ROM 21, there are stored a keyboard inspection process (described later) executed by the CPU 20 and a line flow control process (described later) program for controlling the conveyance of the inspected product (instrument main body 100) on the inspection line. Is done.

RAM22は、各種レジスタ・フラグデータを一時記憶するワークエリアの他、各種検査で測定されたデータを格納する検査データエリアを備える。操作部23は、装置電源をパワーオン/オフする電源スイッチ、検査開始を指示する検査開始スイッチおよび検査終了を指示する検査終了スイッチ等を備え、操作されるスイッチ種に対応したスイッチイベントを発生する。操作部23が発生するスイッチイベントはCPU20に取り込まれる。表示部24は、CPU20から供給される表示制御信号に従って、例えば検査進行状況や検査結果(良否判定結果)などを画面表示する。 The RAM 22 includes an inspection data area for storing data measured by various inspections in addition to a work area for temporarily storing various register / flag data. The operation unit 23 includes a power switch for powering on / off the apparatus power supply, a test start switch for instructing test start, a test end switch for instructing test end, and the like, and generates a switch event corresponding to the type of switch to be operated. . A switch event generated by the operation unit 23 is captured by the CPU 20. In accordance with the display control signal supplied from the CPU 20, the display unit 24 displays, for example, the examination progress status and the examination result (quality determination result) on the screen.

ライン制御部25は、CPU20からの指示に従って、検査ラインを構成する搬送装置(不図示)に楽器本体100の搬送/停止を指示する制御信号を発生する。検査治具制御部26は、CPU20からの指示に従い、検査治具300(後述する)を構成する水平摺動部302および垂直摺動部304を駆動制御する。また、検査治具制御部26は、垂直摺動部304が発生するエンコーダ出力をプローブ305の先端位置を表す位置情報に変換してCPU20に供給する。インタフェース部27は、CPU20の制御の下に、楽器本体100側から出力される検査データを取り込んでRAM22の検査データエリアに格納する。 In accordance with an instruction from the CPU 20, the line control unit 25 generates a control signal for instructing conveyance / stop of the instrument main body 100 to a conveyance device (not shown) constituting the inspection line. The inspection jig control unit 26 drives and controls a horizontal sliding part 302 and a vertical sliding part 304 that constitute an inspection jig 300 (described later) in accordance with an instruction from the CPU 20. Further, the inspection jig control unit 26 converts the encoder output generated by the vertical sliding unit 304 into position information representing the tip position of the probe 305 and supplies the position information to the CPU 20. The interface unit 27 takes in the inspection data output from the instrument main body 100 under the control of the CPU 20 and stores it in the inspection data area of the RAM 22.

圧力センサ28は、楽器本体100における鍵盤14の鍵を押鍵するプローブ305(後述する)の先端部に配設される感圧素子(例えば感圧導電性エラストマー等)および当該感圧素子の出力を圧力データに変換するA/D変換器等から構成される。圧力センサ28は、プローブ305が下降して押鍵する際の荷重、すなわちプローブ305が鍵面に当接した時点からフルストローク位置に達するまでの荷重を検出してなる圧力データを発生する。この圧力データは、CPU20の制御の下に、RAM22の検査データエリアにストアされる。 The pressure sensor 28 is a pressure-sensitive element (for example, a pressure-sensitive conductive elastomer) disposed at the tip of a probe 305 (described later) that presses the key of the keyboard 14 in the instrument body 100, and an output of the pressure-sensitive element. Is composed of an A / D converter or the like that converts pressure into pressure data. The pressure sensor 28 generates pressure data obtained by detecting a load when the probe 305 is lowered and pressed, that is, a load from when the probe 305 contacts the key surface until reaching the full stroke position. This pressure data is stored in the inspection data area of the RAM 22 under the control of the CPU 20.

(3)検査治具300の構造
次に、図2〜図4を参照して鍵盤検査装置200の検査治具制御部26により駆動制御される検査治具300の概略構造について説明する。図2は、検査治具300の概略構造を示す側面図である。この図に示すように、検査治具300は、移動部301、水平摺動部302、検査台303、垂直摺動部304および先端に上述の感圧素子(圧力センサ28)が配設されるプローブ305から構成される。
(3) Structure of Inspection Jig 300 Next, a schematic structure of the inspection jig 300 that is driven and controlled by the inspection jig control unit 26 of the keyboard inspection apparatus 200 will be described with reference to FIGS. FIG. 2 is a side view showing a schematic structure of the inspection jig 300. As shown in this figure, the inspection jig 300 is provided with a moving part 301, a horizontal sliding part 302, an inspection table 303, a vertical sliding part 304, and the pressure sensitive element (pressure sensor 28) at the tip. The probe 305 is configured.

移動部301は、水平フレームと垂直フレームとから形成される側面視L字形状の部材であり、水平フレームには水平摺動部302が、垂直フレームには垂直摺動部304がそれぞれ配設される。水平摺動部302は、上述した検査治具制御部26から供給される駆動制御信号に応じて移動部301全体を水平方向に摺動移動させる。具体的には、図3に図示するように、水平摺動部302はプローブ305が検査台303上の楽器本体100の鍵盤14鍵を押離鍵する毎に、次の鍵の位置へ移動部301を水平方向に移動させる。 The moving part 301 is an L-shaped member formed from a horizontal frame and a vertical frame. The horizontal sliding part 302 is disposed on the horizontal frame, and the vertical sliding part 304 is disposed on the vertical frame. The The horizontal sliding part 302 slides and moves the entire moving part 301 in the horizontal direction in accordance with the drive control signal supplied from the inspection jig control part 26 described above. Specifically, as shown in FIG. 3, the horizontal sliding portion 302 moves to the next key position every time the probe 305 presses and releases the 14 keys of the instrument body 100 on the examination table 303. 301 is moved in the horizontal direction.

垂直摺動部304は、上述した検査治具制御部26から供給される駆動制御信号に応じてプローブ305を垂直方向(上下方向)に摺動移動させ、検査台303上の楽器本体100の鍵盤14の鍵を押離鍵する。具体的には、図4に図示する通り、垂直摺動部304が下方向に移動し、これによりプローブ305の先端に設けられる感圧素子(圧力センサ28)が楽器本体100の鍵盤14の鍵を押鍵する。 The vertical sliding unit 304 slides the probe 305 in the vertical direction (up and down direction) in accordance with the drive control signal supplied from the above-described inspection jig control unit 26, and the keyboard of the instrument main body 100 on the inspection table 303. Press and release 14 keys. Specifically, as shown in FIG. 4, the vertical sliding portion 304 moves downward, whereby the pressure-sensitive element (pressure sensor 28) provided at the tip of the probe 305 becomes a key of the keyboard 14 of the instrument body 100. Press the key.

また、垂直摺動部304は、摺動移動量を計測するエンコーダを有し、検査治具制御部26の駆動制御に応じて垂直方向(上下方向)に摺動移動する場合に、プローブ305の先端位置を表すエンコーダ出力を発生して検査治具制御部26に供給する。上述したように、検査治具制御部26では、取得したエンコーダ出力をプローブ305の先端位置を表す位置情報に変換してCPU20に供給する。 Further, the vertical sliding portion 304 has an encoder for measuring the sliding movement amount. When the vertical sliding portion 304 slides in the vertical direction (up and down direction) according to the drive control of the inspection jig control portion 26, the vertical sliding portion 304 An encoder output representing the tip position is generated and supplied to the inspection jig controller 26. As described above, the inspection jig control unit 26 converts the acquired encoder output into position information representing the tip position of the probe 305 and supplies it to the CPU 20.

なお、本実施形態では、後述する動作説明の簡略化を図るために単鍵の押離鍵毎に次の鍵の位置に移動する形態としているが、実際には複数の鍵(例えば1オクターブ鍵域の鍵)を同時にまとめて押離鍵するようになっている。また、楽器本体100は、図示されていない搬送装置によって検査台303上に載置されるようになっている。 In this embodiment, in order to simplify the description of the operation to be described later, it is configured to move to the next key position for each single key pressed / released key. However, in practice, a plurality of keys (for example, one octave key) are used. The keys of the area) are simultaneously pressed and released. The musical instrument main body 100 is placed on the inspection table 303 by a transport device (not shown).

B.動作
次に、図5〜図6を参照して楽器本体100のCPU10において実行されるモード選択処理および検査モード処理の各動作を説明した後、図7〜図11を参照して鍵盤検査装置200のCPU20において実行される鍵盤検査処理およびラインフロー制御処理の各動作について説明する。
B. Action
Next, after describing each operation of the mode selection process and the inspection mode process executed in the CPU 10 of the musical instrument main body 100 with reference to FIGS. 5 to 6, the keyboard inspection apparatus 200 will be described with reference to FIGS. 7 to 11. Each operation of the keyboard inspection process and the line flow control process executed by the CPU 20 will be described.

(1)楽器本体100の動作
図5は、楽器本体100のCPU10が実行するモード選択処理の動作を示すフローチャートである。図4は、楽器本体100のCPU10が実行する検査モード処理の動作を示すフローチャートである。
(1) Operation of Musical Instrument Main Body 100 FIG. 5 is a flowchart showing the operation of mode selection processing executed by the CPU 10 of the musical instrument main body 100. FIG. 4 is a flowchart showing the operation of the inspection mode process executed by the CPU 10 of the musical instrument main body 100.

楽器本体100の電源が投入されると、CPU10は図5に図示するモード選択処理のステップSA1に進み、検査モードスイッチが押下操作された状態で電源オンされたか否かを判断する。検査モードスイッチが押下操作されずに電源オンされた場合には、上記ステップSA1の判断結果が「NO」になり、ステップSA2に進み、押離鍵操作(演奏操作)に応じて発生する演奏情報に基づき楽音形成する通常モード処理を実行する。 When the power of the musical instrument main body 100 is turned on, the CPU 10 proceeds to step SA1 of the mode selection process shown in FIG. 5, and determines whether or not the power is turned on in a state where the inspection mode switch is pressed. If the power is turned on without pressing the inspection mode switch, the determination result in step SA1 is “NO”, the process proceeds to step SA2, and the performance information generated in response to the pressing / releasing key operation (performance operation). A normal mode process for forming a musical tone based on the above is executed.

これに対し、検査モードスイッチが押下操作された状態で電源オンされると、上記ステップSA1の判断結果は「YES」となり、ステップSA3を介して検査モード処理を実行する。検査モード処理が実行されると、CPU10は、図6に図示するステップSB1に進み、楽器本体100の各部を初期化するイニシャライズを実行する。次いで、ステップSB2では、ポインタnに初期値「1」をセットする。なお、このポインタは鍵盤14の各鍵に設けられる鍵スイッチのスイッチ番号を表す値となる。   On the other hand, when the power is turned on while the inspection mode switch is pressed, the determination result in step SA1 is “YES”, and the inspection mode process is executed via step SA3. When the inspection mode process is executed, the CPU 10 proceeds to step SB1 shown in FIG. 6 and executes initialization to initialize each part of the instrument main body 100. Next, in step SB2, an initial value “1” is set to the pointer n. The pointer is a value representing the switch number of the key switch provided for each key of the keyboard 14.

続いて、ステップSB3では、ポインタnで指定されるスイッチ番号の鍵スイッチSW(n)がオンするまで待機する。すなわち、最初のパスでは、押鍵される鍵において、スイッチ番号「1」の鍵スイッチがオンされるまで待機する。そして、スイッチ番号「1」の鍵スイッチがオンされると、判断結果が「YES」になり、ステップSB4に進む。ステップSB4では、押鍵によりスイッチ番号「1」の鍵スイッチがオンされたことを表すMIDI形式の検査データを発生し、これをインタフェース部17から鍵盤検査装置200側に送信する。   Subsequently, in step SB3, the process waits until the key switch SW (n) having the switch number designated by the pointer n is turned on. That is, in the first pass, the process waits until the key switch with the switch number “1” is turned on in the key to be pressed. When the key switch with the switch number “1” is turned on, the determination result is “YES”, and the process proceeds to Step SB4. In step SB4, MIDI-type inspection data indicating that the key switch with the switch number “1” is turned on by pressing the key is generated and transmitted from the interface unit 17 to the keyboard inspection device 200 side.

こうして、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを鍵盤検査装置200側に送信し終えると、ステップSB5に進み、鍵スイッチのスイッチ番号を表すポインタnをインクリメントして歩進させ、続くステップSB6では、歩進したポインタnで指定される鍵スイッチの有無を判断する。歩進したポインタnで指定される鍵スイッチが有る場合には、上記ステップSB6の判断結果は「YES」になり、上記ステップSB3に処理を戻す。   In this way, transmission of MIDI-type inspection data composed of a note-on event representing a key depression, a note number representing a key depressed, and a switch number representing a key switch in an on state has been transmitted to the keyboard inspection apparatus 200 side. In step SB5, the pointer n indicating the switch number of the key switch is incremented and incremented, and in the subsequent step SB6, it is determined whether or not there is a key switch designated by the incremented pointer n. If there is a key switch designated by the stepped pointer n, the determination result in step SB6 is “YES”, and the process returns to step SB3.

以後、上述したステップSB3〜SB6を繰り返すことによって、鍵スイッチが順次オンされるのに伴って検査データを発生して鍵盤検査装置200側に送信する。そして、歩進したポインタnで指定される鍵スイッチが無くなる場合、つまり全ての鍵スイッチがオンされ、それに対応する検査データを送信し終えると、上記ステップSB6の判断結果は「NO」となり、ステップSB7に進み、検査モード終了スイッチがオン操作されたかどうかを判断する。検査モード終了スイッチがオン操作されず、次の鍵について検査を継続する場合には、判断結果が「NO」になり、上述のステップSB2に処理を戻す。一方、検査を終了すべく検査モード終了スイッチがオン操作されると、上記ステップSB7の判断結果は「YES」になり、本処理を終える。   Thereafter, by repeating steps SB3 to SB6 described above, inspection data is generated and transmitted to the keyboard inspection apparatus 200 side as the key switches are sequentially turned on. When there is no key switch designated by the stepped pointer n, that is, when all the key switches are turned on and the transmission of the corresponding inspection data is completed, the determination result at step SB6 is “NO”. Proceeding to SB7, it is determined whether or not the inspection mode end switch has been turned on. If the inspection mode end switch is not turned on and the inspection is continued for the next key, the determination result is “NO”, and the process returns to step SB2. On the other hand, when the inspection mode end switch is turned on to end the inspection, the determination result in the above step SB7 becomes “YES”, and this processing is finished.

このように、楽器本体100側では、検査モードスイッチを押下操作した状態で電源オンされると、検査モード処理が実行される。そして、検査モード処理では、押鍵された鍵に配設される鍵スイッチが順次オンされる毎に、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを発生して鍵盤検査装置200側に送信する。   Thus, on the musical instrument main body 100 side, when the power is turned on in a state where the inspection mode switch is pressed, the inspection mode process is executed. In the inspection mode process, each time the key switch disposed on the pressed key is sequentially turned on, the note-on event indicating the pressed key, the note number indicating the pressed key, and the on state are set. Inspection data in the MIDI format composed of switch numbers representing the key switches is generated and transmitted to the keyboard inspection apparatus 200 side.

(2)鍵盤検査装置200の動作
<メインルーチンの動作>
鍵盤検査装置200では、電源が投入されると、CPU20が図7に図示するメインルーチンを実行してステップSC1に進み、装置各部を初期化するイニシャライズを行った後、ステップSC2に進む。ステップSC2では、後述するように、押鍵に応じて楽器本体100が発生する検査データを受信した時の荷重値および鍵ストロークを取得して良否判定する鍵盤検査処理を実行する。
(2) Operation of keyboard inspection device 200 <Operation of main routine>
In the keyboard inspection apparatus 200, when the power is turned on, the CPU 20 executes the main routine shown in FIG. 7 and proceeds to step SC1, performs initialization for initializing each part of the apparatus, and then proceeds to step SC2. In step SC2, as will be described later, a keyboard inspection process is performed in which the load value and the key stroke when the inspection data generated by the musical instrument main body 100 is received in response to the key depression are acquired to determine whether or not pass / fail.

続いて、ステップSC3では、上記ステップSC2の鍵盤検査処理にて得られた良否判定結果(NGフラグセットの有無)に基づき搬送装置に楽器本体100の搬送/停止を指示するラインフロー制御処理を実行する。そして、その他の処理を実行した後、上述のステップSC2に処理を戻す。以後、鍵盤検査装置200の電源がオフされる迄、上記ステップSC2〜SC4を繰り返す。 Subsequently, in step SC3, line flow control processing for instructing the transport device to transport / stop the instrument main body 100 based on the pass / fail determination result (whether or not the NG flag is set) obtained in the keyboard inspection process in step SC2 is executed. To do. Then, after other processing is executed, the processing is returned to step SC2. Thereafter, the above steps SC2 to SC4 are repeated until the power of the keyboard inspection apparatus 200 is turned off.

<鍵盤検査処理の動作>
上述したメインルーチンのステップSC2を介して本処理が実行されると、鍵盤検査装置200では、CPU20が図8に図示する鍵盤検査処理を実行してステップSD1に進み、例えば検査治具300のプローブ305(図2参照)を押鍵すべき鍵に対向するよう位置決めする等、装置各部を初期化するイニシャライズを行う。続いて、ステップSD2では、検査治具制御部26に対してプローブ305の下降指示を与える。これにより、垂直摺動部304は、検査治具制御部26から供給される駆動制御信号に応じてプローブ305を下方向に摺動移動させる。
<Operation of keyboard inspection process>
When this process is executed through step SC2 of the main routine described above, in the keyboard inspection apparatus 200, the CPU 20 executes the keyboard inspection process shown in FIG. 8 and proceeds to step SD1, for example, the probe of the inspection jig 300 Initialization is performed to initialize each part of the apparatus, such as positioning 305 (see FIG. 2) to face the key to be pressed. Subsequently, in step SD2, an instruction to lower the probe 305 is given to the inspection jig controller 26. Thereby, the vertical sliding part 304 slides and moves the probe 305 downward according to the drive control signal supplied from the inspection jig control part 26.

次いで、ステップSD3では、プローブ305の下降に伴い、検査治具制御部26が発生する位置情報と圧力センサ28が発生する荷重値との取り込みを開始する。そして、プローブ305が下降し続ける過程で、押鍵する鍵の鍵面に当接し、これにより圧力センサ28から出力される荷重値に変化が生じたとする。そうすると、ステップSD4において、鍵面接触による荷重変化が生じた時のプローブ305の先端位置を表す位置情報H0(初期位置)を取得してRAM22の検査データエリアにストアする。   Next, in step SD3, as the probe 305 is lowered, the loading of the position information generated by the inspection jig control unit 26 and the load value generated by the pressure sensor 28 is started. Then, it is assumed that in the process in which the probe 305 continues to descend, the load value output from the pressure sensor 28 changes due to contact with the key surface of the key to be pressed. Then, in step SD4, position information H0 (initial position) indicating the tip position of the probe 305 when a load change due to key surface contact occurs is acquired and stored in the inspection data area of the RAM 22.

この後、プローブ305は鍵面に当接した後も下降し続けて鍵を押鍵する。楽器本体100側では、前述したように、押鍵された鍵に配設される鍵スイッチが順次オンされる毎に、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを発生して鍵盤検査装置200に送出する。   Thereafter, the probe 305 continues to descend even after contacting the key surface and presses the key. On the musical instrument main body 100 side, as described above, each time the key switch disposed on the depressed key is sequentially turned on, the note-on event representing the depressed key, the note number representing the depressed key, and the ON The inspection data in the MIDI format composed of the switch number representing the key switch in the state is generated and sent to the keyboard inspection apparatus 200.

本実施形態では、楽器本体100の鍵盤14の各鍵あたり4つの鍵スイッチSW1〜SW4を備えるものとする。したがって、押鍵により鍵スイッチSW1〜SW4が順次オンされる毎に検査データ「9n××01」、「9n××02」、「9n××03」、「9n××04」が発生して鍵盤検査装置200に送出される。 In the present embodiment, four key switches SW1 to SW4 are provided for each key of the keyboard 14 of the musical instrument main body 100. Therefore, each time the key switches SW1 to SW4 are sequentially turned on by pressing the key, the inspection data “9n × 01”, “9n × 02”, “9n × 03”, “9n × 04” are generated. It is sent to the keyboard inspection device 200.

ステップSD5では、先ず楽器本体100側から検査データ「9n××01」を受信した時のプローブ305の先端位置を表す位置情報H1および荷重値L1を取得し、次に検査データ「9n××02」を受信した時のプローブ305の先端位置を表す位置情報H2および荷重値L2を取得する。さらに、検査データ「9n××03」を受信した時のプローブ305の先端位置を表す位置情報H3および荷重値L3を取得し、続いて検査データ「9n××04」を受信した時のプローブ305の先端位置を表す位置情報H4および荷重値L4を取得した後、図9に図示するように、位置情報H1〜H4、荷重値L1〜L4および検査データ「9n××01」〜「9n××04」を対応付けてRAM22の検査データエリアにストアする。   In step SD5, first, the position information H1 indicating the tip position of the probe 305 when the inspection data “9n × 01” is received from the instrument body 100 side and the load value L1 are acquired, and then the inspection data “9n × 02” is obtained. The position information H2 and the load value L2 representing the tip position of the probe 305 at the time of receiving "are acquired. Furthermore, the position information H3 indicating the tip position of the probe 305 when the inspection data “9n × 03” is received and the load value L3 are acquired, and then the probe 305 when the inspection data “9n × 04” is received. After obtaining the position information H4 and the load value L4 representing the tip position, position information H1 to H4, the load values L1 to L4 and the inspection data “9nxx01” to “9nxxx, as shown in FIG. 04 ”is stored in the inspection data area of the RAM 22 in association with each other.

こうして、プローブ305の下降により押鍵される鍵の鍵スイッチSW1〜SW4の全てがオンされた後、プローブ305の先端が鍵のフルストロークに到達し、これにより圧力センサ28がフルストローク荷重値を出力したとする。そうすると、ステップSD6において、フルストローク荷重値に達した時のプローブ305の先端位置を表す位置情報H5を取得してRAM22の検査データエリアにストアする。   Thus, after all of the key switches SW1 to SW4 of the key to be pressed by the lowering of the probe 305 are turned on, the tip of the probe 305 reaches the full stroke of the key, whereby the pressure sensor 28 indicates the full stroke load value. Suppose that it outputs. Then, in step SD6, position information H5 indicating the tip position of the probe 305 when the full stroke load value is reached is acquired and stored in the inspection data area of the RAM 22.

次いで、ステップSD7では、検査治具制御部26に対してプローブ305の上昇指示を与える。これにより、垂直摺動部304は、検査治具制御部26から供給される駆動制御信号に応じてプローブ305が原点復帰するまで上方向に摺動移動させる。この後、ステップSD8に進み、上記ステップSD5において取得した一連のデータ、すなわち鍵スイッチSW1〜SW4がそれぞれONされた時の荷重値L1〜L4および各鍵ストローク(H1−H0,H2−H0,H3−H0,H4−H0,H5−H0)が、ROM21に記憶される上下限規定範囲内に収まっているかどうかを判定する。   Next, in step SD7, an instruction to raise the probe 305 is given to the inspection jig controller 26. Accordingly, the vertical sliding portion 304 is slid upward until the probe 305 returns to the origin in accordance with the drive control signal supplied from the inspection jig control portion 26. Thereafter, the process proceeds to step SD8, and a series of data acquired in step SD5, that is, load values L1 to L4 and key strokes (H1-H0, H2-H0, H3 when the key switches SW1 to SW4 are turned on, respectively). -H0, H4-H0, H5-H0) are determined to be within the upper and lower limit prescribed ranges stored in the ROM 21.

つまり、図10(a)に図示するように、各鍵スイッチSW1〜SW4(x軸)に各々規定される荷重上限値/下限値で規定される範囲内に、上記ステップSD5で取得された荷重値L1〜L4が収まるか否かを判断し、さらに同図(b)に図示するように、各鍵スイッチSW1〜SW4(x軸)に各々規定されるストローク上限値/下限値で規定される範囲内に、各鍵ストローク(H1−H0,H2−H0,H3−H0,H4−H0,H5−H0)が収まるか否かを判断する。 That is, as illustrated in FIG. 10A, the load acquired in step SD5 is within the range defined by the load upper limit value / lower limit value defined for each of the key switches SW1 to SW4 (x axis). It is determined whether or not the values L1 to L4 can be accommodated. Further, as shown in FIG. 5B, the strokes are defined by stroke upper limit values / lower limit values respectively defined for the key switches SW1 to SW4 (x axis). It is determined whether or not each key stroke (H1-H0, H2-H0, H3-H0, H4-H0, H5-H0) falls within the range.

なお、鍵ストロークH1−H0は、位置情報H0で表される初期位置から鍵スイッチSW1がオンとなる位置までの距離を、鍵ストロークH2−H0は、初期位置から鍵スイッチSW2がオンとなる位置までの距離を、鍵ストロークH3−H0は、初期位置から鍵スイッチSW3がオンとなる位置までの距離を、鍵ストロークH4−H0は、初期位置から鍵スイッチSW4がオンとなる位置までの距離を、鍵ストロークH5−H0は、初期位置からフルストローク位置までの距離をそれぞれ表す。 The key stroke H1-H0 is the distance from the initial position represented by the position information H0 to the position where the key switch SW1 is turned on, and the key stroke H2-H0 is the position where the key switch SW2 is turned on from the initial position. The key stroke H3-H0 is the distance from the initial position to the position where the key switch SW3 is turned on, and the key stroke H4-H0 is the distance from the initial position to the position where the key switch SW4 is turned on. The key strokes H5-H0 represent the distances from the initial position to the full stroke position, respectively.

上下限規定範囲内に収まれば、上記ステップSD8の判断結果は「YES」になり、ステップSD9に進み、鍵スイッチSW1〜SW4がそれぞれオンされる時の荷重値と、その鍵ストロークとが適正である旨を示すOK表示を表示部23に画面表示する。一方、上下限規定範囲から逸脱したデータが存在する場合には、上記ステップSD8の判断結果が「NO」になり、ステップSD10に進む。ステップSD10では、不適となったデータ項目のNG表示を表示部23に画面表示すると共に、不適となったデータ項目にNGフラグをセットする。   If it falls within the upper and lower limit stipulated range, the determination result in step SD8 is “YES”, the process proceeds to step SD9, and the load value and the key stroke when the key switches SW1 to SW4 are turned on are appropriate. An OK display indicating the presence is displayed on the display unit 23 on the screen. On the other hand, if there is data that deviates from the upper / lower limit specified range, the determination result in step SD8 is “NO”, and the process proceeds to step SD10. In step SD10, an NG display of the inappropriate data item is displayed on the display 23, and an NG flag is set for the inappropriate data item.

続いて、ステップSD11では、検査終了スイッチがオン操作されたか否かを判断する。検査終了スイッチがオン操作されなければ、判断結果は「NO」となり、ステップSD12に進み、検査治具制御部26に対して次の鍵位置にプローブ305を移動させるよう指示する。これにより、水平摺動部302は、検査治具制御部26から供給される駆動制御信号に応じて、プローブ305を次の鍵の位置に移動させる。この後、前述したステップSD2に処理を戻し、次の鍵について上述した一連の検査動作を実行する。 Subsequently, in step SD11, it is determined whether or not the inspection end switch has been turned on. If the inspection end switch is not turned on, the determination result is “NO”, and the process proceeds to step SD12 to instruct the inspection jig controller 26 to move the probe 305 to the next key position. As a result, the horizontal sliding portion 302 moves the probe 305 to the next key position in accordance with the drive control signal supplied from the inspection jig control portion 26. Thereafter, the processing is returned to the above-described step SD2, and the above-described series of checking operations are executed for the next key.

このようにして、楽器本体100の鍵盤14における全ての鍵について検査し終え、検査終了スイッチがオン操作されると、上記ステップSD11の判断結果が「YES」になり、ステップSD13に進み、例えば取得した一連の検査データを不揮発性記録媒体(不図示)に転送して保存する等の終了処理を実行して本処理を終える。 In this way, when all the keys on the keyboard 14 of the musical instrument main body 100 have been inspected and the inspection end switch is turned on, the determination result in step SD11 is “YES”, and the process proceeds to step SD13, for example, acquisition. An end process such as transferring and storing the series of inspection data to a non-volatile recording medium (not shown) is executed, and this process ends.

<ラインフロー制御処理の動作>
前述したメインルーチンのステップSC3(図7参照)を介して本処理が実行されると、CPU20は図11に図示するステップSE1に進み、NGフラグセットの有無、すなわち上述した鍵盤検査処理のステップSD10(図8参照)において、上下限規定範囲を逸脱したデータ項目(荷重値L1〜L4/位置情報H1〜H4のいずれか)にNGフラグがセットされたかどうかを判断する。NGフラグがセットされなければ、判断結果は「NO」になり、ステップSE2に進む。
<Operation of line flow control processing>
When this process is executed via step SC3 (see FIG. 7) of the main routine described above, the CPU 20 proceeds to step SE1 shown in FIG. 11, and the presence / absence of the NG flag set, that is, step SD10 of the keyboard inspection process described above. In (see FIG. 8), it is determined whether or not the NG flag is set in the data item (load value L1 to L4 / position information H1 to H4) that deviates from the upper and lower limit specified range. If the NG flag is not set, the determination result is “NO”, and the flow proceeds to step SE2.

ステップSE2では、図示されていない搬送装置に対して楽器本体100の搬送を指示して本処理を終える。この場合、検査に合格した楽器本体100が検査台303から搬出される一方、次の検査品となる楽器本体100が検査台303に新たに搬入される。これに対し、NGフラグがセットされると、上記ステップSE1の判断結果が「YES」になり、ステップSE3に進み、図示されていない搬送装置に対して楽器本体100の搬送停止を指示して本処理を終える。この場合、検査に不合格となった楽器本体100において、NGフラグがセットされたデータ項目について調整作業が行われた後、再検査される。   In step SE2, the transport apparatus (not shown) is instructed to transport the musical instrument main body 100, and the process ends. In this case, the instrument main body 100 that has passed the inspection is unloaded from the inspection table 303, while the instrument main body 100 that is the next inspection product is newly loaded into the inspection table 303. On the other hand, when the NG flag is set, the determination result in step SE1 is “YES”, and the process proceeds to step SE3 to instruct the conveyance device (not shown) to stop the conveyance of the musical instrument main body 100. Finish the process. In this case, in the musical instrument main body 100 that has failed the inspection, the data item for which the NG flag is set is adjusted and then re-inspected.

以上説明したように、本実施形態では、プローブ305が下降して押鍵する鍵の鍵面に当接し、これにより圧力センサ28により検出される荷重値に変化が生じると、鍵面に接触したプローブ305の位置を表す位置情報H0を取得する。そして、さらにプローブ305が下降して鍵を押鍵すると、楽器本体100側では、押鍵された鍵に配設される鍵スイッチが順次オンされる毎に、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを発生する。例えば鍵に4つの鍵スイッチSW1〜SW4が設けられている場合には、それらが順次オンされるタイミングで検査データを発生する。   As described above, in this embodiment, when the probe 305 descends and comes into contact with the key surface of the key to be depressed, and the load value detected by the pressure sensor 28 changes, the probe 305 comes into contact with the key surface. Position information H0 representing the position of the probe 305 is acquired. When the probe 305 is further lowered to press the key, the instrument main body 100 side each time a key switch disposed on the pressed key is sequentially turned on, a note-on event indicating the key press, The test data in the MIDI format is generated which is composed of a note number representing a key that has been locked and a switch number representing a key switch that has been turned on. For example, when four key switches SW1 to SW4 are provided in the key, the inspection data is generated at the timing when they are sequentially turned on.

こうした検査データを受信する都度、プローブ305の位置を表す位置情報およびその時の荷重値を対とする4組の計測データ(位置情報H1、荷重値L1)〜(位置情報H4、荷重値L4)を取得する。そして、プローブ305の先端が鍵のフルストロークに達して圧力センサ28がフルストローク荷重値を出力した時に、プローブ305の先端位置を表す位置情報H5を取得する。この後、取得した各荷重値L1〜L4および各鍵ストローク(H1−H0,H2−H0,H3−H0,H4−H0,H5−H0)が予め設定される上下限規定範囲内に収まっているかどうかを判定するので、鍵盤の各鍵に配設される複数の鍵スイッチがそれぞれオンされる時の荷重値と、その鍵ストロークとを同時に検査することが可能になる。   Each time such inspection data is received, four sets of measurement data (position information H1, load value L1) to (position information H4, load value L4) are paired with position information indicating the position of the probe 305 and the load value at that time. get. Then, when the tip of the probe 305 reaches the full stroke of the key and the pressure sensor 28 outputs a full stroke load value, position information H5 indicating the tip position of the probe 305 is acquired. After this, whether the acquired load values L1 to L4 and the key strokes (H1-H0, H2-H0, H3-H0, H4-H0, H5-H0) are within the preset upper and lower limit stipulated ranges. Therefore, it is possible to simultaneously inspect the load value and the key stroke when a plurality of key switches arranged on each key of the keyboard are turned on.

100 楽器本体
10 CPU
11 ROM
12 RAM
13 操作部
14 鍵盤
15 表示部
16 楽音発生部
17 インタフェース部
200 鍵盤検査装置
20 CPU
21 ROM
22 RAM
23 操作部
24 表示部
25 ライン制御部
26 検査治具制御部
27 インタフェース部
28 圧力センサ
300 検査治具
301 移動部
302 水平摺動部
303 検査台
304 垂直摺動部
305 プローブ
100 musical instrument body 10 CPU
11 ROM
12 RAM
DESCRIPTION OF SYMBOLS 13 Operation part 14 Keyboard 15 Display part 16 Music sound generation part 17 Interface part 200 Keyboard test | inspection apparatus 20 CPU
21 ROM
22 RAM
DESCRIPTION OF SYMBOLS 23 Operation part 24 Display part 25 Line control part 26 Inspection jig control part 27 Interface part 28 Pressure sensor 300 Inspection jig 301 Moving part 302 Horizontal sliding part 303 Inspection stand 304 Vertical sliding part 305 Probe

Claims (6)

鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出手段と、
押鍵部に加わる荷重値を検出する荷重検出手段と、
押鍵部の鍵面当接による荷重変化を前記荷重検出手段が検出した時に、前記位置検出手段により検出される押鍵部の位置を初期位置として取得する初期位置取得手段と、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出手段により検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得手段と、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出手段により検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得手段と、
前記ストローク位置取得手段により取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得手段により取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得手段により取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定手段と
を具備することを特徴とする鍵盤検査装置。
Position detecting means for detecting a position of a pressing / separating portion that moves downward with respect to the key surface and presses a key on the keyboard;
Load detecting means for detecting a load value applied to the key pressing portion;
Initial position acquisition means for acquiring, as an initial position, the position of the key depression portion detected by the position detection means when the load detection means detects a load change due to the key surface contact of the key depression portion;
Each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression part, the position of the key depression part detected by the position detecting means is set as a stroke position at which the key switch is turned on. A stroke position acquisition means to acquire;
A load for obtaining the load value detected by the load detecting means as a load value for turning on the key switch each time a plurality of key switches provided on the key are sequentially turned on in response to the key depression of the key depression unit. A value acquisition means;
The key stroke corresponding to each key switch obtained by subtracting the initial position obtained by the initial position obtaining means from each stroke position obtained by the stroke position obtaining means and turning on each of the plurality of key switches, and the load A keyboard inspection device comprising: pass / fail judgment means for judging pass / fail with a load value acquired by a value acquisition means and each key switch being turned on.
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、少なくともオン状態となった鍵スイッチを表す検査データを発生する検査データ発生手段と、
前記検査データ発生手段が発生した検査データを送信する送信手段と、
前記送信手段により送信される検査データを受信する受信手段とを更に備え、
前記ストローク位置取得手段は、前記受信手段が検査データを受信した時に、前記位置検出手段により検出される押鍵部の位置を、その受信した検査データで表される鍵スイッチがオンとなるストローク位置として取得し、
前記荷重取得手段は、前記受信手段が検査データを受信した時に、前記荷重検出手段により検出される荷重値を、その受信した検査データで表される鍵スイッチがオンとなる荷重値として取得することを特徴とする請求項1記載の鍵盤検査装置。
Inspection data generating means for generating inspection data representing at least an on-state key switch each time a plurality of key switches provided on the key are sequentially turned on in response to key depression of the key depression unit;
Transmitting means for transmitting inspection data generated by the inspection data generating means;
Receiving means for receiving inspection data transmitted by the transmitting means;
The stroke position acquisition means indicates the position of the key pressing portion detected by the position detection means when the receiving means receives inspection data, and the stroke position at which the key switch represented by the received inspection data is turned on. Get as
The load acquisition means acquires the load value detected by the load detection means as the load value at which the key switch represented by the received inspection data is turned on when the receiving means receives the inspection data. The keyboard inspection device according to claim 1.
前記検査データ発生手段は、押鍵により各鍵スイッチが順次オンされる毎に、押鍵を表すノートオンイベント、押鍵された鍵を表すノートナンバおよびオン状態となった鍵スイッチを表すスイッチ番号から構成されるMIDI形式の検査データを発生することを特徴とする請求項2記載の鍵盤検査装置。   The inspection data generating means is configured such that each time a key switch is sequentially turned on by a key press, a note-on event indicating a key press, a note number indicating a key pressed, and a switch number indicating a key switch in an on state 3. The keyboard inspection device according to claim 2, wherein the inspection data is generated in MIDI format. 前記荷重検出手段がフルストローク荷重値を検出した時に、前記位置検出手段により検出される押鍵部の位置をフルストローク位置として取得するフルストローク位置取得手段を更に備え、
前記良否判定手段は、前記フルストローク位置取得手段により取得されたフルストローク位置から前記初期位置取得手段により取得された初期位置分を差し引いた鍵のフルストロークの良否も判定することを特徴とする請求項1記載の鍵盤検査装置。
When the load detection means detects a full stroke load value, it further comprises full stroke position acquisition means for acquiring the position of the key pressing portion detected by the position detection means as a full stroke position,
The pass / fail judgment means also judges pass / fail of a key full stroke obtained by subtracting the initial position acquired by the initial position acquisition means from the full stroke position acquired by the full stroke position acquisition means. Item 1. A keyboard inspection device according to Item 1.
鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出過程と、
押鍵部に加わる荷重値を検出する荷重検出過程と、
押鍵部の鍵面当接による荷重変化を前記荷重検出過程で検出した時に、前記位置検出過程により検出される押鍵部の位置を初期位置として取得する初期位置取得過程と、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出過程により検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得過程と、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出過程で検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得過程と、
前記ストローク位置取得過程により取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得過程で取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得過程で取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定過程と
を具備することを特徴とする鍵盤検査方法。
A position detection process for detecting the position of the press-and-release part that moves downward relative to the key surface and presses the key on the keyboard;
A load detection process for detecting a load value applied to the key pressing portion;
An initial position acquisition process for acquiring, as an initial position, the position of the key depression part detected by the position detection process when a load change due to the key surface contact of the key depression part is detected in the load detection process;
Each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression part, the position of the key depression part detected by the position detection process is set as a stroke position at which the key switch is turned on. The stroke position acquisition process to be acquired;
A load for acquiring a load value detected in the load detection process as a load value for turning on the key switch each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression unit. Value acquisition process,
The key stroke corresponding to each key switch obtained by subtracting the initial position obtained in the initial position obtaining process from each stroke position obtained by the stroke position obtaining process and turning on each of the plurality of key switches, and the load A keyboard inspection method comprising: a pass / fail judgment process for judging pass / fail with a load value acquired in a value acquisition process and each key switch is turned on.
コンピュータに、
鍵面に対して下方向に移動して鍵盤の鍵を押鍵する押離部の位置を検出する位置検出ステップと、
押鍵部に加わる荷重値を検出する荷重検出ステップと、
押鍵部の鍵面当接による荷重変化を前記荷重検出ステップにて検出した時に、前記位置検出ステップにより検出される押鍵部の位置を初期位置として取得する初期位置取得ステップと、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記位置検出ステップにより検出される押鍵部の位置を、鍵スイッチがオンとなるストローク位置として取得するストローク位置取得ステップと、
鍵に設けられた複数の鍵スイッチが押鍵部の押鍵に応じて順次オンされる毎に、前記荷重検出ステップで検出される荷重値を、鍵スイッチがオンとなる荷重値として取得する荷重値取得ステップと、
前記ストローク位置取得ステップにより取得され、複数の鍵スイッチがそれぞれオンとなる各ストローク位置から前記初期位置取得ステップで取得された初期位置分を各々差し引いた各鍵スイッチに対応する鍵ストロークと、前記荷重値取得ステップで取得され、各鍵スイッチがそれぞれオンとなる荷重値との良否を判定する良否判定ステップと
を実行させるを特徴とするプログラム。
On the computer,
A position detecting step for detecting a position of a pressing / releasing portion that moves downward relative to the key surface and presses a key on the keyboard;
A load detection step for detecting a load value applied to the key pressing portion;
An initial position acquisition step of acquiring, as an initial position, the position of the key depression portion detected by the position detection step when a load change due to the key surface contact of the key depression portion is detected in the load detection step;
Each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression part, the position of the key depression part detected by the position detection step is set as a stroke position at which the key switch is turned on. A stroke position acquisition step to be acquired;
A load for acquiring the load value detected in the load detection step as a load value for turning on the key switch each time a plurality of key switches provided on the key are sequentially turned on according to the key depression of the key depression unit. A value acquisition step;
The key stroke corresponding to each key switch obtained by subtracting the initial position obtained in the initial position obtaining step from each stroke position obtained by the stroke position obtaining step and turning on each of the plurality of key switches, and the load A program for performing a pass / fail judgment step for judging pass / fail with a load value acquired at a value acquisition step and each key switch is turned on.
JP2009049536A 2009-03-03 2009-03-03 Keyboard inspection device, keyboard inspection method and program Expired - Fee Related JP5403225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009049536A JP5403225B2 (en) 2009-03-03 2009-03-03 Keyboard inspection device, keyboard inspection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009049536A JP5403225B2 (en) 2009-03-03 2009-03-03 Keyboard inspection device, keyboard inspection method and program

Publications (2)

Publication Number Publication Date
JP2010204369A true JP2010204369A (en) 2010-09-16
JP5403225B2 JP5403225B2 (en) 2014-01-29

Family

ID=42965921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009049536A Expired - Fee Related JP5403225B2 (en) 2009-03-03 2009-03-03 Keyboard inspection device, keyboard inspection method and program

Country Status (1)

Country Link
JP (1) JP5403225B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52115210A (en) * 1976-03-24 1977-09-27 Enomoto Kougiyou Kk Piano temperament testing keyboard hitting device
JPH0625895U (en) * 1992-09-01 1994-04-08 カシオ計算機株式会社 Touch response device
JP2010078651A (en) * 2008-09-24 2010-04-08 Casio Computer Co Ltd Device and method for inspecting keyboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52115210A (en) * 1976-03-24 1977-09-27 Enomoto Kougiyou Kk Piano temperament testing keyboard hitting device
JPH0625895U (en) * 1992-09-01 1994-04-08 カシオ計算機株式会社 Touch response device
JP2010078651A (en) * 2008-09-24 2010-04-08 Casio Computer Co Ltd Device and method for inspecting keyboard

Also Published As

Publication number Publication date
JP5403225B2 (en) 2014-01-29

Similar Documents

Publication Publication Date Title
EP1286157A3 (en) Vibration analysis of sheet material
JP2000343915A (en) Measuring method and measuring device for cross sectional structure of tire
JP6825718B2 (en) Sound output device
JP3574264B2 (en) Electronic musical instrument
JP5403225B2 (en) Keyboard inspection device, keyboard inspection method and program
JP2010078651A (en) Device and method for inspecting keyboard
JP2005043553A (en) Sound generation control program and electronic keyboard musical instrument using the program
JP5403226B2 (en) Keyboard inspection device, keyboard inspection method and program
JP2007033308A (en) Keyboard inspection device and keyboard inspection method
WO2019220623A1 (en) Signal processing device, signal processing method, and program
JP6015133B2 (en) Pedal device for electronic percussion instruments
JPH06341912A (en) Living body pressure distribution measuring device
JP2013072669A (en) Inspection apparatus and inspection method
JP2006010631A (en) Sound information acquisition system, sound information acquiring device, noncontact diagnosis system, and noncontact diagnosis method
JP2006136926A (en) Calculation method of friction coefficient between work and die, detection method of bending angle, and bending machine
KR101422833B1 (en) Piano play monitoring apparatus
JP3903847B2 (en) Detection sensor evaluation device, electronic musical instrument and electronic keyboard musical instrument
JP4280227B2 (en) Electronic keyboard instrument keyboard device
JPH11241981A (en) Particle measuring apparatus and measuring method
JP2009058380A (en) Rubber friction tester
JP2008170264A (en) Measuring instrument and measuring method
JP3054993B2 (en) Portable vibrometer
JP2012220861A (en) Musical sound generating device and program
JPH08220073A (en) Device for evaluating defect-dimension of eddy current flaw-detecting device
JP2906861B2 (en) Operating device for electronic musical instruments

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130913

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131015

LAPS Cancellation because of no payment of annual fees