JPH01201711A - Initial power source input detecting circuit - Google Patents
Initial power source input detecting circuitInfo
- Publication number
- JPH01201711A JPH01201711A JP63025577A JP2557788A JPH01201711A JP H01201711 A JPH01201711 A JP H01201711A JP 63025577 A JP63025577 A JP 63025577A JP 2557788 A JP2557788 A JP 2557788A JP H01201711 A JPH01201711 A JP H01201711A
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- power
- level
- input terminal
- flip
- 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.)
- Ceased
Links
Landscapes
- Power Sources (AREA)
- Direct Current Feeding And Distribution (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
システムを動作させるスイッチをオンとしたときが、該
システムに電力を供給する電源を接続した後の最初のス
イッチ・オンであるのか、あるいは、2度目以降である
のかを検出する初期電源投入検出回路に関し、
システムのスイッチ・オン時に該スイッチ・オンが電源
接続後の最初のスイッチ・オンか否かを確実に検出する
ことを目的とし、
システムに電力を供給する電源のレベルを、該電力の供
給開始後の該システムの最初のスイッチ。[Detailed Description of the Invention] [Summary] When the switch for operating the system is turned on, is it the first time the switch is turned on after connecting the power source that supplies power to the system, or is it the second or subsequent time? The purpose of the initial power-on detection circuit is to reliably detect whether or not the switch-on is the first switch-on after power connection when the system is switched on. The first switch of the system after the power supply starts, the level of the power supply being supplied.
オンの時点から該電力の供給が断となるまで出力する電
源レベル出力手段と、該電源レベル出力手段の出力の立
ち上がりを検出する電源レベル立ち上がり検出手段とを
有してなるように構成する。The power supply level output means outputs an output from the time when the power is turned on until the power supply is cut off, and the power supply level rise detection means detects the rise of the output of the power supply level output means.
本発明は初期電源投入検出回路に関し、特に、システム
を動作させるスイッチをオンとしたときが、該システム
に電力を供給する電源を接続した後の最初のスイッチ・
オンであるのか、あるいは、2度目以降であるのかを検
出する初期電源投入検出回路に関する。The present invention relates to an initial power-on detection circuit, and in particular, when a switch for operating a system is turned on, the first switch after connecting a power source that supplies power to the system is detected.
The present invention relates to an initial power-on detection circuit that detects whether the power is on or whether it is the second time or later.
スイッチ・オフ時においても、例えば、メモリ等に対し
ては、接続する電源から継続的に電力の供給を受けるシ
ステムがある。このようなシステムにおいては、電源を
接続している状態で、該システムを動作させるためのス
イッチのオン/オフによって該メモリ等の内容が破壊さ
れることはないが、バッテリ交換や、電源断によって、
上記の41続的な電力の供給が途切れると、この後、再
び電源を接続して電力の供給を開始した後、最初にスイ
ッチをオンとしたときには、該システムを動作させる前
に、上記のメモリ等を初期化する必要がある。そのため
、システムを動作させるスイッチをオンとしたときが、
該システムに電力を供給する電源を接続した後の最初の
スイッチ・オンであるのか、あるいは、2度目以降であ
るのかを検出することが必要となる。Even when the switch is off, there are systems in which, for example, a memory or the like is continuously supplied with power from a connected power source. In such a system, the contents of the memory etc. will not be destroyed by turning on/off the switch to operate the system while the power is connected, but the contents of the memory etc. will not be destroyed if the battery is replaced or the power is turned off. ,
4. If the continuous power supply described above is interrupted, the above memory etc. need to be initialized. Therefore, when the switch to operate the system is turned on,
It is necessary to detect whether this is the first switch-on after connecting the power supply that supplies power to the system, or whether it is the second or subsequent time.
従来、システムを動作させるスイッチをオンとしたとき
が、該システムに電力を供給する電源を接続した後の最
初のスイッチ・オンであるのか、あるいは、2度目以降
であるのかを検出する、いいかえれば、スイッチ・オン
時に該システムを初期化する必要があるか否かを検出す
るために、メモリの所定のアドレスに特定のデータを予
め書き込んでおいて、スイッチ・オンの度に、このデー
タを読み取って該特定のデータに変化があるか否かを検
出していた。しかしながら、このような方法は、信鎖度
が低いという問題がある。Conventionally, it is necessary to detect whether the switch to operate a system is turned on for the first time after connecting the power source that supplies power to the system, or for the second time or later. In order to detect whether or not the system needs to be initialized when the switch is turned on, specific data is written in advance to a predetermined address in the memory, and this data is read every time the switch is turned on. It was then detected whether or not there was a change in the specific data. However, such a method has a problem in that the degree of reliability is low.
本発明は上記の問題点に鑑み、なされたもので、システ
ムのスイッチ・オン時に該スイッチ・オンが電源接続後
の最初のスイッチ・オンか否かを確実に検出する初期電
源投入検出回路を提供することを目的とするものである
。The present invention has been made in view of the above problems, and provides an initial power-on detection circuit that reliably detects whether or not the switch-on is the first switch-on after power connection when the system is switched on. The purpose is to
第1図は本発明の基本構成図である。本図において、1
は電源レベル出力手段、そして、2は電源レベル立ち上
がり検出手段である。FIG. 1 is a basic configuration diagram of the present invention. In this figure, 1
2 is a power supply level output means, and 2 is a power supply level rise detection means.
電源レベル出力手段1は、システムに電力を供給する電
源■8のレベルを、該電力の供給開始後の該システムの
最初のスイッチ・オンの時点から該電力の供給が断とな
るまで出力する。電源レベル立ち上がり検出手段2は、
該電源レベル出力手段1の出力の立ち上がりを検出して
初期電源投入検出信号として出力する。The power supply level output means 1 outputs the level of a power supply 8 that supplies power to the system from the time when the system is first switched on after the power supply starts until the power supply is cut off. The power level rise detection means 2 is
The rise of the output of the power level output means 1 is detected and outputted as an initial power-on detection signal.
電源レベル出力手段1の出力は、電Rvmからの電力の
供給開始後の該システムの最初のスイッチ・オンの時点
において立ち上がる。したがって、該最初のスイッチ・
オンの時点において電源レベル立ち上がり検出手段2は
、該立ち上がりを検出して初期電源投入検出信号を出力
する。2度目以降のスイッチ・オンあるいはオフに対し
ては、電源レベル出力手段1の出力は変化しないので、
電源レベル立ち上がり検出手段2からは初期電源投入検
出信号は出力されない。こうして、電源■8からの電力
の供給開始後の該システムの最初のスイッチ・オンと2
度目以降のスイッチ・オンとが区別される。The output of the power level output means 1 rises at the time of the first switch-on of the system after the start of power supply from the electric power Rvm. Therefore, the first switch
At the time of turning on, the power level rise detection means 2 detects the rise and outputs an initial power-on detection signal. When the switch is turned on or off from the second time onwards, the output of the power level output means 1 does not change, so
The power level rise detection means 2 does not output an initial power-on detection signal. In this way, the first switch-on of the system after the start of power supply from the power source 8 and the 2
A distinction is made between subsequent switch ons.
〔実施例〕
第2図は本発明の初期電源投入検出回路の実施例の構成
を示す図である。第2図において、10および20はD
フリップ・フロップ回路、30はマイクロコンピュータ
、11は第2図の初期電源投入検出回路を用いるシステ
ムを動作させるためのスイッチ、もしくは、該スイッチ
に連動するスイッチである。そして、v3は該システム
に電力を供給する電源であり、VSWは上記スイッチ1
1が閉のときオンとなる電源である。[Embodiment] FIG. 2 is a diagram showing the configuration of an embodiment of the initial power-on detection circuit of the present invention. In Figure 2, 10 and 20 are D
A flip-flop circuit, 30 is a microcomputer, and 11 is a switch for operating a system using the initial power-on detection circuit shown in FIG. 2, or a switch interlocked with the switch. Then, v3 is a power supply that supplies power to the system, and VSW is the switch 1
This is a power supply that turns on when 1 is closed.
Dフリップ・フロップ回路10のデータ入力端子りには
電源■3のレベルが印加され、エッジ・トリガ入力端子
にはスイッチ11のオンに応じて電源■3のレベルが印
加され、負論理入力のクリア入力端子には該電源■8の
レベルが底下したときに有効となる信号CLR,が印加
される。信号CLR,は、負論理の信号であって、電源
v3とアースとの間に抵抗12およびコンデンサ13を
直列に接続した構成により、システムに該電源■8が接
続された時点より所定の時定数をもって立ち上がり、該
電源V、が断となったときは、該所定の時定数をもって
立ち下がる。したがって、Dフリップ・フロップ回路1
oは、電源■、が何らかの原因によって瞬断しても直ち
にはクリアされない。こうして、Dフリップ・フロップ
回路10のQ出力は、システムに電力を供給する電源■
8のレベルを、該電力の供給開始後の該システムの最初
のスイッチ・オンの時点から該電力の供給が断となるま
で出力する。すなわち、以上の構成は、第1図の電源レ
ベル出力手段lに対応する。The level of the power supply ■3 is applied to the data input terminal of the D flip-flop circuit 10, and the level of the power supply ■3 is applied to the edge trigger input terminal in response to the turning on of the switch 11, and the negative logic input is cleared. A signal CLR, which becomes valid when the level of the power supply (2) 8 bottoms out, is applied to the input terminal. The signal CLR is a negative logic signal, and has a configuration in which a resistor 12 and a capacitor 13 are connected in series between the power supply v3 and the ground, so that it has a predetermined time constant from the time the power supply v3 is connected to the system. When the power supply V is cut off, it falls with the predetermined time constant. Therefore, D flip-flop circuit 1
o is not cleared immediately even if the power supply ■ is momentarily interrupted for some reason. Thus, the Q output of the D flip-flop circuit 10 is connected to the power source ■
A level of 8 is output from the first switch-on of the system after the power is turned on until the power is turned off. That is, the above configuration corresponds to the power level output means 1 in FIG.
Dフリップ・フロップ回路2oは、データ入力端子に電
源7口のレベルを印加し、エッジ・トリガ入力端子には
上記Dフリップ・フロップ回路10のQ出力を印加する
。そして、負論理入力となっているクリア入力端子には
他からのリセット信号CLR,を受ける。したがって、
Dフリップ・フロップ回路20の百出力は、該Dフリッ
プ・フロップ回路10のQ出力の立ち上がり、すなわち
、第1図の電源レベル出力手段lの出方の立ち上がりに
応じて立ち下がり、リセット信号に応じて立ち上がる。The D flip-flop circuit 2o applies the level of the seven power supplies to its data input terminal, and applies the Q output of the D flip-flop circuit 10 to its edge trigger input terminal. The clear input terminal, which is a negative logic input, receives a reset signal CLR from another source. therefore,
The 100 output of the D flip-flop circuit 20 falls in response to the rise of the Q output of the D flip-flop circuit 10, that is, the rise of the output of the power level output means l in FIG. 1, and falls in response to the reset signal. stand up.
よって、Dフリップ・フロップ回路20は、第1図の電
源レベル立ち上がり検出手段2に対応し、“L”レベル
の百出力が前記初期電源投入検出信号となる。Therefore, the D flip-flop circuit 20 corresponds to the power supply level rise detection means 2 of FIG. 1, and the "L" level output becomes the initial power-on detection signal.
上記Dフリップ・フロップ回路2oの百出力は、抵抗2
1.22および24、そして、トランジスタ23からな
る構成によってマイクロコンビ1−タ30に初期電源投
入検出信号として入力される。The 100 output of the above D flip-flop circuit 2o is the resistor 2
1, 22 and 24, and a transistor 23, the signal is inputted to the microcombiner 30 as an initial power-on detection signal.
マイクロコンピュータ30は、該初期電源投入検出信号
を受けると、直ちに該Dフリップ・フロップ回路20に
対してリセット信号を出力し、且つ、自システムを初期
化する。該リセット信号は、抵抗31.32および34
、そして、トランジスタ33からなる構成を経て、Dフ
リップ・フロップ回路20のクリア入力端子に有効な信
号CLR。Upon receiving the initial power-on detection signal, the microcomputer 30 immediately outputs a reset signal to the D flip-flop circuit 20 and initializes its own system. The reset signal is connected to resistors 31, 32 and 34.
, and a signal CLR which is valid to the clear input terminal of the D flip-flop circuit 20 via the structure consisting of the transistor 33.
とじて印加され、該Dフリップ・フロップ回路20はリ
セットされ、百出力は“Hルベルに戻る。The D flip-flop circuit 20 is reset and the output returns to the "H" level.
第3図は第2図の構成のタイミング図である。FIG. 3 is a timing diagram of the configuration of FIG. 2.
第3図において、時刻Elにおいて電源■3がシステム
に電力を供給し始めると、第2図のDフリップ・フロッ
プ回路10のクリア人力CLR□は、前記の所定の時定
数をもって立ち上がる。その後、時刻t2において、電
源Vlがシステムに電力を供給し始めてから最初にシス
テムのスイッチがオンとされると、第3図で5WIIで
示されるDフリップ・フロップ回路10のエッジ・トリ
ガ入力は立ち上がり、これに応じて、第3図でFFl0
で示される該Dフリップ・フロップ回路1oのQ出力は
立ち上がり、該Q出力をエッジ・トリガ入力とするDフ
リップ・フロップ回路2oの百出力は立ち下がる。該立
ち下がったDフリップ・フロップ回路20の百出力は、
前記の構成を経て、初期電源投入検出信号としてマイク
ロコンピュータ30に印加される。マイクロコンピュー
タ3oは該初期電源投入検出信号を受けると、自システ
ムを初期化するとともに、該Dフリップ・フロップ回路
20に対してリセット信号を出力する(時刻(3)。こ
れに応じて、該Dフリップ・フロップ回路20はリセッ
トされる。 −この後、時刻t4にて前記のシ
ステムのスイッチはオフとされ、さらに時刻t、におい
て該スイッチは再びオンとされるが、Dフリップ・フロ
ップ回路10の出力には無関係である。したがって、D
フリップ・フロップ回路20の出力は有効にはならない
0時刻t、において電源■1からの電力供給が断となる
と、Dフリップ・フロップ回路10の出力は前述の所定
の時定数をもって立ち上がる信号CLRIによってリセ
ットされる。In FIG. 3, when the power source 3 starts supplying power to the system at time El, the clear manual CLR□ of the D flip-flop circuit 10 in FIG. 2 starts up with the predetermined time constant. Thereafter, at time t2, when the system is switched on for the first time after the power supply Vl begins supplying power to the system, the edge trigger input of the D flip-flop circuit 10, designated 5WII in FIG. , correspondingly, in Fig. 3, FFl0
The Q output of the D flip-flop circuit 1o, indicated by , rises, and the 100 output of the D flip-flop circuit 2o, which uses the Q output as an edge trigger input, falls. The fallen output of the D flip-flop circuit 20 is:
Through the above configuration, the signal is applied to the microcomputer 30 as an initial power-on detection signal. When the microcomputer 3o receives the initial power-on detection signal, it initializes its own system and outputs a reset signal to the D flip-flop circuit 20 (time (3). The flip-flop circuit 20 is reset. - Thereafter, at time t4 the system is switched off, and at time t it is turned on again, but the D flip-flop circuit 10 It is independent of the output. Therefore, D
The output of the flip-flop circuit 20 does not become valid. When the power supply from the power supply 1 is cut off at time t, the output of the D-flip-flop circuit 10 is reset by the signal CLRI, which rises with the aforementioned predetermined time constant. be done.
以上述べたように、第2図の構成によれば、電源■3か
らの電力の供給開始後のシステムの最初のスイッチ・オ
ンの時点が検出され、マイクロコンピュータ30は、こ
のときに、自システムを初期化すべきことを認識する。As described above, according to the configuration shown in FIG. Recognize that it should be initialized.
本発明の初期電源投入検出回路によれば、装置のスイッ
チ・オン時に該スイッチ・オンが電源接続後の最初のス
イッチ・オンか否かを確実に検出することができる。According to the initial power-on detection circuit of the present invention, when a device is switched on, it is possible to reliably detect whether the switch-on is the first switch-on after power connection.
第1図は本発明の基本構成図、
第2図は本発明の実施例の構成図、そして第3図は第2
図の構成のタイミング図である。
〔符号の説明〕
l・・・電源レベル出力手段、
2・・・電源レベル立ち上がり検出手段、10.20・
・・Dフリップ・フロップ回路、30・・・マイクロコ
ンピュータ。Figure 1 is a basic configuration diagram of the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, and Figure 3 is a diagram of the second embodiment.
FIG. 3 is a timing diagram of the configuration shown in FIG. [Explanation of symbols] 1... Power level output means, 2... Power level rise detection means, 10.20.
...D flip-flop circuit, 30...microcomputer.
Claims (1)
を、該電力の供給開始後の該システムの最初のスイッチ
・オンの時点から該電力の供給が断となるまで出力する
電源レベル出力手段(1)と、該電源レベル出力手段(
1)の出力の立ち上がりを検出する電源レベル立ち上が
り検出手段(2)とを有してなることを特徴とする初期
電源投入検出回路。 2、前記電源レベル出力手段(1)は、データ入力端子
に前記電源(V_B)のレベルを印加し、エッジ・トリ
ガ入力端子には前記スイッチ・オンに応じて立ち上がる
信号を印加し、クリア入力端子には該電源(V_B)の
レベルが低下したときに有効となる信号を印加するフリ
ップ・フロップ回路(10)を有する請求項1記載の初
期電源投入検出回路。 3、前記クリア入力端子に印加される信号は、前記電源
(V_B)のレベルの変化に対して所定の時定数をもっ
て追従する請求項2記載の初期電源投入検出回路。 4、前記電源レベル立ち上がり検出手段(2)は、デー
タ入力端子に前記電源(V_B)のレベルを印加し、エ
ッジ・トリガ入力端子には前記電源レベル出力手段(1
)の出力を印加し、クリア入力端子には該電源レベル立
ち上がり検出手段(2)自身の有効な出力に対する他か
らの応答信号を印加するフリップ・フロップ回路(20
)を有する請求項1〜3のいずれかに記載の初期電源投
入検出回路。[Claims] 1. Outputting the level of the power supply (V_B) that supplies power to the system from the time when the system is first switched on after the power supply starts until the power supply is cut off. a power supply level output means (1), and a power supply level output means (
1. An initial power-on detection circuit comprising: power level rise detection means (2) for detecting the rise of the output of step 1). 2. The power supply level output means (1) applies the level of the power supply (V_B) to the data input terminal, applies a signal that rises in response to the switch on to the edge trigger input terminal, and outputs the clear input terminal. 2. The initial power-on detection circuit according to claim 1, further comprising a flip-flop circuit (10) for applying a signal that becomes valid when the level of the power supply (V_B) decreases. 3. The initial power-on detection circuit according to claim 2, wherein the signal applied to the clear input terminal follows changes in the level of the power supply (V_B) with a predetermined time constant. 4. The power supply level rising detection means (2) applies the level of the power supply (V_B) to the data input terminal, and the power supply level output means (1) applies the level of the power supply (V_B) to the edge trigger input terminal.
), and a flip-flop circuit (20
) The initial power-on detection circuit according to any one of claims 1 to 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63025577A JPH01201711A (en) | 1988-02-08 | 1988-02-08 | Initial power source input detecting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63025577A JPH01201711A (en) | 1988-02-08 | 1988-02-08 | Initial power source input detecting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01201711A true JPH01201711A (en) | 1989-08-14 |
Family
ID=12169776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63025577A Ceased JPH01201711A (en) | 1988-02-08 | 1988-02-08 | Initial power source input detecting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01201711A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05168151A (en) * | 1991-12-16 | 1993-07-02 | Mitsubishi Electric Corp | Power-on detection circuit |
-
1988
- 1988-02-08 JP JP63025577A patent/JPH01201711A/en not_active Ceased
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05168151A (en) * | 1991-12-16 | 1993-07-02 | Mitsubishi Electric Corp | Power-on detection circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5577195A (en) | Semiconductor data storage device with means for protecting data upon external power supply connection and disconnection | |
| EP2246769A1 (en) | Memory device control for self-refresh mode | |
| KR920005169A (en) | Semiconductor memory with flags to indicate test mode | |
| JPH0142002B2 (en) | ||
| JP2892208B2 (en) | Memory backup circuit | |
| JPS5928297A (en) | PROM writer | |
| JP2517540Y2 (en) | IC card | |
| WO1990003611A3 (en) | Computer memory backup system | |
| KR920020867A (en) | Pager Receiver Receives Even when Synccode Acquisition Fails | |
| JP2668492B2 (en) | Lighting control device and remote control lighting equipment | |
| JP3117600B2 (en) | Bus connection system | |
| JP2953103B2 (en) | In-vehicle control device | |
| JP2000105616A (en) | Electronic device protection circuit | |
| JPS63116250A (en) | Memory control circuit | |
| JP2850272B2 (en) | Switch input detection circuit | |
| JP3980680B2 (en) | D-RAM card | |
| JPH0726748Y2 (en) | Reset circuit | |
| JPH0561714B2 (en) | ||
| JPS6265138A (en) | Reset signal discrimination device for microcomputer control device | |
| JPS6362751A (en) | Thermal head disconnection detection device | |
| JPH0344756U (en) | ||
| JPS6344296U (en) | ||
| JPS5974435U (en) | Automotive computer system | |
| JPS62159398A (en) | Control method for magnetic bubble memory device | |
| JPS61112460U (en) |