JP2847996B2 - Power supply for electronic musical instruments - Google Patents

Power supply for electronic musical instruments

Info

Publication number
JP2847996B2
JP2847996B2 JP3059361A JP5936191A JP2847996B2 JP 2847996 B2 JP2847996 B2 JP 2847996B2 JP 3059361 A JP3059361 A JP 3059361A JP 5936191 A JP5936191 A JP 5936191A JP 2847996 B2 JP2847996 B2 JP 2847996B2
Authority
JP
Japan
Prior art keywords
power supply
electronic musical
power
musical instrument
control circuit
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
JP3059361A
Other languages
Japanese (ja)
Other versions
JPH04274489A (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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=13111055&utm_source=***_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2847996(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP3059361A priority Critical patent/JP2847996B2/en
Publication of JPH04274489A publication Critical patent/JPH04274489A/en
Application granted granted Critical
Publication of JP2847996B2 publication Critical patent/JP2847996B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Direct Current Feeding And Distribution (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、内部電源および外部
電源のいずれかによって選択的に駆動可能な電子楽器の
ための電源供給装置に関し、特に、電力節約のため、前
記電子楽器において演奏イベント情報の発生が無い状態
が所定時間以上継続した場合には前記電子楽器に対する
電源の供給を自動的に遮断する機能を有する電源供給装
置であって、前記電子楽器に供給しているのが内部電源
であるのかまたは外部電源であるのかに応じて、適切に
電源遮断を行うことができるようにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply device for an electronic musical instrument that can be selectively driven by either an internal power supply or an external power supply. Is a power supply device having a function of automatically shutting off the supply of power to the electronic musical instrument when a state where no occurrence of the electronic musical instrument continues for a predetermined time or more is provided. The present invention relates to an apparatus capable of appropriately shutting off a power supply depending on whether there is a power supply or an external power supply.

【0002】[0002]

【従来の技術】電子ピアノなどの電子楽器としては、無
駄な電力を消費しないようにするため、電源スイッチが
オンされているときにおいて、鍵盤の押鍵など、なんら
かの演奏操作がなされない無操作状態が所定時間以上続
いたときには、電源の供給の自動的な遮断(オートパワ
ーオフ)がなされるようになったものがある。このよう
な電子楽器においては、該電子楽器が外部の交流電源に
より、または、内部に設けられたバッテリ電源により駆
動されているのかに関係なしに、オートパワーオフ機能
が働くようになっている。
2. Description of the Related Art As an electronic musical instrument such as an electronic piano, a non-operation state in which no performance operation such as key depression of a keyboard is performed when a power switch is turned on in order to prevent useless power consumption. In some cases, the power supply is automatically cut off (auto power off) when the power supply has continued for a predetermined time or more. In such an electronic musical instrument, an automatic power-off function is operated regardless of whether the electronic musical instrument is driven by an external AC power supply or an internal battery power supply.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前述の
従来の電子楽器のように、無操作状態が所定時間以上続
いたときには、駆動電源が交流電源であるのかまたはバ
ッテリ電源であるのかに関係なしにオートパワーオフが
働くようすると、一般的には交流電源を使用する次のよ
うな場合、不適切なオートパワーオフによる不都合がし
ばしば生じていた。
However, as in the above-described conventional electronic musical instrument, when the non-operation state continues for a predetermined time or longer, regardless of whether the drive power supply is an AC power supply or a battery power supply. When the auto power off works, inconvenience due to improper auto power off often occurs in the following cases in which an AC power supply is generally used.

【0004】すなわち、例えば、複数のキーボードを併
用する演奏を行なう場合においては、本質的にいずれか
特定のキーボードにおいて所定時間以上の無操作状態が
発生しやすいにもかかわらず、その度毎にオートパワー
オフが働く結果、所望の演奏ができなくなっていた。ま
た、電子楽器を販売店の店頭において試験演奏可能に展
示する場合においても、客等による試験演奏は頻繁に行
われるものではないので所定時間以上の無操作状態が発
生しやすいにもかかわらず、その度毎にオートパワーオ
フが働く結果、任意の時に試験演奏を行なうことができ
ないという事態が生じていた。
That is, for example, in a case where a performance is performed using a plurality of keyboards in combination, even though a non-operation state for a predetermined time or more is likely to occur in any particular keyboard, an automatic operation is performed each time. As a result of the power-off, the desired performance could not be performed. In addition, even when the electronic musical instrument is displayed in a shop where a test performance is possible, a test performance by a customer or the like is not performed frequently. As a result of the automatic power-off operation every time, a test performance could not be performed at any time.

【0005】この発明は上述の点に鑑みてなされたもの
であり、電子楽器に供給しているのが内部電源であるの
かまたは外部電源であるのかに応じて、適切に、電力節
約のための電源遮断を行うことができるようにした、電
子楽器における電源供給装置を提供しようとするもので
ある。
[0005] The present invention has been made in view of the above-mentioned point, and appropriately reduces power consumption depending on whether an electronic musical instrument is supplied with an internal power supply or an external power supply. An object of the present invention is to provide a power supply device for an electronic musical instrument, which is capable of shutting off power.

【0006】[0006]

【課題を解決するための手段】 この発明に係る電子楽
器における電源供給装置は、電子楽器の内部に設けられ
た内部電源と、外部電源を導入するための外部電源導入
手段と、前記内部電源または外部電源導入手段によって
導入される前記外部電源の一方を選択的に供給するため
の電源供給手段と、前記電源供給手段によって外部電源
が供給されたときこれに応答して外部電源供給検出信号
を出力する外部電源供給検出手段と、電子楽器の動作を
制御する処理をプログラムに従って実行する制御回路で
あって演奏イベント情報の発生の有無を検出するイベ
ント情報検出処理と、演奏イベント情報の発生有のとき
所定の演奏動作制御を実行する処理と、演奏イベント情
報の発生が無い状態が所定時間以上継続したか否かを判
定する処理と、演奏イベント情報の発生が無い状態が所
定時間以上継続しかつ前記外部電源供給検出手段から外
部電源供給検出信号が出力されていないならば電源遮
断命令を発生する処理とを行うよう前記プログラムを構
成してなるものと、操作者の操作に応じて電源の投入を
制御する電源スイッチと、前記電源供給手段により選択
的に供給される電源を前記制御回路及び電子楽器の各部
に供給することを前記電源スイッチの操作に応じて制御
すると共に、前記制御回路からの電源遮断命令に応じて
該制御回路及び電子楽器の各部に対する電源供給を遮断
するよう制御する電源オンオフ制御回路とを具えたもの
である。
Means for Solving the Problems A power supply device for an electronic musical instrument according to the present invention includes an internal power supply provided inside the electronic musical instrument, an external power supply introducing means for introducing an external power supply, and the internal power supply. Power supply means for selectively supplying one of the external power supplies introduced by the external power supply means, and outputting an external power supply detection signal in response to the external power supply being supplied by the power supply means an external power supply detecting means for, and a control circuit that performs in accordance with the processing programs for controlling the operation of the electronic musical instrument, and event information detecting process for detecting the presence or absence of occurrence of the performance event information, the occurrence chromatic performance event information A process for executing a predetermined performance operation control, a process for determining whether or not a state in which performance event information has not been generated has continued for a predetermined time or more; If the occurrence of the event information is no state not reporting an external power supply detection signal from continuous and said external power supply detecting means for a predetermined time or more, constitute the program to perform a process for generating a power cutoff instruction Power on according to the operator's operation.
Power switch to be controlled, selected by the power supply means
Power supplied to the control circuit and each part of the electronic musical instrument
Is controlled according to the operation of the power switch.
And in response to a power-off command from the control circuit.
A power on / off control circuit for controlling so as to cut off power supply to each part of the electronic musical instrument .

【0007】[0007]

【作用】 電源供給手段は、電子楽器の内部に設けられ
た内部電源、または、外部電源を導入するための外部電
源導入手段によって導入される外部電源を選択的に供給
する。この電源供給手段によって外部電源が供給された
ときこれに応答して外部電源供給検出信号が、外部電源
供給検出手段から出力される。一方、電子楽器の動作を
制御する処理をプログラムに従って実行する制御回路に
おいては演奏イベント情報の発生の有無を検出するイ
ベント情報検出処理と、演奏イベント情報の発生有のと
き所定の演奏動作制御を実行する処理とを実行するのみ
ならず、演奏イベント情報の発生が無い状態が所定時間
以上継続したか否かを判定する処理を行い、さらに、演
奏イベント情報の発生が無い状態が所定時間以上継続し
かつ前記外部電源供給検出手段から外部電源供給検出信
号が出力されていないならば電源遮断命令を発生する
処理を行うように前記プログラムが構成されている。
方、操作者の操作に応じて電源の投入を制御する電源ス
イッチが設けられており、電源オンオフ制御回路では、
前記電源供給手段により選択的に供給される電源を前記
制御回路を含む電子楽器の各部に供給することを前記電
源スイッチの操作に応じて制御すると共に、前記制御回
路からの電源遮断命令に応じて該制御回路を含む電子楽
器の各部に対する電源供給を遮断するよう制御する。こ
のようにして、電子楽器に供給しているのが外部電源で
あるのか否かを検出し、外部電源が供給されていないな
らば、すなわち内部電源が供給されているならば、演奏
イベント情報の発生が無い状態が所定時間以上継続した
ときに電力節約のための電源遮断を行うようにしてい
る。これによって、内部電源の消耗を防ぐことができる
一方で、電子楽器の駆動電源として外部電源を使用して
いる場合は不適切な電源の自動遮断が行われないように
することができる。そして、このように供給制御された
電源により制御回路が動作するので、外部電源の使用に
並行して内部電源が制御回路で使用されてしまうような
不都合な事態が起こることがなく、内部電源の節約効果
をより一層高めることができる。更に、この発明によれ
ば、電子楽器の動作を制御する処理をプログラムに従っ
て実行する制御回路つまりマイクロコンピュータのよう
なコンピュータ回路によって行なうようになっており、
この制御回路によって、演奏イベント情報の発生の有無
を検出するイベント情報検出処理と、演奏イベント情報
の発生有のとき所定の演奏動作制御を実行する処理、と
いう電子楽器本来の処理を実行するのみならず、演奏イ
ベント情報の発生が無い状態が所定時間以上継続したか
否かを判定する処理を行い、更に、演奏イベント情報の
発生が無い状態が所定時間以上継続しかつ前記外部電源
供給検出手段から外部電源供給検出信号が出力されてい
ないならば電源遮断命令を発生する処理を行うように
前記プログラムを構成してなることを特徴としている。
従って、電源遮断制御処理のために特別の制御回路を付
加することなく、演奏イベント情報の発生に基づく各種
の演奏動作制御処理を行なうための制御回路を共用して
この電源遮断制御処理を行うことができ、極めて簡単な
回路構成によって電源遮断制御処理を遂行することがで
きる。更に、この発明によれば、制御回路を含む電子楽
器の各部に対する電源供給を制御する電源オンオフ制御
回路が、電源スイッチの手動操作に基づく電源供給制御
(手動制御)と、前記制御回路からの電源遮断命令に基
づく制御(自動制御)の双方によって制御される構成で
あるため、1つの電源オンオフ制御回路を手動制御と自
動制御とで共用することができ、また、この電源オンオ
フ制御回路は、内部電源と外部電源との間でも実質的に
供用されていることとなり、電源オンオフ制御のための
回路構成を簡素化することができる、という優れた効果
を奏する
The power supply means selectively supplies an internal power supply provided inside the electronic musical instrument or an external power supply introduced by an external power supply introduction means for introducing an external power supply. When the external power is supplied by the power supply unit, an external power supply detection signal is output from the external power supply detection unit in response to the external power supply. On the other hand, in the control circuit for executing a process of controlling the operation of the electronic musical instrument in accordance with the program, and event information detecting process for detecting the presence or absence of occurrence of the performance event information, the predetermined performance operations control when generating chromatic performance event information In addition to executing the processing to be executed, the processing for determining whether or not the state in which no performance event information has occurred has continued for a predetermined time or more, and the state in which no performance event information has occurred has continued for a predetermined time or more if the external power supply detection signal from the life-and-death said external power supply detecting means is not outputted, the program is configured to perform processing for generating a power-off instruction. one
Power switch to control the power on according to the operator's operation.
Switch is provided, and in the power on / off control circuit,
The power selectively supplied by the power supply means;
The power supply to each part of the electronic musical instrument including the control circuit
Control in accordance with the operation of the power switch and the control circuit.
Electronic music including the control circuit in response to a power supply cutoff command from a road.
Control to cut off the power supply to each part of the vessel . In this way, it is detected whether or not the external power is being supplied to the electronic musical instrument. If the external power is not supplied, that is, if the internal power is supplied, the performance event information is detected. When the state where no occurrence occurs continues for a predetermined time or more, the power is cut off to save power. Thus, while the internal power supply can be prevented from being consumed, when an external power supply is used as the drive power supply for the electronic musical instrument, it is possible to prevent inappropriate automatic power-off. Since the control circuit operates with the power supply controlled in this way, there is no inconvenience that the internal power supply is used in the control circuit in parallel with the use of the external power supply. The saving effect can be further enhanced. Further, according to the present invention, the processing for controlling the operation of the electronic musical instrument is performed by a control circuit that executes according to a program, that is, a computer circuit such as a microcomputer.
With this control circuit, if only the original processing of an electronic musical instrument, that is, the event information detection processing for detecting the presence / absence of performance event information and the processing for executing a predetermined performance operation control when the performance event information is generated, is performed, A process of determining whether or not a state in which performance event information has not occurred has continued for a predetermined time or more, and further, a state in which no performance event information has occurred has continued for a predetermined time or more, and if the external power supply detection signal is not output, and characterized by being obtained by configuring the program to perform the processing for generating a power-off instruction.
Therefore, the power supply cutoff control process is performed by sharing a control circuit for performing various performance operation control processes based on the generation of performance event information without adding a special control circuit for the power supply cutoff control process. The power cutoff control process can be performed with an extremely simple circuit configuration. Further, according to the present invention, an electronic musical instrument including a control circuit is provided.
Power on / off control to control the power supply to each part of the vessel
Power supply control based on manual operation of power switch
(Manual control) and a power-off command from the control circuit.
Control (automatic control)
Therefore, one power on / off control circuit is
Power control.
The control circuit operates substantially between the internal power supply and the external power supply.
It will be in operation and will be used for power on / off control.
Excellent effect that the circuit configuration can be simplified
To play .

【0008】 前記電源遮断命令の発生処理を行うか否
かを選択する選択手段を更に具えていてもよい。これに
より、電源遮断機能をより一層適切に働かせることがで
きる。なお、前記イベント情報検出処理よって検出され
る対象である演奏イベント情報としては、電子楽器の鍵
盤、操作パネル等における操作イベントを示す情報、シ
ーケンサや自動伴奏による楽音発生イベントを示す情
報、または、MIDI端子を介して外部から入力する演
奏情報の入力イベントを示す情報などであってもよい。
The power supply apparatus may further include a selection unit for selecting whether or not to execute the power supply cutoff command generation processing. Thereby, the power cutoff function can be more appropriately operated. The performance event information to be detected by the event information detection processing includes information indicating an operation event on a keyboard, an operation panel, or the like of an electronic musical instrument, information indicating a tone generation event by a sequencer or an automatic accompaniment, or MIDI. Information indicating an input event of performance information input from the outside via a terminal may be used.

【0009】[0009]

【実施例】以下、添付図面に基づいてこの発明の一実施
例を詳細に説明する。図1は、この発明の一実施例に係
る電源供給装置を使用した電子楽器の全体的構成を示す
ブロック図である。電子楽器メイン回路1において、マ
イクロコンピュータ2は、電子楽器全体の制御を行うも
のであり、各種処理を行うためのタイマを内蔵してい
る。このマイクロコンピュータ2は、後述するように、
電子楽器メイン回路1に対する電源供給が始動しリセッ
ト入力にリセットパルスが入力したときに、出力ポート
から論理レベルが「1」の信号を出力するようになって
いる。このマイクロコンピュータ2には、鍵盤回路3、
バネル回路4、音源回路5等が接続されている。鍵盤回
路3は、発生すべき楽音の音高を指定するための複数の
鍵を具えた鍵盤KBに対応して設けられた複数のキース
イッチからなり、離鍵から押鍵への変化に対応してキー
オンイベント信号を出力し、押鍵から離鍵への変化に対
応してキーオフイベント信号を出力し、且つ、各前記キ
ーイベントに対応する鍵を示すキーコードを出力する。
パネル回路4は、発生すべき楽音の音色、音量、音高、
効果等を設定、選択または制御するため操作パネル6に
設けられた各種操作子に対応して設けられており、各々
の前記操作子の操作状況に応じた操作データを出力す
る。音源回路5は、前記キーコード、キーオンイベント
信号、操作データ等の各種データに基づき、複数のチャ
ンネルのそれぞれで楽音信号の発生が可能になってい
る。音源回路5で発生した楽音信号は、D/A変換後、
サウンドシステムSSを介して音響的に発音されること
となる。電源供給回路Aは、前記メイン回路1に対し
て、電子楽器の内部に設けられた内部電源としてのバッ
テリ電源8、および、外部電源としての交流電源9のい
ずれかの電源を選択的に供給可能になっている。すなわ
ち、電源供給回路Aにおいて、交流電源の導入を可能に
する電源アダプタ10の負荷接続プラグ11がジャック
接続部12に接続されていないときには、ジャック接続
部12のバッテリ電源接点13が閉じた状態に維持さ
れ、逆流防止用ダイオード14および後述する電源オン
オフ制御回路15を介して、バッテリ電源8と電子楽器
メイン回路1との間が接続(導通)状態となり、バッテ
リ電源8の電源が供給可能になる。また、駆動電源とし
て交流電源を使用する場合には、電源アダプタ10のコ
ンセントプラグ16を交流電源に接続し、負荷接続プラ
グ11をジャック接続部12に接続する。このように負
荷接続プラグ11をジャック接続部12に接続すると、
バッテリ電源接点13が開きバッテリ電源8と電子楽器
メイン回路1との間が断続(非導通)状態となる代わり
に、前記電源アダプタ10、ノイズ除去用コンデンサ1
8、逆流防止用ダイオード19、電圧安定用コンデンサ
20および電源オンオフ制御回路10を介して、前記交
流電源と電子楽器メイン回路1との間が接続状態とな
り、交流電源の電源が供給可能になる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an overall configuration of an electronic musical instrument using a power supply device according to one embodiment of the present invention. In the electronic musical instrument main circuit 1, the microcomputer 2 controls the entire electronic musical instrument and has a built-in timer for performing various processes. This microcomputer 2, as described later,
When the power supply to the electronic musical instrument main circuit 1 is started and a reset pulse is input to the reset input, a signal having a logical level "1" is output from the output port. The microcomputer 2 includes a keyboard circuit 3,
The panel circuit 4, the sound source circuit 5, and the like are connected. The keyboard circuit 3 includes a plurality of key switches provided in correspondence with a keyboard KB having a plurality of keys for designating a pitch of a musical tone to be generated, and corresponds to a change from a released key to a pressed key. To output a key-on event signal, a key-off event signal in response to a change from key depression to key release, and a key code indicating a key corresponding to each of the key events.
The panel circuit 4 controls the tone color, volume, pitch,
It is provided corresponding to various operators provided on the operation panel 6 for setting, selecting or controlling effects and the like, and outputs operation data according to the operation status of each of the operators. The tone generator 5 can generate a tone signal on each of a plurality of channels based on various data such as the key code, the key-on event signal, and operation data. The tone signal generated by the tone generator circuit 5 is subjected to D / A conversion.
The sound is generated acoustically via the sound system SS. The power supply circuit A can selectively supply the main circuit 1 with either a battery power supply 8 as an internal power supply provided inside the electronic musical instrument or an AC power supply 9 as an external power supply. It has become. That is, in the power supply circuit A, when the load connection plug 11 of the power adapter 10 that enables introduction of an AC power supply is not connected to the jack connection section 12, the battery power contact 13 of the jack connection section 12 is closed. The battery power supply 8 and the electronic musical instrument main circuit 1 are connected (conductive) via the backflow prevention diode 14 and a power supply on / off control circuit 15 described later, and the power of the battery power supply 8 can be supplied. . When an AC power supply is used as the driving power supply, the outlet plug 16 of the power adapter 10 is connected to the AC power supply, and the load connection plug 11 is connected to the jack connection section 12. When the load connection plug 11 is connected to the jack connection portion 12 as described above,
Instead of the battery power contact 13 being opened and an intermittent (non-conductive) state between the battery power supply 8 and the electronic musical instrument main circuit 1, the power adapter 10 and the noise removing capacitor 1
8. The connection between the AC power supply and the electronic musical instrument main circuit 1 is established via the backflow prevention diode 19, the voltage stabilizing capacitor 20, and the power supply ON / OFF control circuit 10, so that the AC power supply can be supplied.

【0010】モーメンタリパワースイッチ21は、バッ
テリ電源8または交流電源から電子楽器メイン回路1に
対する電源供給を開始させるための電源投入スイッチで
あり、オン操作されたときに論理レベル「1」の電源供
給開始信号PONを第1の検出回路22に対して出力す
るものであり、電源供給開始信号PON出力後に自らは
オフ状態となる。
The momentary power switch 21 is a power-on switch for starting the power supply from the battery power supply 8 or the AC power supply to the electronic musical instrument main circuit 1. When the switch is turned on, the power supply of the logical level "1" starts. The signal PON is output to the first detection circuit 22. After the power supply start signal PON is output, the signal detection circuit 22 turns itself off.

【0011】第1の検出回路22は、電源供給線におい
て前記制御回路15と電圧安定用コンデンサ20との間
のB点に接続されている。この検出回路22は、電源供
給開始信号PONの入力により該スイッチ21のオン状
態を検出する毎に、電源オンオフ制御回路15に対し
て、バッテリ電源8または交流電源の電源を電子楽器メ
イン回路1に一時的に供給するよう指示する一時供給指
示信号FIを出力するとともに、マイクロコンピュータ
2が動作可能状態となる一定時間後に該マイクロコンピ
ュータ2に割込み信号INTを与える、電源オンオフ制
御回路15に対して、バッテリ電源8または交流電源の
電源を電子楽器メイン回路1に一時的に供給するよう指
示する一時供給指示信号FIを出力するものである。
The first detection circuit 22 is connected to a point B between the control circuit 15 and the voltage stabilizing capacitor 20 on a power supply line. Each time the detection circuit 22 detects the ON state of the switch 21 based on the input of the power supply start signal PON, the power supply of the battery power supply 8 or the AC power supply is supplied to the electronic musical instrument main circuit 1 for the power supply ON / OFF control circuit 15. A power supply on / off control circuit 15 that outputs a temporary supply instruction signal FI for instructing a temporary supply and provides an interrupt signal INT to the microcomputer 2 after a certain period of time when the microcomputer 2 becomes operable. It outputs a temporary supply instruction signal FI for instructing the electronic musical instrument main circuit 1 to temporarily supply the power of the battery power supply 8 or the AC power supply.

【0012】電源オンオフ制御回路15は、トランジス
タスイッチ等からなり、第1の検出回路22の検出状
態、および、マイクロコンピュータ2の出力ポートの状
態に応じて、前記電源8または9と電子楽器メイン回路
1との間を接続状態にしたり断続状態にしたりするもの
である。より詳しく説明すると、この制御回路15は、
モーメンタリパワースイッチ21のオン操作により第1
の検出回路22から一時供給指示信号FIが入力したと
きに、前記電源8または9と電子楽器メイン回路1とを
一時的に接続状態にし、前記電源8または9から電子楽
器メイン回路1に対して一時的な電源供給を行う。この
ようにして、電源供給線において電源オンオフ制御回路
15と電子楽器メイン回路1との間のC点に接続された
リセット信号発生器RGは、前述のように電子楽器メイ
ン回路1への一時的な電源供給がなされる際におけるC
点での電圧の立ち上がりを検出することにより、所定の
タイミングでリセットパルスRPを発生し、このリセッ
トパルスRPをマイクロコンピュータ2のリセット入力
に与える。このようなリセットパルスRSの入力によ
り、マイクロコンピュータ2の出力ポートから電源オン
オフ制御回路15に対して論理レベル「1」の信号が出
力されることとなる。前記制御回路15は、マイクロコ
ンピュータ2の出力ポートからこの「1」の信号が入力
することにより、そのトランジスタスイッチがオンさ
れ、以後、前記出力ポートから論理レベル「0」の信号
が入力しないかぎり、前記電源8または9と電子楽器メ
イン回路1との間を接続状態とし続け、前記電源8また
は9から電子楽器メイン回路1への継続的な電源供給を
可能にするものである。
The power supply on / off control circuit 15 comprises a transistor switch or the like. The power supply 8 or 9 and the electronic musical instrument main circuit depend on the detection state of the first detection circuit 22 and the state of the output port of the microcomputer 2. 1 is connected or intermittent. More specifically, the control circuit 15
When the momentary power switch 21 is turned on, the first
When the temporary supply instruction signal FI is input from the detection circuit 22 of the above, the power supply 8 or 9 and the electronic musical instrument main circuit 1 are temporarily connected, and the power supply 8 or 9 supplies the electronic musical instrument main circuit 1 with Provide a temporary power supply. In this manner, the reset signal generator RG connected to the point C between the power supply on / off control circuit 15 and the electronic musical instrument main circuit 1 on the power supply line provides a temporary connection to the electronic musical instrument main circuit 1 as described above. When power is supplied
By detecting the rise of the voltage at the point, a reset pulse RP is generated at a predetermined timing, and this reset pulse RP is given to the reset input of the microcomputer 2. By inputting such a reset pulse RS, a signal of logic level “1” is output from the output port of the microcomputer 2 to the power on / off control circuit 15. The control circuit 15 turns on the transistor switch by inputting the signal of “1” from the output port of the microcomputer 2, and thereafter, unless a signal of logic level “0” is input from the output port, The power supply 8 or 9 and the electronic musical instrument main circuit 1 are kept in a connected state to enable continuous power supply from the power supply 8 or 9 to the electronic musical instrument main circuit 1.

【0013】第2の検出回路24は、電源供給線におい
てノイズ除去用コンデンサ18と逆流防止用ダイオード
18との間のA点に接続されている。この検出回路24
は、A点の電圧を検出し、該電圧が所定のしきい値以上
であるときには、電源アダプタ10が接続されることに
より交流電源が供給されている旨示す論理レベル「1」
の検出信号をマイクロコンピュータ2の入力ポートに与
え、該入力ポートの状態を「1」にする。
The second detecting circuit 24 is connected to a point A between the noise removing capacitor 18 and the backflow preventing diode 18 on the power supply line. This detection circuit 24
Detects the voltage at the point A, and when the voltage is equal to or higher than a predetermined threshold, the logic level "1" indicating that AC power is supplied by connecting the power adapter 10
To the input port of the microcomputer 2 to set the state of the input port to "1".

【0014】このようにして、マイクロコンピュータ2
では、第2の検出回路24からのこの「1」の検出信号
に基づき電源供給回路Aから交流電源が供給されている
と判断し、その結果、電子楽器メイン回路1にバッテリ
電源8の電源が供給されているときにはオートパワーオ
フを実行し、交流電源9の電源が供給されているときに
はオートパワーオフを実行しないようにするための処理
を行うこととなる。このような処理については後に詳細
に説明する。
In this manner, the microcomputer 2
Determines that AC power is being supplied from the power supply circuit A based on the "1" detection signal from the second detection circuit 24. As a result, the power of the battery power supply 8 is supplied to the electronic musical instrument main circuit 1. When the power is supplied, the automatic power-off is executed, and when the power of the AC power supply 9 is supplied, a process for preventing the automatic power-off from being executed is performed. Such processing will be described later in detail.

【0015】この実施例におけるマイクロコンピュータ
2内の主要なレジスタについて示すと次の通りである。 キーコードレジスタKCD:鍵盤KBにおいて新たに押
鍵、離鍵操作された、すなわち、イベントのあった鍵を
示すキーコードを記憶する。 操作子番号レジスタSBUF:操作パネル6において新
たに操作された、すなわち、イベントのあった操作子の
操作子番号を記憶する。 パワーオフタイマレジスタOFT:鍵盤KBおよび操作
パネル6における無操作(無イベント)状態が開始した
時から、該電子楽器に対するオートパワーオフを実行す
るまでの猶予時間として予め設定された待ち時間WTを
記憶する。 タイマレジスタTR:図7のタイマインタラプト処理が
実行される毎に1インクリメントされる。
The main registers in the microcomputer 2 in this embodiment are as follows. Key code register KCD: Stores a key code indicating a key that has been newly depressed or released on the keyboard KB, that is, a key having an event. Operator number register SBUF: Stores an operator number of an operator newly operated on the operation panel 6, that is, an operator having an event. Power-off timer register OFT: Stores a waiting time WT set in advance as a grace period from the start of a no-operation (no-event) state on the keyboard KB and the operation panel 6 to execution of an automatic power-off for the electronic musical instrument. I do. Timer register TR: incremented by one each time the timer interrupt processing of FIG. 7 is executed.

【0016】次に、マイクロコンピュータ2によって実
行される処理の一例を図2から図8に示すフローチャー
トに基づいて説明する。モーメンタリパワースイッチ2
1のオン操作により電源の供給が開始することにより、
第1の検出回路22から割込み信号INTが与えられる
と、マイクロコンピュータでは、図2に示すインタラプ
トルーチンを行う。このルーチンにおいては、リセット
パルス発生器RGから発生されるリセットパルスRPが
入力するのを所定時間待った後、リセットパルスRPが
入力したか否かの判定を行う(ステップ30)。その判
定結果がYESのときには、所定のマイクロコンピュー
タリセット処理を行った後(ステップ31)、出力ポー
トに「1」をたて(ステップ32)、図3に示すメイン
ルーチンをスタートする(ステップ33)。前記ステッ
プ30においてNO、すなわち、リセットパルスRPが
入力していないと判定したときには、出力ポートを
「0」にした後(ステップ34)、さらに所定時間待つ
(ステップ35)。これらステップ34、35は、リセ
ットパルスRPが入力するまで繰り返される。
Next, an example of processing executed by the microcomputer 2 will be described with reference to flowcharts shown in FIGS. Momentary power switch 2
By starting the power supply by turning on 1
When the interrupt signal INT is supplied from the first detection circuit 22, the microcomputer performs an interrupt routine shown in FIG. In this routine, after waiting a predetermined time for the reset pulse RP generated from the reset pulse generator RG to be input, it is determined whether or not the reset pulse RP has been input (step 30). If the determination result is YES, a predetermined microcomputer reset process is performed (step 31), "1" is set to the output port (step 32), and the main routine shown in FIG. 3 is started (step 33). . If NO in step 30, that is, if it is determined that the reset pulse RP has not been input, the output port is set to “0” (step 34), and the process waits for a further predetermined time (step 35). These steps 34 and 35 are repeated until the reset pulse RP is input.

【0017】図3に示すメインルーチンでは、所定の初
期設定を行った後、鍵盤処理、パネル処理およびタイマ
処理のルーチンを繰り返す。前記鍵盤処理では、鍵盤回
路3における各キースイッチをスキャンしてそのオン・
オフを検出し、押圧鍵を複数の発音チャンネルのうち何
れかに割当てる処理等を行う。この鍵盤処理において実
行される処理には、図4および図5のそれぞれにおいて
一例を示すキーオンイベント処理およびキーオフイベン
ト処理がある。このキーオンイベント処理は鍵盤KBの
いずれかの鍵が新たに押鍵されたことが操作されたこと
が検出されたとき実行される処理であり、キーオフイベ
ント処理は鍵盤KBのいずれかの鍵が新たに離鍵された
ことが操作されたことが検出されたとき実行される処理
である。また、前記パネル処理では、操作パネル6にお
ける各種操作子、スイッチ類をスキャンしてそのオン・
オフを検出し、その検出に基づき各種処理を行う。この
パネル処理において実行される処理の1つに、その一例
を図6に示すパネル操作子オンイベント処理があリ、こ
のパネル操作子オンイベント処理は、操作パネル6のい
ずれかの操作子が新たに操作されたことが検出されたと
き実行される処理である。前記タイマ処理において実行
される処理の1つには、その一例を図8に示すタイマ処
理がある。さらに、マイクロコンピュータ2は、メイン
ルーチンの実行中に図7のタイマインタラプト処理を行
い、このタイマインタラプト処理ではタイマレジスタT
Cの値に1をプラスする処理を行う。
In the main routine shown in FIG. 3, after performing a predetermined initial setting, a routine of a keyboard process, a panel process, and a timer process is repeated. In the keyboard processing, each key switch in the keyboard circuit 3 is scanned and turned on / off.
A process of detecting OFF and assigning a pressed key to any of a plurality of sound channels is performed. The processing executed in the keyboard processing includes a key-on event processing and a key-off event processing, each of which is an example in each of FIGS. This key-on event process is a process executed when it is detected that any key on the keyboard KB has been newly pressed, and the key-off event process is a process performed when any key on the keyboard KB is newly pressed. This is a process executed when it is detected that a key release has been performed. In the panel processing, various controls and switches on the operation panel 6 are scanned and turned on / off.
Off is detected, and various processes are performed based on the detection. One of the processes executed in this panel process is a panel operator ON event process shown in FIG. 6 as an example. In this panel operator ON event process, one of the operators on the operation panel 6 is newly activated. This is a process executed when it is detected that an operation has been performed. As one of the processes executed in the timer process, there is a timer process whose example is shown in FIG. Further, the microcomputer 2 performs the timer interrupt processing of FIG. 7 during execution of the main routine, and in this timer interrupt processing, the timer register T
A process of adding 1 to the value of C is performed.

【0018】図4のキーオンイベント処理においては、
新たに押鍵された鍵を示すキーコードをキーコードレジ
スタKCDに記憶する。次に、前記新たに押圧された鍵
を音源回路5のいずれかの発音チャンネルに割当て、音
源回路5に対してキーコードレジスタKCDのキーコー
ドに係る音高の楽音信号の発音を行うよう指示する。そ
して次に、オートパワーオフを実行するまでの待ち時間
WTをパワーオフタイマレジスタOFTにセットする。
In the key-on event processing of FIG.
The key code indicating the newly pressed key is stored in the key code register KCD. Next, the newly pressed key is assigned to one of the tone generation channels of the tone generator circuit 5, and the tone generator circuit 5 is instructed to emit a tone signal having a pitch corresponding to the key code of the key code register KCD. . Then, the waiting time WT until the execution of the automatic power-off is set in the power-off timer register OFT.

【0019】図5のキーオフイベント処理においては、
新たに離鍵された鍵を示すキーコードをキーコードレジ
スタKCDに記憶する。そして次に、キーコードレジス
タKCDに記憶したキーコードに係る音高の楽音信号を
発音している発音チャンネルをサーチし、該当チャンネ
ルがあればその発音のリリース処理(離鍵時の減衰処
理)を開始するよう指示する。そして、待ち時間WTを
パワーオフタイマレジスタOFTにセットする。
In the key-off event process shown in FIG.
The key code indicating the newly released key is stored in the key code register KCD. Next, a search is made for a sounding channel which is generating a tone signal having a pitch corresponding to the key code stored in the key code register KCD, and if there is such a channel, release processing of the sound (attenuation processing at key release) is performed. Tell them to start. Then, the wait time WT is set in the power-off timer register OFT.

【0020】図6のこのパネル操作子オンイベント処理
においては、新たに操作された操作子の操作子番号の数
値を操作子番号レジスタSBUFに記憶する。次に、操
作子番号レジスタSBUFに記憶した数値に応じたパネ
ル処理ルーチンをコールする。このようにしてコールさ
れるパネル処理ルーチンには、音色選択処理、各種効果
のオン・オフ処理、効果選択処理、リズムオン・オフ処
理、自動伴奏オン・オフ処理、スタイル選択処理、ボリ
ューム調整処理等のルーチンがある。そして次に、待ち
時間WTをパワーオフタイマレジスタOFTにセットす
る。
In the panel operator ON event process of FIG. 6, the value of the operator number of the newly operated operator is stored in the operator number register SBUF. Next, a panel processing routine corresponding to the numerical value stored in the operator number register SBUF is called. The panel processing routines called in this way include tone selection processing, on / off processing of various effects, effect selection processing, rhythm on / off processing, automatic accompaniment on / off processing, style selection processing, volume adjustment processing, etc. There are routines. Then, the waiting time WT is set in the power-off timer register OFT.

【0021】上記のキーオンイベント処理、キーオフイ
ベント処理およびパネル操作子オンイベント処理のそれ
ぞれにおいて、オートパワーオフを実行するまでの待ち
時間WTをパワーオフタイマレジスタOFTにセットす
るのは、該電子楽器において新たな押鍵、離鍵操作また
は操作子操作が行なわれる毎に、すなわち、操作イベン
トが有る毎に待ち時間WTが更新されるようにするため
である。
In each of the key-on event processing, the key-off event processing, and the panel operator ON event processing, the wait time WT until the execution of the auto power-off is set in the power-off timer register OFT in the electronic musical instrument. This is so that the waiting time WT is updated every time a new key press, key release operation or operator operation is performed, that is, every time there is an operation event.

【0022】図8のタイマ処理においては、タイマレジ
スタTRの値が1以上か(TR≧1)否かの判定を行う
(ステップ36)。この判定結果がNOのときには以後
なんらの処理も行なわわない。また、この判定結果がY
ESのときには、タイマレジスタTRの値から1をマイ
ナスする(ステップ37)。このステップ37におい
て、タイマレジスタTRの値から1をマイナスするの
は、これ以後の処理を図7のタイマインタラプト処理の
時間インターバルで行えるようにするためである。より
詳しく述べると、マイクロコンピュータ2のメインルー
チンの時間インターバルで実行されるこのタイマ処理は
タイマインタラプト処理より短い時間インターバルで実
行されるため、このようにタイマレジスタTRの値から
1をマイナスすることにより、通常の場合にはステップ
36の判定結果はNO(TR=0)となって以後の処理
は行なわれず、従って、ステップ37以後の処理は前記
タイマインタラプト処理が行われた時のみに実行される
こととなる。
In the timer process of FIG. 8, it is determined whether the value of the timer register TR is 1 or more (TR ≧ 1) (step 36). If the result of this determination is NO, no further processing is performed thereafter. Also, if the result of this determination is Y
In the case of ES, 1 is subtracted from the value of the timer register TR (step 37). The reason why 1 is subtracted from the value of the timer register TR in step 37 is to enable the subsequent processing to be performed at the time interval of the timer interrupt processing in FIG. More specifically, since this timer processing executed at a time interval of the main routine of the microcomputer 2 is executed at a shorter time interval than the timer interrupt processing, by subtracting 1 from the value of the timer register TR in this manner, In a normal case, the result of the determination in step 36 is NO (TR = 0), and the subsequent processing is not performed. Therefore, the processing after step 37 is executed only when the timer interrupt processing is performed. It will be.

【0023】上述のようにタイマレジスタTRの値から
1をマイナスした後には、その他の必要なタイマ処理を
行い(ステップ38)、そして次に、パワーオフタイマ
レジスタOFTにセットされた待ち時間WTの値が0か
否か、または、鍵盤KBもしくは操作パネル6になんら
かのイベントが有るか否かの判定を行う(ステップ3
9)。この判定結果がYESのときには以後の処理を行
うことなくこのタイマ処理を終了する。また、この判定
結果がNOのときには、ワーオフタイマレジスタOFT
に最後の待ち時間WTがセットされた後において、鍵盤
KBまたは操作パネル6においてなんらの操作イベント
もない無操作イベント状態が発生していることとなるた
め、前記セットされた待ち時間WTを1だけカウントダ
ウンするためパワーオフタイマレジスタOFTの値から
1をマイナスし(ステップ40)、次に、パワーオフタ
イマレジスタOFTの値が0か否かの判定を行う(ステ
ップ41)。この判定結果がNOのときには、セットさ
れた待ち時間WTが満了していないこととなるため、そ
のままこのタイマ処理を終了する。一方、この判定結果
がYESのときには、さらに、入力ポートの状態が
「1」か否かの判定を行う(ステップ42)。このステ
ップ42の判定結果がNOのときには、バッテリ電源8
が供給されているときにおいて前記待ち時間WTが満了
したこととなり、該バッテリ電源8についてのオートパ
ワーオフを行うため出力ポートを「0」し(ステップ4
3)、所定時間待つ(ステップ44)。これらのステッ
プ43、44は、コンデンサによって規定される時定数
分遅延して該バッテリ電源8からの電源供給が完全に遮
断されるまで、繰り返される。このようにして、バッテ
リ電源8からの電源の遮断が実行されることとなる。ま
た、一方、ステップ42の判定結果がYESのときに
は、交流電源9から電源が供給されているときにおいて
前記待ち時間WTが満了したこととなり、この場合には
以後の処理を行うことなくこのタイマ処理を終了する。
このようにして、交流電源9から電源が供給されている
ときにおける電源の遮断が禁止されることとなる。
After subtracting 1 from the value of the timer register TR as described above, other necessary timer processing is performed (step 38), and then the waiting time WT set in the power-off timer register OFT is calculated. It is determined whether the value is 0 or whether there is any event on the keyboard KB or the operation panel 6 (step 3).
9). When the result of this determination is YES, this timer process ends without performing the subsequent processes. When the determination result is NO, the word-off timer register OFT
After the last wait time WT is set, the no-operation event state in which no operation event occurs on the keyboard KB or the operation panel 6 has occurred. Therefore, the set wait time WT is set to one. To count down, 1 is subtracted from the value of the power-off timer register OFT (step 40), and then it is determined whether or not the value of the power-off timer register OFT is 0 (step 41). If the result of this determination is NO, it means that the set waiting time WT has not expired, and thus this timer processing is terminated. On the other hand, when the result of this determination is YES, it is further determined whether the state of the input port is "1" (step 42). If the decision result in the step 42 is NO, the battery power supply 8
Is supplied, the waiting time WT has expired, and the output port is set to "0" to perform automatic power-off of the battery power supply 8 (step 4).
3) Wait for a predetermined time (step 44). These steps 43 and 44 are repeated until the power supply from the battery power supply 8 is completely shut off with a delay of a time constant defined by the capacitor. In this way, the power supply from the battery power supply 8 is cut off. On the other hand, if the decision result in the step 42 is YES, the wait time WT has expired while the power is supplied from the AC power supply 9, and in this case, the timer processing is performed without performing the subsequent processing. To end.
In this way, the interruption of the power when the power is supplied from the AC power supply 9 is prohibited.

【0024】以上のようにして、バッテリ電源8使用時
において所定時間以上の無イベント状態が発生した場合
にバッテリ電源8を自動的に遮断するためのタイマ処理
が完了する。なお、前記ステップ39においてOFTが
0か否かについての判定を行い、その判定結果がNOの
ときには以後の処理を行わないようにしたのは、はじめ
から待ち時間WTのセツトがなされないようにした場
合、および、前回のタイマ処理のステップ40において
パワーオフタイマレジスタOFTの値から1をマイナス
した結果該レジスタOFTの値がはじめから0であり、
以後の処理を行う必要のない場合を考慮したためであ
る。
As described above, the timer processing for automatically shutting off the battery power supply 8 when the no-event state occurs for a predetermined time or more while using the battery power supply 8 is completed. It is to be noted that the determination as to whether or not the OFT is 0 in the above step 39, and the determination result is NO, the subsequent processing is not performed because the waiting time WT is not set from the beginning. And the result of subtracting 1 from the value of the power-off timer register OFT in step 40 of the previous timer processing, the value of the register OFT is initially 0,
This is because consideration has been given to a case where there is no need to perform subsequent processing.

【0025】次に、上記実施例に係る電源供給装置の動
作の一例を説明する。初めに、内部電源としてのバッテ
リ電源8が電子楽器に供給される場合について説明す
る。まず、モーメンタリパワースイッチ21がオン操作
されることにより、リセット信号発生器RGからマイク
ロコンピュータ2にリセットパルスRPが与えられ、マ
イクロコンピュータ2は出力ポートから電源オンオフ制
御回路15に「1」の信号を出力する。この信号によ
り、電源オンオフ制御回路15ではバッテリ電源8から
電子楽器メイン回路1に対する継続的な電源の供給を開
始し、このことにより、電子楽器が演奏操作可能になる
とともに、マイクロコンピュータ2が図3のメインルー
チンがスタートする。この後において、鍵盤KBまたは
操作パネル6の操作が行われると、マイクロコンピュー
タ2は、その度に、図4から図6に示したイベント処理
を実行し、所定の待ち時間WTをパワーオフタイマレジ
スタOFTにセットすることとなる。最後の待ち時間W
Tがセットされた後において、鍵盤KBまたは操作パネ
ル6に対してなんらの操作イベントもない無操作イベン
ト状態が発生すると、マイクロコンピュータ2は、図8
のステップ39を実行することによりその旨検出し、ス
テップ40の実行により前記待ち時間WTのカウントダ
ウンを開始する。そして、前記待ち時間WTが満了する
と、ステップ42、43、44を実行することにより、
バッテリ電源8からの電源を遮断することとなる。
Next, an example of the operation of the power supply device according to the above embodiment will be described. First, the case where the battery power supply 8 as the internal power supply is supplied to the electronic musical instrument will be described. First, when the momentary power switch 21 is turned on, a reset pulse RP is given from the reset signal generator RG to the microcomputer 2, and the microcomputer 2 sends a “1” signal to the power on / off control circuit 15 from the output port. Output. In response to this signal, the power on / off control circuit 15 starts continuous supply of power from the battery power supply 8 to the electronic musical instrument main circuit 1. This allows the electronic musical instrument to be operated and the microcomputer 2 to operate as shown in FIG. Starts the main routine. Thereafter, when the keyboard KB or the operation panel 6 is operated, the microcomputer 2 executes the event processing shown in FIGS. 4 to 6 each time, and sets the predetermined waiting time WT to the power-off timer register. It will be set to OFT. Last wait time W
After T is set, if no operation event state occurs on the keyboard KB or the operation panel 6 without any operation event, the microcomputer 2 causes
By executing step 39 of the above, that effect is detected, and by executing step 40, the countdown of the waiting time WT is started. Then, when the waiting time WT expires, by executing steps 42, 43, and 44,
The power supply from the battery power supply 8 is cut off.

【0026】一方、外部電源としての交流電源9が供給
される場合には、先ず、電源アダプタ10の接続がなさ
れる。この電源アダプタ10の接続により、バッテリ電
源8が電子楽器メイン回路1とは断続状態とされる代わ
りに、交流電源9が電子楽器メイン回路1と接続状態と
される。この状態においてモーメンタリパワースイッチ
21がオン操作されると、バッテリ電源8の場合と略同
様な動作により、電源オンオフ制御回路15では交流電
源9から電子楽器メイン回路1に対する継続的な電源の
供給を開始し、このことにより、電子楽器が演奏操作可
能になるとともに、マイクロコンピュータ2が図3のメ
インルーチンがスタートする。また、これと同時に、第
2の検出回路24が、交流電源9の接続を検出し論理レ
ベルが「1」の検出信号をマイクロコンピュータ2の入
力ポートに与える。このようにして、交流電源9の接続
が継続するかぎり該入力ポートの状態は「1」に維持さ
れる。その後、マイクロコンピュータ2は、バッテリ電
源8の場合と略同様な動作により、最後の待ち時間WT
をワーオフタイマレジスタOFTにセットした後に無操
作イベント状態が発生すると前記ステップ39を実行す
ることによりその旨検出することとなるが、ステップ4
2の処理を実行することにより、この無操作イベント状
態が前記セットされた待ち時間WT以上継続しても交流
電源9からの電源の遮断を禁止する。
On the other hand, when an AC power supply 9 is supplied as an external power supply, first, a power supply adapter 10 is connected. By the connection of the power adapter 10, the AC power supply 9 is connected to the electronic musical instrument main circuit 1 instead of the battery power supply 8 being disconnected from the electronic musical instrument main circuit 1. When the momentary power switch 21 is turned on in this state, the power supply on / off control circuit 15 starts continuous supply of power from the AC power supply 9 to the electronic musical instrument main circuit 1 in substantially the same operation as in the case of the battery power supply 8. As a result, the electronic musical instrument becomes operable, and the microcomputer 2 starts the main routine of FIG. At the same time, the second detection circuit 24 detects the connection of the AC power supply 9 and supplies a detection signal having a logic level “1” to the input port of the microcomputer 2. In this way, the state of the input port is maintained at "1" as long as the connection of the AC power supply 9 is continued. Thereafter, the microcomputer 2 performs the last waiting time WT by performing substantially the same operation as in the case of the battery power supply 8.
Is set in the word-off timer register OFT, the occurrence of the no-operation event state is detected by executing step 39.
By executing the process 2, even if the no-operation event state continues for the set waiting time WT or more, the interruption of the power supply from the AC power supply 9 is prohibited.

【0027】なお、この発明は、上記の実施例のように
交流電源9が接続されているときには常時オートパワー
オフを禁止するものに限らず、交流電源9が接続されて
いるときには選択的にオートパワーオフを禁止するよう
にしてもよい。このように選択的にオートパワーオフを
禁止できるようにするためには、例えば次のような構成
例を採用することができる。その1つは、図1において
破線ブロックで示すような検出イネーブルスイツチ26
を設け、該スイツチ26により第2の検出回路24の検
出機能をオン、オフするものである。また、もう1つの
例は、ソフトウエアにより、オートパワーオフを実行す
べきときには「1」を、禁止すべきときには「0」を記
憶するオートパワーオフフラグを用意しておき、図8の
タイマ処理において前記フラグの記憶内容に基づいた処
理を行うものである。すなわち、図8のステップ42に
おいて、入力ポートが「1」かを判定する代わりに、入
力ポートが「1」で且つ前記オートパワーオフフラグの
値が「0」か否かの判定を行い、この判定結果がNOの
ときにのみ以後のステップ43、44を実行することと
なる。
The present invention is not limited to the one in which the automatic power-off is always prohibited when the AC power supply 9 is connected as in the above-described embodiment, but is selectively disabled when the AC power supply 9 is connected. Power off may be prohibited. In order to selectively inhibit the automatic power-off as described above, for example, the following configuration example can be adopted. One is a detection enable switch 26 as shown by the dashed block in FIG.
And the switch 26 turns the detection function of the second detection circuit 24 on and off. Another example is that an auto power off flag that stores “1” when auto power off is to be executed by software and “0” when prohibition is performed by software is prepared, and the timer processing of FIG. Performs processing based on the stored contents of the flag. That is, instead of determining whether the input port is "1" in step 42 of FIG. 8, it is determined whether the input port is "1" and the value of the auto power off flag is "0". Only when the determination result is NO, the subsequent steps 43 and 44 are executed.

【0028】なお、この発明は、上記のように鍵盤また
は操作パネルにおける操作イベントに応じて待ち時間の
セットを行うものに限らず、その他の演奏イベントを示
す情報に応じて待ち時間のセットを行うようにしてもよ
い。例えば、自動伴奏による楽音信号の発生イベント、
または、MIDI端子から入力する演奏情報の入力イベ
ント等を示す情報に応じて待ち時間をセットするように
してもよい。
The present invention is not limited to the setting of the waiting time in accordance with the operation event on the keyboard or the operation panel as described above, but the setting of the waiting time in accordance with information indicating other performance events. You may do so. For example, an event of generating a tone signal by automatic accompaniment,
Alternatively, the waiting time may be set in accordance with information indicating an input event or the like of performance information input from the MIDI terminal.

【0029】[0029]

【発明の効果】 以上のように、この発明によれば、電
子楽器に供給しているのが外部電源であるのか否かを検
出し、外部電源が供給されていないならば、すなわち内
部電源が供給されているならば、演奏イベント情報の発
生が無い状態が所定時間以上継続したときに電力節約の
ための電源遮断を行うようにしている。これによって、
内部電源の消耗を防ぐことができる一方で、電子楽器の
駆動電源として外部電源を使用している場合は不適切な
電源の自動遮断が行われないようにすることができる、
という優れた効果を奏する。そして、このように供給制
御された電源により制御回路が動作するので、外部電源
の使用に並行して内部電源が制御回路で使用されてしま
うような不都合な事態が起こることがなく、内部電源の
節約効果をより一層高めることができる。更に、この発
明によれば、電子楽器の動作を制御する処理をプログラ
ムに従って実行する制御回路つまりマイクロコンピュー
タのようなコンピュータ回路によって行なうようになっ
ており、この制御回路によって、演奏イベント情報の発
生の有無を検出するイベント情報検出処理と、演奏イベ
ント情報の発生有のとき所定の演奏動作制御を実行する
処理、という電子楽器本来の処理を実行するのみなら
ず、演奏イベント情報の発生が無い状態が所定時間以上
継続したか否かを判定する処理を行い、更に、演奏イベ
ント情報の発生が無い状態が所定時間以上継続しかつ前
記外部電源供給検出手段から外部電源供給検出信号が出
力されていないならば、前記電源供給手段に対して電源
遮断命令を発生する処理を行うように前記プログラムを
構成してなることを特徴としているので、電源遮断制御
処理のために特別の制御回路を付加することなく、演奏
イベント情報の発生に基づく各種の演奏動作制御処理を
行なうための制御回路を共用してこの電源遮断制御処理
を行うことができ、極めて簡単な回路構成によって電源
遮断制御処理を遂行することができる、という優れた効
果を奏する。更に、この発明によれば、制御回路を含む
電子楽器の各部に対する電源供給を制御する電源オンオ
フ制御回路が、電源スイッチの手動操作に基づく電源供
給制御(手動制御)と、前記制御回路からの電源遮断命
令に基づく制御(自動制御)の双方によって制御される
構成であるため、1つの電源オンオフ制御回路を手動
御と自動制御とで共用することができ、また、この電源
オンオフ制御回路は、内部電源と外部電源との間でも実
質的に供用されていることとなり、電源オンオフ制御の
ための回路構成を簡素化することができる、という優れ
た効果を奏する
As described above, according to the present invention, it is detected whether or not the external power supply is supplied to the electronic musical instrument. If the external power supply is not supplied, that is, if the internal power supply is If the power is supplied, the power is cut off to save power when the performance event information is not generated for a predetermined time or more. by this,
While it is possible to prevent the consumption of the internal power supply, if an external power supply is used as the drive power supply for the electronic musical instrument, it is possible to prevent inappropriate automatic power-off from being performed.
It has an excellent effect. Since the control circuit operates with the power supply controlled in this way, there is no inconvenience that the internal power supply is used in the control circuit in parallel with the use of the external power supply. The saving effect can be further enhanced. Further, according to the present invention, the processing for controlling the operation of the electronic musical instrument is performed by a control circuit for executing a program in accordance with a program, that is, a computer circuit such as a microcomputer. In addition to performing the original processing of the electronic musical instrument, that is, the event information detection processing for detecting the presence / absence, and the processing for performing a predetermined performance control when the performance event information is generated, the performance event information is not generated. A process is performed to determine whether or not the event has continued for a predetermined time or more.If no performance event information has been generated for a predetermined time or more and no external power supply detection signal has been output from the external power supply detection means, For example, the program may be configured to perform a process of generating a power-off instruction to the power supply unit. Therefore, without adding a special control circuit for the power cutoff control process, the power supply is shared by a control circuit for performing various performance operation control processes based on the generation of performance event information. It is possible to perform an interruption control process, and it is possible to perform the power interruption control process with an extremely simple circuit configuration. Furthermore, according to the present invention, a control circuit is included.
A power on / off that controls the power supply to each part of the electronic musical instrument
Power supply circuit based on manual operation of the power switch.
Supply control (manual control), and power-off command from the control circuit.
It is controlled by both control based on decree (automatic control)
Configuration, one power on / off control circuit is manually controlled.
Control and automatic control, and this power supply
The on / off control circuit is implemented between the internal power supply and the external power supply.
It is used qualitatively, and the power on / off control
That the circuit configuration can be simplified.
It has the effect .

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の一実施例に係る電源供給装置を使
用した電子楽器の全体を示すブロック図。
FIG. 1 is a block diagram showing an entire electronic musical instrument using a power supply device according to an embodiment of the present invention.

【図2】 図1のマイクロコンピュータにより実行され
るインタラプトルーチンの一例を示す図。
FIG. 2 is an exemplary view showing an example of an interrupt routine executed by the microcomputer of FIG. 1;

【図3】 図1のマイクロコンピュータにより実行され
るメインルーチンの一例を示す図。
FIG. 3 is an exemplary view showing an example of a main routine executed by the microcomputer of FIG. 1;

【図4】 図3のメインルーチンにおける鍵盤処理で実
行されるキーオンイベント処理の一例を示す図。
FIG. 4 is an exemplary view showing an example of a key-on event process executed in a keyboard process in the main routine of FIG. 3;

【図5】 図3のメインルーチンにおける鍵盤処理で実
行されるキーオフイベント処理の一例を示す図。
FIG. 5 is an exemplary view showing an example of a key-off event process executed in a keyboard process in the main routine of FIG. 3;

【図6】 図3のメインルーチンにおけるパネル処理で
実行されるパネル操作子オンイベント処理の一例を示す
図。
FIG. 6 is a view showing an example of a panel operator ON event process executed in the panel process in the main routine of FIG. 3;

【図7】 マイクロコンピュータにより実行されるタイ
マインタラプト処理の一例を示す図。
FIG. 7 is a diagram showing an example of a timer interrupt process executed by the microcomputer.

【図8】 図3のメインルーチンにおけるタイマ処理の
一例を示す図。
FIG. 8 is a view showing an example of a timer process in the main routine of FIG. 3;

【符号の説明】[Explanation of symbols]

2…マイクロコンピュータ、3…鍵盤、6…操作パネ
ル、8…バッテリ電源、9…交流電源、10…電源アダ
プタ、15…電源オンオフ制御回路、24…検出回路。
2 microcomputer, 3 keyboard, 6 operation panel, 8 battery power, 9 AC power, 10 power adapter, 15 power on / off control circuit, 24 detection circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−116020(JP,A) 実開 昭63−188695(JP,U) 実開 昭59−161191(JP,U) 実開 平1−79344(JP,U) 実開 昭51−152928(JP,U) 特公 昭55−13217(JP,B2) (58)調査した分野(Int.Cl.6,DB名) G10H 1/00──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-60-116020 (JP, A) JP-A-63-188695 (JP, U) JP-A-59-161191 (JP, U) JP-A-60-161191 79344 (JP, U) Japanese Utility Model Showa 51-152828 (JP, U) JP-B 55-13217 (JP, B2) (58) Fields investigated (Int. Cl. 6 , DB name) G10H 1/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 電子楽器の内部に設けられた内部電源
と、 外部電源を導入するための外部電源導入手段と、 前記内部電源または外部電源導入手段によって導入され
る前記外部電源の一方を選択的に供給するための電源供
給手段と、 前記電源供給手段によって外部電源が供給されたときこ
れに応答して外部電源供給検出信号を出力する外部電源
供給検出手段と、 電子楽器の動作を制御する処理をプログラムに従って実
行する制御回路であって演奏イベント情報の発生の有
無を検出するイベント情報検出処理と、演奏イベント情
報の発生有のとき所定の演奏動作制御を実行する処理
と、演奏イベント情報の発生が無い状態が所定時間以上
継続したか否かを判定する処理と、演奏イベント情報の
発生が無い状態が所定時間以上継続しかつ前記外部電源
供給検出手段から外部電源供給検出信号が出力されてい
ないならば電源遮断命令を発生する処理とを行うよう
前記プログラムを構成してなるものと、操作者の操作に応じて電源の投入を制御する電源スイッ
チと、 前記電源供給手段により選択的に供給される電源を前記
制御回路及び電子楽器の各部に供給することを前記電源
スイッチの操作に応じて制御すると共に、 前記制御回路
からの電源遮断命令に応じて該制御回路及び電子楽器の
各部に対する電源供給を遮断するよう制御する電源オン
オフ制御回路とを具えた電子楽器における電源供給装
置。
1. An internal power supply provided inside an electronic musical instrument, external power supply means for introducing an external power supply, and one of the internal power supply or the external power supply introduced by the external power supply means is selectively selected. and power supply means for supplying to the external power supply detecting means for outputting an external power supply detection signal in response thereto when the external power is supplied by said power supply means, processing for controlling the operation of the electronic musical instrument a control circuit for executing according to a program, and event information detecting process for detecting the presence or absence of occurrence of the performance event information, a process of executing a predetermined performance operations control when generating chromatic performance event information, the performance event information A process of determining whether or not a state in which no performance has occurred has continued for a predetermined time or more; If the external power supply detection signal from the power supply detection means is not outputted, and made to configure the program to perform a process for generating a power cutoff instruction, a power-on in response to operation of the operator Power switch to control
And power supplied selectively by the power supply means.
The power supply for supplying to the control circuit and each part of the electronic musical instrument;
Control is performed in accordance with the operation of the switch, and the control circuit and the electronic musical instrument are controlled in response to a power-off command from the control circuit .
Power on to control to cut off power supply to each part
A power supply device for an electronic musical instrument comprising an off control circuit.
【請求項2】 前記電源遮断命令の発生処理を行うか否
かを選択する選択手段を更に具えた請求項1の電子楽器
における電源供給装置。
2. The power supply device for an electronic musical instrument according to claim 1, further comprising selection means for selecting whether or not to execute the power supply cutoff command generation processing.
JP3059361A 1991-03-01 1991-03-01 Power supply for electronic musical instruments Expired - Fee Related JP2847996B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3059361A JP2847996B2 (en) 1991-03-01 1991-03-01 Power supply for electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3059361A JP2847996B2 (en) 1991-03-01 1991-03-01 Power supply for electronic musical instruments

Publications (2)

Publication Number Publication Date
JPH04274489A JPH04274489A (en) 1992-09-30
JP2847996B2 true JP2847996B2 (en) 1999-01-20

Family

ID=13111055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3059361A Expired - Fee Related JP2847996B2 (en) 1991-03-01 1991-03-01 Power supply for electronic musical instruments

Country Status (1)

Country Link
JP (1) JP2847996B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2434479A2 (en) 2010-09-24 2012-03-28 YAMAHA Corporation Electronic apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418535B1 (en) * 1999-04-28 2002-07-09 International Business Machines Corporation Bi-level power saver method for portable or laptop computer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5513217A (en) * 1978-07-13 1980-01-30 Tama Seikagaku Kk Separation and purification of glutylrutin
JPS59161191U (en) * 1983-04-15 1984-10-29 ヤマハ株式会社 electronic musical instruments
US4669059A (en) * 1983-11-07 1987-05-26 Motorola, Inc. Method and apparatus in a data processor for selectively disabling a power-down instruction
JPS63188695U (en) * 1987-05-25 1988-12-02
JPH0179344U (en) * 1987-11-17 1989-05-29

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2434479A2 (en) 2010-09-24 2012-03-28 YAMAHA Corporation Electronic apparatus

Also Published As

Publication number Publication date
JPH04274489A (en) 1992-09-30

Similar Documents

Publication Publication Date Title
JP2847996B2 (en) Power supply for electronic musical instruments
US4463646A (en) Power saving apparatus for electronic musical instrument
JP3139923B2 (en) Automatic accompaniment device
US4926738A (en) Electronic rhythm performing apparatus generating both manual and automatic rhythm tones
US5576506A (en) Device for editing automatic performance data in response to inputted control data
JP3192597B2 (en) Automatic musical instrument for electronic musical instruments
JP3087732B2 (en) Electronic musical instrument system
JP2551056B2 (en) Parameter setting device for electronic musical instruments
JP3351570B2 (en) Electronic musical instrument parameter setting device
JP3334781B2 (en) Automatic accompaniment device
JP3226268B2 (en) Concert magic automatic performance device
JP3596024B2 (en) Electronic musical instrument
JP3205662B2 (en) Electronic musical instrument
JP2770770B2 (en) Electronic musical instrument
JP2001188527A (en) Keyboard device
JP2778594B2 (en) Electronic musical instrument
JPH0722715Y2 (en) Pitch modulator
JPH07234673A (en) Electronic musical instrument
JP2697584B2 (en) Electronic equipment parameter setting device
JP3176995B2 (en) Performance information processing apparatus and performance information processing system
JP2531330B2 (en) Electronic musical instrument
JPH04283797A (en) Electronic musical instrument
JP2760338B2 (en) Automatic accompaniment control device
JPH07146681A (en) Electronic musical instrument
JPH07104751A (en) Electronic musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071106

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees