[go: up one dir, main page]

JP2675488B2 - Electronic device key input detection device - Google Patents

Electronic device key input detection device

Info

Publication number
JP2675488B2
JP2675488B2 JP4206619A JP20661992A JP2675488B2 JP 2675488 B2 JP2675488 B2 JP 2675488B2 JP 4206619 A JP4206619 A JP 4206619A JP 20661992 A JP20661992 A JP 20661992A JP 2675488 B2 JP2675488 B2 JP 2675488B2
Authority
JP
Japan
Prior art keywords
key
voltage
input
microcomputer
key switch
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 - Lifetime
Application number
JP4206619A
Other languages
Japanese (ja)
Other versions
JPH0651893A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4206619A priority Critical patent/JP2675488B2/en
Publication of JPH0651893A publication Critical patent/JPH0651893A/en
Application granted granted Critical
Publication of JP2675488B2 publication Critical patent/JP2675488B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Safety Devices In Control Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、操作されるキースイッ
チごとに異なる電圧レベルのアナログ信号をマイコンに
入力することで、該マイコンにより操作されたキースイ
ッチを検出する電子機器のキー入力検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key input detecting device for an electronic device which detects a key switch operated by the microcomputer by inputting an analog signal having a different voltage level to each key switch operated by the microcomputer. Regarding

【0002】[0002]

【従来の技術】最近の電子機器の多くは、マイコンを備
え、該マイコンによりシステム全般の制御が行えるよう
に成されており、通常、種々の制御を行う為に入力用の
複数のキースイッチが設けられている。
2. Description of the Related Art Most of recent electronic devices are equipped with a microcomputer so that the entire system can be controlled by the microcomputer. Normally, a plurality of key switches for input are used to perform various controls. It is provided.

【0003】この様な電子機器においては、操作された
キースイッチをマイコンにより検出するように構成され
るキー入力検出装置が設けられているが、キー入力検出
装置としては、操作されるキースイッチごとに異なる電
圧レベルのアナログ信号が発生するようにするととも
に、マイコンとしてアナログ信号入力可能なアナログ・
デジタル変換器を備えるものを使用し、入力されたアナ
ログ信号の電圧レベルに基づいて操作されたキースイッ
チを検出するように成したものが知られている。この様
なキー入力検出装置を用いることにより複数のキースイ
ッチを検出する為に単一のアナログ入力端子をマイコン
に用意すれば事足りる。
In such an electronic device, a key input detecting device configured to detect an operated key switch by a microcomputer is provided. As the key input detecting device, each key switch operated is provided. Analog signals of different voltage levels are generated in the
It is known to use a device provided with a digital converter and detect a operated key switch based on a voltage level of an input analog signal. It suffices if a microcomputer is provided with a single analog input terminal in order to detect a plurality of key switches by using such a key input detection device.

【0004】ところで、電子機器には、持ち運び可能な
携帯用とする為に電源にバッテリーを使用したものが知
られている。この様な電子機器においては、一般にマイ
コンにより各回路への電源供給が管理されており、マイ
コンの動作が停止された状態が電源遮断状態となる。そ
の為、この様な電子機器においては、電源スイッチを省
略し、他の主要な操作スイッチ、例えば音楽再生機器の
場合は再生スイッチを操作することにより再生を行わせ
る旨の制御信号を発生するとともに、マイコンを起動さ
せる為の起動信号を発生するように構成したものが存在
する。
By the way, there is known an electronic device using a battery as a power source in order to make it portable and portable. In such an electronic device, generally, the power supply to each circuit is managed by the microcomputer, and the state in which the operation of the microcomputer is stopped is the power-off state. Therefore, in such an electronic device, a power supply switch is omitted, and a control signal for instructing reproduction is generated by operating another main operation switch, for example, a reproduction switch in the case of a music reproduction device. , There is one configured to generate a start signal for starting a microcomputer.

【0005】[0005]

【発明が解決しようとする課題】ところで、従来は所定
の単一のスイッチのみによりマイコンを起動させる構成
であったが、電子機器によってはマイコンの起動が同時
に行われた方が都合の良い操作は必ずしも1つではな
く、一方、全ての操作によりマイコンの起動が同時に行
われるようにすると、不必要にマイコンを作動させるこ
とになり、誤動作や消費電力の点から好ましくない。
By the way, in the past, the configuration was such that the microcomputer was started by only a predetermined single switch, but depending on the electronic device, it is convenient to start the microcomputer at the same time. On the other hand, the number of the microcomputers is not always one. On the other hand, if the microcomputers are simultaneously activated by all operations, the microcomputers are unnecessarily operated, which is not preferable in terms of malfunction and power consumption.

