JP2002335639A - Electronic device - Google Patents

Electronic device

Info

Publication number
JP2002335639A
JP2002335639A JP2002118043A JP2002118043A JP2002335639A JP 2002335639 A JP2002335639 A JP 2002335639A JP 2002118043 A JP2002118043 A JP 2002118043A JP 2002118043 A JP2002118043 A JP 2002118043A JP 2002335639 A JP2002335639 A JP 2002335639A
Authority
JP
Japan
Prior art keywords
charging
battery
electronic device
signal
initialization
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.)
Granted
Application number
JP2002118043A
Other languages
Japanese (ja)
Other versions
JP3428981B2 (en
Inventor
Tetsuto Ikeda
哲人 池田
Yuichi Kaneko
雄一 兼子
Junichi Arakawa
淳一 荒川
Akira Kuribayashi
明 栗林
Hideo Horigome
英雄 堀米
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002118043A priority Critical patent/JP3428981B2/en
Publication of JP2002335639A publication Critical patent/JP2002335639A/en
Application granted granted Critical
Publication of JP3428981B2 publication Critical patent/JP3428981B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

PROBLEM TO BE SOLVED: To solve the problem that when an initialization signal is inputted from a host while a printer executes the charging operation of a secondary battery, the charging operation is interrupted in opposition to will of a printer operator and the initialization is performed. SOLUTION: The electronic device which receives electrical power from a chargeable battery inhibits an interruption (S27), when the battery charging is instructed (S22) and cancels (S30) the inhibition of interruption to terminate the charging process when the charging operation of battery is terminated (S29).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば2次電池等
の充電可能な電池からの電力を受取る電子機器に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic apparatus for receiving power from a rechargeable battery such as a secondary battery.

【0002】[0002]

【従来の技術】一般に携帯可能な電子機器等では、商用
電源だけでなく電池でも機器を駆動できるように、充電
することにより繰返し使用可能な2次電池を機器内に装
着している。例えば、ホストコンピュータから転送され
る画像データに応じて記録材上に画像を記録するプリン
タ等においても、小型、軽量化が図られるとともに、商
用電源だけでなく電池でも装置駆動が可能なようになっ
てきている。そして、このような2次電池は、プリンタ
等の機器内に設けられている充電回路或いは専用の充電
器等によって充電される。機器内に設けられている充電
回路における充電の開始及び停止は、その充電回路内に
充電を開始もしくは停止させるスイッチング回路を設
け、CPUの出力ポートからの信号のレベルに応じて、
そのスイッチング回路をコントロールすることにより行
っている。
2. Description of the Related Art Generally, in portable electronic devices and the like, a secondary battery that can be repeatedly used by being charged is mounted in a device so that the device can be driven not only by a commercial power supply but also by a battery. For example, in a printer or the like that records an image on a recording material in accordance with image data transferred from a host computer, the size and weight can be reduced, and the device can be driven by a battery as well as a commercial power supply. Is coming. Then, such a secondary battery is charged by a charging circuit provided in a device such as a printer or a dedicated charger. The start and stop of charging in the charging circuit provided in the device is provided with a switching circuit for starting or stopping charging in the charging circuit, and according to the level of a signal from the output port of the CPU,
This is done by controlling the switching circuit.

【0003】図2は、このような充電制御回路の一般的
な構成を示す図である。
FIG. 2 is a diagram showing a general configuration of such a charge control circuit.

【0004】図2において、充電を開始する場合、CP
U200の出力ポートを、例えばハイレベルにした場合
にスイッチング回路202が動作して、充電回路201
により2次電池203に充電電流が流れて充電され、出
力ポートより出力される信号がロウレベルになるとスイ
ッチング回路202により充電回路201による充電が
停止されるものとする。
In FIG. 2, when charging is started, CP
When the output port of U200 is set to a high level, for example, the switching circuit 202 operates, and the charging circuit 201
, The charging current flows to the secondary battery 203, and the secondary battery 203 is charged. When the signal output from the output port becomes low level, the charging by the charging circuit 201 is stopped by the switching circuit 202.

【0005】[0005]

【発明が解決しようとする課題】このように上記従来例
では、2次電池の充電の開始および停止は、CPU20
0の出力ポートより出力される信号レベルに対応して一
義的に決定されるため、例えばCPU200が何らかの
理由により暴走したような場合は、出力ポートより出力
される信号レベルが不定となり、2次電池203の充電
の開始及び停止が制御できなくなる。この場合特に、C
PU200の出力ポートより出力される信号レベルがロ
ウレベルになった場合は危険はないが、ハイレベルの状
態を保持し続けた場合は、充電回路201より電流が供
給されるかぎり2次電池203が充電され続けることに
なり、その結果、2次電池203は過充電状態に陥って
しまう。このような過充電になると、2次電池203の
寿命を短くするだけでなく、2次電池203が発熱し非
常に危険な状態になるという問題があった。又、この様
なプリンタにおいては、ホストコンピュータより周辺機
器を初期化するために出力される初期化信号により割り
込みを発生し、現在実行中の処理を中断して初期化処理
を行う。このため、例えばプリンタが2次電池の充電動
作を実行している時に、この初期化信号がホストより入
力されると、プリンタのオペレータの意思に反してその
充電処理を途中で中断して初期化処理を行ってしまい、
ホストコンピュータから転送される情報を受信可能な状
態で待機していた。
As described above, in the above-described conventional example, the start and stop of charging of the secondary battery are performed by the CPU 20.
Since the signal level is uniquely determined in accordance with the signal level output from the output port 0, for example, when the CPU 200 runs away for some reason, the signal level output from the output port becomes undefined and the secondary battery The start and stop of charging of 203 cannot be controlled. In this case, in particular, C
There is no danger when the signal level output from the output port of the PU 200 goes low, but when the high level state is maintained, the secondary battery 203 is charged as long as the current is supplied from the charging circuit 201. As a result, the secondary battery 203 falls into an overcharged state. Such overcharging not only shortens the life of the secondary battery 203, but also causes a problem that the secondary battery 203 generates heat and becomes extremely dangerous. In such a printer, an interrupt is generated by an initialization signal output from the host computer to initialize peripheral devices, and the process currently being executed is interrupted to perform the initialization process. For this reason, for example, if the initialization signal is input from the host while the printer is executing the charging operation of the secondary battery, the charging process is interrupted halfway against the intention of the printer operator and the initialization is performed. Processing.
Waiting for receiving information transferred from the host computer.

【0006】本発明は上記従来例に鑑みてなされたもの
で、接続されている外部機器よりの初期化信号が入力さ
れた場合でも、電池の充電処理を中断しない電子機器を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above conventional example, and has as its object to provide an electronic device which does not interrupt the battery charging process even when an initialization signal is input from a connected external device. And

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明の電子機器は以下の様な構成を備える。即ち、
充電可能な電池からの電力を受取る電子機器であって、
外部装置から入力するデータに従って所定の処理を実行
する処理手段と、前記処理手段を制御し、充電を指示す
る命令信号を出力するとともに、前記外部装置からの初
期化信号に従って所定の初期化処理を実行する制御手段
と、前記命令信号に従って前記電池を充電する充電手段
と、前記電池の充電中に前記初期化信号に基づく所定の
初期化処理を禁止する禁止手段と、を有することを特徴
とする。
In order to achieve the above object, an electronic apparatus according to the present invention has the following arrangement. That is,
An electronic device that receives power from a rechargeable battery,
Processing means for executing predetermined processing according to data input from an external device; controlling the processing means; outputting a command signal for instructing charging; and performing predetermined initialization processing according to an initialization signal from the external device. Control means for executing; charging means for charging the battery according to the command signal; and prohibiting means for prohibiting a predetermined initialization process based on the initialization signal during charging of the battery. .

【0008】上記目的を達成するために本発明の電子機
器は以下の様な構成を備える。即ち、電子機器の各部に
電力を供給する電池を有し、外部装置に接続されて所定
の処理を実行するとともに前記外部装置からの初期化信
号により初期化される電子機器であって、前記電池への
充電を指示する指示手段と、前記指示手段の指示に従っ
て前記電池への充電を実行する充電手段と、前記充電手
段が前記電池への充電を実行しているとき前記初期化信
号への応答を禁止する制御手段と、を有することを特徴
とする。
[0008] In order to achieve the above object, an electronic apparatus according to the present invention has the following configuration. That is, an electronic device that has a battery that supplies power to each unit of the electronic device, is connected to an external device, executes predetermined processing, and is initialized by an initialization signal from the external device, wherein the battery Instruction means for instructing charging of the battery, charging means for executing charging of the battery in accordance with the instruction of the instruction means, and response to the initialization signal when the charging means is executing charging of the battery. And control means for prohibiting the operation.

【0009】[0009]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0010】図1は本実施の形態の充電回路と2次電池
及びCPUとの接続を示す図で、図2に示す従来の充電
制御回路と共通する部分は同じ番号で示している。
FIG. 1 is a diagram showing the connection between the charging circuit of this embodiment, a secondary battery, and a CPU. Portions common to those of the conventional charging control circuit shown in FIG. 2 are denoted by the same reference numerals.

【0011】図1において、100は充電の制御を行う
CPUであり、101はCPU100から入力されるパ
ルス信号をトリガとし、充電の制御信号を出力するため
のリトリガブル・ワンショットマルチバイブレータ(以
下、ワンショット回路)である。202はスイッチング
回路で、ワンショット回路101よりの充電制御信号の
出力信号のレベルに応じて充電を開始もしくは停止させ
ている。201は2次電池203に充電するための充電
回路である。110は図3及び図4のフローチャートで
示されたCPU100の制御プログラムや各種データを
記憶しているROM、111はCPU100のワークエ
リアとして使用されるとともに、後述する充電フラグ等
を設けているRAMである。112はプログラマブルタ
イマで、CPU100により設定された時間周期でCP
U100に割込み信号を出力する。
In FIG. 1, reference numeral 100 denotes a CPU for controlling charging. Reference numeral 101 denotes a retriggerable one-shot multivibrator (hereinafter referred to as a one-shot multi-vibrator) for outputting a charging control signal using a pulse signal input from the CPU 100 as a trigger. Shot circuit). A switching circuit 202 starts or stops charging according to the level of the output signal of the charge control signal from the one-shot circuit 101. Reference numeral 201 denotes a charging circuit for charging the secondary battery 203. A ROM 110 stores the control program and various data of the CPU 100 shown in the flowcharts of FIGS. 3 and 4, and a RAM 111 is used as a work area of the CPU 100 and has a charge flag and the like described later. is there. Numeral 112 denotes a programmable timer, which has a CP at a time period set by the CPU 100.
An interrupt signal is output to U100.

