JPH07115404A - No-power state holding device - Google Patents

No-power state holding device

Info

Publication number
JPH07115404A
JPH07115404A JP5281756A JP28175693A JPH07115404A JP H07115404 A JPH07115404 A JP H07115404A JP 5281756 A JP5281756 A JP 5281756A JP 28175693 A JP28175693 A JP 28175693A JP H07115404 A JPH07115404 A JP H07115404A
Authority
JP
Japan
Prior art keywords
circuit
control signal
eeprom
latch
output
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
JP5281756A
Other languages
Japanese (ja)
Inventor
Takahiro Kono
隆裕 香野
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP5281756A priority Critical patent/JPH07115404A/en
Publication of JPH07115404A publication Critical patent/JPH07115404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

PURPOSE:To inexpensively hold the switching state with a high reliability by providing an EEPROM and comparing an inputted switching control signal with the just preceding switching state to store the latest switching state. CONSTITUTION:When noncoincidence between the switching control signal inputted from a terminal A and the output of a latch circuit 4 indicating the present switching state is detected by a coincidence deciding circuit 1, a sequencer circuit 2 enables a gate circuit 5 and sends a write signal to an EEPROM 3. The new switching state is stored in the EEPROM 3. Next, the sequencer circuit 2 disables the gate circuit 5 and electrically holds data of the EEPROM 3 in the latch circuit 4. At the time of restoration from a power failure, the sequencer circuit 2 disables the gate circuit 5 and sends a read signal to the EEPROM 3. Data from the EEPROM 3 is electrically held in the latch circuit 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は伝送装置に用いる無電源
状態保持装置に関し、特に電気的消去形プログラマブル
ROM(EEPROM)を用いた無電源状態保持装置の
構成に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a powerless state holding device used in a transmission device, and more particularly to a structure of a powerless state holding device using an electrically erasable programmable ROM (EEPROM).

【0002】[0002]

【従来技術】電話回線等に用いられる伝送装置では、落
雷或は過負荷等の原因により不意に装置の電源が断たれ
た後、該電源が復旧するか或は予備電源が作動した際、
直ちに電源が断たれる前の状態に装置を復帰させる無電
源状態保持機能を有しているのが一般的であり、このよ
うな状態保持装置を設けることにより、伝送路の信頼性
を高めている。従来より用いられていた状態保持装置と
しては、ラッチリレーを使用し、電源断時の接続状態を
機械的に保持すると共に、電源復旧時にはラッチリレー
接点に応じた信号によって、伝送装置の切替状態等を制
御するものがある。また、EEPROM、CPU、RO
M、RAM等を用いると共に、ソフトウェアによるプロ
グラムによって電源断時の切替状態等をEEPROMに
記憶させ、電源復旧時に前記EEPROMに書き込まれ
たデータを利用することにより電源が断たれる以前の状
態に復帰させる手段等が用いられている。
2. Description of the Related Art In a transmission device used for a telephone line or the like, after the power source of the device is suddenly cut off due to a lightning strike or overload, the power source is restored or a standby power source is activated,
Generally, it has a non-power supply state holding function that restores the device to the state before the power is cut off immediately.By providing such a state holding device, the reliability of the transmission line is improved. There is. A latch relay is used as the status holding device that has been used in the past, and it mechanically holds the connection status when the power is cut off, and when the power is restored, a signal corresponding to the latch relay contact is used to switch the status of the transmission device, etc. There is something to control. In addition, EEPROM, CPU, RO
In addition to using M, RAM, etc., the switching state at power-off is stored in the EEPROM by a program by software, and when the power is restored, the data written in the EEPROM is used to restore the state before the power was turned off. Means, etc. are used.

【0003】しかしながら、前者のようにラッチリレー
を用いて構成した状態保持装置は、リレーの機械的寿命
に制限があるため、その信頼性は低下せざるを得ず、ま
た、後者のようにCPUを用いた状態保持装置では、E
EPROM以外にCPU、ROM、RAM等の周辺回路
が必要となるのみならず、前記CPUを制御するために
必要なソフトウエアを作成する必要があり、製品のコス
ト低下を妨げる原因となっていた。
However, the state holding device constituted by using the latch relay as in the former case is inevitably reduced in reliability because the mechanical life of the relay is limited, and the CPU as in the latter case. In the state holding device using
In addition to the EPROM, not only peripheral circuits such as a CPU, a ROM, and a RAM are required, but also software necessary for controlling the CPU needs to be created, which is a cause of hindering the cost reduction of the product.