【0006】また、前述した如く、入力されたアナログ
信号の電圧レベルに基づいて操作されたキースイッチを
検出するように成された電子機器においては、電圧レベ
ルがあらかじめ設定される所定値以下となる低電圧を検
出する低電圧検出回路を設け、複数の各キースイッチが
操作された際に発生するアナログ信号の最小の電圧レベ
ルのみが前記低電圧検出回路の設定電圧レベル以下にな
るようにすることで操作された際に発生するアナログ信
号の電圧レベルが最小となるキースイッチを判別するこ
とが出来る。この様にして判別されるキースイッチを、
マイコンを起動させることが出来る特定のキースイッチ
に限定することが出来る。
Further, as described above, in the electronic device configured to detect the key switch operated on the basis of the voltage level of the input analog signal, the voltage level becomes equal to or lower than a predetermined value set in advance. Providing a low voltage detection circuit for detecting a low voltage so that only the minimum voltage level of the analog signal generated when a plurality of key switches is operated falls below the set voltage level of the low voltage detection circuit. It is possible to determine the key switch that minimizes the voltage level of the analog signal generated when the key switch is operated. The key switch identified in this way is
It can be limited to a specific key switch that can activate the microcomputer.

【0007】しかしながら、電源としてバッテリーを使
用する電子機器においては、バッテリーの消耗により電
源電圧が低下すると、低電圧検出回路が常に低電圧を検
出している状態になり、それに伴ってバッテリーの放電
系路が形成され、バッテリーが過放電されてしまうとい
う問題があった。
However, in an electronic device that uses a battery as a power source, when the power source voltage drops due to exhaustion of the battery, the low voltage detection circuit constantly detects the low voltage, and accordingly, the battery discharge system. There was a problem that the road was formed and the battery was over-discharged.

【0008】[0008]

【課題を解決するための手段】本発明は前述の問題点に
鑑みて成された電子機器のキー入力検出装置を提供する
ものであり、電源電圧を分圧する抵抗分圧器に複数のキ
ースイッチの各キースイッチを組み込んで構成されるキ
ー入力手段と、該キー入力手段の操作されたキースイッ
チに応じて異なる電圧レベルのアナログのキー入力信号
が入力されるマイコンに備えられたアナログ入力端子
と、該アナログ入力端子に入力されるキー入力信号に基
づいて操作されたキースイッチを検出する入力キー検出
手段と、前記アナログ入力端子に印加された電圧レベル
が所定値以下の低電圧であることを検出し、その検出に
基づいて選択的に前記マイコンを起動させる為の検出出
力を発生する低電圧検出回路とを設け、該低電圧検出回
路による低電圧検出レベルを、前記キー入力手段の各キ
ースイッチが操作された際に発生する電圧レベル範囲の
中間で、かつ前記キー入力手段の複数の所定の各キース
イッチが操作された際に発生する各電圧レベルより大に
設定している。
SUMMARY OF THE INVENTION The present invention provides a key input detecting device for an electronic device, which is made in view of the above-mentioned problems, in which a resistor voltage divider for dividing a power supply voltage is provided with a plurality of key switches. Key input means configured by incorporating each key switch, and an analog input terminal provided in a microcomputer to which analog key input signals of different voltage levels are input according to the operated key switch of the key input means, Input key detecting means for detecting a key switch operated based on a key input signal input to the analog input terminal, and detecting that the voltage level applied to the analog input terminal is a low voltage below a predetermined value. And a low voltage detection circuit for generating a detection output for selectively activating the microcomputer based on the detection, and low voltage detection by the low voltage detection circuit. The bell is a voltage level in the middle of the voltage level range generated when each key switch of the key input means is operated, and each voltage level generated when a plurality of predetermined key switches of the key input means are operated. It is set to be larger.

【0009】また、前述の構成要件に更に、低電圧検出
回路による検出出力に応じて前記マイコンを起動させる
起動信号を選択的に発生するスイッチングトランジスタ
と、該スイッチングトランジスタをオン状態にする最低
電圧レベルを調整する為の定電圧素子とを設け、電源電
圧が低下し、キー入力手段の操作に依らず低電圧検出回
路による低電圧検出が行われる状態になったとき、前記
スイッチングトランジスタがオンされるのを防止し、該
スイッチングトランジスタに接続される負荷抵抗により
バッテリーの放電が行われるのを防止している。
Further, in addition to the above-mentioned constitutional requirements, a switching transistor for selectively generating an activation signal for activating the microcomputer in accordance with a detection output by a low voltage detection circuit, and a minimum voltage level for turning on the switching transistor. And a constant voltage element for adjusting the power supply voltage, the switching transistor is turned on when the power supply voltage decreases and the low voltage detection circuit is in a state where low voltage detection is performed irrespective of the operation of the key input means. This prevents the load resistor connected to the switching transistor from discharging the battery.

