Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0823792B2 - Power control device - Google Patents
[go: Go Back, main page]

JPH0823792B2 - Power control device - Google Patents

Power control device

Info

Publication number
JPH0823792B2
JPH0823792B2 JP1085705A JP8570589A JPH0823792B2 JP H0823792 B2 JPH0823792 B2 JP H0823792B2 JP 1085705 A JP1085705 A JP 1085705A JP 8570589 A JP8570589 A JP 8570589A JP H0823792 B2 JPH0823792 B2 JP H0823792B2
Authority
JP
Japan
Prior art keywords
sequence
power supply
turn
signals
change
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
JP1085705A
Other languages
Japanese (ja)
Other versions
JPH02266409A (en
Inventor
信吾 渡邊
Original Assignee
甲府日本電気株式会社
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 甲府日本電気株式会社 filed Critical 甲府日本電気株式会社
Priority to JP1085705A priority Critical patent/JPH0823792B2/en
Publication of JPH02266409A publication Critical patent/JPH02266409A/en
Publication of JPH0823792B2 publication Critical patent/JPH0823792B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に使用する電源制御装置に関
し、特に上位制御装置からの複数の投入/切断信号を受
けて電源に投入/切断の制御信号を送出するマイクロプ
ロセツサを用いた電源制御装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to a power supply control device used in an information processing device, and in particular, control of turning on / off the power supply in response to a plurality of on / off signals from a host control device. The present invention relates to a power supply control device using a microprocessor that sends out a signal.

〔従来の技術〕[Conventional technology]

従来、この種の電源制御装置は、上位制御装置からの
複数の投入/切断信号に対して、一定の順序で複数の投
入/切断信号の各々の変化を検出していた。そのため、
優先順位の低い投入/切断信号の変化を検出して誤つた
シーケンスで電源制御信号を送出することがあるので、
これを防ぐため、変化した投入/切断信号の現在の状態
から投入シーケンスか切断シーケンスかを判断し、検出
した投入/切断信号より高い優先順位を持つ投入/切断
信号の変化を調べるようになつていた。
Conventionally, a power supply control device of this type has detected a change in each of a plurality of input / cut signals in a fixed order with respect to a plurality of input / cut signals from a host control device. for that reason,
Since the power control signal may be sent in the wrong sequence by detecting the change of the turn-on / off signal of low priority,
To prevent this, the current state of the changed make / disconnect signal is used to determine whether it is a make sequence or a make sequence, and the change in the make / disconnect signal having a higher priority than the detected make / disconnect signal is examined. It was

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来の電源制御装置は、上位制御装置からの
複数の投入/切断信号の変化を検出するとき、一定の順
序で検出した後、変化があつた投入/切断信号より高い
優先順位を持つ投入/切断信号の変化を調べるので、投
入/切断信号が変化してから電源にシリアルデータバス
方式で送信するまでに時間がかかるという問題があつ
た。
The above-described conventional power supply control device, when detecting changes in a plurality of turn-on / off signals from the host control device, detects the changes in a certain order, and then turns-on with a higher priority than the change-on / turn-off signal. Since the change in the / disconnect signal is checked, there is a problem that it takes time from the change of the make / disconnect signal to transmission to the power supply by the serial data bus method.

〔課題を解決するための手段〕[Means for solving the problem]

このような問題点を解決するため、本発明の電源制御
装置は、上位制御装置から出力される複数の投入/切断
信号を入力しその信号をデータとして格納するメモリ部
と、このデータ格納動作を繰り返して行い、前回入力し
たデータと現在入力したデータとを比較して前記複数の
投入/切断信号の変化を求め、その変化に応じた電源制
御信号を、情報処理装置を構成する論理素子に接続され
る複数の電源にシリアル・データバス方式にて送信する
演算手段とを具備し、前記上位制御装置から送られてく
る複数の投入/切断信号が現在投入/切断どちらのシー
ケンスで動いているかの判断を最初に行い、それが投入
シーケンス中なら前記複数の投入/切断信号の各々は
「1」から「0」へ変化し、切断シーケンス中なら
「0」から「1」へ変化するべく設定して、この入力し
たデータが投入シーケンスか切断シーケンスかを判断
し、該投入シーケンスまたは切断シーケンスの各々に予
め決められた優先順位の高い順に前記複数の投入/切断
信号の各の変化を検出することにより、前記論理素子の
要求する電源の投入/切断順序に対応するシリアル・デ
ータバス方式の電源制御信号を前記電源へ送出するよう
にしたものである。
In order to solve such a problem, the power supply control device of the present invention includes a memory unit that receives a plurality of turn-on / off signals output from a host control device and stores the signals as data, and a data storage operation. Repeatedly, comparing the previously input data with the currently input data to obtain the changes of the plurality of turn-on / off signals, and connecting the power supply control signal according to the changes to the logic element configuring the information processing device. A plurality of power supplies to be connected by a serial data bus method to a plurality of power supplies, and a plurality of power-on / power-off sequences of a plurality of power-on / power-off signals sent from the host controller. A determination is made first, and each of the plurality of make / disconnect signals changes from "1" to "0" if it is in the make sequence, and changes from "0" to "1" in the make sequence. By appropriately setting, it is determined whether the input data is a closing sequence or a cutting sequence, and each change of the plurality of making / disconnecting signals is made in descending order of priority determined in advance in each of the making sequence or the cutting sequence. Upon detection, a serial data bus power supply control signal corresponding to the power-on / off sequence required by the logic element is sent to the power supply.

ここで、情報処理装置を構成する論理素子は一般的に
複数の電圧種別の電源端子を有しており、投入シーケン
スは、電源投入において出力電圧の低い電圧から出力電
圧の高い電源へ順次電源投入するものとし、また切断シ
ーケンスは、電源切断において出力電圧の高い電源から
出力電圧の低い電源へ順次切断するものとする。
Here, the logic element that constitutes the information processing device generally has power supply terminals of a plurality of voltage types, and the power-on sequence is such that when the power is turned on, the power is turned on sequentially from a low output voltage to a high output voltage. In addition, in the disconnection sequence, the power supply with a high output voltage is sequentially disconnected from the power supply with a low output voltage in the power supply disconnection.

〔作 用〕[Work]

本発明においては、複数の投入/切断信号を入力した
データ前回入力したとき格納したデータから投入シーケ
ンスか切断シーケンスかを判断することにより、最初に
投入シーケンスか切断シーケンスかを判断でき、これに
よつて、各シーケンスごとに優先順位の高い順に複数の
投入/切断信号の各々の変化を検出することができる。
In the present invention, by inputting a plurality of input / cut signals, it is possible to first determine the input sequence or the disconnection sequence by determining the input sequence or the disconnection sequence from the data stored when the data was input last time. Then, it is possible to detect changes in each of a plurality of input / cut signals in descending order of priority for each sequence.

〔実施例〕〔Example〕

以下、本発明について図面を参照して説明する。第1
図は本発明の一実施例を示す電源制御システムの概略構
成図である。同図において、11はマイクロプロセツサ11
aを有する上位制御装置、12は同じくマイクロプロセツ
サ12aを有する電源制御装置であり、上位制御装置11か
ら出力される複数の投入/切断信号151〜15nが電源制御
装置12に入力される。この電源制御装置12は、複数の投
入/切断信号151〜15nを入力データとしてマイクロプロ
セツサ12a内のメモリ部に格納し、そのデータ格納動作
を繰り返して行うと共に、前回入力したデータと現在入
力したデータとを比較して複数の投入/切断信号の変化
を求めることにより、その変化に応じた電源制御信号
を、シリアル・データバス16を介して情報処理装置を構
成する各種論理素子14に接続される複数の電源131〜13n
にシリアルデータバス方式にて送信するものとなつてい
る。
Hereinafter, the present invention will be described with reference to the drawings. First
FIG. 1 is a schematic configuration diagram of a power supply control system showing an embodiment of the present invention. In the figure, 11 is a microprocessor 11
host controller having a, 12 is also a power supply control device having a microprocessor 12a, the input of the plurality of output from the host controller 11 on / off signal 15 1 to 15 n to the power control unit 12 . The power supply control device 12 stores a plurality of on / off signals 15 1 to 15 n as input data to the memory section of the microprocessor in 12a, performs repeatedly the data storing operation, current and data previously entered By comparing the input data with the change of a plurality of turn-on / off signals, the power control signal according to the change is sent to various logic elements 14 constituting the information processing device via the serial data bus 16. Multiple power supplies connected 13 1 to 13 n
It is supposed to be transmitted by the serial data bus method.

次に、上記実施例の動作を第2図に示す流れ図を参照
して説明する。ここで、電源投入においては出力電圧の
低い電源から出力電圧の高い電源へ順次電源投入し(投
入シーケンス)、また、電源切断においては出力電圧の
高い電源から出力電圧の低い電源へ順次切断(切断シー
ケンス)する必要があるため、上位制御装置11からの複
数の投入/切断信号151〜15nの各々には投入すべき出力
電圧を対応させることにより、投入シーケンスでは低い
出力電圧に対応した投入/切断信号から優先して検出す
るように優先順位が決まり、切断シーケンスでは高い出
力に対応した投入/切断信号から優先して検出するよう
に、優先順位が決められているものとする。
Next, the operation of the above embodiment will be described with reference to the flow chart shown in FIG. Here, when the power is turned on, the power supply with a low output voltage is sequentially turned on to the power supply with a high output voltage (turn-on sequence), and when the power is turned off, the power supply with a high output voltage is sequentially turned off (cut off). since it is necessary to sequence), by the each of the plurality of on / off signals 15 1 to 15 n from the host controller 11 to correspond to the output voltage to be turned-on corresponding to the low output voltage is on sequence It is assumed that the priority order is determined so that the / cut signal is detected first, and the priority order is determined so that the close / disconnect signal corresponding to a high output is detected first in the disconnect sequence.