【0012】図1の回路における動作を説明すると、ま
ず、充電を行わない場合は、CPU100の出力はハイ
レベル又はロウレベルのレベル信号に固定されている。
この場合、ワンショット回路101の出力は通常ロウレ
ベルであり、スイッチング回路202は動作しないた
め、2次電池203への充電は行われない。
The operation of the circuit shown in FIG. 1 will be described. First, when charging is not performed, the output of the CPU 100 is fixed to a high or low level signal.
In this case, the output of the one-shot circuit 101 is normally at a low level, and the switching circuit 202 does not operate, so that the secondary battery 203 is not charged.

【0013】2次電池203への充電を行う場合は、ま
ずCPU100はタイマ112にワンショット回路10
1より出力されるワンショットパルス幅よりも短い周期
の時間値をセットし、このタイマ112より入力される
タイマ割込みに同期してワンショット回路101にパル
ス信号を発生する。このパルス信号がワンショット回路
101に入力されることにより、そのパルス信号の立上
りもしくは立下りエッジをトリガにしてワンショット回
路101の出力はロウレベルからハイレベルに変化す
る。そして、このCPU100よりのパルス信号が定期
的にワンショット回路101に入力され続ける限り、こ
のワンショット回路101はリトリガされるため、ワン
ショット回路101の出力はハイレベルを保持すること
になる。これによりスイッチング回路202は、その出
力がハイレベルの間に充電回路201を作動させるた
め、2次電池203は充電回路201により充電される
ことになる。
When charging the secondary battery 203, the CPU 100 first controls the timer 112 to
A time value with a cycle shorter than the one-shot pulse width output from 1 is set, and a pulse signal is generated in the one-shot circuit 101 in synchronization with a timer interrupt input from the timer 112. When this pulse signal is input to the one-shot circuit 101, the output of the one-shot circuit 101 changes from a low level to a high level, triggered by the rising or falling edge of the pulse signal. Then, as long as the pulse signal from the CPU 100 is continuously input to the one-shot circuit 101, the one-shot circuit 101 is retriggered, so that the output of the one-shot circuit 101 holds the high level. As a result, the switching circuit 202 operates the charging circuit 201 while its output is at a high level, so that the secondary battery 203 is charged by the charging circuit 201.

【0014】もし、CPU100が暴走した場合を考え
ると、暴走状態では、タイマ112よりの割込みの受け
付け等が不可能になると考えられるため、もはやCPU
100は定期的なパルス信号をワンショット回路101
に供給し続けられなくなる。これにより、ワンショット
回路101のリトリガが行えなくなってワンショット回
路101の出力は、一定期間の後に出力がハイレベルか
らロウレベルになる。こうしてスイッチング回路202
により充電回路201が停止されて、2次電池203へ
の充電が停止する。
Considering the case where the CPU 100 goes out of control, in the runaway state, it is considered that it becomes impossible to receive an interrupt from the timer 112 and the like.
100 is a one-shot circuit 101 which outputs a periodic pulse signal.
Supply cannot be continued. As a result, the one-shot circuit 101 cannot be retriggered, and the output of the one-shot circuit 101 changes from high level to low level after a certain period. Thus, the switching circuit 202
As a result, the charging circuit 201 is stopped, and charging of the secondary battery 203 is stopped.

【0015】図3はCPU100による充電処理を示す
フローチャート、図4はタイマ112による割込み処理
を示すフローチャートである。
FIG. 3 is a flowchart showing a charging process by the CPU 100, and FIG. 4 is a flowchart showing an interrupt process by the timer 112.