【0010】[0010]

【作用】本発明は、各キースイッチの操作に応じてそれ
ぞれ異なる電圧レベルのアナログのキー入力信号をマイ
コンに入力することにより操作されたキースイッチを検
出するように成されたものにおいて、各キースイッチの
操作時にそれぞれ発生するキー入力信号の電圧レベルが
低い方の複数の所定のキースイッチを判別するべく低電
圧検出回路による低電圧検出レベルを設定し、該低電圧
検出回路により低電圧検出レベルが検出されたときにマ
イコンを起動させるようにして前記複数の所定の各キー
スイッチが操作されたときに各キースイッチに意味付け
られた制御を行わせるとともに、マイコンを起動させる
ようにしている。
According to the present invention, the key switch operated is detected by inputting analog key input signals having different voltage levels to the microcomputer according to the operation of each key switch. A low voltage detection level is set by the low voltage detection circuit in order to determine a plurality of predetermined key switches having a lower voltage level of the key input signal generated when the switch is operated, and the low voltage detection level is set by the low voltage detection circuit. When the key switch is detected, the microcomputer is activated, and when each of the plurality of predetermined key switches is operated, the control assigned to each key switch is performed and the microcomputer is activated.

【0011】また、本発明は、低電圧検出回路による検
出出力に応じてオン・オフが制御されるスイッチングト
ランジスタによりマイコンを起動させる起動信号を発生
するように成されたものにおいて、電源電圧が低下し、
キースイッチの操作に依らず低電圧検出回路による低電
圧検出が行われる状態になったとき、前記スイッチング
トランジスタがオンされるのを防止するべく該スイッチ
ングトランジスタをオン状態にする最低電圧レベルを調
整する為の定電圧素子を接続し、前記スイッチングトラ
ンジスタに接続される負荷抵抗によりバッテリーが放電
されるのを防止している。
Further, according to the present invention, a switching transistor whose on / off is controlled according to a detection output from a low voltage detection circuit is used to generate a start signal for starting a microcomputer. Then
Adjusting the minimum voltage level for turning on the switching transistor in order to prevent the switching transistor from being turned on when the low voltage detection circuit is in a state where low voltage detection is performed regardless of the operation of the key switch. A constant voltage element is connected to prevent the battery from being discharged by the load resistance connected to the switching transistor.

【0012】[0012]

【実施例】図1は本発明の一実施例を示す回路図で、1
は電源となるバッテリー、はバッテリー1とアース間
に直列接続される複数の抵抗3,4,5,6から成る抵
抗分圧器、は該抵抗分圧器の各抵抗の接続点とアー
ス間に接続される複数のキースイッチ、すなわち第1キ
ースイッチ8、第2キースイッチ9、第3キースイッチ
10及び第Nキースイッチ11から成るキー入力手段で
ある。
FIG. 1 is a circuit diagram showing an embodiment of the present invention.
Is a battery serving as a power source, 2 is a resistance voltage divider composed of a plurality of resistors 3, 4, 5, 6 connected in series between the battery 1 and ground, and 7 is between the connection point of each resistance of the resistance voltage divider 2 and ground Is a key input means composed of a plurality of key switches connected to each other, that is, a first key switch 8, a second key switch 9, a third key switch 10 and an Nth key switch 11.

【0013】12はバッテリー1により動作電圧を得る
為の電源端子13を備え、各種の制御を司るマイコンで
ある。前記マイコン12には、アナログ信号をデジタル
信号に変換するアナログ・デジタル変換機能が備えられ
ており、キー入力手段の各キースイッチの操作に応じ
た電圧レベルのキー入力信号が発生するキー入力手段
の出力点Aに接続されるアナログ入力端子14が設けら
れている。また、前記マイコン12は、割込み要求を受
付ける為の割込み要求端子15を備え、該割込み要求端
子15に印加されるデジタル信号レベルが「L」レベル
になると、その「L」レベル信号が起動信号として作用
し、マイコン12の動作が停止されたスリープモードに
あるとき前記割込み要求端子15に「L」レベル信号が
印加されることにより起動されるように成されている。
Reference numeral 12 is a microcomputer having a power supply terminal 13 for obtaining an operating voltage from the battery 1 and controlling various controls. The microcomputer 12 is provided with an analog / digital conversion function for converting an analog signal into a digital signal, and key input means for generating a key input signal having a voltage level according to the operation of each key switch of the key input means 7. 7
The analog input terminal 14 connected to the output point A is provided. Further, the microcomputer 12 has an interrupt request terminal 15 for receiving an interrupt request, and when the digital signal level applied to the interrupt request terminal 15 becomes "L" level, the "L" level signal is used as a start signal. When the microcomputer 12 is in the sleep mode in which the operation of the microcomputer 12 is stopped, the microcomputer 12 is activated by applying the "L" level signal to the interrupt request terminal 15.