しかして、上位制御装置11から出力される複数の投入
/切断信号151〜15nが電源制御装置12に入力されると、
この電源制御装置12は、現在の複数の投入/切断信号の
データつまり現在データ(以後NEWDATAという)をその
マイクロプロセツサ12a内のレジスタ(R1)に入れ(ス
テツプ51)、前回の複数の投入/切断信号のデータつま
り前回データ(以後OLDDATAという)を同じくマイクロ
プロセツサ12a内のレジスタ(R2)に入れる(ステツプ5
2)。すると、これらレジスタ(R1)と(R2)の排他論
理和(XOR)により、複数の投入/切断信号の変化分
(以後DELTAという)が得られる(ステツプ53)。この
とき、その変化分(DELTA)は変化した投入/切断信号
の位置が「1」となり、それ以外は「0」である。さら
に、上記変化分(DELTA)と前回データ(OLDDATA)との
論理積(AND)によつて変化の方向(以後DIRECTとす
る)が得られる(ステツプ54)。ここで、変化した投入
/切断信号が前回データ(OLDDATA)のときに「0」の
状態なら「0」,「1」の状態なら「1」となり、変化
のない投入/切断信号は「0」となる。このことから、
その方向(DIRECT)の全てが「0」なら投入/切断信号
は「0」から「1」に変化したことになり、それ以外の
ときは「1」から「0」に変化したことがわかる。そし
て演算の結果、全てが「0」ならフラグが「1」にな
り、それ以外のときはフラグが「0」となるフラグZを
検査することで、投入シーケンスに変化しているか切断
シーケンスに変化しているかがわかる(ステツプ55)。
ここで、複数の投入/切断信号が「1」から「0」に変
化したとき電源投入の意味を持ち、「0」から「1」に
変化したとき電源切断の意味を持つとすると、Aが投入
シーケンス、Bが切断シーケンスとなり、各シーケンス
A,Bごとに優先順位の高い順に複数の投入/切断信号の
各々の変化を見るプログラムを持つことで、各シーケン
スどうりに電源の投入または切断を行うことができる。
Thus, when a plurality of output from the host controller 11 on / off signal 15 1 to 15 n is input to the power supply control unit 12,
The power supply control device 12 puts data of a plurality of current turn-on / off signals, that is, current data (hereinafter referred to as NEWDATA) into a register (R1) in the microprocessor 12a (step 51), and makes a plurality of previous turn-on / turn-off signals. The data of the disconnection signal, that is, the previous data (hereinafter referred to as OLDDATA) is also put in the register (R2) in the microprocessor 12a (step 5).
2). Then, the exclusive OR (XOR) of these registers (R1) and (R2) can be used to obtain a plurality of changes (hereinafter referred to as DELTA) of the make / disconnect signals (step 53). At this time, the changed amount (DELTA) is "1" at the changed position of the make / disconnect signal, and is "0" at other positions. Further, the direction of change (hereinafter referred to as DIRECT) can be obtained by the logical product (AND) of the change amount (DELTA) and the previous data (OLDDATA) (step 54). Here, if the changed make / disconnect signal is "0" when it is the previous data (OLDDATA), it is "0", and if it is "1", it is "1", and the unchanged make / disconnect signal is "0". Becomes From this,
If all of the directions (DIRECT) are "0", it means that the make / disconnect signal has changed from "0" to "1", and in other cases, it can be seen that the signal has changed from "1" to "0". Then, as a result of the calculation, if all are "0", the flag becomes "1", and in other cases, the flag Z becomes "0". By inspecting the flag Z, the closing sequence is changed to the closing sequence. You can see what you are doing (step 55).
Here, if a plurality of turn-on / off signals have the meaning of power-on when they change from “1” to “0”, and have the meaning of power-off when they change from “0” to “1”, A is Input sequence, B becomes disconnection sequence, and each sequence
By having a program for observing each change of a plurality of turn-on / off signals in order of higher priority for A and B, power can be turned on or off for each sequence.