【0016】まず図3のフローチャートを基に説明する
と、ステップS1で所定のキースイッチ等の入力により
2次電池203の充電の指示が入力されるか、或いは2
次電池の電圧チェック等に基づくCPU100の判断に
より2次電池203の充電を行うと判断するとステップ
S2に進み、RAM111の充電フラグをオンにする。
次にステップS3に進み、タイマ112に時間値をセッ
トする。この時間値はワンショット回路101より出力
されるワンショットパルスの時間幅よりも短い時間値で
ある。そしてステップS4で、インタラプトをイネーブ
ルにして処理を終了する。一方、ステップS1で充電を
行わないと判断するとステップS5に進み、RAM11
1の充電フラグをオフにして処理を終了する。
First, referring to the flowchart of FIG. 3, in step S1, an instruction to charge the secondary battery 203 is input by inputting a predetermined key switch or the like, or
If the CPU 100 determines to charge the secondary battery 203 based on the voltage check of the secondary battery or the like, the process proceeds to step S2, and the charge flag of the RAM 111 is turned on.
Next, the process proceeds to step S3, where a time value is set in the timer 112. This time value is a time value shorter than the time width of the one-shot pulse output from the one-shot circuit 101. Then, in a step S4, the interrupt is enabled and the process ends. On the other hand, if it is determined in step S1 that charging is not performed, the process proceeds to step S5, where the RAM 11
Then, the charging flag of No. 1 is turned off, and the process ends.

【0017】次に図4のフローチャートを参照して、タ
イマ112による割込み処理を説明する。
Next, the interrupt processing by the timer 112 will be described with reference to the flowchart of FIG.

【0018】ステップS10で割込みが発生するとステ
ップS11に進み、RAM111の充電フラグがオンか
どうかをみる。この充電フラグがオフであれば何もせず
に、ステップS13でインタラプトをイネーブルにして
元のメイン処理に戻る。
When an interrupt is generated in step S10, the process proceeds to step S11 to check whether the charge flag of the RAM 111 is on. If the charge flag is off, nothing is done, the interrupt is enabled in step S13, and the process returns to the main process.

【0019】一方、ステップS11で充電フラグがオン
であればステップS12に進み、ワンショット回路10
1にパルス信号を出力する。これにより、ワンショット
回路101はトリガされて、その出力信号レベルをハイ
レベルにする。この割込み処理がワンショット回路10
1の出力パルス時間幅内に繰返されることにより、ワン
ショット回路101は再トリガされてその出力信号レベ
ルをハイレベルに保持し続ける。
On the other hand, if the charging flag is on in step S11, the process proceeds to step S12, where the one-shot circuit 10
1 to output a pulse signal. Thereby, the one-shot circuit 101 is triggered to set its output signal level to the high level. This interrupt processing is performed by the one-shot circuit 10.
By being repeated within one output pulse time width, the one-shot circuit 101 is retriggered and keeps its output signal level at a high level.

【0020】尚、ここではCPU100はタイマ112
よりの割込み信号により発生するタイマインタラプトに
基づいてワンショット回路101にパルス信号を出力す
るようにしたが、本発明はこれに限定されるものでな
く、例えばCPU100がタイマ112の状態をセンス
してワンショット回路101へのパルス信号を出力する
タイミングかどうかを判定しても良い。又、或いはタイ
マ112を使用せずに、プログラムにより時間が経過し
たかを判断してワンショット回路101にパルス信号を
出力するようにしても良い。
Here, the CPU 100 is a timer 112
Although the pulse signal is output to the one-shot circuit 101 based on the timer interrupt generated by the interrupt signal, the present invention is not limited to this. For example, when the CPU 100 senses the state of the timer 112, It may be determined whether or not it is time to output a pulse signal to the one-shot circuit 101. Alternatively, a pulse signal may be output to the one-shot circuit 101 by determining whether or not the time has elapsed by using a program without using the timer 112.

【0021】図5は本発明の第2の実施の形態の充電制
御回路の構成を示す図で、前述の図面と共通する部分は
同じ番号で示し、それらの説明を省略する。
FIG. 5 is a diagram showing the configuration of a charge control circuit according to a second embodiment of the present invention. Portions common to the above-described drawings are denoted by the same reference numerals, and description thereof will be omitted.

【0022】501はワンショット回路101の出力に
よりコントロールされるスイッチング素子で、ここでは
充電回路201から出力される充電電流が流れる配線の
途中に配備されている。
Reference numeral 501 denotes a switching element controlled by the output of the one-shot circuit 101. Here, the switching element 501 is provided in the middle of a wiring through which a charging current output from the charging circuit 201 flows.

【0023】図5に示す回路における充電動作を説明す
ると、CPU100aから充電開始を指示するための出
力信号が出力ポート1から出力される。この信号はハイ
レベルもしくはロウレベルの信号であり、これにより充
電回路201から2次電池203へ充電電流が流れ始め
る。この時、同時にCPU100aのポート2からワン
ショット回路101に定期的にパルス信号を入力する。
そして、このパルス信号が定期的にワンショット回路1
01に入力されている間のみワンショット回路101の
出力信号はハイレベルを保持し続けるため、充電回路2
01から2次電池203までの間の配線中にあるスイッ
チング素子501を動作させて配線を閉じる。これによ
り充電回路201よりの充電電流が2次電池203に供
給され、2次電池203が充電される。
The charging operation in the circuit shown in FIG. 5 will be described. An output signal for instructing the start of charging is output from the output port 1 from the CPU 100a. This signal is a high-level or low-level signal, whereby a charging current starts flowing from the charging circuit 201 to the secondary battery 203. At this time, a pulse signal is periodically input to the one-shot circuit 101 from the port 2 of the CPU 100a.
The pulse signal is periodically transmitted to the one-shot circuit 1.
01, the output signal of the one-shot circuit 101 keeps maintaining the high level.
The switching element 501 in the wiring from 01 to the secondary battery 203 is operated to close the wiring. Thus, the charging current from the charging circuit 201 is supplied to the secondary battery 203, and the secondary battery 203 is charged.

【0024】この実施の形態では、CPU100aのポ
ート2より出力されるパルス信号は、充電中でない時で
あっても常に充電回路201に出力してもさしつかえな
い。またこの場合も、前述の実施の形態と同様の理由に
より、CPU100aが暴走した場合は、ワンショット
回路101へのパルス信号が定期的に出力されなくなる
ため、2次電池203への充電が自動的に停止される。
In this embodiment, the pulse signal output from the port 2 of the CPU 100a may be always output to the charging circuit 201 even when charging is not being performed. Also in this case, for the same reason as in the above-described embodiment, if the CPU 100a goes out of control, the pulse signal to the one-shot circuit 101 is not periodically output, so that the charging of the secondary battery 203 is automatically performed. Will be stopped.

【0025】尚、この場合のCPU100aの動作は、
図3のフローチャートにおいて、ステップS2とステッ
プS3の間に、出力ポート1より充電回路201充電開
始を指示する信号を出力することにより達成される。
The operation of the CPU 100a in this case is as follows.
In the flowchart of FIG. 3, this is achieved by outputting a signal instructing the charging circuit 201 to start charging from the output port 1 between step S2 and step S3.

【0026】図6は本発明の実施の形態3の充電制御回
路の構成を示すブロック図で、前述の図面と共通する部
分は同じ番号で示し、それらの説明を省略する。
FIG. 6 is a block diagram showing the configuration of the charge control circuit according to the third embodiment of the present invention. Portions common to the above-described drawings are denoted by the same reference numerals, and description thereof will be omitted.