【0014】16はマイコン12内に備えられ、アナロ
グ入力端子14に印加される電圧レベルに基づいて操作
されたキースイッチを検出する入力キー検出手段、17
はキー入力手段の出力点A、すなわちアナログ入力端
子14に印加される電圧レベルが所定値以下の低電圧で
あることを検出する低電圧検出回路である。
Reference numeral 16 is an input key detecting means provided in the microcomputer 12 for detecting a key switch operated based on a voltage level applied to the analog input terminal 14,
Is a low voltage detection circuit for detecting that the voltage level applied to the output point A of the key input means 7 , that is, the analog input terminal 14 is a low voltage below a predetermined value.

【0015】前記低電圧検出回路17は、出力がバッテ
リー1の電源電圧である「H」レベルに保持され、
「H」レベル信号を発生している状態で安定しており、
低電圧が検出されたときに一時的にアース電圧レベルで
ある「L」レベルとなり、パルス的な「L」レベル信号
が発生される。
The output of the low voltage detection circuit 17 is held at the "H" level which is the power supply voltage of the battery 1,
It is stable in the state where the "H" level signal is generated,
When a low voltage is detected, it temporarily becomes the ground voltage level "L" level, and a pulse-like "L" level signal is generated.

【0016】18はコレクタが負荷抵抗19を介してバ
ッテリー1に接続されているとともに、マイコン12の
割込み要求端子15に接続され、エミッタが前記低電圧
検出回路17の出力端子に接続されたNPN型のスイッ
チングトランジスタ、20はカソードがバッテリー1に
接続され、アノードがベース抵抗21を介して前記スイ
ッチングトランジスタ18のベースに接続されたツェナ
ーダイオードである。
An NPN type 18 has a collector connected to the battery 1 via a load resistor 19, an interrupt request terminal 15 of the microcomputer 12, and an emitter connected to the output terminal of the low voltage detection circuit 17. The switching transistor 20 is a Zener diode having a cathode connected to the battery 1 and an anode connected to the base of the switching transistor 18 via a base resistor 21.

【0017】次に動作に付いて説明する。Next, the operation will be described.

【0018】キー入力手段のいずれのキースイッチも
操作されていない状態において、キー入力手段の出力
点Aはアースから切り離されているので、前記出力点A
にはバッテリー1の電源電圧が発生される。
When none of the key switches of the key input means 7 is operated, the output point A of the key input means 7 is disconnected from the ground, so that the output point A
The power supply voltage of the battery 1 is generated in the battery.

【0019】一方、キー入力手段の各キースイッチが
操作されると、操作されたキースイッチを介して抵抗分
圧器の各抵抗の接続点となるいずれかの分圧点がアー
スされる。
On the other hand, when each key switch of the key input means 7 is operated, one of the voltage dividing points, which is a connection point of each resistance of the resistance voltage divider 2 , is grounded via the operated key switch.

【0020】この場合、一端が出力点Aに直結される第
1キースイッチ8が操作されると、前記出力点Aがアー
スされるので、該出力点Aにはアース電圧レベル「0」
が発生する。そして、キースイッチの一端と前記出力点
Aとの間に介在される抵抗分圧器の抵抗が増加するご
とに各キースイッチが操作された際に前記出力点Aに発
生する電圧レベルは上昇し、抵抗分圧器の終端に一端
が接続される第Nキースイッチ11が操作された際に
は、前記出力点Aに発生する電圧レベルは抵抗3と該抵
抗3を除く抵抗分圧器を構成する全ての抵抗4,5,
6とによりバッテリー1の電源電圧を分圧した最大分圧
レベルVmaxとなる。
In this case, when the first key switch 8 whose one end is directly connected to the output point A is operated, the output point A is grounded, so that the ground voltage level "0" is applied to the output point A.
Occurs. Then, as the resistance of the resistance voltage divider 2 interposed between one end of the key switch and the output point A increases, the voltage level generated at the output point A when each key switch is operated increases. When the Nth key switch 11, one end of which is connected to the end of the resistance voltage divider 2 , is operated, the voltage level generated at the output point A constitutes the resistance 3 and the resistance voltage divider 2 excluding the resistance 3. All resistors 4, 5,
6, the maximum voltage division level Vmax is obtained by dividing the power supply voltage of the battery 1.

