JPS5933521A - Power supply control circuit - Google Patents

Power supply control circuit

Info

Publication number
JPS5933521A
JPS5933521A JP57142851A JP14285182A JPS5933521A JP S5933521 A JPS5933521 A JP S5933521A JP 57142851 A JP57142851 A JP 57142851A JP 14285182 A JP14285182 A JP 14285182A JP S5933521 A JPS5933521 A JP S5933521A
Authority
JP
Japan
Prior art keywords
power
power supply
switch
section
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.)
Pending
Application number
JP57142851A
Other languages
Japanese (ja)
Inventor
Ryoichi Okuzumi
奥住 亮一
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57142851A priority Critical patent/JPS5933521A/en
Publication of JPS5933521A publication Critical patent/JPS5933521A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

PURPOSE:To interrupt the internal power supply only when a power supply cut-off interrupting signal is given, by constituting a power supply control circuit with each of a main power supply and a sub-power-supply circuit section and a sub-power-supply switch control circuit section so as to give the interruption signal to a CPU at the interruption of the power switch. CONSTITUTION:The power supply control circuit is provided with a main power switch section 1 including a power switch and generating interruption when the power switch is cut off, and a sub-power-supply switch section 2 switched in after the power supply is given once. Further, the sub-power-supply switch circuit section 3 controlling the switch section 2 when a power supply cut-off permission signal (d) from the CPU and a power supply switching section switching an external power supply into an internal power supply are provided. Further, a signal from a switch which is connectable and disconnectable externally is inputted to switch sections 1, 2 of a control circuit, the power supply cut-off interruption signal is given to the CPU, and only when the power supply cut-off permission signal (d) from the CPU is turned on, the internal power supply is cut off.

Description

【発明の詳細な説明】 本発明は端末装置における電源制御回路に関する。[Detailed description of the invention] The present invention relates to a power supply control circuit in a terminal device.

従来、端末装置の電源制御回路は電源スィッチが切られ
るとそのまま電源が切第1るか又はその時にCPUに対
して割込みが発生する稈度のものであった。したがって
電源が切られた時CPUは、実質的にはメモリ上の止片
なデータの一部分をCMOS  などに退避する位の事
しかできず電源を特に費やすファイル(フロッピィディ
スク1磁気デイスク)等は電源が切られた時のままでお
シフアイル破壊等を発生する欠点があった。、本発明は
電源スィッチが切られた時にCPUに割込みが入シ、か
つCPUからの電源切断前・°町75(出されるまでは
電源が切れないという機能を有する制御回路を設けると
とにより上記欠点を解決した電源制御回路を提供するも
のである。
Conventionally, the power control circuit of a terminal device is such that when the power switch is turned off, the power is turned off immediately or an interrupt is generated to the CPU at that time. Therefore, when the power is turned off, the CPU can only save part of the data in the memory to CMOS, etc., and the files (floppy disk, 1 magnetic disk), etc. that require a lot of power cannot be saved from the power supply. There was a drawback that the file could be destroyed if it was left in the same state as when it was cut. , the present invention provides the above-mentioned control circuit by providing a control circuit which has a function that an interrupt is input to the CPU when the power switch is turned off, and the power is not turned off until the power is turned off from the CPU. The present invention provides a power supply control circuit that solves the drawbacks.

本発明は、上記欠点を電源スィッチが切られた時にCP
Uに割込みが入りかつCPtJ75・らの・電源が切断
されない制御回路を伺加することによυ解決した。
The present invention solves the above-mentioned drawbacks when the CP is turned off when the power switch is turned off.
This problem was solved by adding a control circuit that does not cut off the power of CPtJ75 and others when an interrupt occurs in U.

次に本発明の実施例について図面を参照して目見間する
。。
Next, embodiments of the present invention will be briefly described with reference to the drawings. .

第1図を参照すると、電源スィッチを含み電源スィッチ
が切られた時に割込みを発生させる主電テスイッチ部1
と一旦電源が入った後スイッチカニ入る副電源スイッチ
部2とCPUからの電sr 9−1 姉?許可により副
電源スイッチを切断する昂11 iti源スイッチ制御
部3と、外部から供給される電源である外部電源aと電
源スイツチ部により接続・切断される内部電源1)と電
源スィッチが切断さtlだ時に発生する電源切断割込信
号Cと、CPUから発生する電源切断許可信号dと副電
源スイッチ部のスイッチを制御する副電源スイッチ制御
信号eと、列部電源を内部電源に変換する電源変換部4
とを含む。
Referring to FIG. 1, a main power switch unit 1 that includes a power switch and generates an interrupt when the power switch is turned off.
Once the power is turned on, the switch is turned on and the sub power switch part 2 and the power from the CPU are sent to the CPU.9-1 Sister? Upon permission, the sub power switch is disconnected from the power source switch control section 3, the external power source a, which is a power source supplied from the outside, and the internal power source 1), which is connected/disconnected by the power switch section, and the power switch is disconnected. power-off interrupt signal C generated when Part 4
including.