【0004】[0004]

【発明の目的】したがって、本発明の目的は、上述した
ような伝送装置に於ける状態保持装置を構成するうえで
のコスト高或は信頼性低下の問題点に鑑みてなされたも
のであって、機械的リレーを用いず、またCPU等の周
辺回路を必要とせず、安価に且つ高信頼性を有す状態保
持装置を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, the object of the present invention was made in view of the problems of high cost and reduced reliability in constructing the state holding device in the transmission device as described above. An object of the present invention is to provide a state maintaining device that is inexpensive and has high reliability, without using a mechanical relay and requiring a peripheral circuit such as a CPU.

【0005】[0005]

【発明の概要】この目的を達成するために本発明に係る
状態保持装置は、伝送装置に用いる無電源状態保持装置
に於いて、切替制御信号を電気的に保持するラッチ回路
と、伝送装置より供給される切替制御信号を入力する制
御信号入力端と前記ラッチ回路との間に設けられ、前記
制御信号入力端より供給される切替制御信号の入力を制
御するゲート回路と、前記制御信号入力端より供給され
る切替制御信号と、前記ラッチ回路出力とを比較する一
致判定回路と、前記ゲート回路出力である切替制御信号
を入力し、該切替制御信号をデータとして記憶する電気
的消去形プロブラマブルROMと、前記一致判定回路出
力を入力し、前記ゲート回路、ラッチ回路及び電気的消
去形プログラマブルROMに制御信号を供給することに
より、切替状態を前記電気的消去形プログラマブルRO
Mに記憶すると共に、無電源状態より電源が復旧した際
に前記電気的消去形プログラマブルROMに記憶された
データを前記ラッチ回路に出力するように制御信号を出
力するシーケンサ回路とを備えたことを特徴とする。
SUMMARY OF THE INVENTION In order to achieve this object, a state holding device according to the present invention is a non-power source state holding device used in a transmission device, comprising a latch circuit for electrically holding a switching control signal and a transmission device. A gate circuit which is provided between a control signal input terminal for inputting a supplied switching control signal and the latch circuit, and which controls the input of a switching control signal supplied from the control signal input terminal, and the control signal input terminal An electrically erasable programmable ROM that receives a switching control signal that is the output of the gate circuit and that stores the switching control signal as data. And the output of the coincidence determination circuit, and by supplying a control signal to the gate circuit, the latch circuit, and the electrically erasable programmable ROM, the switching state is changed. Serial electrically erasable programmable type RO
And a sequencer circuit for storing a control signal so as to output the data stored in the electrically erasable programmable ROM to the latch circuit when the power is restored from the non-powered state. Characterize.

【0006】[0006]

【実施例】以下、図面に示した実施例に基づいて、本発
明を詳細に説明する。図1は本発明に係る伝送装置にお
ける状態保持装置の構成を示す図であって、同図におい
て1は一致判定回路、2はシーケンサ回路、3はEEP
ROM、4はラッチ回路、5はゲート回路である。この
ように構成した状態保持装置では、伝送装置の切替制御
信号が端子Aより入力すると、現在の切替状態を示すラ
ッチ回路4出力と、前記切替制御信号とを一致判定回路
1に入力し、両信号が一致するか否かを判定する。前記
一致判定回路1は入力した2信号が不一致の場合にのみ
次段のシーケンサ回路2を駆動せしめる駆動信号を出力
する。シーケンサ回路2はゲート回路5に制御信号を出
力し、該ゲート回路5をイネーブル状態とすると共に、
該EEPROM3にアドレス制御信号及び書き込み制御
信号を出力する。したがって、切替制御信号は前記ゲー
ト回路5を介してEEPROM3に供給され、EEPR
OM3にデータとして書き込まれる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on the embodiments shown in the drawings. FIG. 1 is a diagram showing a configuration of a state holding device in a transmission device according to the present invention. In FIG. 1, 1 is a match determination circuit, 2 is a sequencer circuit, and 3 is EEP.
ROM, 4 is a latch circuit, and 5 is a gate circuit. In the state holding device configured as described above, when the switching control signal of the transmission device is input from the terminal A, the output of the latch circuit 4 indicating the current switching state and the switching control signal are input to the coincidence determination circuit 1 and both of them are input. Determine if the signals match. The coincidence determination circuit 1 outputs a drive signal for driving the sequencer circuit 2 at the next stage only when the two input signals do not coincide. The sequencer circuit 2 outputs a control signal to the gate circuit 5 to enable the gate circuit 5 and
An address control signal and a write control signal are output to the EEPROM 3. Therefore, the switching control signal is supplied to the EEPROM 3 through the gate circuit 5, and the EEPROM 3
Written as data in OM3.