【0021】したがって、キー入力手段の各キースイ
ッチが操作されると、出力点Aには、操作されたキース
イッチに応じて図2に示す如く、アース電圧レベル0か
ら前記最大分圧レベルVmaxまでの電圧レベル範囲内で
段階的に異なる電圧レベルのキー入力信号が発生される
ことになる。
Therefore, when each key switch of the key input means 7 is operated, at the output point A, depending on the operated key switch, as shown in FIG. 2, from the ground voltage level 0 to the maximum voltage division level Vmax. Key input signals having different voltage levels are generated within the voltage level range up to.

【0022】尚、抵抗分圧器を構成する各抵抗は、出
力点Aに発生するキー入力信号の各電圧レベルが適当な
電位差を有して分散されるように設定されており、各電
圧レベルに基づいて入力キー検出手段16により操作さ
れたキースイッチの検出が確実になるように成されてい
る。
The resistances constituting the resistance voltage divider 2 are set so that the voltage levels of the key input signal generated at the output point A are dispersed with an appropriate potential difference, and the voltage levels are different. Based on the above, the detection of the key switch operated by the input key detecting means 16 is ensured.

【0023】また、低電圧検出回路17が検出する低電
圧検出レベルの最大電圧レベルとなる臨界電圧Vcは、
図2に示す如く、第2キースイッチ9が操作されたとき
に出力点Aに発生する電圧レベルと第3キースイッチ1
0が操作されたときに出力点Aに発生する電圧レベルと
の中間に設定されている。その為、前記低電圧検出回路
17は、キー入力手段の各キースイッチのうち、第1
キースイッチ8及び第2キースイッチ9が操作されたと
きのみ出力点Aに発生するキー入力信号が低電圧である
ことを検出する。
The critical voltage Vc, which is the maximum voltage level of the low voltage detection level detected by the low voltage detection circuit 17, is
As shown in FIG. 2, the voltage level generated at the output point A when the second key switch 9 is operated and the third key switch 1
It is set in the middle of the voltage level generated at the output point A when 0 is operated. Therefore, the low voltage detection circuit 17 is the first of the key switches of the key input means 7 .
Only when the key switch 8 and the second key switch 9 are operated, it is detected that the key input signal generated at the output point A has a low voltage.

【0024】低電圧検出回路17は、キー入力手段
いずれのキースイッチも操作されていない状態におい
て、低電圧を検出しないので、出力が「H」レベルに保
持されている。ここで、前記「H」レベルはバッテリー
1の電源電圧であるので、スイッチングトランジスタ1
8は、逆バイアスされ、オフ状態に保持されている。そ
の為、この状態において、マイコン12の割込み要求端
子15には、負荷抵抗19を介してバッテリー1の電源
電圧、すなわち「H」レベル信号が印加されている。
Since the low voltage detection circuit 17 does not detect a low voltage when none of the key switches of the key input means 7 is operated, the output is held at "H" level. Here, since the “H” level is the power supply voltage of the battery 1, the switching transistor 1
8 is reverse biased and held in the off state. Therefore, in this state, the power supply voltage of the battery 1, that is, the “H” level signal is applied to the interrupt request terminal 15 of the microcomputer 12 through the load resistor 19.

【0025】今、キー入力手段のキースイッチが操作
され、出力点Aに操作されたキースイッチに応じた電圧
レベルのキー入力信号が発生されると、そのキー入力信
号はマイコン12のアナログ入力端子14に印加される
とともに、低電圧検出回路17に入力される。
Now, when the key switch of the key input means 7 is operated and a key input signal of a voltage level corresponding to the operated key switch is generated at the output point A, the key input signal is an analog input of the microcomputer 12. The voltage is applied to the terminal 14 and input to the low voltage detection circuit 17.

【0026】ここで、操作されたキースイッチが第1キ
ースイッチ8、あるいは第2キースイッチ9であれば、
低電圧検出回路17は低電圧を検出し、「L」レベル信
号を発生する。その為、スイッチングトランジスタ18
のエミッタがアース電圧レベルとなり、該スイッチング
トランジスタ18が順バイアスされる。この場合、バッ
テリー1が過度に消耗されておらず、各回路を動作させ
るのに十分な電源電圧が得られる状態であれば、電源電
圧からツェナーダイオード20のツェナー電圧を差し引
いたベース電圧は、スイッチングトランジスタ18のベ
ース・エミッタ間の立上り電圧より十分に大であるの
で、該スイッチングトランジスタ18はオンする。
If the operated key switch is the first key switch 8 or the second key switch 9,
The low voltage detection circuit 17 detects a low voltage and generates an "L" level signal. Therefore, the switching transistor 18
Becomes the ground voltage level, and the switching transistor 18 is forward biased. In this case, when the battery 1 is not excessively consumed and a power supply voltage sufficient to operate each circuit is obtained, the base voltage obtained by subtracting the Zener voltage of the Zener diode 20 from the power supply voltage is switched. The switching transistor 18 is turned on because it is sufficiently higher than the rising voltage between the base and the emitter of the transistor 18.