【0027】502は、充電回路201用の電源であ
り、501は電源502から充電回路201へ電源を供
給する配線途中に配備されたスイッチング素子である。
Reference numeral 502 denotes a power supply for the charging circuit 201, and reference numeral 501 denotes a switching element provided in the middle of wiring for supplying power from the power supply 502 to the charging circuit 201.

【0028】図6に示す充電制御回路の充電動作を説明
すると、CPU100bのポート1から充電開始を指示
するハイレベルもしくはロウレベルの出力信号が出力さ
れる。これにより、充電回路201は充電動作状態とな
る。この時、同時にCPU100bのポート2から定期
的にパルス信号を出力し、ワンショット回路101に入
力する。このパルス信号が定期的に出力されている間の
みワンショット回路101の出力信号がハイレベルを保
持し続けるためスイッチング素子501が動作し、充電
用電源502から充電回路201へ電力が供給される。
これにより2次電池203が充電される。
The charging operation of the charging control circuit shown in FIG. 6 will be described. A high-level or low-level output signal instructing the start of charging is output from port 1 of CPU 100b. As a result, the charging circuit 201 enters a charging operation state. At this time, at the same time, a pulse signal is periodically output from the port 2 of the CPU 100b and input to the one-shot circuit 101. The switching element 501 operates because the output signal of the one-shot circuit 101 keeps maintaining the high level only while the pulse signal is periodically output, and power is supplied from the charging power supply 502 to the charging circuit 201.
Thereby, the secondary battery 203 is charged.

【0029】従って、この場合もCPU100bが何ら
かの理由により暴走してワンショット回路101にパル
ス信号が出力されなくなると、ワンショット回路101
の出力信号がロウレベルになり、充電用電源502より
の電力が供給されなくなる。このため、2次電池203
への充電は自動的に停止する。又この場合、充電中でな
い時もCPU100bの出力ポート2からのパルス信号
は出力したままでもさしつかえない。
Therefore, also in this case, if the CPU 100b goes out of control for some reason and the pulse signal is not output to the one-shot circuit 101, the one-shot circuit 101
Becomes low level, and power from the charging power supply 502 is not supplied. For this reason, the secondary battery 203
Charging stops automatically. Also, in this case, even when the charging is not being performed, the pulse signal from the output port 2 of the CPU 100b may remain output.

【0030】以上説明したように本実施の形態によれ
ば、CPUから定期的に発生されるパルス信号をリトリ
ガブル・マルチバイブレータに入力し、そのリトリガブ
ル・マルチバイブレータからの出力で充電の開始、停止
をコントロールすることにより、CPUが何らかの理由
により暴走する等してCPUが正常に機能しなくなった
時、電池の充電を停止することができる。これにより電
池の過充電による事故の発生を防ぐことができる。
As described above, according to the present embodiment, a pulse signal periodically generated from the CPU is input to the retriggerable multivibrator, and the start and stop of charging are performed by the output from the retriggerable multivibrator. By controlling, when the CPU malfunctions due to runaway of the CPU for some reason or the like, the charging of the battery can be stopped. Thereby, occurrence of an accident due to overcharging of the battery can be prevented.

【0031】次に図7を参照して本発明の実施の形態4
を説明する。
Next, a fourth embodiment of the present invention will be described with reference to FIG.
Will be described.

【0032】図7は本発明に係る実施の形態4のインク
ジェット記録装置の概略構成例を示すブロック図であ
る。
FIG. 7 is a block diagram showing a schematic configuration example of an ink jet recording apparatus according to Embodiment 4 of the present invention.

【0033】図7において、1はプログラマブル・ペリ
フェラル・インターフェース(以下、PPIとする)で
あり、ホストコンピュータから送られてくる指令信号
(コマンド)や記録情報信号を並列受信してMPU2に
転送すると共に、コンソール6の制御及びキャリッジホ
ーム位置センサ7の入力処理等を行う。MPU(マイク
ロプロセシングユニット)2は、記録装置内の各部を制
御する。3は受信した信号を蓄えるためのRAM、4は
文字や記号等の画像を出力するフォント発生用ROM、
5はMPU2が実行する処理手順が格納された制御用R
OMである。これら各部はアドレスバス17及びデータ
バス18を介してMPU2に接続されており、MPU2
よりの制御信号によりそれぞれ制御される。
In FIG. 7, reference numeral 1 denotes a programmable peripheral interface (hereinafter, referred to as PPI), which receives a command signal (command) and a recording information signal sent from a host computer in parallel and transfers the signal to the MPU 2. , Control of the console 6, input processing of the carriage home position sensor 7, and the like. An MPU (microprocessing unit) 2 controls each unit in the recording apparatus. 3 is a RAM for storing received signals, 4 is a font generating ROM for outputting images such as characters and symbols,
Reference numeral 5 denotes a control R in which a processing procedure executed by the MPU 2 is stored.
OM. These units are connected to the MPU 2 via the address bus 17 and the data bus 18.
, Respectively.

【0034】8は記録ヘッド12を搭載しているキャリ
ッジを移動させるためのキャリッジモータ、10は被記
録材をキャリッジの移動方向に対して垂直方向に搬送す
るための紙送りモータ、13はキャップ部材を駆動し
て、後述の記録ヘッド12のインク吐出口(図示せず)
に当接し、インク吐出口を外気より遮断するためのキャ
ッピングモータをそれぞれ示す。15はキャリッジモー
タ8を駆動するためのドライバ、16は紙送りモータ1
0を駆動するためのドライバ、14はキャッピングモー
タ13を駆動するためのドライバである。上記コンソー
ル6にはキーボードスイッチ及び表示ランプ等が設けら
れている。
Reference numeral 8 denotes a carriage motor for moving a carriage on which the recording head 12 is mounted, 10 denotes a paper feed motor for conveying a recording material in a direction perpendicular to the moving direction of the carriage, and 13 denotes a cap member. To drive an ink ejection port (not shown) of the recording head 12 described later.
And capping motors for contacting the ink discharge ports from the outside air. Reference numeral 15 denotes a driver for driving the carriage motor 8, and reference numeral 16 denotes the paper feed motor 1.
Reference numeral 14 denotes a driver for driving the capping motor 13. The console 6 is provided with a keyboard switch, a display lamp, and the like.

【0035】上記ホーム位置センサ7はキャリッジのホ
ーム位置近傍に設けられ、記録ヘッド12を搭載した該
キャリッジがホーム位置に到達したことを検知するもの
である。9は記録用紙等の被記録材の有無、即ち、記録
部に供給された否かを検知するシートセンサを示す。1
2は上述した所謂熱エネルギーを用いてインクに状態変
化を起こさせることによりインクを吐出する方式のイン
クジェット記録ヘッドであり、この記録ヘッド12には
吐出口(図示せず)、吐出用ヒータ(図示せず)等が設
けられている。11は記録情報信号に応じて記録ヘッド
12の吐出用ヒータを駆動するためのドライバを示す。
The home position sensor 7 is provided near the home position of the carriage, and detects that the carriage on which the recording head 12 is mounted has reached the home position. Reference numeral 9 denotes a sheet sensor for detecting the presence or absence of a recording material such as recording paper, that is, whether or not the recording material has been supplied to the recording unit. 1
Reference numeral 2 denotes an ink jet recording head that discharges ink by causing the ink to change state using the above-described thermal energy. The recording head 12 has a discharge port (not shown) and a discharge heater (not shown). (Not shown). Reference numeral 11 denotes a driver for driving the ejection heater of the recording head 12 according to the recording information signal.