主電源スイッチ部は第2図−aのように外部から接続・
切断可能なスイッチがあり、かつスイッチが切断された
時に電源切断割込信号を発生する構造になっている、ま
た副電源スイッチ部、副電源スイッチ制御部は、第2図
−すのように入力信号によシ内部のスイッチが接続・切
断可能な構造になっている。ただし副電源スイッチ部は
入力信号(副電源スイッチ制御信号)がオンのとき接続
され、入力(i3号がオフのとき切断される。また、副
電源スイッチ制御部は入力信号(%源切断許可信号)が
オフのとき切断され、入力信号がオンのとき切断される
構造に表っている。
The main power switch section is connected externally as shown in Figure 2-a.
There is a switch that can be disconnected, and the structure is such that a power-off interrupt signal is generated when the switch is disconnected.The sub-power switch section and sub-power switch control section have inputs as shown in Figure 2. The structure is such that an internal switch can connect and disconnect depending on the signal. However, the sub power switch control section is connected when the input signal (sub power switch control signal) is on, and is disconnected when the input (i3) is off. ) is disconnected when the input signal is off, and disconnected when the input signal is on.

次に電源スイッチオンからオフまでの各スイッチ(圧電
源スイッチ部、副電源スイッチ部、副電源スイッチ制御
部)の状態を第3図を参照して説明する。
Next, the states of each switch (pressure power switch unit, sub power switch unit, sub power switch control unit) from power switch on to power switch off will be explained with reference to FIG.

第3図−aは電源スイツチオン時の各スイッチの状態を
表わしたものである。%源オフであるから主電源スイッ
チ部は切断。壕だ内部電源がオフのため副電源スイッチ
制御部は接続であシ、副電源スイッチ部は切断となる。
FIG. 3-a shows the states of each switch when the power is turned on. The main power switch section is disconnected because the % source is off. Since the power supply inside the trench is off, the sub power switch control section is not connected, and the sub power switch section is disconnected.

電源スィッチをオンC接続)にした場合が第3図−bで
ある。電源スィッチ(主電源スイッチ部)が接続(オン
)になると内部電源がオンになるので副電源スイッチ制
御仏号がオンになる。細雪漉。
The case where the power switch is set to ON (C connection) is shown in FIG. 3-b. When the power switch (main power switch part) is connected (on), the internal power is turned on, and the sub power switch control signal is turned on. Thin snow strainer.

スイッチ部は入力信号(副電源スイッチ制御1@号)が
オンになると接続される構造になっているため副電源ス
イッチ部も接続となる。
Since the switch section is structured to be connected when the input signal (sub power switch control number 1@) is turned on, the sub power switch section is also connected.