例として8ビツトの信号で考えると、下記第1表に示
すように、前回データ(OLDSTS)が「FF」で現在データ
(NEWSTS)が「00」のときその変化分(DELTA)は「F
F」となり、前回データ(OLDSTS)と変化分(DELTA)の
結果は「FF」なので、Zフラグは「1」にならない。こ
のときビツトの変化は「1」から「0」となることがわ
かり、投入シーケンス中の変化であると判断ができる。
Considering an 8-bit signal as an example, as shown in Table 1 below, when the previous data (OLDSTS) is “FF” and the current data (NEWSTS) is “00”, the change (DELTA) is “F”.
Since the result of the previous data (OLDSTS) and the change (DELTA) is "FF", the Z flag will not become "1". At this time, it is understood that the bit change is changed from "1" to "0", and it can be determined that the change is during the closing sequence.

〔発明の効果〕 以上説明したように本発明は、最初に投入シーケンス
か切断シーケンスかを判断することにより、各シーケン
スごとに決めた優先順位で複数の投入/切断信号の各々
の変化を検出することができ、投入/切断信号が変化し
てから電源にシリアルデータバス方式で電源制御信号を
送出するまでの時間を短縮できる効果がある。
[Effects of the Invention] As described above, according to the present invention, a change in each of a plurality of input / cut signals is detected in the priority order determined for each sequence by first determining whether the input sequence is the disconnection sequence or the disconnection sequence. Therefore, there is an effect that it is possible to shorten the time from the change of the turn-on / off signal to the sending of the power supply control signal to the power supply by the serial data bus method.

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