【0036】以上の構成において、MPU2は上記PP
I1を介してコンピュータ等のホスト装置に接続されて
おり、ホスト装置から送られてくるコマンド及び記録情
報信号(印字データ)を受信してRAM3に記憶して記
録動作を行う。これらの処理は制御用ROM5に記憶さ
れている制御プログラムにより実行される。
In the above configuration, the MPU 2 uses the above PP
It is connected to a host device such as a computer via I1, receives commands and print information signals (print data) sent from the host device, stores them in the RAM 3, and performs a printing operation. These processes are executed by a control program stored in the control ROM 5.

【0037】このようなインクジェット(記録装置)プ
リンタでは、ホストコンピュータより周辺機器を初期化
するために出力される初期化信号により割込みを発生
し、現在実行中の処理を中断して初期化処理を行う。こ
のため、例えばこのインクジェットプリンタが2次電池
26の充電動作を実行している時に、この初期化信号が
ホストより入力されると、インクジェットプリンタのオ
ペレータの意志に反してその充電処理を中断して初期化
処理を行ってしまっていた。そこで、プリンタ側で、こ
の初期信号を受け付け可能かどうかを設定できるように
して、充電動作の中断を防止できるようにしたのがこれ
から説明する実施の形態の趣旨である。
In such an ink jet (recording apparatus) printer, an interrupt is generated by an initialization signal output from a host computer for initializing peripheral devices, and the process currently being executed is interrupted to execute the initialization process. Do. Therefore, for example, if the initialization signal is input from the host while the inkjet printer is performing the charging operation of the secondary battery 26, the charging process is interrupted against the will of the operator of the inkjet printer. The initialization process has been performed. Therefore, the purpose of the embodiment to be described below is to allow the printer to set whether or not the initial signal can be accepted, thereby preventing interruption of the charging operation.

【0038】次に本実施の形態のインクジェット記録装
置の電源部21について図8のブロック図を参照して説
明する。尚、後述する実施の形態において使用される充
電回路は、前述の第1〜実施の形態3で説明したのと同
じ構成の充電回路であっても良いことはもちろんであ
る。
Next, the power supply section 21 of the ink jet recording apparatus according to the present embodiment will be described with reference to the block diagram of FIG. It should be noted that the charging circuit used in the embodiment described later may be a charging circuit having the same configuration as that described in the first to third embodiments.

【0039】図8において、22と26はこのインクジ
ェット記録装置の駆動電源であり、22は交流の入力か
ら直流の出力を得るためのAC−DC変換回路で、例え
ば、ACアダプタ等が用いられる。26は充電可能な2
次電池である。23は電源切換回路で、上記2つの駆動
用電源回路の内いずれか一方を選択しており、例えばア
ナログスイッチ或いは電源ジャック等が用いられる。
尚、AC電源使用時及び2次電池26の充電時は、切換
回路23は接点1側に、2次電池26による駆動時には
接点2側が接続される。24は駆動用電源回路からのD
C出力をインクジェット記録装置の各部に供給するのに
適した電圧値に変換するためのDC−DC変換回路であ
る。25は2次電池26の充電を行うための充電回路で
あり、この充電動作のオン/オフはPPI1の出力ポー
トから出力される充電オン/オフ信号19によって制御
される(ハイレベルの時に充電)。
In FIG. 8, reference numerals 22 and 26 denote driving power supplies for the ink jet recording apparatus. Reference numeral 22 denotes an AC-DC conversion circuit for obtaining a DC output from an AC input, and for example, an AC adapter is used. 26 is rechargeable 2
Next battery. Reference numeral 23 denotes a power supply switching circuit, which selects one of the two driving power supply circuits, for example, an analog switch or a power jack.
The switching circuit 23 is connected to the contact 1 when the AC power supply is used and when the secondary battery 26 is charged, and the contact 2 is connected when the secondary battery 26 is driven. 24 is D from the driving power supply circuit.
This is a DC-DC conversion circuit for converting the C output into a voltage value suitable for supplying each part of the ink jet recording apparatus. Reference numeral 25 denotes a charging circuit for charging the secondary battery 26. The on / off of the charging operation is controlled by a charging on / off signal 19 output from an output port of the PPI 1 (charging at a high level). .

【0040】図9は実施の形態4のインクジェット記録
装置の制御動作を説明するフローチャートで、この処理
を実行する制御プログラムはROM5に記憶されてい
る。このフローチャートは装置の電源が投入され、制御
用ROM5に記憶されている制御プログラムが起動され
ることにより開始される。
FIG. 9 is a flowchart for explaining the control operation of the ink jet recording apparatus according to the fourth embodiment. A control program for executing this processing is stored in the ROM 5. This flowchart is started when the power of the apparatus is turned on and the control program stored in the control ROM 5 is started.

【0041】まずステップS21でパワーオン時の初期
化処理として、PPI1の初期設定、RAM3の動作チ
ェックと、その初期化及び制御用ROM5の動作チェッ
ク等を行う。更には、デイップスイッチやコンソール6
の各種スイッチの状態のチェック、各処理において使用
されるパラメータやフラグ等の初期設定を行う。尚、2
次電池26を充電する方法としては、インクジェットプ
リンタを充電専用モードに設定して行う方法と、通常の
プリンタとして動作させながら、2次電池26に電池容
量の1/50程度の微小電流を印加することにより徐々
に充電する(トリクル充電)方法とがあるが、この実施
の形態では前者の方法により2次電池26を充電するも
のとする。
First, in step S21, as initialization processing at the time of power-on, initialization of the PPI 1, checking of the operation of the RAM 3, initialization of the PPI 1, and checking of the operation of the control ROM 5 are performed. Furthermore, DIP switch and console 6
Of the various switches, and initialization of parameters and flags used in each process. 2
As a method of charging the secondary battery 26, a method in which the ink jet printer is set to a charging only mode or a method in which a small current of about 1/50 of the battery capacity is applied to the secondary battery 26 while operating as a normal printer. In this embodiment, the secondary battery 26 is charged by the former method.

【0042】ステップS22では、このインクジェット
記録装置が充電モードに設定されたかを調べる。この充
電モードの設定は、例えばパワーオン後の所定の期間内
にコンソール6のキースイッチ等を押下することにより
行う。充電開始でない時はステップS23に進み、オン
ラインモードであることを確認した後、ステップS24
でホストコンピュータからの記録情報が送られてくるの
を待ち、記録情報が送られてきて記録開始が指示される
とステップS25に進んで記録動作を実行する。そして
ステップS26に進み、記録処理を終了すると再びステ
ップS24に戻る。尚、記録処理が終了した後、オンラ
インよりオフラインに切り替えられた時は、再度ステッ
プS22に戻って充電指示が入力されるかを判別するよ
うにしても良い。
In step S22, it is determined whether the ink jet recording apparatus has been set to the charging mode. The setting of the charging mode is performed, for example, by pressing a key switch or the like of the console 6 within a predetermined period after power-on. If the charging is not started, the process proceeds to step S23, and after confirming that the online mode is set, the process proceeds to step S24.
Waits for the recording information to be sent from the host computer, and when the recording information is sent and recording start is instructed, the flow proceeds to step S25 to execute the recording operation. Then, the process proceeds to step S26, and upon completion of the recording process, returns to step S24 again. After the recording process is completed, when switching from online to offline is performed, the process may return to step S22 again to determine whether a charging instruction is input.

