JPH0810977Y2 - Power on / off circuit - Google Patents

Power on / off circuit

Info

Publication number
JPH0810977Y2
JPH0810977Y2 JP1988060281U JP6028188U JPH0810977Y2 JP H0810977 Y2 JPH0810977 Y2 JP H0810977Y2 JP 1988060281 U JP1988060281 U JP 1988060281U JP 6028188 U JP6028188 U JP 6028188U JP H0810977 Y2 JPH0810977 Y2 JP H0810977Y2
Authority
JP
Japan
Prior art keywords
circuit
switch
voltage
state
power
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
JP1988060281U
Other languages
Japanese (ja)
Other versions
JPH01162937U (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP1988060281U priority Critical patent/JPH0810977Y2/en
Publication of JPH01162937U publication Critical patent/JPH01162937U/ja
Application granted granted Critical
Publication of JPH0810977Y2 publication Critical patent/JPH0810977Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Keying Circuit Devices (AREA)
  • Electronic Switches (AREA)

Description

【考案の詳細な説明】 〈産業上の利用分野〉 本考案は、電力のオンオフをするパワー/オンオフ回
路に係り、特にモーメンタリスイッチとマイクロコンピ
ュータを用いて携帯形の計器の電源をオンオフするパワ
ー/オンオフ回路に関する。
[Detailed Description of the Invention] <Industrial application field> The present invention relates to a power / on / off circuit for turning on / off electric power, and more particularly to a power / on / off circuit for turning on / off a portable instrument using a momentary switch and a microcomputer. On / off circuit.

〈従来の技術〉 電池で動作する携帯形の計器の電源をオン/オフする
場合の第1の従来例として第3図に示す構成がある。
<Prior Art> There is a configuration shown in FIG. 3 as a first conventional example in the case of turning on / off a power source of a battery-operated portable instrument.

第3図には、電池E1からスイッチSW1を介して計器の
電気回路ECTに電力を供給するスイッチ回路が開示され
ている。
FIG. 3 discloses a switch circuit for supplying electric power from the battery E 1 via the switch SW 1 to the electric circuit ECT of the instrument.

ここに用いられているスイッチは、例えばトグルスイ
ッチ或いはスライドスイッチなどの操作したときに物理
的にその位置が変化する通常のスイッチである。
The switch used here is a normal switch such as a toggle switch or a slide switch whose position physically changes when operated.

このようなスイッチを用いて電力をオン/オフする方
式は、コストが高い上に、計器などの使用環境の悪い場
所に使用するには密閉構造にするのが難しく、また小形
計器に使用するには薄形にするのが難しいという問題が
ある。
The method of turning on / off the power using such a switch is high in cost, and it is difficult to use a closed structure for use in a place where the operating environment is bad such as an instrument, and it is not suitable for a small instrument. Has the problem that it is difficult to make it thin.

そこで、第4図に示すように押している間だけ電気接
点がオンとなるモーメンタリスイッチを用いる構成があ
る。
Therefore, as shown in FIG. 4, there is a configuration using a momentary switch in which an electric contact is turned on only while the switch is pressed.

電池E1と計器の電気回路ECTとの間にはトランジスタ
形のスイッチSW2が接続され、このスイッチSW2は電池E1
に並列に接続されたオン/オフ用の論理回路LGCから出
力されるハイ/ローの2値の制御信号V1により開閉され
る。そして、この論理回路LGCはこの論理回路LGCに接続
されたモーメンタリスイッチSW3がオンになる度に制御
信号V1が反転するようにそのロジックが構成されてい
る。
A transistor-type switch SW 2 is connected between the battery E 1 and the electric circuit ECT of the instrument, and this switch SW 2 is connected to the battery E 1
It is opened / closed by a high / low binary control signal V 1 output from an on / off logic circuit LGC connected in parallel with. The logic of the logic circuit LGC is configured such that the control signal V 1 is inverted every time the momentary switch SW 3 connected to the logic circuit LGC is turned on.

次に、以上のように構成されたスイッチ回路の動作に
ついて第5図に示す波形図を用いて説明する。
Next, the operation of the switch circuit configured as described above will be described using the waveform chart shown in FIG.

モーメンタリ形のスイッチSW3をオン(第5図
(イ))にすると、論理回路LGCはこの立上りを検出し
て制御信号V1をローレベルに設定(第5図(ロ))す
る。これにより、トランジスタ形のスイッチSW2をオン
(第5図(ハ))として電気回路ECTに電圧を供給す
る。従って、スイッチSW3をオンにする度に論理回路LGC
に電圧が供給される。
When the momentary type switch SW 3 ON (FIG. 5 (b)), the logic circuit LGC sets the control signal V 1 by detecting the rise in the low level (FIG. 5 (b)). As a result, the transistor type switch SW 2 is turned on (FIG. 5 (c)) to supply a voltage to the electric circuit ECT. Therefore, every time the switch SW 3 is turned on, the logic circuit LGC
Is supplied with voltage.

〈考案が解決しようとする課題〉 しかしながら、この様なモーメンタリスイッチを使用
して電圧をオン/オフするスイッチ回路は、例えばカー
ド電卓などの薄いキーボードスイッチなどにもみられる
ように、薄形にでき且つ密閉構造に出来る利点がある
が、電源をオフにしても論理回路LGCに電流を流すので
電池の消耗が進む欠点を持つ。さらに、電池で動作する
オン/オフ論理回路は例えば2〜3V程度で動く必要があ
るが、少量生産の製品のためにこの様な論理回路を作る
のはコスト上昇の要因となる。
<Problems to be solved by the invention> However, a switch circuit for turning on / off a voltage by using such a momentary switch can be made thin as seen in, for example, a thin keyboard switch such as a card calculator. Although it has the advantage of being able to use a sealed structure, it has the disadvantage that the current will flow to the logic circuit LGC even when the power is turned off, and the battery will run down. Further, a battery-operated on / off logic circuit needs to be operated at, for example, about 2 to 3 V, and making such a logic circuit for a small-volume product causes a cost increase.

〈課題を解決するための手段〉 本考案は、以上の課題を解決するために、直流電源
(E1)から第1スイッチ素子(Q1)の入出力端を介して
電力が供給されて内部回路に所定の電源電圧(VCC)を
供給する回路電源(RGR)と、先の第1スイッチ素子(Q
1)の制御端と共通電位点との間に直列に接続され押圧
することにより先の第1スイッチ素子(Q1)をオンオフ
操作するモーメンタリスイッチ(SW4)と、このモーメ
ンタリスイッチ(SW4)に並列に接続され制御信号
(VB)によりオンオフされる第2スイッチ素子(Q2
と、先のモーメンタリスイッチ(SW4)のオン/オフ状
態をスキャニングしてこの状態信号(VA)を監視して記
憶する状態監視手段と、先の電源電圧(VCC)が印加さ
れていない状態下では先のモーメンタリスイッチ(S
W4)の押圧により先の内部回路に電力が供給されたこと
を検知して先の第2スイッチ素子(Q2)をオン状態に設
定し先の電源電圧(VCC)が印加された状態下では先の
モーメンタリスイッチ(SW4)がオンからオフに変化す
る状態変化を先の状態信号(VA)により確認した後に先
の第2スイッチ素子(Q2)をオフにする先の制御信号
(VB)を出力する制御手段を具備し、これらの手段をマ
イクロコンピュータ(CPU)で実現するようにしたもの
である。
<Means for Solving the Problems> In order to solve the above problems, the present invention provides an internal structure in which power is supplied from a DC power source (E 1 ) through an input / output terminal of a first switch element (Q 1 ). The circuit power supply (RGR) that supplies a specified power supply voltage (V CC ) to the circuit and the first switch element (Q
A momentary switch (SW 4 ) that is connected in series between the control end of 1 ) and the common potential point to turn on and off the first switch element (Q 1 ) by pressing it, and this momentary switch (SW 4 ) Second switch element (Q 2 ) that is connected in parallel with the switch and is turned on and off by the control signal (V B ).
And a state monitoring means for scanning the ON / OFF state of the momentary switch (SW 4 ) to monitor and store this state signal (V A ), and the power supply voltage (V CC ) is not applied. Under the condition, the previous momentary switch (S
W 4) pressed by the state to which the internal circuit second switching element of the preceding detects that power is supplied to the (Q 2) was set to ON destination of the power supply voltage (V CC) is applied Below, the previous control signal that turns off the second switch element (Q 2 ) after confirming the state change of the previous momentary switch (SW 4 ) from on to off with the previous state signal (V A ). A control means for outputting (V B ) is provided, and these means are realized by a microcomputer (CPU).

〈作用〉 モーメンタリスイッチをオンとしてスイッチ素子を導
通させ、回路電源を動作させ、これにより内部回路に電
圧を供給する。この電圧でマイクロコンピュータが動作
して制御信号を制御スイッチに印加することによりスイ
ッチ素子の導通を確保する。従って、この状態でモーメ
ンタリスイッチをオフにしてもスイッチ素子自体はオン
の状態を保持する。
<Operation> The momentary switch is turned on to bring the switch element into conduction to operate the circuit power supply, thereby supplying a voltage to the internal circuit. The microcomputer operates with this voltage and applies a control signal to the control switch to ensure the conduction of the switch element. Therefore, even if the momentary switch is turned off in this state, the switch element itself maintains the on state.

マイクロコンピュータはモーメンタリスイッチのオン
/オフ状態を記憶しており、次にモーメンタリスイッチ
をオンにした後オフにするとこの状態変化をマイクロコ
ンピュータが検出し、制御スイッチをオフとする制御信
号を制御スイッチに送出しこの制御スイッチを介してス
イッチ素子をオフとする。
The microcomputer stores the on / off state of the momentary switch. When the momentary switch is turned on and then turned off, the microcomputer detects this change in state and sends a control signal that turns off the control switch to the control switch. Then, the switch element is turned off via this control switch.

従って、モーメンタリスイッチをオンにする度に回路
電源はオン、オフを繰り返す。
Therefore, every time the momentary switch is turned on, the circuit power supply is repeatedly turned on and off.

〈実施例〉 第1図は本考案の1実施例の構成を示すブロック図で
ある。
<Embodiment> FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

E1は2V程度の電圧を持つ電池であり、一端は共通電位
点COMに他端はPNP形のトランジスタQ1のエミッタに接続
されている。そのコレクタはレギューレータ回路RGRに
接続されている。また、トランジスタQ1のベースは抵抗
R1を介してエミッタに接続されると共に抵抗R2、ダイオ
ードD1およびモーメンタリスイッチSW4の直列回路を介
して共通電位点COMに接続されている。さらに、トラン
ジスタQ1のベースは抵抗R3、およびベースとエミッタが
抵抗R4で接続されたNPN形のトランジスタQ2のコレクタ
とエミッタの直列回路を介して共通電位点COMに接続さ
れている。
E 1 is a battery having a voltage of about 2 V, and one end is connected to the common potential point COM and the other end is connected to the emitter of the PNP transistor Q 1 . Its collector is connected to the regulator circuit RGR. Also, the base of transistor Q 1 is a resistor
It is connected to the emitter via R 1 and is also connected to the common potential point COM via a series circuit of a resistor R 2 , a diode D 1 and a momentary switch SW 4 . Further, the base of the transistor Q 1 is connected to a common potential point COM via a resistor R 3 and a series circuit of a collector and an emitter of an NPN transistor Q 2 whose base and emitter are connected by a resistor R 4 .

レギューレータ回路RGRは共通電位点COMとの間に内部
回路の電源となる電池E1の電圧を昇圧して、例えば5Vの
回路電圧VCCとして出力する。
The regulator circuit RGR boosts the voltage of the battery E 1 serving as a power source of the internal circuit between the common potential point COM and outputs the voltage as a circuit voltage V CC of 5 V, for example.

マイクロコンピュータCPUは回路電圧VCCの供給を受け
て動作する。その端子T1にはダイオードD1とモーメンタ
リスイッチSW4の接続点C1からダイオードD2を介して接
続点C1の電圧VAが入力されている。なお、この接続点C1
は抵抗R5を介して回路電圧VCCにプルアップされてい
る。
The microcomputer CPU operates by being supplied with the circuit voltage V CC . Voltage V A at the connection point C 1 from the connection point C 1 of the diode D 1 and the momentary switch SW 4 via the diode D 2 is inputted to the terminal T 1. Note that this connection point C 1
Is pulled up to the circuit voltage V CC through a resistor R 5 .

また、マイクロコンピュータCPUの端子T2はトランジ
スタQ2のベースにダイオードD3と抵抗R6の直列回路を介
して制御信号V2を出力し、トランジスタQ2の導通を制御
する。
The terminal T 2 of the microcomputer CPU outputs a control signal V 2 to the base of the transistor Q 2 through a series circuit of a diode D 3 and a resistor R 6 to control the conduction of the transistor Q 2 .

ダイオードD2、D3は電源がオフのときに回路に電流が
流れ込むのを防止するためのものである。
The diodes D 2 and D 3 are for preventing current from flowing into the circuit when the power is off.

ANCは異常監視回路であり、この異常監視回路ANCはマ
イクロコンピュータCPUから制御線l1 l2を介して制御信
号を受ける。そして異常監視回路ANCは、ウオッチドッ
グタイマ回路WDTを内蔵しておりその端子T3はダイオー
ドD4を介してダイオードD3と抵抗R4との接続点C2に接続
されている。この異常監視回路ANCはマイクロコンピュ
ータCPUでのソウトウエアの動きをハードウエアで監視
しソフトウエアが異常になったときマイクロコンピュー
タCPUにリセット(再スタート)をかける働きをする。
ANC is an abnormality monitoring circuit, and this abnormality monitoring circuit ANC receives a control signal from the microcomputer CPU via the control line l 1 l 2 . The abnormality monitoring circuit ANC has its terminal T 3 has an internal watchdog timer circuit WDT is connected to the connection point C 2 of a diode D 3 through a diode D 4 and the resistor R 4. This abnormality monitoring circuit ANC monitors the movement of software in the microcomputer CPU by hardware and resets (restarts) the microcomputer CPU when the software becomes abnormal.

次に、以上のように構成されたスイッチ回路の動作に
ついて第2図に示す波形図を用いて説明する。
Next, the operation of the switch circuit configured as described above will be described with reference to the waveform chart shown in FIG.

まず、第2図に示すスイッチSW4がオフで回路電源VCC
がオフになっているローレベル“L"の状態について説
明する。
First, when the switch SW 4 shown in FIG. 2 is off and the circuit power supply V CC is
The low level "L" state in which the is turned off will be described.

この状態では、回路電源VCCがゼロのローレベル“L"
の状態(第2図(ホ))であるので接続点C2の電圧VB
ローレベル“L"(第2図(ヘ))であり、さらにモーメ
ンタリスイッチSW4がオフ(第2図(イ))であるので
トランジスタQ1のベースの電圧VCは電池E1の電圧Vnの電
位と同電位となっている(第2図(ハ))。
In this state, the circuit power supply V CC is low level “L” of zero.
(Fig. 2 (e)), the voltage V B at the connection point C 2 is also low level "L" (Fig. 2 (f)), and the momentary switch SW 4 is off (Fig. 2 (e)). B)), the voltage V C at the base of the transistor Q 1 is the same as the voltage V n of the battery E 1 (FIG. 2 (c)).