【0027】前記スイッチングトランジスタ18がオン
すると、マイコン12の割込み要求端子15に「L」レ
ベル信号が印加されるので、マイコン12が起動され
る。その為、アナログ入力端子14に印加されているキ
ー入力信号が入力キー検出手段16に供給され、該入力
キー検出手段16により操作されたキースイッチが検出
され、それに応じた制御動作を開始する。
When the switching transistor 18 is turned on, the "L" level signal is applied to the interrupt request terminal 15 of the microcomputer 12, so that the microcomputer 12 is activated. Therefore, the key input signal applied to the analog input terminal 14 is supplied to the input key detecting means 16, the key switch operated by the input key detecting means 16 is detected, and the control operation corresponding thereto is started.

【0028】一方、操作されたキースイッチが第1キー
スイッチ8及び第2キースイッチ9以外のキースイッチ
であれば、低電圧検出回路17は低電圧を検出せず、
「H」レベル信号を発生した状態のままである。その
為、スイッチングトランジスタ18はオフ状態にあり、
マイコン12の割込み要求端子15には「H」レベル信
号が印加された状態のままである。
On the other hand, if the operated key switch is a key switch other than the first key switch 8 and the second key switch 9, the low voltage detection circuit 17 does not detect a low voltage,
The "H" level signal is still generated. Therefore, the switching transistor 18 is in the off state,
The "H" level signal is still applied to the interrupt request terminal 15 of the microcomputer 12.

【0029】したがって、マイコン12が起動されてい
ない状態であれば、キースイッチの操作によりアナログ
入力端子14に印加されるキー入力信号は受付けられ
ず、制御動作は一切行われないし、一方、マイコン12
が既に起動されている状態であれば、キースイッチの操
作によりアナログ入力端子14に印加されるキー入力信
号が入力キー検出手段16に供給され、該入力キー検出
手段16により操作されたキースイッチに応じた制御動
作が行われる。
Therefore, if the microcomputer 12 is not activated, the key input signal applied to the analog input terminal 14 by the operation of the key switch is not accepted and no control operation is performed.
Is already activated, the key input signal applied to the analog input terminal 14 by the operation of the key switch is supplied to the input key detecting means 16, and the key switch operated by the input key detecting means 16 is supplied. A corresponding control operation is performed.

【0030】具体的には、図1の回路をCDプレーヤに
使用する場合、電源が同時に投入される第1キースイッ
チ8を、再生を開始する為のプレイスイッチに、同じく
電源が投入される第2キースイッチ9を、アクセス、プ
ログラム選曲、リピート及びイントロスキャンをサイク
リック動作により選択的に指定する為のモード切換スイ
ッチに対応させれば、使い勝手が良いものになる。
Specifically, when the circuit of FIG. 1 is used for a CD player, the first key switch 8 which is turned on at the same time as the play switch for starting reproduction is also turned on. If the two-key switch 9 is made to correspond to a mode change-over switch for selectively designating access, program selection, repeat and intro scan by cyclic operation, usability is improved.

【0031】ところで、バッテリー1が消耗し、電源電
圧が低下すると、何らキー入力手段のキースイッチが
操作されなくても低電圧検出回路17により低電圧が検
出される状態になってしまう。この場合において、前記
低電圧検出回路17からは、「L」レベル信号が発生さ
れる。しかしながら、ツェナーダイオード20として
は、前記低電圧検出回路17が検出する低電圧の電圧レ
ベルを鑑みて設定されたツェナー電圧を有するツェナー
ダイオードが使用されており、前記低電圧検出回路17
が検出する低電圧の電圧レベルは、ツェナーダイオード
20のツェナー電圧にスイッチングトランジスタ18の
ベース・エミッタ間の立上り電圧を加算した電圧レベル
より低くなるように選択されているので、低電圧検出回
路17の出力が「L」レベルになってもスイッチングト
ランジスタ18はオンされない。
By the way, when the battery 1 is exhausted and the power supply voltage drops, the low voltage detection circuit 17 detects the low voltage even if the key switch of the key input means 7 is not operated. In this case, the low voltage detection circuit 17 generates an "L" level signal. However, as the Zener diode 20, a Zener diode having a Zener voltage set in consideration of the voltage level of the low voltage detected by the low voltage detection circuit 17 is used, and the low voltage detection circuit 17 is used.
The voltage level of the low voltage detected by is selected to be lower than the voltage level obtained by adding the Zener voltage of the Zener diode 20 and the rising voltage between the base and emitter of the switching transistor 18, so that the low voltage detection circuit 17 The switching transistor 18 is not turned on even when the output becomes "L" level.