第1図は本発明の一実施例を示す概略構成図、第2図は
この実施例の動作説明に供する流れ図である。 11……上位制御装置、12……電源制御装置、12a……マ
イクロプロセツサ、131〜13n……電源、14……論理素
子、151〜15n……投入/切断信号、16……シリアル・デ
ータバス。
FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart for explaining the operation of this embodiment. 11 ...... host controller, 12 ...... power supply control device, 12a ...... microprocessor, 13 1 to 13 n ...... power, 14 ...... logic elements, 15 1 to 15 n ...... on / off signal, 16 ... … Serial data bus.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】上位制御装置から出力される複数の投入/
切断信号を入力しその信号をデータとして格納するメモ
リ部と、このデータ格納動作を繰り返して行い、前回入
力したデータと現在入力したデータとを比較して前記複
数の投入/切断信号の変化を求め、その変化に応じた電
源制御信号を、情報処理装置を構成する論理素子に接続
される複数の電源にシリアル・データバス方式にて送信
する演算手段とを具備し、前記上位制御装置から送られ
てくる複数の投入/切断信号が現在投入/切断どちらの
シーケンスで動いているかの判断を最初に行い、それが
投入シーケンス中なら、前記複数の投入/切断信号の各
々は「1」から「0」へ変化し、切断シーケンス中なら
「0」から「1」へ変化すべく設定して、この入力した
データが投入シーケンスか切断シーケンスかを判断し、
該投入シーケンスまたは切断シーケンスの各々に予め決
められた優先順位の高い順に前記複数の投入/切断信号
の各々の変化を検出することにより、前記論理素子の要
求する電源の投入/切断順序に対応するシリアル・デー
タバス方式の電源制御信号を前記電源へ送出するように
したことを特徴とする電源制御装置。
1. A plurality of inputs / outputs from a host controller.
A memory unit that inputs a disconnection signal and stores the signal as data, and this data storage operation are repeated, and the previously input data and the currently input data are compared to obtain the changes in the plurality of input / cut signals. And a power supply control signal corresponding to the change in the power supply control signal, which is transmitted from a plurality of power supplies connected to the logic elements forming the information processing apparatus by a serial data bus method, It is first judged which of the sequences of the plurality of incoming / cutting signals that are currently moving is in the sequence of on / off, and if it is during the closing sequence, each of the plurality of on / off signals is from "1" to "0". , And if it is in the cutting sequence, set to change from “0” to “1” and judge whether this input data is the input sequence or the cutting sequence,
Corresponding to the turn-on / turn-off sequence of the power supply required by the logic element by detecting the change of each of the plurality of turn-on / turn-off signals in the order of the predetermined priority in each of the turn-on sequence or the turn-off sequence. A power supply control device characterized in that a power supply control signal of a serial data bus system is sent to the power supply.
JP1085705A 1989-04-06 1989-04-06 Power control device Expired - Lifetime JPH0823792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1085705A JPH0823792B2 (en) 1989-04-06 1989-04-06 Power control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1085705A JPH0823792B2 (en) 1989-04-06 1989-04-06 Power control device