したがって、トランジスタQ1はオフ状態であり、その
コレクタの電圧VDはローレベル“L"の状態(第2図
(ニ))になっている。
Therefore, the transistor Q 1 is in the off state, and the collector voltage V D is in the low level “L” state (FIG. 2 (d)).

次に、回路電源をオンにする状態1について説明す
る。
Next, the state 1 in which the circuit power is turned on will be described.

モーメンタリスイッチSW4をオンにする(第2図
(イ))と接続点C1の電圧VAはローレベル“L"になり
(第2図(ロ))、電池E1から抵抗R1、R2、ダイオード
D1、モーメンタリスイッチSW4を介して電流が流れ、こ
のため抵抗R1で電位降下が生じてトランジスタQ1のベー
スがローレベル“L"の状態になり(第2図(ハ))トラ
ンジスタQ1がオンとなる。
When the momentary switch SW 4 is turned on (Fig. 2 (a)), the voltage V A at the connection point C 1 becomes low level "L" (Fig. 2 (b)), the battery E 1 to the resistor R 1 , R 2 , diode
A current flows through D 1 and the momentary switch SW 4 , which causes a potential drop in the resistor R 1 and the base of the transistor Q 1 becomes low level “L” (Fig. 2 (c)). 1 is turned on.

したがって、そのコレクタの電圧VDは電池E1の電圧Vn
まで上昇する(第2図(ニ))。このため、レギュレー
タ回路RGRはこの電圧Vn(約2V)を例えば6Vのハイレベ
ル“H"の回路電圧VCCに昇圧(第2図(ホ))する。
Therefore, the voltage V D of its collector is equal to the voltage V n of the battery E 1.
(Fig. 2 (d)). Therefore, the regulator circuit RGR boosts the voltage V n (about 2 V) to the circuit voltage V CC of the high level “H” of 6 V (FIG. 2 (e)).