次に電源スィッチをオフ(切断)にした場合が第3図−
〇である。電源スィッチ(主電源スイッチ部)が切断さ
れると主電源スイッチ部から凭:潰切断割込信号が発生
するが、他のスイッチの状態は変化せず内部電源はオン
のま壕となる。
Figure 3 shows what happens when the power switch is turned off (disconnected).
It is 〇. When the power switch (main power switch section) is turned off, a power cut interrupt signal is generated from the main power switch section, but the state of the other switches does not change and the internal power remains on.

その後に電源切断許可信号がオンになった場合が第3図
−dである。電源切断許可信号がオンになると副電源ス
イッチ制御回路を1その構造からスイッチはオフとなる
。副tfi、スイッチ制御回路が切断されると副電源ス
イッチ制御信号がオフになシ副電源スイッチ回路部が切
断される。副電源スイッチ回路部が切断されると内部電
源はオフになり電源が切断されたことになる。
The case where the power cut permission signal is turned on after that is shown in FIG. 3-d. When the power cut permission signal is turned on, the sub power switch control circuit is turned off due to its structure. When the secondary TFI and switch control circuit are disconnected, the secondary power switch control signal is turned off and the secondary power switch circuit section is disconnected. When the sub power switch circuit section is disconnected, the internal power supply is turned off and the power supply is cut off.