【0007】その後、前記シーケンサ2よりゲート回路
5に制御信号が出力し、該ゲート回路5をディセーブル
状態とすると共に、前記EEPROM3にアドレス制御
信号及び読み出し制御信号を出力し、EEPROM3に
記憶された切替信号情報をラッチ回路4に出力する。該
ラッチ回路4は前記シーケンサ回路2より供給される制
御信号に基づいて、前記EEPROM3から出力された
切替信号データを保持し、その状態を継続する。即ち、
シーケンサ回路2は一致判定回路1よりの駆動信号を入
力すると、上述した一連の動作を行ない、各制御信号を
逐次出力するようにランダムロジック回路にて構成して
おり、その結果、EEPROM3に切替制御信号のデー
タを蓄積し、且つ、蓄積された切替制御信号データをラ
ッチして状態を保持する。また、何らかの原因により装
置の電源が断たれ、その後、該電源が復旧した場合に
は、前記シーケンサ回路2がリセットされ、以下に示す
ような一連の動作を行ない、電源断以前の切替状態に伝
送装置を復帰させる。
After that, a control signal is output from the sequencer 2 to the gate circuit 5, the gate circuit 5 is disabled, and an address control signal and a read control signal are output to the EEPROM 3 and stored in the EEPROM 3. The switching signal information is output to the latch circuit 4. The latch circuit 4 holds the switching signal data output from the EEPROM 3 based on the control signal supplied from the sequencer circuit 2, and continues the state. That is,
The sequencer circuit 2 is configured by a random logic circuit so as to perform the series of operations described above when the drive signal from the coincidence determination circuit 1 is input, and sequentially output each control signal. As a result, the EEPROM 3 is controlled to switch. The signal data is accumulated, and the accumulated switching control signal data is latched to hold the state. Further, when the power supply of the device is cut off for some reason and then the power supply is restored, the sequencer circuit 2 is reset, and a series of operations as shown below are performed to transfer to the switching state before the power supply is cut off. Restore the device.

【0008】まず、電源復旧に伴いシーケンサ回路2が
リセットされると、ゲート回路5に制御信号を出力し、
該ゲート回路5をディセーブル状態にする。その後、E
EPROM3にアドレス制御信号及び読み出し制御信号
を出力し、該EEPROM3内に記憶されているデータ
を読み出すと共に、ラッチ回路4にラッチ制御信号を出
力し、前記EEPROM3より出力されたデータに基づ
いてラッチ回路を保持する。したがって、伝送装置の状
態保持装置出力端Bからは、電源断前にEEPROM3
に記憶された切替状態に基づいた切替信号が出力され
る。
First, when the sequencer circuit 2 is reset due to the restoration of power, a control signal is output to the gate circuit 5,
The gate circuit 5 is disabled. Then E
An address control signal and a read control signal are output to the EPROM 3, the data stored in the EEPROM 3 is read, a latch control signal is output to the latch circuit 4, and a latch circuit is generated based on the data output from the EEPROM 3. Hold. Therefore, from the output terminal B of the status holding device of the transmission device, the EEPROM 3 is supplied before the power is turned off.
A switching signal based on the switching state stored in is output.

【0009】[0009]

【発明の効果】本発明は上述したごとく構成し且つ機能
するものであるから、CPU、ROM、RAM等を用い
ず、安価なロジック回路及びEEPROMにより構成す
ることができ、また、ラッチリレー等の様な機械的構成
部品を用いていないため、信頼性の高い状態保持装置を
提供するうえで著しい効果を発揮する。
Since the present invention is constructed and functions as described above, it can be constructed by an inexpensive logic circuit and an EEPROM without using a CPU, ROM, RAM, etc., and a latch relay, etc. Since no such mechanical components are used, it is extremely effective in providing a highly reliable state maintaining device.

【0010】[0010]

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