この立上った回路電圧VCCによりマイクロコンピュー
タCPUが動作を開始するが、この場合にマイクロコンピ
ュータCPUの端子T2に現れる電圧VBがハイレベル“H"に
なるようにプログラムしておくと接続点C2の電圧VBはハ
イレベル“H"になり(第2図(ヘ))、トランジスタQ2
がオンとなる。
This rising circuit voltage V CC causes the microcomputer CPU to start operating. In this case, if the voltage V B appearing at the terminal T 2 of the microcomputer CPU is programmed to the high level “H”, The voltage V B at the connection point C 2 becomes high level “H” (Fig. 2 (f)), and the transistor Q 2
Turns on.

トランジスタQ2がオンになると抵抗R3を介してトラン
ジスタQ1にベース電流を流してトランジスタQ1をオンに
し続ける。
When the transistor Q 2 turns on, a base current flows through the transistor Q 1 through the resistor R 3 to keep the transistor Q 1 on.

従って、この状態でモーメンタリスイッチSW4をオフ
(第2図(イ))にしてもトランジスタQ1はオン状態を
保持しつづけ回路電圧VCCはハイレベル“H"状態(第2
図(ホ))を維持する。なお、このときモーメンタリス
イッチSW4のオフによりその接続点C1の電圧VAがハイレ
ベル“H"になり(第2図(ロ))、この状態変化は端子
T1を介してマイクロコンピュータCPUに読み込まれる。
Therefore, in this state, even if the momentary switch SW 4 is turned off (FIG. 2 (a)), the transistor Q 1 is kept in the on state and the circuit voltage V CC is in the high level “H” state (second
Figure (e)) is maintained. At this time, when the momentary switch SW 4 is turned off, the voltage V A at the connection point C 1 becomes high level “H” (Fig. 2 (b)), and this state change
Read into microcomputer CPU via T 1 .