本発明は9上説明I7たように飛、源制御回路を主電源
スイッチ回路部、副電源スイッチ回路部、副電源スイッ
チ制御回路部の構成にすることによ、り電源スイツチ切
断時CPUに電源切断割込信号を与え、電源切断割込信
号が出なければ内部電源を切断することができなくする
効果がある。。
The present invention provides power to the CPU when the power switch is turned off by configuring the power source control circuit to include a main power switch circuit section, a sub power switch circuit section, and a sub power switch control circuit section as explained in I7 above. This has the effect of providing a disconnection interrupt signal and making it impossible to disconnect the internal power supply unless the power disconnection interrupt signal is generated. .

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例をブロック図で示した回路図で
あり、第2図−aは第1図に示した主電源スイッチ回路
部】のスイッチ状態図、紀2図−すは第1図に示した副
電源スイッチ部路部2及び細雪、源スイッチ制御回路部
3のスイッチ状態図である。第3図−a〜dは電源スイ
ッチオンからオフまでの名スイッチの状卯図である。 Z / (2) a            b L z 図 0−                 bC(1 舅 、3 m
Fig. 1 is a circuit diagram showing an embodiment of the present invention in the form of a block diagram, Fig. 2-a is a switch state diagram of the main power switch circuit section shown in Fig. 1, and Fig. FIG. 1 is a switch state diagram of the sub-power switch circuit section 2 and the main switch control circuit section 3 shown in FIG. Figures 3-a to 3-d are diagrams of the power switch from on to off. Z / (2) a b L z Figure 0- bC (1 leg, 3 m

Claims (1)

【特許請求の範囲】[Claims] 電源スィッチが切られた場合、CPUに割込みが入シか
つCPUからの電源切断許可信号がオンにならないと電
源が切れないことを%mとするIo、源制御回路。
When the power switch is turned off, %m indicates that the power will not be turned off unless the CPU receives an interrupt and the power-off permission signal from the CPU is turned on.Io is a power supply control circuit.
JP57142851A 1982-08-18 1982-08-18 Power supply control circuit Pending JPS5933521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57142851A JPS5933521A (en) 1982-08-18 1982-08-18 Power supply control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57142851A JPS5933521A (en) 1982-08-18 1982-08-18 Power supply control circuit

Publications (1)

Publication Number Publication Date
JPS5933521A true JPS5933521A (en) 1984-02-23

Family

ID=15325089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57142851A Pending JPS5933521A (en) 1982-08-18 1982-08-18 Power supply control circuit

Country Status (1)

Country Link
JP (1) JPS5933521A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163423A (en) * 1985-01-14 1986-07-24 Ricoh Co Ltd Processing unit with backup power feeding for memory
JPS6242215A (en) * 1985-08-20 1987-02-24 Fujitsu Ltd Remote power supply control system
JPS62134713A (en) * 1985-12-09 1987-06-17 Hitachi Constr Mach Co Ltd Power source circuit for microcomputer device
JPS62177612A (en) * 1986-01-30 1987-08-04 Noritsu Co Ltd Time limit holding circuit for power supply of microcomputer
JPS62138228U (en) * 1986-02-20 1987-08-31
EP0273322A2 (en) * 1986-12-26 1988-07-06 Kabushiki Kaisha Toshiba A power supply with a built-in microcomputer for use in a computer system
WO1988006988A1 (en) * 1987-03-12 1988-09-22 Robert Bosch Gmbh Circuit arrangement for switching off electronic systems
FR2660450A1 (en) * 1990-03-30 1991-10-04 Marelli Autronica Sa Device for temporarily keeping a computer live and power supply installation for internal combustion engine applying same
US5339446A (en) * 1986-12-26 1994-08-16 Kabushiki Kaisha Toshiba Power supply and method for use in a computer system to confirm a save operation of the computer system and to stop a supply of power to the computer system after confirmation

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163423A (en) * 1985-01-14 1986-07-24 Ricoh Co Ltd Processing unit with backup power feeding for memory
JPS6242215A (en) * 1985-08-20 1987-02-24 Fujitsu Ltd Remote power supply control system
JPS62134713A (en) * 1985-12-09 1987-06-17 Hitachi Constr Mach Co Ltd Power source circuit for microcomputer device
JPS62177612A (en) * 1986-01-30 1987-08-04 Noritsu Co Ltd Time limit holding circuit for power supply of microcomputer
JPS62138228U (en) * 1986-02-20 1987-08-31
EP0273322A2 (en) * 1986-12-26 1988-07-06 Kabushiki Kaisha Toshiba A power supply with a built-in microcomputer for use in a computer system
US5339446A (en) * 1986-12-26 1994-08-16 Kabushiki Kaisha Toshiba Power supply and method for use in a computer system to confirm a save operation of the computer system and to stop a supply of power to the computer system after confirmation
WO1988006988A1 (en) * 1987-03-12 1988-09-22 Robert Bosch Gmbh Circuit arrangement for switching off electronic systems
FR2660450A1 (en) * 1990-03-30 1991-10-04 Marelli Autronica Sa Device for temporarily keeping a computer live and power supply installation for internal combustion engine applying same

Similar Documents

Publication Publication Date Title
JPS5933521A (en) Power supply control circuit
EP1882306B1 (en) Integrated circuit, electronic device and integrated circuit control method
JPS60689B2 (en) Power control method
JPH08106345A (en) Interface device between different voltage elements
JP2001042975A (en) Information processor
JP2501666Y2 (en) Unit duplication device
JPH0416538Y2 (en)
JP2701266B2 (en) Electronics
JPH0612152A (en) Electric power source division control system between cmos circuits
JPH0746298B2 (en) Reset circuit
JP2743662B2 (en) Matrix switcher
WO2001076070A1 (en) Methods and apparatus for full i/o functionality and blocking of backdrive current
CN114498860A (en) Battery charging circuit, control method and device thereof, and unmanned aerial vehicle
JP2785333B2 (en) Self-holding relay circuit
CN117033281A (en) PCIe equipment multiplexing system in multi-node system
JPS5933519A (en) Power supply circuit of electronic device
JPS6225307A (en) Power source unit
JPH0432820Y2 (en)
JPS6318217Y2 (en)
JPH0133975Y2 (en)
JPH04145835A (en) Power supply turning on/off system
JPS6362902B2 (en)
JPH0236001B2 (en) KUROTSUKUMUSHUNDANKIRIKAEKAIRO
JPH02245484A (en) Compressor operation control device
JPH05135564A (en) Memory card