【0032】したがって、電源電圧の低下で低電圧検出
回路17により低電圧が検出されるようになっても、ス
イッチングトランジスタ18はオンされず、負荷抵抗1
9によりバッテリー1が消費されることはない。
Therefore, even if a low voltage is detected by the low voltage detection circuit 17 due to a drop in the power supply voltage, the switching transistor 18 is not turned on and the load resistance 1
The battery 1 is never consumed by 9.

【0033】[0033]

【発明の効果】以上述べた如く、本発明に依れば、低電
圧検出回路を用いてキー入力手段の各キースイッチの操
作時にそれぞれ発生するキー入力信号の電圧レベルが低
い方の複数の所定のキースイッチを判別するようにし、
その判別が行われた際にマイコンを起動させることが出
来る電子機器のキー入力検出装置が提供出来る。また、
本発明に依れば、電源電圧の低下により低電圧検出回路
が低電圧を検出する状態になったとき、マイコンを起動
させる起動信号を発生する為のスイッチングトランジス
タがオンされるのを防止しているので、このとき、スイ
ッチングトランジスタに接続される負荷抵抗によりバッ
テリーが放電されるのが防止され、バッテリーが過放電
されることが防止出来る。
As described above, according to the present invention, by using the low voltage detecting circuit, a plurality of predetermined ones having a lower voltage level of the key input signal generated when each key switch of the key input means is operated. So that the key switch of
It is possible to provide a key input detection device for an electronic device that can activate a microcomputer when the determination is made. Also,
According to the present invention, it is possible to prevent the switching transistor for generating the start signal for starting the microcomputer from being turned on when the low voltage detection circuit is in the state of detecting the low voltage due to the decrease of the power supply voltage. Therefore, at this time, the battery is prevented from being discharged by the load resistance connected to the switching transistor, and the battery can be prevented from being over-discharged.

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

【図1】本発明の一実施例を示す回路図である。FIG. 1 is a circuit diagram showing one embodiment of the present invention.

【図2】図1の回路を説明する為の説明図である。FIG. 2 is an explanatory diagram for explaining the circuit of FIG.

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

1 バッテリー 抵抗分圧器 キー入力手段 12 マイコン 14 アナログ入力端子 15 割込み要求端子 16 入力キー検出手段 17 低電圧検出回路 18 スイッチングトランジスタ 19 負荷抵抗 20 ツェナーダイオード1 Battery 2 Resistance voltage divider 7 Key input means 12 Microcomputer 14 Analog input terminal 15 Interrupt request terminal 16 Input key detection means 17 Low voltage detection circuit 18 Switching transistor 19 Load resistance 20 Zener diode

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キースイッチの操作に応じて制御を行う
マイコンを備える電子機器において、電源電圧を分圧す
る抵抗分圧器に複数のキースイッチの各キースイッチを
組み込んで構成されるキー入力手段と、該キー入力手段
の操作されたキースイッチに応じて異なる電圧レベルの
アナログのキー入力信号が入力されるマイコンに備えら
れたアナログ入力端子と、該アナログ入力端子に入力さ
れるキー入力信号に基づいて操作されたキースイッチを
検出する入力キー検出手段と、前記アナログ入力端子に
印加された電圧レベルが所定値以下の低電圧であること
を検出し、その検出に基づいて選択的に前記マイコンを
起動させる為の検出出力を発生する低電圧検出回路とを
設け、該低電圧検出回路による低電圧検出レベルを、前
記キー入力手段の各キースイッチが操作された際に発生
する電圧レベル範囲の中間で、かつ前記キー入力手段の
複数の所定の各キースイッチが操作された際に発生する
各電圧レベルより大に設定したことを特徴とする電子機
器のキー入力検出装置。
1. An electronic device including a microcomputer that controls in response to an operation of a key switch, and a key input unit configured by incorporating each key switch of a plurality of key switches into a resistance voltage divider that divides a power supply voltage, Based on an analog input terminal provided in a microcomputer to which an analog key input signal having a different voltage level is input according to the operated key switch of the key input means, and a key input signal input to the analog input terminal Input key detection means for detecting an operated key switch, and detection that the voltage level applied to the analog input terminal is a low voltage below a predetermined value, and selectively starts the microcomputer based on the detection. A low-voltage detection circuit for generating a detection output for controlling the low-voltage detection level by the low-voltage detection circuit. It is characterized in that the voltage level is set in the middle of a voltage level range generated when the key switch is operated and higher than each voltage level generated when a plurality of predetermined key switches of the key input means are operated. Key input detection device for electronic equipment.
【請求項2】 電源としてバッテリーを使用し、マイコ
ンにより制御を行う電子機器において、電源電圧を分圧
する抵抗分圧器に複数のキースイッチの各キースイッチ
を組み込んで構成されるキー入力手段と、該キー入力手
段の操作されたキースイッチに応じて異なる電圧レベル
のアナログのキー入力信号が入力されるマイコンに備え
られたアナログ入力端子と、該アナログ入力端子に入力
されるキー入力信号に基づいて操作されたキースイッチ
を検出する入力キー検出手段と、前記アナログ入力端子
に印加された電圧レベルが所定値以下の低電圧であるこ
とを検出する低電圧検出回路と、該低電圧検出回路によ
る検出出力に応じて前記マイコンを起動させる起動信号
を選択的に発生するスイッチングトランジスタと、該ス
イッチングトランジスタをオン状態にする最低電圧レベ
ルを調整する為の定電圧素子とを設け、電源電圧が低下
し、キー入力手段の操作に依らず低電圧検出回路による
低電圧検出が行われる状態になったとき、前記スイッチ
ングトランジスタがオンされるのを防止し、該スイッチ
ングトランジスタに接続される負荷抵抗によりバッテリ
ーの放電が行われるのを防止したことを特徴とする電子
機器のキー入力検出装置。
2. A key input means in which each key switch of a plurality of key switches is incorporated in a resistance voltage divider that divides a power supply voltage in an electronic device that uses a battery as a power source and is controlled by a microcomputer. An analog input terminal provided in a microcomputer to which an analog key input signal having a different voltage level is input according to the operated key switch of the key input means, and an operation based on the key input signal input to the analog input terminal Input key detecting means for detecting the activated key switch, a low voltage detecting circuit for detecting that the voltage level applied to the analog input terminal is a low voltage below a predetermined value, and a detection output by the low voltage detecting circuit. A switching transistor for selectively generating a start signal for starting the microcomputer according to A constant voltage element for adjusting the minimum voltage level for turning on the transistor is provided, the power supply voltage has dropped, and the low voltage detection circuit is in a state in which low voltage detection is performed regardless of the operation of the key input means. At this time, the switching input transistor is prevented from being turned on, and the battery resistance is prevented from being discharged by the load resistance connected to the switching transistor.
JP4206619A 1992-08-03 1992-08-03 Electronic device key input detection device Expired - Lifetime JP2675488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4206619A JP2675488B2 (en) 1992-08-03 1992-08-03 Electronic device key input detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4206619A JP2675488B2 (en) 1992-08-03 1992-08-03 Electronic device key input detection device