以上の動作により、第2図における回路電源をオンに
する状態1が終了する。
With the above operation, the state 1 in which the circuit power is turned on in FIG. 2 ends.

この後は、端子T1のレベル変化(ハイ/ロー)を定時
スキャンによりスキャニングしてマイクロコンピュータ
タCPUに読み込んでモーメンタリスイッチの状態を監視
する。
After that, the level change (high / low) of the terminal T 1 is scanned by the regular scan and read into the microcomputer CPU to monitor the state of the momentary switch.

次に、再度モーメンタリスイッチSW4をオン(第2図
(イ))にすると、マイクロコンピュータCPUは電圧VA
(第2図(ロ))がローレベル“L"になったのを検知し
て記憶しておき、その後モーメンタリスイッチSW4がオ
フ(第2図(イ))になり、電圧VA(第2図(ロ))が
ハイレベル“H"になったのをマイクロコンピュータCPU
が確認する。このときに、マイクロコンピュータCPUの
ソウトウエアで端子T2の電圧V2がローレベル“L"になる
ようにプログラムしておくとトランジスタQ2はオフとな
りトランジスタQ1のベース電流の供給が停止してトラン
ジスタQ1はオフ(第2図(ヘ))となる。
Next, when the momentary switch SW 4 is turned on again (Fig. 2 (a)), the microcomputer CPU is set to the voltage V A
(Fig. 2 (b)) becomes low level "L" and it is memorized, and then the momentary switch SW 4 is turned off (Fig. 2 (a)) and the voltage V A (Fig. Microcomputer CPU indicates that the high level "H" in Figure 2 (b))
Confirm. At this time, if the software of the microcomputer CPU is programmed so that the voltage V 2 of the terminal T 2 becomes low level “L”, the transistor Q 2 is turned off and the base current supply of the transistor Q 1 is stopped. The transistor Q 1 is turned off (Fig. 2 (f)).