Publications (2)

Publication Number Publication Date
JPH02266409A JPH02266409A (en) 1990-10-31
JPH0823792B2 true JPH0823792B2 (en) 1996-03-06

Family

ID=13866238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1085705A Expired - Lifetime JPH0823792B2 (en) 1989-04-06 1989-04-06 Power control device

Country Status (1)

Country Link
JP (1) JPH0823792B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5098330B2 (en) 2006-12-28 2012-12-12 富士通株式会社 Power supply control circuit, power supply control device, power supply control system, and information processing device

Also Published As

Publication number Publication date
JPH02266409A (en) 1990-10-31

Similar Documents

Publication Publication Date Title
US7672738B2 (en) Programmable controller for use with monitoring device
US7290170B2 (en) Arbitration method and system for redundant controllers, with output interlock and automatic switching capabilities
CA1056458A (en) Common diagnostic bus for computer systems to enable testing concurrently with normal system operation
US3831149A (en) Data monitoring apparatus including a plurality of presettable control elements for monitoring preselected signal combinations and other conditions
CN112100007A (en) Method and system for switching main controller in a multi-controller storage device
EP0164421B1 (en) Programmable controller
US5070476A (en) Sequence controller
JPH0823792B2 (en) Power control device
US4807178A (en) Programmable sequence controller having indirect and direct input/output apparatus
JP3403347B2 (en) Key switch circuit
JP2508305B2 (en) Initial value determination device
JP2004013812A (en) Expansion card mounting recognition device, expansion card, and expansion card mounting detection method
JP2826781B2 (en) Data transfer method
JPH08153017A (en) Port connection recognizing method
EP0371296B1 (en) Microcomputer interface arrangement
JP2502012B2 (en) Switch status detector
JP2531615B2 (en) Integrated circuit
JPS61815A (en) Faulty area detecting device of sequence circuit
JPS629442A (en) Error detecting circuit
JP2539079B2 (en) Column data selection processing circuit
JPH02302855A (en) Memory control system
JP2008234266A (en) Failure processing system, electronic equipment and failure processing method
JPH04256005A (en) Power controller
JPH09288584A (en) State detection circuit
JPH0243682A (en) Circuit debugging system