Publications (2)

Publication Number Publication Date
JPH0651893A JPH0651893A (en) 1994-02-25
JP2675488B2 true JP2675488B2 (en) 1997-11-12

Family

ID=16526379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4206619A Expired - Lifetime JP2675488B2 (en) 1992-08-03 1992-08-03 Electronic device key input detection device

Country Status (1)

Country Link
JP (1) JP2675488B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103683881B (en) * 2013-11-21 2016-01-27 福建星网锐捷网络有限公司 The circuit of electric speed under quickening power supply
CN115014180B (en) * 2022-05-05 2023-04-07 厦门大学 Touch positioning sensor manufacturing method and touch positioning sensor

Also Published As

Publication number Publication date
JPH0651893A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
US5508688A (en) Selective pager receiver
US4155112A (en) Power supply circuitry
SE413573B (en) ELECTRONIC DEVICE
US5649307A (en) Method and apparatus for option control in a radio accessory
US5436513A (en) Method and apparatus for providing energy to an information handling system
JP2675488B2 (en) Electronic device key input detection device
JP2000504557A (en) Switch mode power supply with status information
US7225088B2 (en) Programmable power supply and brownout detector for electronic equipment
KR20000068673A (en) Extending Battery Life In Electronic Apparatus
GB2305261A (en) Control circuit for controlling operation of an air spraying device in a sensing mode or in a programmable mode
US6643785B1 (en) Interruption control circuit for use in an apparatus having a microcomputer
JPH09224335A (en) Power control device for electronic equipment
KR200175872Y1 (en) Reset circuit for used in a micom
JP2615890B2 (en) Input device for control equipment
JPH08214378A (en) Radio communication equipment
JP2737670B2 (en) Encoder circuit
JP2589612Y2 (en) Multifunctional power supply circuit
JPH0749728A (en) Backup power supply circuit for microcomputer
JP2701266B2 (en) Electronics
JPH0311957Y2 (en)
JP2606305Y2 (en) Function switching device
EP1026828B1 (en) Generating a control signal for an electrical device with the aid of keys
JP3448873B2 (en) Reset circuit
JPS6315798B2 (en)
JP3388106B2 (en) Remote control device for wireless communication equipment