異常監視回路ANCはマイクロコンピュータCPUの動作が
異常となったときに、端子T3にハイレベル“H"の電圧を
出力してトランジスタQ2をオンし続け、マイクロコンピ
ュータCPUの暴走による電源オフを防止する。
When the operation of the microcomputer CPU becomes abnormal, the abnormality monitoring circuit ANC outputs a high level “H” voltage to the terminal T 3 and keeps the transistor Q 2 on, thereby turning off the power due to the runaway of the microcomputer CPU. To prevent.

なお、第1図に示すスイッチ回路において、レギュレ
ータ回路RGR、ダイオードD2、D3、およびD4がなくても
回路は動作する。
In the switch circuit shown in FIG. 1, the circuit operates even without the regulator circuit RGR and the diodes D 2 , D 3 and D 4 .

また、トランジスタQ1、Q2は電界効果トランジスタ
(FET)のような素子でも同様に機能する。
Also, the transistors Q 1 and Q 2 function similarly in devices such as field effect transistors (FETs).

さらに、電池で駆動する計器では電源の切り忘れによ
る電池容量の減少を保護する自動パワーオフ回路が必要
になる場合が多いが、この様な場合でも本実施例によれ
ば第1図における端子T2の電圧をローレベル“L"に保持
することにより容易に自動パワーオフを実現することが
できる。
Further, in a battery-operated instrument, an automatic power-off circuit that protects the decrease in battery capacity due to forgetting to turn off the power is often required. Even in such a case, according to the present embodiment, the terminal T 2 in FIG. The automatic power-off can be easily realized by holding the voltage of the low level "L".