【0043】一方、ステップS22で充電モードが指示
されるとステップS27に進み、ホストより入力される
初期化信号による割込みの発生を禁止する。次にステッ
プS28に進み、電源切換回路23を端子1側に接続
し、PPI1より充電信号19をオンにして出力する。
これにより充電回路25が動作を開始し、2次電池26
への充電が開始される。次にステップS29に進み、充
電中の2次電池26の電池電圧や電池温度の変化を検出
するか、或いは2次電池26の充電に要する時間が経過
したか等により、2次電池26が規定容量まで充電され
たかどうかを判断する。そして規定の電池容量まで充電
されたと判断するとステップS30に進み、ホストコン
ピュータよりの初期化信号による割込みの発生を可能に
し、ステップS31で2次電池26の充電を終了する。
On the other hand, when the charging mode is instructed in step S22, the process proceeds to step S27, in which the generation of the interrupt by the initialization signal input from the host is prohibited. Next, proceeding to step S28, the power supply switching circuit 23 is connected to the terminal 1 side, and the charging signal 19 is turned on and output from the PPI1.
As a result, the charging circuit 25 starts operating, and the secondary battery 26
Charging of the battery is started. Next, proceeding to step S29, the secondary battery 26 is determined based on whether a change in battery voltage or battery temperature of the secondary battery 26 during charging is detected, or whether the time required for charging the secondary battery 26 has elapsed. Determine whether the battery has been charged to capacity. When it is determined that the battery has been charged to the specified battery capacity, the process proceeds to step S30, where an interrupt by an initialization signal from the host computer is enabled, and the charging of the secondary battery 26 is terminated in step S31.

【0044】これにより、2次電池26の充電中にホス
トコンピュータよりの初期化信号が入力されても、その
充電処理が中断されることはない。
Thus, even if an initialization signal is input from the host computer while the secondary battery 26 is being charged, the charging process is not interrupted.

【0045】図10は、前述の実施の形態4における、
ホストコンピュータよりの初期化信号による割込みの発
生を防止する、他の実施の形態である実施の形態5の回
路構成を示す図である。
FIG. 10 is a diagram showing the operation of the fourth embodiment.
FIG. 21 is a diagram illustrating a circuit configuration of a fifth embodiment, which is another embodiment, for preventing occurrence of an interrupt due to an initialization signal from a host computer.

【0046】図10において、20はホストコンピュー
タから送信される初期化信号(INIT)信号、19は
PPI1の出力ポートから出力される充電制御信号であ
る。これら2つの信号はOR回路30に入力され、その
OR回路30の出力信号はMPU2の割込み信号の入力
端子に接続される。
In FIG. 10, reference numeral 20 denotes an initialization signal (INIT) signal transmitted from the host computer, and reference numeral 19 denotes a charge control signal output from the output port of the PPI 1. These two signals are input to the OR circuit 30, and the output signal of the OR circuit 30 is connected to the interrupt signal input terminal of the MPU2.

【0047】以上の構成において、INIT信号20は
ロウレベル状態で有効となり、充電制御信号19はハイ
レベルの状態で充電モードとなり、ロウレベルで記録モ
ードとなるとする。まず充電モードではOR回路30の
出力は充電制御信号19によりハイレベルとなり、例え
ホストコンピュータより初期化信号が入力されてもMP
U2に割込みが発生しない。
In the above configuration, it is assumed that the INIT signal 20 is valid in a low level state, the charge control signal 19 is in a charge mode in a high level state, and is in a recording mode in a low level state. First, in the charging mode, the output of the OR circuit 30 is set to the high level by the charging control signal 19, and even if the initialization signal is input from the host computer, MP
No interrupt occurs in U2.

【0048】従って、充電モードではホストコンピュー
タより初期化信号(INIT信号)20が送信されても
インクジェット記録装置側で無視されるため、初期化割
込みの発生によって2次電池26の充電処理が中断され
ることがない。
Therefore, in the charging mode, even if the initialization signal (INIT signal) 20 is transmitted from the host computer, it is ignored on the ink jet recording apparatus side, and the charging of the secondary battery 26 is interrupted by the occurrence of the initialization interrupt. Never.

【0049】一方、記録モードの場合は、充電制御信号
19はロウレベルであるため、ホストコンピュータより
INIT信号20がロウレベルで送られてくるとOR回
路30の出力はロウレベルとなり、INIT信号20に
よる割込みが発生する。これにより、インクジェットプ
リンタの制御系が初期化される。
On the other hand, in the recording mode, since the charge control signal 19 is at a low level, when the INIT signal 20 is sent from the host computer at a low level, the output of the OR circuit 30 is at a low level, and the interruption by the INIT signal 20 is interrupted. appear. Thus, the control system of the ink jet printer is initialized.

【0050】図11はコンソール6に設けたデイップス
イッチ等のセレクタによって初期化(INIT)信号に
よる割込み処理を行う回路構成を示す図である(実施の
形態6)。
FIG. 11 is a diagram showing a circuit configuration for performing interrupt processing by an initialization (INIT) signal by a selector such as a dip switch provided on the console 6 (Embodiment 6).

【0051】図11において、31は割込みを禁止する
か否か選択するためのセレクタスイッチで、片方の接点
は接地され、もう一方の接点は抵抗32を通して+5V
電源にプルアップされ、更にPPI1の入力ポートへ接
続されている。
In FIG. 11, reference numeral 31 denotes a selector switch for selecting whether or not to inhibit an interrupt. One of the contacts is grounded, and the other is connected to +5 V through a resistor 32.
It is pulled up to the power supply and further connected to the input port of PPI1.

【0052】図11において、セレクタスイッチ31が
オフの場合、上記PPI1の入力ポートは+5V、即ち
ハイレベルとなる。一方、セレクタスイッチ31がオン
の場合、PPI1の入力レベルは0V、即ちロウレベル
となり、2値の設定が可能となる。ここで例えば、セレ
クタスイッチ31をオフにした場合は、INIT信号に
よる割込み処理の禁止を行うものとする。又、セレクタ
スイッチ31をオンした場合には、INIT信号による
割込み処理を禁止しないように設定する。
In FIG. 11, when the selector switch 31 is off, the input port of the PPI 1 is at +5 V, that is, at the high level. On the other hand, when the selector switch 31 is on, the input level of the PPI 1 becomes 0 V, that is, a low level, and binary setting is possible. Here, for example, when the selector switch 31 is turned off, interruption processing by the INIT signal is prohibited. Further, when the selector switch 31 is turned on, it is set so that the interrupt processing by the INIT signal is not prohibited.

【0053】図12は、実施の形態6のハード構成にお
けるMPU2の制御を示すフローチャートで、この処理
を実行する制御プログラムはROM5に記憶されてい
る。
FIG. 12 is a flowchart showing the control of the MPU 2 in the hardware configuration of the sixth embodiment. A control program for executing this processing is stored in the ROM 5.