【図1】本発明に係る伝送装置における状態保持装置の
構成を示す図。
FIG. 1 is a diagram showing a configuration of a state holding device in a transmission device according to the present invention.

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

1・・・一致判定回路、 2・・・シーケンサ回路、
3・・・EEPROM、 4・・・ラッチ回路、5・
・・ゲート回路
1 ... Match determination circuit, 2 ... Sequencer circuit,
3 ... EEPROM, 4 ... Latch circuit, 5 ...
..Gate circuits

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】伝送装置に用いる無電源状態保持装置に於
いて、 切替制御信号を電気的に保持するラッチ回路と、 伝送装置より供給される切替制御信号を入力する制御信
号入力端と前記ラッチ回路との間に設けられ、前記制御
信号入力端より供給される切替制御信号の入力を制御す
るゲート回路と、 前記制御信号入力端より供給される切替制御信号と、前
記ラッチ回路出力とを比較する一致判定回路と、 前記ゲート回路出力である切替制御信号を入力し、該切
替制御信号をデータとして記憶する電気的消去形プロブ
ラマブルROMと、 前記一致判定回路出力を入力し、前記ゲート回路、ラッ
チ回路及び電気的消去形プログラマブルROMに制御信
号を供給することにより、切替状態を前記電気的消去形
プログラマブルROMに記憶すると共に、無電源状態よ
り電源が復旧した際に前記電気的消去形プログラマブル
ROMに記憶されたデータを前記ラッチ回路に出力する
ように制御信号を出力するシーケンサ回路とを備えたこ
とを特徴とする無電源状態保持装置。
1. A non-power supply state holding device used for a transmission device, a latch circuit for electrically holding a switching control signal, a control signal input terminal for inputting a switching control signal supplied from the transmission device, and the latch. A gate circuit provided between the control signal input terminal and a control circuit for controlling the input of a switching control signal supplied from the control signal input terminal, and a switching control signal supplied from the control signal input terminal to the latch circuit output. Match determination circuit, an electrically erasable programmable ROM that inputs the switching control signal that is the output of the gate circuit, and stores the switching control signal as data, the output of the match determination circuit, the gate circuit, and the latch A switching state is stored in the electrically erasable programmable ROM by supplying a control signal to the circuit and the electrically erasable programmable ROM. A sequencer circuit that outputs a control signal to output the data stored in the electrically erasable programmable ROM to the latch circuit when the power supply is restored from the non-power supply state. State keeping device.
JP5281756A 1993-10-14 1993-10-14 No-power state holding device Pending JPH07115404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5281756A JPH07115404A (en) 1993-10-14 1993-10-14 No-power state holding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5281756A JPH07115404A (en) 1993-10-14 1993-10-14 No-power state holding device

Publications (1)

Publication Number Publication Date
JPH07115404A true JPH07115404A (en) 1995-05-02

Family

ID=17643540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5281756A Pending JPH07115404A (en) 1993-10-14 1993-10-14 No-power state holding device

Country Status (1)

Country Link
JP (1) JPH07115404A (en)

Similar Documents

Publication Publication Date Title
US5237698A (en) Microcomputer
JPH11110308A (en) Data backup system in case of power supply cutoff
JPH07115404A (en) No-power state holding device
JPS6316314A (en) Interface device for no-break power unit
JPH06250939A (en) Data processor
JP2004078847A (en) Equipment with memory-switching means
JP2798060B2 (en) Power control circuit
JP3466240B2 (en) Power control circuit
JP2775536B2 (en) Power supply device and power supply control method
JP2000295789A (en) Power circuit, electronic equipment, and backup of power supply
CN116678089A (en) Control circuit, control method, air conditioner wire controller, air conditioner and storage medium
KR910001273B1 (en) Cash register
JPH10201133A (en) Uniterrupted power supply device and control method for it
KR960014155B1 (en) Data backup apparatus for computer system
JP2001326590A (en) Redundancy changeover system for optical transmitter
JPH0887431A (en) Abnormality detecting device for central processing unit
JPH0298747A (en) Multiple controller
JPS62191952A (en) Data back-up circuit
JPH08200233A (en) Supply water pump control device
JPH05334107A (en) System bus buffer control device
JPH01276830A (en) Erroneous switching relieving system for signal switching device
JPH03276594A (en) Illumination device with wireless remote control
JPH04138511A (en) Resetting circuit for microcomputer
JPS6212537B2 (en)
JPH0414374B2 (en)