なお、第1図に示す回路ではトランジスタで回路を組
んでいるので1.5V程度の低い電圧でも動作する。また、
この場合レギュレータ回路RGRは例えば1.5Vの電池E1
電圧Vnを5Vなどの大きい電圧VCCに昇圧することができ
るので、電気回路およびマイクロコンピュータは通常の
5Vで動作するものを使用できコストの低減に寄与する。
Since the circuit shown in FIG. 1 is made up of transistors, it can operate at a low voltage of about 1.5V. Also,
In this case, the regulator circuit RGR can boost the voltage V n of the battery E 1 of 1.5 V to a large voltage V CC such as 5 V, so that the electric circuit and the microcomputer are
The one that operates at 5V can be used, which contributes to cost reduction.

〈考案の効果〉 以上、実施例と共に具体的に説明したように本考案に
よれば、電源がオフのときには回路にほとんど電流が流
れず、電池容量がパワーオフのときにも回路素子(ダイ
オード、トランジスタなど)の漏れ電流(μAオーダ)
の程度となり、電池駆動の計器での大きな利点である。
<Effects of Device> As described above in detail with the embodiments, according to the present invention, almost no current flows in the circuit when the power is off, and the circuit element (diode, diode, Leakage current of transistor etc. (μA order)
This is a big advantage in battery-operated instruments.

特に、本考案では、マイクロコンピュータにモーメン
タリスイッチのオンオフ状態を検出して記憶する状態検
知手段と、このオンオフ状態に基づいて制御信号を出力
する制御手段とを具備する構成としたので、モーメンタ
リスイッチが長い時間のあいだ押圧されていてもマイク
ロコンピュータがこれを検知することができ、このため
誤動作することがなく、確実に電源をオフにすることが
できる。
Particularly, in the present invention, since the microcomputer is provided with the state detecting means for detecting and storing the on / off state of the momentary switch and the control means for outputting the control signal based on the on / off state, the momentary switch is Even if it is pressed for a long time, the microcomputer can detect this, so that the power can be surely turned off without causing malfunction.

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

第1図は本考案の1実施例の構成を示すブロック図、第
2図は第1図に示す実施例の動作を説明する波形図、第
3図は従来の第1のスイッチ回路の構成を示す回路図、
第4図は従来の第2のスイッチ回路の構成を示す回路
図、第5図は第4図に示すスイッチ回路の動作を説明す
る波形図である。 ECT……電気回路、E1……電池、LGC……論理回路、RGR
……レギュレータ回路、CPU……マイクロコンピュー
タ、WDT……ウオッチドッグタイマ、ANC……異常監視回
路、VCC……回路電圧。
FIG. 1 is a block diagram showing a configuration of one embodiment of the present invention, FIG. 2 is a waveform diagram explaining the operation of the embodiment shown in FIG. 1, and FIG. 3 is a configuration of a conventional first switch circuit. Circuit diagram,
FIG. 4 is a circuit diagram showing the configuration of a conventional second switch circuit, and FIG. 5 is a waveform diagram for explaining the operation of the switch circuit shown in FIG. ECT ...... electrical circuit, E 1 ...... battery, LGC ...... logic circuit, RGR
...... Regulator circuit, CPU …… Microcomputer, WDT …… Watchdog timer, ANC …… Abnormality monitoring circuit, V CC …… Circuit voltage.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】直流電源から第1スイッチ素子の入出力端
を介して電力が供給されて内部回路に所定の電源電圧を
供給する回路電源と、前記第1スイッチ素子の制御端と
共通電位点との間に直列に接続され押圧することにより
前記第1スイッチ素子をオンオフ操作するモーメンタリ
スイッチと、このモーメンタリスイッチに並列に接続さ
れ制御信号によりオンオフされる第2スイッチ素子と、
前記モーメンタリスイッチのオン/オフ状態をスキャニ
ングしてこの状態信号を監視して記憶する状態監視手段
と、前記電源電圧が印加されていない状態下では前記モ
ーメンタリスイッチの押圧により前記内部回路に電力が
供給されたことを検知して前記第2スイッチ素子をオン
状態に設定し前記電源電圧が印加された状態下では前記
モーメンタリスイッチがオンからオフに変化する状態変
化を前記状態信号により確認した後に前記第2スイッチ
素子をオフにする前記制御信号を出力する制御手段を具
備し、これらの手段をマイクロコンピュータで実現する
ことを特徴とするパワー/オンオフ回路
1. A circuit power supply for supplying electric power from a DC power supply through an input / output terminal of a first switch element to supply a predetermined power supply voltage to an internal circuit, and a control terminal of the first switch element and a common potential point. A momentary switch connected in series between and to operate the first switch element by turning on and off, and a second switch element connected in parallel to the momentary switch and turned on and off by a control signal.
State monitoring means for scanning the on / off state of the momentary switch to monitor and store the state signal, and to supply power to the internal circuit by pressing the momentary switch when the power supply voltage is not applied. Is detected, the second switch element is set to the ON state, and under the condition that the power supply voltage is applied, the momentary switch changes from ON to OFF. A power / on / off circuit comprising control means for outputting the control signal for turning off the two-switch element, and implementing these means by a microcomputer.
JP1988060281U 1988-05-07 1988-05-07 Power on / off circuit Expired - Lifetime JPH0810977Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1988060281U JPH0810977Y2 (en) 1988-05-07 1988-05-07 Power on / off circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1988060281U JPH0810977Y2 (en) 1988-05-07 1988-05-07 Power on / off circuit

Publications (2)

Publication Number Publication Date
JPH01162937U JPH01162937U (en) 1989-11-14
JPH0810977Y2 true JPH0810977Y2 (en) 1996-03-29

Family

ID=31285995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1988060281U Expired - Lifetime JPH0810977Y2 (en) 1988-05-07 1988-05-07 Power on / off circuit

Country Status (1)

Country Link
JP (1) JPH0810977Y2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128836U (en) * 1985-01-31 1986-08-12

Also Published As

Publication number Publication date
JPH01162937U (en) 1989-11-14

Similar Documents

Publication Publication Date Title
JPH07177728A (en) Voltage-boosting provided with regulated output and regulated power supply source for portable load device
EP0238803B1 (en) Stabilized power-supply circuit
JPH0810977Y2 (en) Power on / off circuit
JP2006018409A (en) Power supply circuit
KR930008005Y1 (en) Circuit for converting electrode
JP2569807B2 (en) Precharge circuit
JP3492150B2 (en) Battery-powered equipment
JPH0543787U (en) Electronic equipment power supply
JP3092126B2 (en) Power supply switching circuit
JPH06149610A (en) Variable type voltage regulator circuit
JPH0631693Y2 (en) DC electromagnet coil constant voltage drive circuit
JPH0729705Y2 (en) Abnormal voltage protection device
JPH0717240Y2 (en) Battery backup circuit
JPH0614384Y2 (en) Latching relay drive circuit
JPH019243Y2 (en)
JPS6142191Y2 (en)
JP3628338B2 (en) Integrated circuit for driving display elements
JP3237462B2 (en) Charging device
SU1629864A1 (en) Device for checking dc supply discharge
JPS607554Y2 (en) Muting drive circuit
JPS61246820A (en) Electronic appliance
JPH06222851A (en) Power circuit
JPH0314980U (en)
JP2001136769A (en) Control device for dc motor
KR19990008410U (en) Charging and External Power Control