【0054】図12のフローチャートにおいて、ステッ
プS41〜S46は図9のステップS21〜S26と同
じであるため、それらの説明を省略する。
In the flowchart of FIG. 12, steps S41 to S46 are the same as steps S21 to S26 of FIG. 9, and therefore, description thereof will be omitted.

【0055】ステップS42で充電モードの時はステッ
プS47に進み、スイッチ31の状態を読み込み、ホス
トコンピュータよりの初期化信号による割込みが許可さ
れているかどうかをみる。即ち、PPI1の入力ポート
に入力された信号レベルがハイレベルであれば割込みを
禁止しており、ロウレベルであれば割込みを禁止しない
と判断する。この入力ポートの信号がハイレベルであれ
ばステップS48に進み、初期化信号によるインタラプ
トの発生を禁止してステップS49に進む。そして前述
の図9のステップS28,S29と同様にして、ステッ
プS49,S50で2次電池26を充電する。こうして
充電が終了するとステップS51に進み、ホストコンピ
ュータよりの初期化信号による割込みの発生を許可して
ステップS52で充電処理を終了する。
In the charging mode in step S42, the process proceeds to step S47, where the state of the switch 31 is read, and it is determined whether or not interruption by the initialization signal from the host computer is permitted. That is, it is determined that if the signal level input to the input port of the PPI 1 is at a high level, the interrupt is prohibited, and if the signal level is at a low level, the interrupt is not prohibited. If the signal at the input port is at a high level, the process proceeds to step S48, where the occurrence of an interrupt due to the initialization signal is prohibited, and the process proceeds to step S49. Then, the secondary battery 26 is charged in steps S49 and S50 in the same manner as steps S28 and S29 in FIG. When the charging is completed in this way, the process proceeds to step S51, where the generation of an interrupt by the initialization signal from the host computer is permitted, and the charging process ends in step S52.

【0056】以上説明したように本実施の形態によれ
ば、装置のコストを上昇させることなく、充電動作の誤
停止を防止して、装置の操作性を向上できる。
As described above, according to the present embodiment, the erroneous stop of the charging operation can be prevented and the operability of the device can be improved without increasing the cost of the device.

【0057】尚、この実施の形態ではインクジェットプ
リンタの場合で説明したが本発明これに限定されるもの
でなく、例えば通信装置や各種端末機器等のように、ホ
ストコンピュータ等の外部機器よりの初期化信号を入力
して初期化する全ての電子器機器に適用できる。
In this embodiment, the case of an ink-jet printer has been described, but the present invention is not limited to this. It can be applied to all electronic devices that initialize by inputting the initialization signal.

【0058】また、本発明は複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。また、本発明はシステム或は装置に、本発
明を実施するプログラムを供給することによって達成さ
れる場合にも適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or to an apparatus composed of one device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0059】[0059]

【発明の効果】以上説明したように本発明によれば、接
続されている外部機器よりの初期化信号が入力された場
合でも、電池の充電処理を中断しないため、電池が充電
されない状態で充電処理が中断することがなくなる。
As described above, according to the present invention, even when an initialization signal is input from a connected external device, the charging process of the battery is not interrupted, so that the battery is charged in a state where the battery is not charged. Processing is not interrupted.

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

【図1】本発明の実施の形態1の充電制御回路の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a charge control circuit according to a first embodiment of the present invention.

【図2】従来の充電制御回路の構成を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating a configuration of a conventional charge control circuit.

【図3】本発明の実施の形態1のCPUの充電処理を示
すフローチャートである。
FIG. 3 is a flowchart illustrating a charging process of a CPU according to the first embodiment of the present invention.

【図4】本発明の実施の形態1のCPUにおける割込み
処理を示すフローチャートである。
FIG. 4 is a flowchart showing an interrupt process in the CPU according to the first embodiment of the present invention.

【図5】本発明の実施の形態2の充電回路の構成を示す
ブロック図である。
FIG. 5 is a block diagram showing a configuration of a charging circuit according to a second embodiment of the present invention.

【図6】本発明の実施の形態3の充電回路の構成を示す
ブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a charging circuit according to Embodiment 3 of the present invention.

【図7】本発明の実施の形態4のインクジェットプリン
タの概略構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a schematic configuration of an inkjet printer according to a fourth embodiment of the present invention.

【図8】本発明の実施の形態4のインクジェットプリン
タの充電制御回路の構成を示すブロック図である。
FIG. 8 is a block diagram illustrating a configuration of a charge control circuit of an inkjet printer according to Embodiment 4 of the present invention.

【図9】本発明の実施の形態4のMPUにおける処理を
示すフローチャートである。
FIG. 9 is a flowchart illustrating a process in the MPU according to the fourth embodiment of the present invention.

【図10】本発明の実施の形態5におけるMPUへの割
込み信号の入力回路を示す回路図である。
FIG. 10 is a circuit diagram showing an input circuit of an interrupt signal to an MPU according to a fifth embodiment of the present invention.

【図11】本発明の実施の形態6による割込み処理を行
う回路構成を示す図である。
FIG. 11 is a diagram showing a circuit configuration for performing interrupt processing according to a sixth embodiment of the present invention.

【図12】本発明の実施の形態6のMPUにおける処理
を示すフローチャートである。
FIG. 12 is a flowchart showing processing in the MPU according to the sixth embodiment of the present invention.

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

2 MPU 3,111 RAM 19 充電用制御信号 20 初期化信号(INIT) 23 電源切換回路 25,201 充電回路 26,203 2次電池 30 OR回路 31 セレクタ(スイッチ) 100,100a,100b CPU 101 ワンショット回路 110 ROM 112 タイマ 202 スイッチング回路 501 スイッチング素子 502 充電回路用電源 2 MPU 3,111 RAM 19 Charging control signal 20 Initialization signal (INIT) 23 Power supply switching circuit 25,201 Charging circuit 26,203 Secondary battery 30 OR circuit 31 Selector (switch) 100,100a, 100b CPU 101 One shot Circuit 110 ROM 112 Timer 202 Switching circuit 501 Switching element 502 Power supply for charging circuit

