JPH05204781A - Control information storage device for electronic equipment - Google Patents
Control information storage device for electronic equipmentInfo
- Publication number
- JPH05204781A JPH05204781A JP3156783A JP15678391A JPH05204781A JP H05204781 A JPH05204781 A JP H05204781A JP 3156783 A JP3156783 A JP 3156783A JP 15678391 A JP15678391 A JP 15678391A JP H05204781 A JPH05204781 A JP H05204781A
- Authority
- JP
- Japan
- Prior art keywords
- control information
- voltage
- power
- ram
- volatile memory
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C5/00—Details of stores covered by group G11C11/00
- G11C5/14—Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Power Engineering (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Power Sources (AREA)
- Control Or Security For Electrophotography (AREA)
Abstract
(57)【要約】
【目的】 プリンタなどの制御情報をRAMに書き込ん
で必要に応じて任意に読み出し、電源オフ時にはこの内
容をバックアップ電源なしに保存する。
【構成】 制御情報を記憶するためのRAM16とは別
個に不揮発性のEEPROM17を設ける。電源オン作
動中にはRAM16から制御情報を読み出し、また必要
に応じてこれを書き替える。電源オフ作動時には電源電
圧が降下している途中でRAM16の制御情報をEEP
ROMに転記する。この結果、電源オフ時には制御情報
はEEPROM17に安定状態でバックアップ電源なし
に保存され、RAMの制御情報が消失しても、次の電源
オン時にEEPROM17からRAM16に書き込むこ
とができる。
(57) [Abstract] [Purpose] The control information of the printer is written in the RAM and read arbitrarily as needed, and when the power is turned off, this content is saved without the backup power supply. [Structure] A nonvolatile EEPROM 17 is provided separately from the RAM 16 for storing control information. During the power-on operation, the control information is read from the RAM 16 and rewritten as necessary. When the power is turned off, the control information of the RAM 16 is EEP while the power supply voltage is decreasing.
Transfer to ROM. As a result, when the power is turned off, the control information is stored in the EEPROM 17 in a stable state without a backup power supply, and even if the control information in the RAM is lost, the control information can be written from the EEPROM 17 to the RAM 16 at the next power on.
Description
【0001】[0001]
【産業上の利用分野】本発明は電子機器の制御情報記憶
装置、特に電子機器の動作に必要な予め設定されあるい
は必要に応じて変更される制御情報を確実に記憶し、さ
らに電子機器の電源オフ時においてもこれを保持するこ
とのできる改良された制御情報記憶装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control information storage device for electronic equipment, and more particularly, it surely stores control information necessary for the operation of the electronic equipment and preset or changed as necessary. The present invention relates to an improved control information storage device capable of holding this even when it is off.
【0002】[0002]
【従来の技術】プリンタなどのコンピュータ周辺電子機
器においては、各種の制御情報が予め設定されあるいは
任意に変更されて、電子機器の動作に所望の制御データ
を与えている。このような制御情報としては、電子機器
毎に異なるが、例えばプリンタにおいては、以下の如き
制御情報が必要とされる。2. Description of the Related Art In a computer peripheral electronic device such as a printer, various control information is preset or arbitrarily changed to give desired control data to the operation of the electronic device. Although such control information differs depending on the electronic device, for example, in a printer, the following control information is required.
【0003】すなわち、オートローティングを行うとき
の用紙位置補正量、往復印字を行うときのドット位置合
せ補正量、インクリボンの交換時期を警告するための連
続使用量、プリンタのメンテナンス時期を警告するため
の累積使用時間、印字ワイヤ毎の使用頻度、プリンタに
オートローディング機構がオプション搭載されているか
の識別あるいは印字文字の選択などが挙げられる。That is, the amount of paper position correction when performing auto-rotation, the amount of dot alignment correction when performing reciprocal printing, the amount of continuous use for warning the ink ribbon replacement time, and the printer maintenance time are warned. The cumulative use time, the frequency of use for each print wire, the identification of whether the printer is equipped with an auto-loading mechanism as an option, or the selection of print characters can be mentioned.
【0004】これらの制御情報は各プリンタなどの電子
機器毎にその使用の都度設定され、あるいはその使用中
に変更され、従来においてはこのような設定は例えばD
IPスイッチなどの切替で設定されている。しかしなが
ら、最近、このようなDIPスイッチを用いることな
く、コントローラに設けられたRAMなどで情報記憶す
る装置が提案され、従来のDIPスイッチに比べて多数
の制御情報を簡単な操作によって記憶することができる
という利点を生じさせている。These pieces of control information are set for each electronic device such as each printer each time it is used, or changed during its use. In the past, such a setting is set to D, for example.
It is set by switching the IP switch. However, recently, a device for storing information in a RAM or the like provided in a controller has been proposed without using such a DIP switch, and a large amount of control information can be stored by a simple operation as compared with a conventional DIP switch. Gives rise to the advantage of being able to.
【0005】このようなRAMメモリは周知のように揮
発性メモリであり、前述した各設定制御情報は常に保存
されなければならないので、電子機器の電源オフ時にお
いてもバックアップ電源によってデータ保存が図られな
ければならない。従って、従来においては、このような
RAMデータはバッテリによりバックアップされ、電源
投入時には直ちに電子機器に必要な制御情報が取り出せ
るように構成されていた。As is well known, such a RAM memory is a volatile memory, and since each setting control information described above must be stored at all times, data can be stored by a backup power supply even when the electronic device is powered off. There must be. Therefore, conventionally, such RAM data is backed up by a battery so that the control information necessary for the electronic device can be immediately taken out when the power is turned on.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、このよ
うな電池によるバックアップ装置では、電池消耗時に制
御情報が消失してしまうという危険があり、またバック
アップ電池の電圧を常に所定値以上に保つための回路構
成が付加されなければならないなどの問題があった。However, in such a backup device using a battery, there is a risk that control information will be lost when the battery is exhausted, and a circuit for always maintaining the voltage of the backup battery above a predetermined value. There was a problem that the configuration had to be added.
【0007】本発明は上記従来の課題に鑑みなされたも
のであり、その目的は、制御情報をRAMなどの揮発性
メモリに記憶して電子機器作動中はいつでも必要な制御
情報を機器に提供し、また電源オフ時にはこの制御情報
をバックアップ電池を必要とすることなく確実に保存可
能とした改良された制御情報記憶装置を提供することに
ある。The present invention has been made in view of the above conventional problems, and an object thereof is to store control information in a volatile memory such as a RAM and to provide necessary control information to a device at any time during operation of the electronic device. Another object of the present invention is to provide an improved control information storage device capable of surely storing this control information when the power is off without the need for a backup battery.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するため
に、本発明は電子機器の動作中は制御情報を従来と同様
に書替可能な揮発性メモリに記憶保持して大量の制御情
報であっても自由にこれを用い得るようにしている。To achieve the above object, the present invention stores a large amount of control information by storing and holding control information in a rewritable volatile memory during operation of an electronic device as in the conventional case. Even if there is, I am free to use it.
【0009】そして、本発明において特徴的なことは、
前記RAMなどの揮発性メモリとは別個に電気的に書き
替え可能なEEPROMなどの不揮発性メモリを設け、
電子機器の電源オフ時には前記揮発性メモリの制御情報
を不揮発性メモリに転記して保持することを特徴とす
る。このために、本発明においては、電子機器の電源オ
フ時の電圧降下中に前記揮発性メモリの制御情報を不揮
発性メモリに記憶する記憶回路を設けている。The characteristic feature of the present invention is that
A nonvolatile memory such as an electrically rewritable EEPROM is provided separately from the volatile memory such as the RAM.
When the power of the electronic device is turned off, the control information of the volatile memory is transcribed and held in the nonvolatile memory. For this reason, in the present invention, a storage circuit for storing the control information of the volatile memory in the non-volatile memory during the voltage drop when the power of the electronic device is turned off is provided.
【0010】[0010]
【作用】従って、本発明によれば、通常の電子機器の動
作中においては、揮発性メモリに記憶されている制御情
報を用いて所望の機器動作を行い、このときには、揮発
性メモリには動作中の電源電圧から必要なデータ保持電
圧を得ている。Therefore, according to the present invention, during a normal operation of an electronic device, a desired device operation is performed using the control information stored in the volatile memory. The required data holding voltage is obtained from the power supply voltage inside.
【0011】そして、電子機器の電源オフ時には、この
電圧降下中のごく短時間において、記憶回路が揮発性メ
モリに書き込まれている制御情報を読み出し、これをE
EPROMなどの不揮発性メモリに転記する。Then, when the power of the electronic device is turned off, the control information written in the volatile memory is read out by the memory circuit in a very short time during this voltage drop, and this is read by E
Transfer to a non-volatile memory such as an EPROM.
【0012】従って、電源オフ時には、揮発性メモリか
らは制御情報が消失してしまうが、一方において、EE
PROMなどの不揮発性メモリ内にこの内容が転記され
ているので、バックアップ電源を何ら必要とすることな
く制御情報を長期間にわたって安定した状態で保持する
ことができる。Therefore, when the power is turned off, the control information is lost from the volatile memory.
Since this content is transcribed in a non-volatile memory such as a PROM, the control information can be held in a stable state for a long period of time without requiring any backup power supply.
【0013】そして、電子機器の電源オン時には、まず
不揮発性メモリからの制御情報がRAMなどの揮発性メ
モリに書き込まれ、その後に電子機器の動作が開始され
ることとなる。When the power of the electronic device is turned on, the control information from the non-volatile memory is first written in the volatile memory such as the RAM, and thereafter the operation of the electronic device is started.
【0014】従って、本発明によれば、通常の動作は応
答速度が速く制御情報の読み書きが自由に可能な揮発性
メモリを用いて各種の必要な条件設定が行われ、一方に
おいて電源オフ時にはその内容を不揮発性メモリ内に確
実に保持するので、操作性及びデータ保存の安全性を両
立した制御情報記憶装置を提供することができる。Therefore, according to the present invention, in the normal operation, various necessary conditions are set by using the volatile memory which has a high response speed and is capable of freely reading and writing control information. Since the contents are surely held in the non-volatile memory, it is possible to provide the control information storage device which has both the operability and the safety of data storage.
【0015】[0015]
【実施例】以下図面に基づいて本発明の好適な実施例を
説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings.
【0016】図1には本発明に係る制御情報記憶装置が
プリンタに適用された好適な第1実施例が示されてい
る。周知のように、プリンタはプリントメカニズム10
と制御回路を含むコントロールボード11とに分けら
れ、実施例においては両部に電源回路12からそれぞれ
24Vの電圧VH そして5Vの電圧VCCが供給されてい
る。前記プリントメカニズム10は通常の場合紙送り機
構、キャリッジ送り機構そして印字ヘッドを含み、一方
コントロールボード11は所定のプログラムに従って各
部を制御するCPU13を含み、このCPU13とデー
タバス14を介してROM15、RAM16そしてEE
PROM17が接続されている。本実施例において、前
記RAM16が前述した各種の制御情報を記憶するため
の揮発性メモリを構成し、一方EEPROM17が不揮
発性メモリを形成している。従って、本発明によれば、
RAM16がプリンタ電源オンの動作中にはCPU13
に対して所定の制御情報を供給し、プリンタ電源のオフ
時にはRAM16に記憶されている制御情報がEEPR
OM17に転記されることとなる。FIG. 1 shows a first preferred embodiment in which the control information storage device according to the present invention is applied to a printer. As is well known, printers have a printing mechanism 10.
And a control board 11 including a control circuit. In the embodiment, both parts are supplied with a voltage V H of 24 V and a voltage V CC of 5 V from the power supply circuit 12, respectively. The print mechanism 10 usually includes a paper feed mechanism, a carriage feed mechanism and a print head, while the control board 11 includes a CPU 13 that controls each unit according to a predetermined program, and the ROM 15 and the RAM 16 via the CPU 13 and the data bus 14. And EE
The PROM 17 is connected. In this embodiment, the RAM 16 constitutes a volatile memory for storing the above-mentioned various control information, while the EEPROM 17 constitutes a non-volatile memory. Therefore, according to the present invention,
While the RAM 16 is operating while the printer power is on, the CPU 13
Control information stored in the RAM 16 when the printer power is turned off.
It will be transcribed to OM17.
【0017】このようなRAM16とEEPROM17
間のデータ転送はCPU13が受け持っている。Such a RAM 16 and an EEPROM 17
The CPU 13 is in charge of data transfer between them.
【0018】図1において、電源回路12の電源オフ検
出を行うために電圧検知回路18が設けられており、電
圧VH が通常の24Vから例えば22V程度まで電圧降
下したときに検知信号Gを出力し、CPU13はこの検
知信号Gにより後述するデータ転記プログラムを割込み
実行する。In FIG. 1, a voltage detection circuit 18 is provided to detect the power-off of the power supply circuit 12, and a detection signal G is output when the voltage V H drops from the normal 24 V to, for example, about 22 V. Then, the CPU 13 interrupts the data transfer program described later by the detection signal G.
【0019】図2には第1実施例における電源オフ時の
データ転記タイミングが示されており、図1において、
電源スイッチ12aがオフ作動されると(t0 )、電圧
検知回路18は電圧VH が基準値VS に低下することを
監視し、時刻t1 において検知信号Gを出力する。そし
て、この時刻t1 からT時間経過して電圧VCCが電圧降
下する(t2 )までの期間にCPU13が前記割込みプ
ログラムによってRAM16の制御情報をEEPROM
17に転記する。FIG. 2 shows the data transfer timing when the power is off in the first embodiment.
When the power switch 12a is turned off (t 0 ), the voltage detection circuit 18 monitors that the voltage V H drops to the reference value V S , and outputs the detection signal G at time t 1 . Then, during the period from the time t 1 until the voltage V CC drops (t 2 ) after the lapse of T time, the CPU 13 stores the control information of the RAM 16 in the EEPROM by the interrupt program.
Post to 17.
【0020】従って、この転記によって、電源オフ時に
RAM16の内容が消失しても、これを不揮発性メモリ
すなわちEEPROM17が確実にデータ保存すること
ができる。Therefore, even if the contents of the RAM 16 are lost when the power is turned off by this transcription, the data can be surely stored in the nonvolatile memory, that is, the EEPROM 17.
【0021】図3には前記転記作用が示されており、検
知信号Gによって割込みプログラムがスタートすると
(100)、まずEEPROM17の内容が消去され
(101)、次にRAM16に記憶されている制御情報
がEEPROM17に書き込まれる(102)。そし
て、この書込みがベリファイされ(103)、その結果
により書込みが確認されれば終了し、一方書込みが終了
されていない場合には再び前記ステップ101から10
3が繰り返される(104)。通常、この転記時間は2
0〜50ミリ秒程度であり、前記電源スイッチ12aの
遮断による電圧降下中にこのような転記時間を十分に確
保することができる。FIG. 3 shows the transfer operation. When the interrupt program is started by the detection signal G (100), the contents of the EEPROM 17 are first erased (101), and then the control information stored in the RAM 16 is stored. Is written in the EEPROM 17 (102). Then, this writing is verified (103), and if the writing is confirmed by the result, the processing is ended. On the other hand, if the writing is not ended, the steps 101 to 10 are repeated.
3 is repeated (104). Normally, this posting time is 2
It is about 0 to 50 milliseconds, and such a transfer time can be sufficiently secured during the voltage drop due to the cutoff of the power switch 12a.
【0022】また、図4には電源オン時に前記EEPR
OM17の保持している制御情報をRAM16に書き替
える作用が示されており、電源オンと共に(200)、
RAM16の内容がオールクリヤされ(201)、ここ
にEEPROM17の保持データが書き込まれる(20
2)。Further, FIG. 4 shows the EEPR when the power is turned on.
The operation of rewriting the control information held by the OM 17 to the RAM 16 is shown, and when the power is turned on (200),
The contents of the RAM 16 are all cleared (201), and the data held in the EEPROM 17 is written here (20).
2).
【0023】以上のように、本発明によれば、電子機器
例えばプリンタの電源がオン作動中には、任意に書替可
能な揮発性メモリ例えばRAMが制御情報の記憶を行
い、電子機器は高速度で制御情報の読出しあるいは書替
を行うことができ、多量の制御情報であっても高い応答
性でこれを利用することが可能となる。As described above, according to the present invention, while the power of the electronic device, for example, the printer, is turned on, the rewritable volatile memory, for example, the RAM stores the control information, and the electronic device is highly functional. The control information can be read or rewritten at high speed, and even a large amount of control information can be used with high responsiveness.
【0024】そして、電源オフ時には、前記RAMに記
憶された制御情報は電源オフの電圧降下中に不揮発性メ
モリ例えばEEPROMに転記され、バックアップ電源
を必要とすることなしに電源オフ中であっても安定した
状態で長期に制御情報を保存することが可能となる。周
知のようにEEPROMなどの不揮発性メモリはそのデ
ータ書替が可能ではあるが書替に対する耐久寿命は10
〜100万回の回数であり、このような有限回の書込で
は、通常のRAMなどのように自由に書替のできるメモ
リと異なり、通常の制御情報書替状態では使用すること
はできないが、電子機器の電源オンオフ時のみの書替で
あれば十分に利用可能である。特に、制御情報としてメ
ンテナンス用の記録を行う場合、プリンタの動作毎に制
御情報の累積加算が必要となり、このような記憶にはE
EPROMなどの不揮発性メモリを利用することができ
ないが、本発明においては、通常の使用には揮発性メモ
リが用いられるので、このような不都合が生じることは
ない。When the power is off, the control information stored in the RAM is transferred to a non-volatile memory such as an EEPROM during the voltage drop when the power is off, and even when the power is off without requiring a backup power source. It is possible to store the control information in a stable state for a long time. As is well known, non-volatile memory such as EEPROM can rewrite its data, but has a durable life of 10 for rewriting.
It is a number of times up to 1,000,000 times, and in such a limited number of times of writing, unlike a memory that can be freely rewritten such as a normal RAM, it cannot be used in a normal control information rewriting state. The rewriting can be sufficiently performed only when the electronic device is powered on / off. In particular, when maintenance recording is performed as control information, cumulative addition of control information is required for each operation of the printer.
A non-volatile memory such as an EPROM cannot be used, but in the present invention, since a volatile memory is used for normal use, such a disadvantage does not occur.
【0025】また、通常の不揮発性メモリの書替には既
に記憶されている情報を適当な領域単位で一旦消去した
後に書き込まなければならず、RAMなどのデータ書替
に比して長い時間を必要とするが、本発明では、このよ
うな書替は電源オフ時のみに限られるので、両者の利点
を使い分けながら最適な制御情報記憶を行うことができ
る。Further, in the rewriting of a normal non-volatile memory, it is necessary to once erase the already stored information in an appropriate area unit and then write the information, which requires a longer time than rewriting the data in the RAM or the like. Although necessary, in the present invention, since such rewriting is limited only when the power is turned off, optimum control information storage can be performed while properly utilizing the advantages of both.
【0026】図5には本発明をプリンタに適用した好適
な第2実施例が示されており、前述した第1実施例と類
似するが若干その回路構成を具体的に示している。FIG. 5 shows a second preferred embodiment in which the present invention is applied to a printer, which is similar to the above-described first embodiment but shows a specific circuit configuration thereof.
【0027】電源回路は商用電源がプラグ20を介し
て、電源スイッチ21から一次回路22に供給され、変
圧器24を介して整流平滑回路25及び安定化回路26
によって24Vの電圧VH を得ている。電源回路はさら
にレギュレータ回路27を含み5Vの電圧VCCを出力
し、前記電圧VH は前述した第1実施例と同様にプリン
トメカニズムの印字ヘッドあるいはペーパ送り用の駆動
モータに供給され、5VのVCC電圧はコントロールボー
ドに供給されている。第2実施例における電圧検知回路
28は分圧抵抗R1 、R2 によって電圧VL を作り、こ
の電圧VL がツェナーダイオード29で得られた基準電
圧Vt とコンパレータ30によって比較され、検知信号
Gとして出力されている。従って、第2実施例によれ
ば、電圧VH が所定電圧例えば22Vまで低下した時に
電圧検知回路28から検知信号Gが出力されるように抵
抗R1 、R2 あるいは基準電圧Vt の値が定められてい
る。In the power supply circuit, commercial power is supplied from the power switch 21 to the primary circuit 22 via the plug 20, and the rectifying / smoothing circuit 25 and the stabilizing circuit 26 via the transformer 24.
Has obtained a voltage V H of 24V. The power supply circuit further includes a regulator circuit 27 to output a voltage V CC of 5 V, and the voltage V H is supplied to a print head of a print mechanism or a drive motor for paper feeding as in the first embodiment described above, and the voltage V H of 5 V is supplied. The V CC voltage is supplied to the control board. The voltage detection circuit 28 in the second embodiment creates a voltage V L by the voltage dividing resistors R 1 and R 2 , and this voltage V L is compared with the reference voltage V t obtained by the Zener diode 29 by the comparator 30 to detect the detection signal. It is output as G. Therefore, according to the second embodiment, the values of the resistors R 1 and R 2 or the reference voltage V t are set so that the detection signal G is output from the voltage detection circuit 28 when the voltage V H drops to a predetermined voltage, for example, 22V. It is set.
【0028】図6には前記検知信号Gを得るための第3
実施例が示され、その回路動作が図7に示されている。
図6において、5VのVCCは整流平滑回路31及び安定
化回路32から得られ、この実施例において特徴的なこ
とは、このVCCとは別個に短い時定数をもつ+2Vの電
圧出力回路が設けられていることであり、このために補
助二次コイル33が設けられ、ダイオード34とコンデ
ンサ35によって常に2Vの電圧がコンパレータ36に
供給されている。このコンパレータ36の他方の入力に
はツェナーダイオード37によって基準電圧VS が供給
されている。そして、前記電圧出力回路のコンデンサ3
5には抵抗38が並列に接続され、電源オフ時にコンデ
ンサ35の充電電圧を急速に放電する構成からなり、こ
の時の時定数はごく短く設定されている。FIG. 6 shows a third method for obtaining the detection signal G.
An embodiment is shown and its circuit operation is shown in FIG.
In FIG. 6, V CC of 5 V is obtained from the rectifying / smoothing circuit 31 and the stabilizing circuit 32, and a characteristic of this embodiment is that a +2 V voltage output circuit having a short time constant is provided separately from this V CC. The auxiliary secondary coil 33 is provided for this purpose, and the voltage of 2V is constantly supplied to the comparator 36 by the diode 34 and the capacitor 35. The Zener diode 37 supplies the reference voltage V S to the other input of the comparator 36. Then, the capacitor 3 of the voltage output circuit
A resistor 38 is connected in parallel to 5 and is configured to rapidly discharge the charging voltage of the capacitor 35 when the power is turned off, and the time constant at this time is set to be extremely short.
【0029】従って、電源スイッチ21のオフ作動によ
り、前記電圧出力回路の2V出力は即座に放電し、図7
の時刻t1 で示されるように、この放電電圧が基準電圧
VS より低下したときに検知信号Gが出力される。一
方、電圧VCCは前記電圧出力回路より十分に大きな時定
数をもっているので、ロジックIC回路が動作可能な範
囲すなわち電圧VCCが4.75V程度まで低下する間の
遅れ期間Tだけは十分に前記RAMからEEPROMへ
の転記を行うことが可能となる。Therefore, when the power switch 21 is turned off, the 2V output of the voltage output circuit is immediately discharged, and FIG.
As shown at time t 1 of 1 , the detection signal G is output when the discharge voltage becomes lower than the reference voltage V S. On the other hand, since the voltage V CC has a time constant sufficiently larger than that of the voltage output circuit, only the delay period T during which the logic IC circuit can operate, that is, while the voltage V CC decreases to about 4.75 V, is sufficient. It is possible to transfer from the RAM to the EEPROM.
【0030】図8には本発明の第4実施例が示され、2
4V電圧VH と5V電圧VCCを所要電源から作り出すと
共に、通常の場合このままでは5VのVCC電圧が電源オ
フ時に急速に低下してしまうので、24V電圧VH から
4.7Vの補助電圧をVCCに与えていることを特徴とす
る。A fourth embodiment of the present invention is shown in FIG.
Together produce 4V voltage V H and the 5V voltage V CC from the required power, the remains this usually results in decreased rapidly when V CC voltage supply off 5V, the auxiliary voltage of 4.7V from 24V voltage V H It is characterized in that it is given to V CC .
【0031】図8において、商用電源がプラグ40から
電源スイッチ41を介して変圧器42に供給された電圧
は降圧された後それぞれ整流器43、44から24V電
圧VH そして5V電圧VCCとして取り出される。実施例
において特徴的なことは、24V電圧回路中にレギュレ
ータ回路45が設けられていることであり、このレギュ
レータ回路45からはダイオード46を介して5V電圧
VCC系に4.7Vの補助電圧が供給されている。In FIG. 8, the commercial power supplied from the plug 40 to the transformer 42 via the power switch 41 is stepped down and taken out from the rectifiers 43 and 44 as the 24V voltage V H and the 5V voltage V CC , respectively. .. A characteristic of the embodiment is that the regulator circuit 45 is provided in the 24V voltage circuit, and from this regulator circuit 45, the auxiliary voltage of 4.7V is supplied to the 5V voltage V CC system via the diode 46. Is being supplied.
【0032】従って、図10で示されるように、電源ス
イッチ41のオフ動作時に時刻t0 でVCC電圧が急速に
低下しても、前記レギュレータ回路45の出力はこれよ
りも十分に長い期間4.8Vを継続するので、検知信号
が必要とされた後の転記時間Tを十分に確保することが
可能となる。Therefore, as shown in FIG. 10, even if the V CC voltage is rapidly decreased at time t 0 when the power switch 41 is turned off, the output of the regulator circuit 45 is longer than this for a period of 4 times. Since the voltage continues to be 0.8 V, it is possible to sufficiently secure the transcription time T after the detection signal is required.
【0033】図9には第4実施例における電圧検知回路
が示されており、図から明らかなように、24V電圧V
H がプリントメカニズムに供給されると共に、ツェナー
ダイオード47及び抵抗48を通って接地され、トラン
ジスタ49にオン作動電圧を与える。このトランジスタ
49のコレクタ側には5V電圧VCCが接続されており、
さらにトランジスタ50のベースが接続されている。そ
してトランジスタ50のコレクタは5V電圧VCCに接続
されると共に検知信号GとしてCPU13のNMI反転
入力(ノンマスカブルインタラプタ)端子に割込み信号
として供給されている。FIG. 9 shows a voltage detection circuit according to the fourth embodiment. As is clear from the figure, the voltage of 24V V
H is supplied to the print mechanism and is also grounded through zener diode 47 and resistor 48 to provide transistor 49 with an on-operation voltage. A 5V voltage V CC is connected to the collector side of the transistor 49,
Further, the base of the transistor 50 is connected. The collector of the transistor 50 is connected to the 5V voltage V CC and is supplied as a detection signal G to the NMI inversion input (non-maskable interrupter) terminal of the CPU 13 as an interrupt signal.
【0034】従って、この電圧検知回路は、通常の電源
オン状態では、トランジスタ49がオンそしてトランジ
スタ50がオフ状態を保ち、「H」の検知信号が前記N
MI反転端子に供給されている。Therefore, in the voltage detecting circuit, in the normal power-on state, the transistor 49 is kept on and the transistor 50 is kept off, and the detection signal of "H" is the above N level.
It is supplied to the MI inversion terminal.
【0035】そして、電源オフによって電圧VH が低下
すると、トランジスタ49がオフそしてトランジスタ5
0がオン作動し、この結果検知信号Gは「L」となり、
CPU13は割込みプログラムを開始して所定のEEP
ROM17へのRAM16の制御情報転記を行う。When the voltage V H drops due to the power-off, the transistor 49 turns off and the transistor 5
0 is turned on, and as a result, the detection signal G becomes "L",
The CPU 13 starts the interrupt program and starts a predetermined EEP
The control information of the RAM 16 is transferred to the ROM 17.
【0036】図10から明らかなように、本実施例によ
れば、通常5VのVCC電圧は電源オフ時に破線で示すよ
うに急速に電圧降下を起す、これを24V電圧VH から
補助することによって、4.7V電圧を一定時間保持し
てこの間に制御情報転記に必要な時間Tを提供すること
が可能となる。As is apparent from FIG. 10, according to the present embodiment, the V CC voltage of usually 5 V causes a rapid voltage drop as shown by the broken line when the power is off, and this should be assisted from the 24 V voltage V H. Thus, it becomes possible to hold the voltage of 4.7 V for a certain period of time and provide the time T required for transferring the control information during this period.
【0037】[0037]
【発明の効果】以上説明したように、本発明によれば、
プリンタなどのコンピュータ周辺電子機器に必要な各種
制御情報を通常の電源オン作動状態ではRAMなどの揮
発性メモリが記憶し、一方電源オフ時にはこの制御情報
を不揮発性メモリである例えばEEPROMが記憶し、
これによってバックアップ電源を必要とすることなく、
電源オフ状態でも多量の制御情報を確実かつ安全に保存
できるという利点がある。As described above, according to the present invention,
Various control information necessary for computer peripheral electronic devices such as a printer is stored in a volatile memory such as a RAM in a normal power-on operation state, while the control information is stored in a non-volatile memory such as an EEPROM when the power is off,
This will eliminate the need for backup power
There is an advantage that a large amount of control information can be reliably and safely stored even when the power is off.
【図1】本発明に係る制御情報記憶装置がプリンタに適
用された第1実施例のブロック回路図。FIG. 1 is a block circuit diagram of a first embodiment in which a control information storage device according to the present invention is applied to a printer.
【図2】第1実施例の作用説明図。FIG. 2 is an explanatory view of the operation of the first embodiment.
【図3】第1実施例における制御情報転記作用を示すフ
ローチャート。FIG. 3 is a flowchart showing a control information transfer action in the first embodiment.
【図4】第1実施例における電源オン時のデータ書替作
用を示すフローチャート。FIG. 4 is a flowchart showing a data rewriting operation at power-on in the first embodiment.
【図5】本発明に係る制御情報記憶装置をプリンタに適
用した第2実施例のブロック回路図。FIG. 5 is a block circuit diagram of a second embodiment in which a control information storage device according to the present invention is applied to a printer.
【図6】本発明に係る制御情報記憶装置をプリンタに適
用した場合の第3実施例を示すブロック回路図。FIG. 6 is a block circuit diagram showing a third embodiment when the control information storage device according to the present invention is applied to a printer.
【図7】第3実施例の作用を示す波形図。FIG. 7 is a waveform chart showing the operation of the third embodiment.
【図8】本発明に係る制御情報記憶装置をプリンタに適
用した場合の好適な第4実施例の電源回路構成図。FIG. 8 is a power supply circuit configuration diagram of a fourth preferred embodiment when the control information storage device according to the present invention is applied to a printer.
【図9】第4実施例における全体の構成と電圧検知回路
の詳細を示す説明図。FIG. 9 is an explanatory diagram showing details of the entire configuration and voltage detection circuit in the fourth embodiment.
【図10】第4実施例の作用説明図。FIG. 10 is an explanatory view of the operation of the fourth embodiment.
10 プリントメカニズム 11 コントロールボード 13 CPU 15 ROM 16 RAM 17 EEPROM 10 Print Mechanism 11 Control Board 13 CPU 15 ROM 16 RAM 17 EEPROM
Claims (1)
記憶保持し必要に応じてこの情報を電子機器に供給する
揮発性メモリと、 前記揮発性メモリの記憶内容を転記して記憶する書替可
能な不揮発性メモリと、 電子機器の電源オフ時の電圧
降下中に揮発性メモリの制御情報を不揮発性メモリに記
憶する記憶回路と、 を含む電子機器の制御情報記憶装置。1. A volatile memory for rewritably storing and holding control information during operation of an electronic device, and supplying this information to the electronic device as necessary, and a storage content of the volatile memory is transcribed and stored. A control information storage device for an electronic device, comprising: a rewritable non-volatile memory; and a storage circuit that stores the control information of the volatile memory in the non-volatile memory during a voltage drop when the electronic device is powered off.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3156783A JPH05204781A (en) | 1991-06-27 | 1991-06-27 | Control information storage device for electronic equipment |
| GB9212854A GB2257274A (en) | 1991-06-27 | 1992-06-17 | Preserving configuration information in non-volatile memory. |
| DE19924221123 DE4221123A1 (en) | 1991-06-27 | 1992-06-26 | CONTROL INFORMATION STORAGE UNIT IN AN ELECTRONIC INSTRUMENT |
| CN 92105043 CN1067981A (en) | 1991-06-27 | 1992-06-27 | The control information memory storage of electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3156783A JPH05204781A (en) | 1991-06-27 | 1991-06-27 | Control information storage device for electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05204781A true JPH05204781A (en) | 1993-08-13 |
Family
ID=15635217
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3156783A Pending JPH05204781A (en) | 1991-06-27 | 1991-06-27 | Control information storage device for electronic equipment |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JPH05204781A (en) |
| CN (1) | CN1067981A (en) |
| DE (1) | DE4221123A1 (en) |
| GB (1) | GB2257274A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008262350A (en) * | 2007-04-11 | 2008-10-30 | Rohm Co Ltd | Data processing apparatus, and data control circuit for use in the same |
| JP2010036507A (en) * | 2008-08-07 | 2010-02-18 | Seiko Epson Corp | Method for controlling search of head of label paper and label printer |
| KR100950235B1 (en) * | 2002-11-26 | 2010-03-29 | 샌디스크 아이엘 엘티디 | Robust device containing flash memory during power outage |
| JP2014029680A (en) * | 2012-06-29 | 2014-02-13 | Semiconductor Energy Lab Co Ltd | Signal processing circuit |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11119876A (en) * | 1997-10-16 | 1999-04-30 | Fujitsu Ltd | Storage circuit having backup function and information processing apparatus |
| JP2000003424A (en) | 1998-04-17 | 2000-01-07 | Hitachi Ltd | IC card having memory content transfer control unit and method of storing data of IC card |
| JP4395943B2 (en) | 1998-11-26 | 2010-01-13 | セイコーエプソン株式会社 | Printing apparatus and information management method thereof |
| JP2000301738A (en) | 1998-11-26 | 2000-10-31 | Seiko Epson Corp | Ink container suitability determination method and printing apparatus for determining suitability of ink container |
| DE10025476C1 (en) * | 2000-05-23 | 2001-08-16 | Sartorius Gmbh | Crossflow filtration device |
| TW591393B (en) * | 2003-01-22 | 2004-06-11 | Fujitsu Ltd | Memory controller |
| CN101202055B (en) * | 2006-12-15 | 2010-12-08 | 群康科技(深圳)有限公司 | Digital image and sound optical disk player |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01158314A (en) * | 1987-12-16 | 1989-06-21 | Hitachi Ltd | Electronic measuring instrument |
| JPH03100848A (en) * | 1989-09-14 | 1991-04-25 | Japan Servo Co Ltd | Memory back-up device using eeprom |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4327410A (en) * | 1980-03-26 | 1982-04-27 | Ncr Corporation | Processor auto-recovery system |
| GB2201268B (en) * | 1987-02-07 | 1991-05-29 | Motorola Inc | Non-volatile memory system |
-
1991
- 1991-06-27 JP JP3156783A patent/JPH05204781A/en active Pending
-
1992
- 1992-06-17 GB GB9212854A patent/GB2257274A/en not_active Withdrawn
- 1992-06-26 DE DE19924221123 patent/DE4221123A1/en not_active Withdrawn
- 1992-06-27 CN CN 92105043 patent/CN1067981A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01158314A (en) * | 1987-12-16 | 1989-06-21 | Hitachi Ltd | Electronic measuring instrument |
| JPH03100848A (en) * | 1989-09-14 | 1991-04-25 | Japan Servo Co Ltd | Memory back-up device using eeprom |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100950235B1 (en) * | 2002-11-26 | 2010-03-29 | 샌디스크 아이엘 엘티디 | Robust device containing flash memory during power outage |
| JP2008262350A (en) * | 2007-04-11 | 2008-10-30 | Rohm Co Ltd | Data processing apparatus, and data control circuit for use in the same |
| JP2010036507A (en) * | 2008-08-07 | 2010-02-18 | Seiko Epson Corp | Method for controlling search of head of label paper and label printer |
| JP2014029680A (en) * | 2012-06-29 | 2014-02-13 | Semiconductor Energy Lab Co Ltd | Signal processing circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| GB2257274A (en) | 1993-01-06 |
| DE4221123A1 (en) | 1993-01-07 |
| GB9212854D0 (en) | 1992-07-29 |
| CN1067981A (en) | 1993-01-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7667866B2 (en) | Printing apparatus, data storage medium, interface device, printer control method, and interface control method | |
| JPH05204781A (en) | Control information storage device for electronic equipment | |
| EP1329321A2 (en) | Printing system | |
| US6412900B2 (en) | Recording apparatus having a charging function, and charging method | |
| JPH0781186A (en) | Power saving device for information processing system | |
| JP2730735B2 (en) | Electronics | |
| KR100739775B1 (en) | Apparatus and method for controlling power | |
| JPH0661971B2 (en) | Printer | |
| JPH0825773A (en) | Life detecting system for impact printer | |
| JPH1044567A (en) | Printer device | |
| JPH08212079A (en) | Image forming device | |
| JPH079686A (en) | Electronic system using inkjet printer and control method thereof | |
| JPH06155867A (en) | Thermal printer | |
| JP2517974B2 (en) | Document processing device capable of IC card connection | |
| JPH07186432A (en) | Printer | |
| JP2005149211A (en) | Data recording apparatus and data rewriting method | |
| JP2001347680A (en) | Printer with ink consumption measurement function | |
| JPS6268784A (en) | Printer | |
| JPS60198617A (en) | Electronic equipment with information processing functions | |
| JP2006065550A (en) | Nonvolatile memory writing control method for ink jet recording apparatus | |
| JPH09123570A (en) | Printer device | |
| JPH054427A (en) | Printer | |
| JPH01294053A (en) | Apparatus for detecting life of printing head of dot printer | |
| JP2001158156A (en) | Electronics | |
| JPH061045A (en) | Printer device |