フロントページの続き (72)発明者 荒川 淳一 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 栗林 明 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 堀米 英雄 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 Fターム(参考) 5G003 AA01 BA01 CA11 CB01 CB06 FA04 GC02 GC05 5H030 AA03 AA04 AS11 BB01 Continuation of the front page (72) Inventor Junichi Arakawa 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Akira Kuribayashi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Hideo Horimei 3-30-2 Shimomaruko, Ota-ku, Tokyo F-term in Canon Inc. (reference) 5G003 AA01 BA01 CA11 CB01 CB06 FA04 GC02 GC05 5H030 AA03 AA04 AS11 BB01

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 充電可能な電池からの電力を受取る電子
機器であって、 外部装置から入力するデータに従って所定の処理を実行
する処理手段と、 前記処理手段を制御し、充電を指示する命令信号を出力
するとともに、前記外部装置からの初期化信号に従って
所定の初期化処理を実行する制御手段と、 前記命令信号に従って前記電池を充電する充電手段と、 前記電池の充電中に前記初期化信号に基づく所定の初期
化処理を禁止する禁止手段と、を有することを特徴とす
る電子機器。
1. An electronic device for receiving power from a rechargeable battery, comprising: processing means for executing predetermined processing according to data input from an external device; and a command signal for controlling the processing means and instructing charging. Control means for executing a predetermined initialization process in accordance with an initialization signal from the external device; charging means for charging the battery in accordance with the command signal; and Electronic device comprising: a prohibition unit for prohibiting a predetermined initialization process based on the prohibition process.
【請求項2】 前記制御手段は、前記電池への非充電
時、前記初期化信号に応答して実行中の処理を中断し、
割込み処理により前記所定の初期化処理を実行すること
を特徴とする請求項1に記載の電子機器。
2. The control means, when the battery is not charged, interrupts a process being executed in response to the initialization signal,
2. The electronic apparatus according to claim 1, wherein the predetermined initialization processing is executed by an interruption processing.
【請求項3】 前記禁止手段は、前記初期化信号による
前記割り込みを禁止することを特徴とする請求項2に記
載の電子機器。
3. The electronic apparatus according to claim 2, wherein the prohibition unit prohibits the interruption due to the initialization signal.
【請求項4】 前記禁止手段は、前記電池への充電時、
前記初期化信号の入力を禁止する手段を有することを特
徴とする請求項1に記載の電子機器。
4. The method according to claim 1, wherein the prohibiting unit is configured to charge the battery,
2. The electronic device according to claim 1, further comprising a unit that prohibits the input of the initialization signal.
【請求項5】 前記処理手段は、データに従って記録媒
体に画像を記録する記録手段を含むことを特徴とする請
求項1に記載の電子機器。
5. The electronic apparatus according to claim 1, wherein the processing unit includes a recording unit that records an image on a recording medium according to data.
【請求項6】 前記記録手段は、前記データに従ってイ
ンクを吐出して画像を記録することを特徴とする請求項
5に記載の電子機器。
6. The electronic apparatus according to claim 5, wherein the recording unit records an image by discharging ink according to the data.
【請求項7】 前記記録手段は、熱エネルギーを用いて
インクの状態を変化させることにより、少なくとも1つ
のオリフェスからインクを吐出することを特徴とする請
求項6に記載の電子機器。
7. The electronic apparatus according to claim 6, wherein the recording unit discharges the ink from at least one orifice by changing a state of the ink using thermal energy.
【請求項8】 電子機器の各部に電力を供給する電池を
有し、外部装置に接続されて所定の処理を実行するとと
もに前記外部装置からの初期化信号により初期化される
電子機器であって、 前記電池への充電を指示する指示手段と、 前記指示手段の指示に従って前記電池への充電を実行す
る充電手段と、 前記充電手段が前記電池への充電を実行しているとき前
記初期化信号への応答を禁止する制御手段と、を有する
ことを特徴とする電子機器。
8. An electronic device having a battery for supplying power to each section of the electronic device, connected to an external device to execute predetermined processing, and initialized by an initialization signal from the external device. Instruction means for instructing charging of the battery; charging means for executing charging of the battery in accordance with instructions of the instruction means; and the initialization signal when the charging means is executing charging of the battery. Control means for prohibiting a response to the electronic device.
【請求項9】 前記制御手段は、前記電池への非充電
時、前記初期化信号に応答して実行中の処理を中断し、
割込み処理により初期化処理を実行することを特徴とす
る請求項8に記載の電子機器。
9. The control unit, when the battery is not charged, suspends a process being executed in response to the initialization signal,
The electronic device according to claim 8, wherein the initialization process is performed by an interrupt process.
【請求項10】 前記制御手段は、前記初期化信号によ
る割り込みを禁止することを特徴とする請求項9に記載
の電子機器。
10. The electronic device according to claim 9, wherein the control unit prohibits an interruption due to the initialization signal.
【請求項11】 前記制御手段は、前記電池への充電
時、前記初期化信号の入力を禁止する手段を有すること
を特徴とする請求項8に記載の電子機器。
11. The electronic device according to claim 8, wherein the control unit includes a unit that inhibits input of the initialization signal when charging the battery.
【請求項12】 前記制御手段は、前記電子機器の各部
の動作を制御することを特徴とする請求項8に記載の電
子機器。
12. The electronic device according to claim 8, wherein the control unit controls an operation of each unit of the electronic device.
【請求項13】 前記電子機器は、インクを吐出して記
録媒体に画像を記録するインクジェットプリンタである
ことを特徴とする請求項8乃至12のいずれか1項に記
載の電子機器。
13. The electronic device according to claim 8, wherein the electronic device is an inkjet printer that discharges ink to record an image on a recording medium.
JP2002118043A 2002-04-19 2002-04-19 Electronics Expired - Fee Related JP3428981B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002118043A JP3428981B2 (en) 2002-04-19 2002-04-19 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002118043A JP3428981B2 (en) 2002-04-19 2002-04-19 Electronics

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP07736492A Division JP3337709B2 (en) 1992-03-31 1992-03-31 Charge control device, control method of the device, electronic device, and control method of electronic device

Publications (2)

Publication Number Publication Date
JP2002335639A true JP2002335639A (en) 2002-11-22
JP3428981B2 JP3428981B2 (en) 2003-07-22

Family

ID=19194052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002118043A Expired - Fee Related JP3428981B2 (en) 2002-04-19 2002-04-19 Electronics

Country Status (1)

Country Link
JP (1) JP3428981B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011062886A (en) * 2009-09-16 2011-03-31 Toshiba Tec Corp Printer, program, and task control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011062886A (en) * 2009-09-16 2011-03-31 Toshiba Tec Corp Printer, program, and task control method

Also Published As

Publication number Publication date
JP3428981B2 (en) 2003-07-22

Similar Documents

Publication Publication Date Title
EP0467648B1 (en) Recording apparatus which is driven by battery
JP3337709B2 (en) Charge control device, control method of the device, electronic device, and control method of electronic device
EP0587385B1 (en) Printing apparatus and method of charging battery there in
EP3113318B1 (en) Power supply apparatus and control method
EP0916511B1 (en) Recording apparatus having a charging function, and charging method
EP1254772A1 (en) Ink jet recording apparatus and controlling method for recording apparatus
US6837558B2 (en) Ink-jet printer performing power source control, and control method of ink-jet printer
JP2009165268A (en) Power supply unit and electronic apparatus
JP3428981B2 (en) Electronics
JP2006341555A (en) Ink jet recorder
JP2020138425A (en) Printer and charge control method
JP3450722B2 (en) Electronic apparatus and its power consumption reducing method, recording apparatus and its power consumption reducing method
JP3363581B2 (en) Printer and control method thereof
JP2003251797A (en) Ink jet recorder
US8876234B2 (en) Power supply device, power supply device control method, and image forming apparatus
JP2001157375A (en) Device and method of controlling battery charge
JP2008140233A (en) Electronic equipment
JP2008140234A (en) Electronic device, control method therefor and program therefor
KR0146537B1 (en) Apparatus and method to prevent ink of nozzles from drying on power-off
JP2982994B2 (en) Power control device
JP2021154699A (en) Printing apparatus
KR100209504B1 (en) Power controller for ink-jet printer
JP2003341192A (en) Electric equipment and control method therefor, and recording device and control method therefor
JP2009183096A (en) Power supply circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030414

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees