JP2004351899A - Electronic equipment - Google Patents
Electronic equipment Download PDFInfo
- Publication number
- JP2004351899A JP2004351899A JP2003155728A JP2003155728A JP2004351899A JP 2004351899 A JP2004351899 A JP 2004351899A JP 2003155728 A JP2003155728 A JP 2003155728A JP 2003155728 A JP2003155728 A JP 2003155728A JP 2004351899 A JP2004351899 A JP 2004351899A
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- power
- printing
- load state
- functional block
- 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
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Electronic Switches (AREA)
Abstract
【課題】機能ブロックの動作時の電力負荷状態に応じた適切な電力の供給を行い、内蔵電池などの装置内部の電源手段の負担を極力小さくし、その動作電源としての内蔵電池の消耗を小さくする。
【解決手段】印字装置1には電池57から電圧変換回路58を介して供給される電源(電池電源)と、上位装置からUSBケーブル3の電力供給ライン3Pを介して供給される電源(USB電源)とを備える。サーマルヘッド20を用いて印字を行う際に、その動作前に印字ドット数から電力負荷を判断し、その電力負荷状態に応じてスイッチング回路59を介して電池電源またはUSB電源を用いた電力をサーマルヘッド20およびヘッドドライバ54を含む機能ブロックに対し選択的に供給する。これにより、そのときの電力負荷状態に応じた適切な電力供給を行うことができ、また、電池57の消耗を防ぐことができる。
【選択図】 図5An object of the present invention is to provide an appropriate power supply according to a power load state at the time of operation of a functional block, minimize a load on a power supply means inside a device such as a built-in battery, and reduce consumption of a built-in battery as an operation power supply. I do.
A printing apparatus has a power supply (battery power supply) supplied from a battery via a voltage conversion circuit, and a power supply (USB power supply) supplied from a host device via a power supply line of a USB cable. ). When printing is performed using the thermal head 20, the power load is determined from the number of printing dots before the operation, and the power using a battery power supply or a USB power supply is switched via the switching circuit 59 according to the power load state. It is selectively supplied to a functional block including the head 20 and the head driver 54. As a result, appropriate power supply according to the power load state at that time can be performed, and the consumption of the battery 57 can be prevented.
[Selection diagram] FIG.
Description
【0001】
【発明の属する技術分野】
この発明は、装置内部に電源手段を備えるとともに、上位装置から電力供給を受けて動作する電子装置に関する。
【0002】
【従来技術】
従来、装置内部に電源手段を備えるとともに、上位装置から電力供給を受けて動作する電子装置として、特許文献1に開示されるものが知られている。
【0003】
この電子装置は、コンピュータ装置にUSBケーブルを介して接続され、コンピュータ装置のポインティングデバイスとしてのマウス機能を有する一方、そのマウス機能によりディスプレイ画面で範囲指定された文字列に対応する印刷データをコンピュータ装置から受けて記録紙に印刷するプリンタ機能を備えている。このため、この電子装置の本体内部には、マウス機能を有するマウス部及びプリンタ機能を有するプリンタ部が収納されるとともに、そのマウス部及びプリンタ部の駆動電源を供給する内蔵電池が収納される。
【0004】
この電子装置では、マウス部及びプリンタ部の両機能ブロックは内蔵電池から供給される電力によって駆動されるものであるが、上位装置からUSBケーブルを介して供給される動作電力を受けて動作するようにも構成されている。
【0005】
【特許文献1】
特開2002−41504号公報
【0006】
【発明が解決しようとする課題】
前記従来の電子装置は、装置に内蔵された電池電源あるいは上位装置からの電力供給のいずれかによって電子装置内の機能ブロックが動作されるものであるが、内蔵電池を電源とする場合には、プリンタ部などの負荷の大きな機能ブロックを駆動するための電力容量を確保できるものの、電池の消耗が大きいという問題がある。一方、前記機能ブロックの電力をUSBケーブルを介して上位装置から受ければ内蔵電池の消耗を防ぐことができるが、USBを介して供給可能な電力には制限があるため、プリンタ部の電力負荷状態によっては動作に必要な電力の供給を受けることができないことがある。
【0007】
本発明はこのような課題を解決するものであり、少なくとも1以上の機能ブロックを有し、装置内部に電源手段を備えるとともに、データ通信ラインと電力供給ラインとを備えた接続ケーブルを介して上位装置から電力供給を受ける電子装置において、機能ブロックの動作時の電力負荷状態に応じた適切な電力の供給を行うことができ、機能ブロックに電力を供給する内蔵電池などの装置内部の電源手段の負担を極力小さくし、その動作電源としての内蔵電池の消耗を小さくするように構成した電子装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明の電子装置は、少なくとも1以上の機能ブロックを有し、装置内部に電源手段を備えるとともに、データ通信ラインと電力供給ラインとを備えた接続ケーブルを介して上位装置から電力供給を受けるものにあって、前記機能ブロック中の特定の機能ブロックについて、その動作前に、動作条件に基づいて動作時の電力負荷状態を確認する負荷状態確認手段と、前記負荷状態確認手段の確認結果に基づいて前記特定の機能ブロックが前記上位装置から供給される電力を用いて駆動可能かを判断する判断手段と、前記判断手段で駆動可能であると判断された場合に、前記特定の機能ブロックに前記接続ケーブルを介して前記上位装置から受給する電力を供給し、駆動不可能であると判断された場合に、前記特定の機能ブロックに前記電源手段から電力を供給する制御手段とを備えることを特徴とする。
【0009】
このように構成した電子装置によれば、特定の機能ブロックの動作時の電力負荷状態を動作前に確認し、その確認結果に基づいて、機能ブロックに供給する電力を上位装置から受給する電力、あるいは内部の電源手段からの電力とするので、機能ブロックの動作時の電力負荷状態に合った電源から電力供給が可能となり、その供給される電力により機能ブロックを無理なく動作させることができる。また、機能ブロックの電力負荷状態が上位装置から受給する電力により駆動可能な場合には、その電力を使用して内部の電源手段からの電力供給を受けることがないので、内部の電源手段の負担を軽くすることができ、内部の電源手段として用いる内蔵電池の消耗を小さくすることができる。
【0010】
また、前記電子装置において、電力負荷状態を確認する対象とする特定の機能ブロックは、動作時の動作条件に応じて電力負荷状態が変動するものである。
【0011】
また、前記電子装置において、特定の機能ブロックが上位装置からの供給電力では駆動不可能である場合に、電源手段に加えて上位装置から受給する電力も使用することで、2つの電源を有効に利用して機能ブロックの動作を行うことができる。
【0012】
また、前記電子装置において、前記特定の機能ブロックは、印字ヘッドに備える複数の発熱素子を選択的に駆動して印字を行う印字装置であり、前記負荷状態確認手段は、前記印字ヘッドに転送する印字データの印字に係るドット数を計数する計数手段を備え、前記判断手段は、前記計数手段の計数値を基準値と比較する比較手段を備えて構成することができる。
【0013】
また、前記電子装置において、前記特定の機能ブロックは、印字データに基づいて複数の発熱素子が選択的に駆動される印字ヘッドと、印字中の前記印字ヘッドの温度に応じて前記発熱素子に供給する電力量を制御する印字制御手段とを備える印字装置であり、前記負荷状態確認手段は、印字中の前記印字ヘッドの温度を検出する温度検出手段を備え、前記判断手段は、前記温度検出手段の検出値を基準値と比較する比較手段を備えて構成することができる。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。
【0015】
(第1の実施形態)
図1は本発明の電子装置としての印字装置を備えた印字システムの全体構成を示す外観図である。
【0016】
この印字システムは、印字装置1と、この印字装置1を制御するパーソナルコンピュータ(上位装置)2とを備えてなり、このパーソナルコンピュータ2と印字装置1とは、USB(Universal Serial Bus)ケーブル3を介して接続される。
【0017】
印字装置1は、ここでは不図示の内蔵電池または前記USBケーブル3を介してパーソナルコンピュータ2から供給される電力によって装置各部の動作の駆動が行われる。
【0018】
印字装置1の装置本体1aは、熱転写式の印字機構を内蔵し、CD−Rなどの光ディスク4のレーベル印字面に対して、パーソナルコンピュータ2により作成編集されUSBケーブル3を介して供給される印字データを印字するもので、装置本体1aには、光ディスク4を載置して支持するトレイ5が設けられる。
【0019】
トレイ5は、装置本体1aの前面に設けられたイジェクトボタン6の操作に応じて、装置本体1a内の所定の位置から前方に突出して光ディスク4が着脱可能な装置外の位置まで移動されるようになっている。
【0020】
パーソナルコンピュータ2は、キーボード2aやマウス2bを備え、また、表示装置2cを有するもので、印字装置1により光ディスク4のレーベル印字面に印字するべく、パーソナルコンピュータ2において、音楽タイトルやアーティストなどの印字データの作成編集処理を行うとともに、印字開始の指定処理を行うと、これに伴いインターフェイス接続された印字装置1に印字データが送信されて印字処理が行われる。
【0021】
図2は印字装置1のトレイ駆動機構及び印字機構の構成を示す平面図、図3は印字機構の構成を示す正面図である。
【0022】
装置本体1aの後部とトレイ5の後部との間にはトレイ5の押出し機構を構成するコイルスプリング7、7が設けられている。また、装置本体1aの後部にはトレイ5を係脱可能に係止する係止機構8が設けられている。係止機構8は、ソレノイド9と、このソレノイド9のプランジャに連動してピン10を中心に回動する係止フック11とで構成され、この係止フック11がトレイ5の後部に形成された突起13と係脱可能に係合するようになっている。
【0023】
そして、トレイ5が装置本体1a内に押し込まれて所定の収納位置に配置しているときにはコイルスプリング7が圧縮され、またトレイ5の突起13が係止フック11に係合してトレイ5が装置本体1a内に保持される。
【0024】
装置本体1aの前面に設けられたイジェクトボタン6を操作することにより、ソレノイド9が励磁され、そのプランジャが吸引されて係止フック11がピン10を中心に回動し、トレイ5の突起13から外れてその係合が解除され、この係合の解除に応じてトレイ5がコイルスプリング7の弾性力により装置本体1aの前方側に押し出されるようになっている。
【0025】
一方、装置本体1a内のトレイ5の上方位置には印字部としての印字機構が設けられている。すなわち、トレイ5を跨いでプリンタフレーム14が取り付けられ、このプリンタフレーム14は、トレイ5の上面と離間して対向するフレーム横梁の下側に平行に架設されたキャリッジガイド15を有し、フレーム横梁の下面にはその長手方向に沿って延びるラック16が設けられている。そしてキャリッジガイド15に沿ってキャリッジ17が移動自在に設けられている。
【0026】
また、このキャリッジ17には、キャリッジ17の走行駆動機構、サーマルヘッド20のヘッド移動機構、インクリボン19の巻取り機構が設けられ、これら各機構の駆動源となる正逆回転可能なステップモータ21がキャリッジ17の背面に取り付けられている。
【0027】
図4は前記印字装置におけるキャリッジ17に設けられたキャリッジ走行駆動機構、ヘッド移動機構、インクリボン巻取り機構の構成を示す図である。
【0028】
キャリッジ17には、リボンカートリッジ18が装着され、リボンカートリッジ18内には、リボン繰出コア22とリボン巻取コア23とが設けられ、これらリボン繰出コア22とリボン巻取コア23との間にインク部材としてのインクリボン19が掛け渡されている。
【0029】
キャリッジ17内には、ステップモータ21が配置され、このステップモータ21の出力ギア25が2段ギア26を介して前記ラック16と噛み合う駆動ギア27に噛合している。さらに、この駆動ギア27がリボン巻取コア23に嵌合され、これを駆動するリボン巻取り駆動軸28と同軸的に設けられたワンウエイクラッチギア29に噛合している。
【0030】
また、キャリッジ17内にはカムギア31が設けられ、このカムギア31には回転中心に対して偏心する円弧状のカム溝32が形成されている。そしてこのカムギア31と前記出力ギア25との間に首振りクラッチ33が設けられている。
【0031】
この首振りクラッチ33は、出力ギア25に噛合した太陽ギア34と、この太陽ギア34に噛合し、かつアームを介して太陽ギア34の周方向に移動可能に支持された一対の遊星ギア35,36とからなり、太陽ギア34の時計方向の回転時には一方の遊星ギア35がカムギア31に噛合するとともに他方の遊星ギア36がカムギア31から離れ、太陽ギア34の反時計方向の回転時には一方の遊星ギア35がカムギア31から離れるとともに他方の遊星ギア36がカムギア31に噛合するようになっている。
【0032】
キャリッジ17内にはシャフト37を中心にして上下方向に回動するヘッドアーム38が設けられ、このヘッドアーム38はその一端側の端部に張設されたスプリング39により図4における反時計方向に弾性的に付勢され、またこのヘッドアーム38にはその一端寄りにピン40が設けられ、このピン40が前記カムギア31のカム溝32内に摺動自在に挿入されている。ヘッドアーム38の他端側の端部にはサーマルヘッド20が取り付けられている。
【0033】
なお、図4はヘッドアーム38が所定の角度に傾斜しサーマルヘッド20がダウンした印字位置にある状態を示しており、サーマルヘッド20がアップした非印字位置にある状態では、ピン40はカム溝32内の最も外周方向にあるAの位置で係合しヘッドアーム38はほぼ水平の状態になっている。
【0034】
このように構成した印字装置では、キャリッジ17が図2のプリンタフレーム14の左端にあるホームポジションに位置する状態はサーマルヘッド20がアップした非印字位置にあり、その状態でステップモータ21が正転駆動されて印字動作が開始されると、出力ギア25、太陽ギア34、遊星ギア35を介してカムギア31が時計方向に回転しサーマルヘッド20が印字位置にダウンする。この間、ラック16と噛み合う駆動ギア27も駆動されるため、キャリッジ17は、図2においてホームポジションよりの若干右方向にある印字開始位置まで移動する。
【0035】
そして、サーマルヘッド20が印字データに基づいて駆動される一方、それに同期してステップモータ21が続けて正転駆動され、これにより、サーマルヘッド20はキャリッジ17と一体にキャリッジガイド15に沿って移動し、そのサーマルヘッド20の移動範囲内において光ディスク4上のレーベル印字面における所定の印字範囲H(図2)に印字が施される。
【0036】
なお、カムギア31の周縁の一部には欠落部(図示せず)が形成されており、ステップモータ21の正転駆動に応じてカムギア31が一定の角度だけ回転したときに、その欠落部内に前記遊星ギア35が落ち込んで空転し、これによりヘッドアーム38がその傾斜角度を維持してサーマルヘッド20を印字位置に維持するように構成されているため、サーマルヘッド20の印字位置への移動後のキャリッジ17の移動時には、サーマルヘッド20が印字位置に維持されるようになっている。
【0037】
また、この間、キャリッジ17の右方向への移動に伴って出力ギア25、2段ギア26、駆動ギア27及びワンウエイクラッチギア29を介してリボン巻取り駆動軸28を駆動して使用済のインクリボン19をリボン巻取コア23に巻き取る。
【0038】
キャリッジ17が、図2の右端部まで移動して印字が終了すると、ステップモータ21が逆転駆動され、出力ギア25、太陽ギア34、遊星ギア36を介してカムギア31が反時計方向に回転しサーマルヘッド20が光ディスク4から離間する非印字位置にアップする。この間、ラック16と噛み合う駆動ギア27も駆動されるため、キャリッジ17は、図2の右端から左方向に向けて移動する。
【0039】
なお、カムギア31の周縁の一部には遊星ギア36に対応して欠落部(図示せず)が形成されており、カムギア31が一定の角度だけ回転してサーマルヘッド20が印字待機位置に戻ったときに、その欠落部内に前記遊星ギア36が落ち込んで空転するようになっている。
【0040】
遊星ギア36が欠落部内に位置した後は、ステップモータ21の逆転駆動による駆動ギア27の駆動によりサーマルヘッド20が非印字位置に保持されたままでキャリッジ17が左方向のホームポジションに向けて移動し、ホームポジションに復帰して動作を終了する。
【0041】
図5は第1の実施形態における印字装置1の電子回路の構成を示すブロック図である。
【0042】
印字装置1はCPU51を備え、このCPU51はUSBケーブル3を介して図1に示したパーソナルコンピュータ2と接続される。パーソナルコンピュータ2により作成編集された印字データはこのUSBケーブル3のデータ通信ライン3Dを介して供給され、また、電力がUSBケーブル3の電力供給ライン3Pを介して供給される。
【0043】
CPU51には、ROM52及びRAM53が備えられる。ROM52には、パーソナルコンピュータ2からの印字制御信号に応じて印字装置1の各部の動作を制御するためのシステムプログラムの他、動作時の電力負荷状態に応じた電源切替え制御を実現するための制御プログラムなどを含む各種プログラムデータが記憶されている。RAM53には、パーソナルコンピュータ2から送信された印字データを記憶するための印字バッファ53aや、電源切替え時の判断条件として予め設定された印字ドット数の基準値(第1および第2の基準値)を記憶した基準ドット数記憶部53b、また、後述する第2の実施形態で用いられるヘッド温度の基準値を記憶した基準温度記憶部53cなどが設けられている。
【0044】
なお、前記基準ドット数記憶部53bに記憶される印字ドット数の基準値は、例えば、サーマルヘッド20の全発熱抵抗素子の3分の1が発熱駆動されるときの印字ドット数を第1の基準値とし、全発熱抵抗素子の3分の2が発熱駆動されるときの印字ドット数を第2の基準値としている。
【0045】
また、CPU51には、ヘッドドライバ54を介してサーマルヘッド20が接続されるとともにモータドライバ55を介してステップモータ21が接続され、また、ソレノイド駆動トランジスタTrを介してソレノイド9が接続される。CPU51は、前記パーソナルコンピュータ2から送信される印字制御信号に応じてモータ制御信号をモータドライバ54に出力してステップモータ21を駆動させ、ヘッド制御信号をヘッドドライバ55に出力してサーマルヘッド20を駆動させる。
【0046】
サーマルヘッド20には、複数の発熱素子が一列に配列されており、これらの発熱素子を発熱駆動することで印字が行われる。また、このサーマルヘッド20には、印字中の温度を検出するための温度センサ56が設置されており、その温度検出信号がCPU51に入力されるようになっている。なお、この温度センサ56は、後述する第2の実施形態で用いられる。
【0047】
ここで、本印字装置1は、電池57から電圧変換回路58を介して供給される電源(以下、これを電池電源と称す)と、上位装置であるパーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介して供給される電源(以下、これをUSB電源と称す)とを備える。
【0048】
このような2つの電源を備える場合において、前記電池電源では、電力負荷の大きな機能ブロックを駆動するための電力容量を確保できるものの電池消耗が大きいという問題がある。一方、前記USB電源を用いれば、電池消耗を小さくすることができるが、USBケーブル3を介して供給可能な電力に制限があるため、電力負荷状態によっては動作に必要な電力の供給できないことがある。
【0049】
そこで、本印字装置1では、各機能ブロックの中で動作時の動作条件に応じて電力負荷状態が変動する機能ブロックを特定の機能ブロックとして、その機能ブロックの電力負荷状態に応じて、前記電池電源または前記USB電源を選択的に用いて電力供給を行うことで、動作に必要な電力を確保するとともに電池消耗を極力小さくするようにしている。
【0050】
前記機能ブロックとは、具体的にはCPU51、ソノノイド9、サーマルヘッド20およびヘッドドライバ54、ステップモータ21およびモータドライバ55などである。以下では、これらの中でサーマルヘッド20およびヘッドドライバ54からなる印字部を特定の機能ブロックとして説明する。
【0051】
図中の59は前記特定の機能ブロック(サーマルヘッド20およびヘッドドライバ54)に対する電力供給を切り替えるためのスイッチング回路である。このスイッチング回路59は、USBケーブル3の電力供給ライン3Pに接続された接点aと、電圧変換回路58の出力ラインに接続された接点bと、その両方のラインに接続された接点cを備えるとともに、サーマルヘッド20およびヘッドドライバ54に接続されたスイッチ片59aを備える。
【0052】
このスイッチング回路59はCPU51によって切替え制御され、スイッチ片59aが接点aに切り替えられたときにUSB電源、接点bに切り替えられたときに電池電源、そして、接点cに切り替えられたときにUSB電源と電池電源の両方の電力を前記特定の機能ブロックに対して供給する。なお、図中のD1およびD2は逆流防止用としてのダイオードであり、スイッチング回路59のスイッチ片59aが接点cにあるときにUSB電源の電力が電池電源系に入り込まないように規制するとともに電池電源の電力がUSB電源系に入り込まないように規制している。
【0053】
なお、他の機能ブロックに関しては、例えばCPU51に対してUSB電源が用いられる。また、ソレノイド9の駆動やステップモータ21およびモータドライバ55の駆動には電池電源が用いられる。
【0054】
次に、第1の実施形態の動作を説明する。
【0055】
図6は第1の実施形態における印字装置1の電源切替え制御を含む印字処理の流れを示すフローチャートである。なお、このフローチャートで示される各処理はCPU51がROM52に記憶されたプログラムを読み込むことにより実行される。
【0056】
印字装置1とパーソナルコンピュータ2とがUSBケーブル3によって接続された状態で、印字装置1に対しパーソナルコンピュータ2からUSBケーブル3のデータ通信ライン3Dを介して印字データが転送されてくる。このときの印字データは印字装置1に備えられたCPU51によって受信され、RAM53の所定のエリアに設けられた印字バッファ53aに保持される(ステップA11)。
【0057】
図2乃至図4で説明したように、初期状態では、キャリッジ17が図2のプリンタフレーム14の左端にあるホームポジションに位置しており、キャリッジ17に搭載されたサーマルヘッド20はアップ状態つまり非印字位置にある。この状態で、まず、サーマルヘッド20が印字位置にダウンするまでステップモータ21が正転駆動された後(ステップA12〜A14)、前記印字バッファ53aからサーマルヘッド20の各発熱素子の配列方向に対応した1ライン分の印字データが読み出される(ステップA15)。
【0058】
なお、前記ステップモータ21の駆動には電池電源が利用される。すなわち、電池57から電圧変換回路58を介してステップモータ21およびモータドライバ55に動作に必要な電力が供給される。
【0059】
ここで、前記印字バッファ53aから1ライン分の印字データが読み出されると、その1ライン分の印字データに従ってサーマルヘッド20の各発熱素子を発熱駆動したときのドット数が計数される(ステップA16)。そして、その計数値と予めRAM53の基準ドット数記憶部53bに記憶された第1および第2の基準値とが比較される(ステップA17)。
【0060】
この比較結果に従って、前記1ライン分の印字データから求められたドット数の計数値が第1の基準値以下、すなわち印字ドット数が全発熱素子のうちの3分の1以下であれば、サーマルヘッド20の電力負荷が小さく、USB電源による電力でサーマルヘッド20を駆動可能であると判断され、サーマルヘッド20に対しUSB電源を用いて電力が供給される(ステップA18)。詳しくは、CPU51からスイッチング回路59に対して接点aへの切替え信号が出力され、パーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介してサーマルヘッド20およびヘッドドライバ54に電力が供給される。
【0061】
一方、前記1ライン分の印字データから求められたドット数の計数値が第1〜第2の基準値の間、すなわち印字ドット数が全発熱素子のうちの3分の1を超え3分の2未満であれば、USB電源による電力ではサーマルヘッド20を駆動不可能であると判断されて、サーマルヘッド20に対し電池電源を用いて電力が供給される(ステップA19)。詳しくは、CPU51からスイッチング回路59に対して接点bへの切替え信号が出力され、内蔵電池57から電圧変換回路58を介してサーマルヘッド20およびヘッドドライバ54に電力が供給される。
【0062】
また、前記1ライン分の印字データから求められたドット数の計数値が第2の基準値以上、すなわち印字ドット数が全発熱素子のうちの3分の2以上であれば、前記同様にUSB電源による電力ではサーマルヘッド20を駆動不可能であると判断される。この場合、電力負荷が大きく電池電源だけでは内蔵電池57の消耗度合いが大きいことを考慮して、電池電源に加えてUSB電源が併用される(ステップA20)。詳しくは、CPU51からスイッチング回路59に対して接点cへの切替え信号が出力される。これにより、内蔵電池57から供給される電力に加えて、パーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介して供給される電力がサーマルヘッド20およびヘッドドライバ54に対して供給されることになる。
【0063】
そして、前記1ライン分の印字データがサーマルヘッド20に転送され(ステップA21)、その印字データに基づいてサーマルヘッド20の各発熱素子が発熱駆動されることにより、印字対象である光ディスク4のレーベル印字面に対して1ライン分の印字が施される(ステップA22)。
【0064】
また、このサーマルヘッド20の駆動中にそれに同期してステップモータ21が正転駆動される(ステップA23)。これにより、サーマルヘッド20はキャリッジ17と一体にキャリッジガイド15に沿って移動する。そして、未処理の印字データが印字バッファ53aに残っていれば(ステップA24のNo)、前記同様に1ライン単位で印字データが読み出されて印字が続けて行われる。この場合も、各印字データに基づく印字動作前に印字すべきドット数が計数され、その計数値と基準値との比較結果から電力負荷状態が判断され、そのときの電力負荷状態に応じてUSB電源または電池電源、あるいは、その両方の電源が利用されてサーマルヘッド20に対する電力供給がなされる。
【0065】
全ライン分の印字が終すると(ステップA24のYes)、ステップモータ21の正転駆動が停止制御され、キャリッジ17の移動が停止する(ステップA25)。続いて、ステップモータ21が逆転駆動される(ステップA26)。このステップモータ21の逆転駆動により、サーマルヘッド20が非印字位置にアップし、また、キャリッジ17が印字方向とは逆の方向へ移動することになる。そして、キャリッジ17がイニシャル位置つまり図2に示す左端のホームポジションに復帰した時点で(ステップA27のYes)、ステップモータ21の逆転駆動が停止制御されて(ステップA28)、ここでの一連の印字処理が終了する。
【0066】
このように、印字動作中のサーマルヘッド20の電力負荷状態に応じて、電池電源またはUSB電源を選択的に用いることで、そのときの動作に必要な電力を確保して正常な印字動作を行うことができ、また、電池消耗を極力防いで動作時間を長くすることができる。
【0067】
(第2の実施形態)
次に、本発明の第2の実施形態について説明する。
【0068】
前記第1の実施形態では、印字動作前に印字すべきドット数から電力負荷状態を判別するようにしたが、第2の実施形態では、サーマルヘッド20の温度から電力負荷状態を判別して、そのときの電力負荷状態に応じて電池電源またはUSB電源を選択的に用いることを特徴とする。
【0069】
なお、第2の実施形態としての回路構成は図5を用いるものとする。前記第1の実施形態と構成的に異なる点は、サーマルヘッド20に温度センサ56が設置されており、その温度検出信号がCPU51に入力されるようになっていることと、RAM53の基準温度記憶部53cにヘッド温度の所定の基準値が記憶されていることである。
【0070】
図7は第2の実施形態における印字装置1の電源切替え制御を含む印字処理の流れを示すフローチャートである。なお、このフローチャートで示される各処理はCPU51がROM52に記憶されたプログラムを読み込むことにより実行される。
【0071】
印字装置1とパーソナルコンピュータ2とがUSBケーブル3によって接続された状態で、印字装置1に対しパーソナルコンピュータ2からUSBケーブル3のデータ通信ライン3Dを介して印字データが転送され、その印字データが印字装置1にて受信されてRAM53の印字バッファ53aに保持される(ステップB11)。そして、サーマルヘッド20が印字位置にダウンするまでステップモータ21が正転駆動される(ステップB12〜B14)。
【0072】
ここで、温度センサ56によりサーマルヘッド20の温度が検出され(ステップB15)、その検出温度と予めRAM53の基準温度記憶部53cに記憶された基準温度とが比較される(ステップB16)。
【0073】
その結果、サーマルヘッド20の温度が基準温度を超える場合には(ステップB16のYes)、サーマルヘッド20に対してUSB電源を用いて電力が供給される(ステップB17)。これは、サーマルヘッド20が基準温度を超えて蓄熱された状態にある場合には、サーマルヘッド20の各発熱素子を印字形成に必要な温度まで上げるのに要するエネルギーが少なくて済むため、そのときの電力負荷は相対的に小さいものとなる。このような軽負荷の場合には、CPU51からスイッチング回路59に対して接点aへの切替え信号が出力され、パーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介してサーマルヘッド20およびヘッドドライバ54に電力が供給される。
【0074】
一方、温度センサ56によって検出されたサーマルヘッド20の温度が基準温度を超えない場合、あるいは基準温度以下の場合には(ステップB16のNo)、サーマルヘッド20に対して電池電源を用いて電力が供給される(ステップB18)。これは、サーマルヘッド20が基準温度以下に冷えた状態にある場合には、サーマルヘッド20の各発熱素子を印字形成に必要な温度まで上げるのに要するエネルギーが多く必要とするため、そのときの電力負荷は大きいものとなる。このような場合には、USB電源では電力不足になる可能性があるので、電池電源に切り替えられる。すなわち、CPU51からスイッチング回路59に対して接点bへの切替え信号が出力され、内蔵電池57から電圧変換回路58を介してサーマルヘッド20およびヘッドドライバ54に電力が供給される。
【0075】
以後の動作は前記図6のステップA21〜A28と同様である。
【0076】
すなわち、前記1ライン分の印字データがサーマルヘッド20に転送され、その印字データに基づいてサーマルヘッド20の各発熱素子が発熱駆動されることにより、印字対象である光ディスク4のレーベル印字面に対して1ライン分の印字が施される(ステップB19、ステップB20)。
【0077】
また、このサーマルヘッド20の駆動中にステップモータ21が正転駆動されてサーマルヘッド20がキャリッジ17と共に移動し、その間に未処理の印字データに対する印字動作が前記同様にして繰り返し行われる(ステップB21、ステップB22)。この場合も、各印字データに基づく印字動作前にサーマルヘッド20の温度が検出され、その検出温度と基準温度との比較結果から電力負荷状態が判断され、そのときの電力負荷状態に応じてUSB電源または電池電源が選択的に用いられてサーマルヘッド20に対する電力供給がなされる。
【0078】
全ライン分の印字が終すると、ステップモータ21の正転駆動が停止制御され、キャリッジ17の移動が停止する(ステップB23)。続いて、ステップモータ21が逆転駆動される(ステップB24)。これにより、サーマルヘッド20が非印字位置にアップし、また、キャリッジ17が印字方向とは逆の方向へ移動することになる。そして、キャリッジ17がイニシャル位置つまり図2に示す左端のホームポジションに復帰した時点で、ステップモータ21の逆転駆動が停止制御されて(ステップB25、ステップB26)、ここでの一連の印字処理が終了する。
【0079】
このように、サーマルヘッド20の温度を検出して電力負荷状態を判断することでも、前記第1の実施形態と同様に、そのときの電力負荷状態に応じた最適な電源を用いて動作に必要な電力を確保して正常な印字動作を行うことができ、また、電池消耗を極力小さくして動作時間を長くすることができる。
【0080】
(第3の実施形態)
次に、第3の実施形態について説明する。
【0081】
前記第1または第2の実施形態では、印字動作中のサーマルヘッド20の電力負荷状態に応じて電池電源とUSB電源を切り替えるようにしたが、第3の実施形態では、さらにステップモータ21の駆動を要する各動作毎に電池電源とUSB電源の切り替えを行うことを特徴とする。
【0082】
図8は第3の実施形態における印字装置1の電子回路の構成を示すブロック図であり、図5(第1の実施形態)の回路構成と同じ部分には同一符号を付して示してある。
【0083】
前記第1の実施形態と構成的に異なる点は、サーマルヘッド20およびヘッドドライバ54の他に、ステップモータ21およびモータドライバ55が特定の機能ブロックとして用いられ、その特定の機能ブロックに対するスイッチング回路60が設けられていることである。
【0084】
このスイッチング回路60は、USBケーブル3の電力供給ライン3Pに接続された接点dと、電圧変換回路58の出力ラインに接続された接点eと、その両方のラインに接続された接点fを備えるとともに、ステップモータ21およびモータドライバ55に接続されたスイッチ片60aを備える。
【0085】
このスイッチング回路60は、前記スイッチング回路59とともにCPU51によって切替え制御され、スイッチ片60aが接点dに切り替えられたときにUSB電源、接点eに切り替えられたときに電池電源、そして、接点fに切り替えられたときにUSB電源と電池電源の両方の電力をステップモータ21およびモータドライバ55を含んだ特定の機能ブロックに対して供給する。なお、図中のD3およびD4は逆流防止用としてのダイオードであり、スイッチング回路60のスイッチ片60aが接点fにあるときにUSB電源の電力が電池電源系に入り込まないように規制するとともに電池電源の電力がUSB電源系に入り込まないように規制している。
【0086】
図9および図10は第3の実施形態における印字装置1の電源切替え制御を含む印字処理の流れを示すフローチャートである。なお、このフローチャートで示される各処理はCPU51がROM52に記憶されたプログラムを読み込むことにより実行される。
【0087】
ここで、図9および図10のフローチャートを説明するに先立ち、理解を容易にするため、第3の実施形態としての電源切替え方法について簡単に説明しておく。
【0088】
上述したように、第3の実施形態では、ステップモータ21に対する電力供給も含めて電池電源とUSB電源の切り替えを行うことを特徴とする。ここで、ステップモータ21の駆動に着目すると、その駆動タイミングは、(a)ヘッドダウン動作時、(b)印字動作時、(c)ヘッドアップ動作時、(d)キャリッジ復帰動作時であり、それぞれの動作条件によって電力負荷が異なる。
【0089】
すなわち、(a)のヘッドダウン動作時と、(c)のヘッドアップ動作時では、サーマルヘッド20をその位置でアップダウンするだけであり、動作時間も短いため、最も電力負荷が小さい。従って、その場合にはUSB電源を用いることができる。
【0090】
一方、(d)のキャリッジ復帰動作時では、キャリッジ17をホームポジションに向かって移動させる力が必要であるため、ヘッドダウン/アップ動作時よりも電力負荷が大きくなる。従って、その場合にはUSB電源では電力不足であり、電池電源に切り替えて電力供給を行う。
【0091】
また、(b)の印字動作時には、光ディスクに圧接して行われるサーマルヘッド20の印字動作に同期させてキャリッジ17を移動させる必要があり、また、動作時間も長いため、最も電力負荷が大きくなる。従って、その場合には電池電源とUSB電源を併用するものとする。なお、このときにサーマルヘッド20に対しては、前記第1の実施形態で説明したような印字ドット数による電力負荷状態に応じて3段階(USB電源/電池電源/電池電源とUSB電源)の切替えを行う。
【0092】
以下に、これらの動作時に分けて、図9および図10を参照して第3の実施形態としての印字処理について説明する。
【0093】
(a)ヘッドダウン動作時
印字装置1とパーソナルコンピュータ2とがUSBケーブル3によって接続された状態で、印字装置1に対しパーソナルコンピュータ2からUSBケーブル3のデータ通信ライン3Dを介して印字データが転送され、その印字データが印字装置1にて受信されてRAM53の印字バッファ53aに保持される(ステップC11)。
【0094】
ここで、まず、サーマルヘッド20を印字位置にダウンさせるべく、ステップモータ21に対する電力供給が行われる(ステップC12)。この場合、上述したようにヘッドダウン動作時におけるステップモータ21の電力負荷は最も小さいので、そのときにはUSB電源を用いて電力供給が行われる。詳しくは、CPU51からスイッチング回路60に対して接点dへの切替え信号が出力され、パーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介してステップモータ21およびモータドライバ55に電力が供給される。
【0095】
ステップモータ21に電力が供給されると、サーマルヘッド20が印字位置にダウンするまでステップモータ21が正転駆動される(ステップC13〜C15)。
【0096】
(b)印字動作時
次に、前記印字バッファ53aから1ライン分の印字データが読み出される(ステップC16)。ここで、前記第1の実施形態と同様に、その1ライン分の印字データに従ってサーマルヘッド20の各発熱素子を発熱駆動したときのドット数が計数され(ステップC17)、その計数値と予めRAM53の基準ドット数記憶部53bに記憶された第1および第2の基準値とが比較される(ステップC18)。
【0097】
そして、前記比較結果に従って、前記1ライン分の印字データから求められたドット数の計数値が第1の基準値以下であれば、サーマルヘッド20に対しUSB電源を利用した電力供給がなされる(ステップC19)。また、前記1ライン分の印字データから求められたドット数の計数値が第1〜第2の基準値の間であれば、サーマルヘッド20に対し電池電源を利用した電力供給がなされる(ステップC20)。また、前記1ライン分の印字データから求められたドット数の計数値が第2の基準値以上であれば、電池電源に加えてUSB電源が併用される(ステップC21)。
【0098】
一方、ステップモータ21に対しては、上述したように印字動作時にはステップモータ21の電力負荷が最も大きくなるので、電池電源とUSB電源が併用されて電力供給がなされる(ステップC22)。詳しくは、CPU51からスイッチング回路60に対して接点fへの切替え信号が出力される。これにより、内蔵電池57から供給される電力に加えて、パーソナルコンピュータ2からUSBケーブル3の電力供給ライン3Pを介して供給される電力がステップモータ21およびモータドライバ55に対して供給されることになる。
【0099】
そして、前記1ライン分の印字データがサーマルヘッド20に転送され(ステップC23)、その印字データに基づいてサーマルヘッド20の各発熱素子が発熱駆動されることにより、印字対象である光ディスク4のレーベル印字面に対して1ライン分の印字が施される(ステップC24)。
【0100】
また、このサーマルヘッド20の駆動中にそれに同期してステップモータ21が正転駆動される(ステップC25)。これにより、サーマルヘッド20はキャリッジ17と一体にキャリッジガイド15に沿って移動する。そして、未処理の印字データが印字バッファ53aに残っていれば(ステップC26のNo)、前記同様に1ライン単位で印字データが読み出されて印字が続けて行われる。
【0101】
全ライン分の印字が終すると(ステップC26のYes)、ステップモータ21の正転駆動が停止制御され、キャリッジ17の移動が停止する(ステップC27)。
【0102】
(c)ヘッドアップ動作時
次に、印字終了後のサーマルヘッド20を非印字位置にアップさせるべく、ステップモータ21に対する電力供給が行われる(ステップC28)。この場合、上述したようにヘッドアップ動作時も前記ヘッドダウン動作時と同様にステップモータ21の電力負荷は最も小さいので、そのときにはUSB電源を用いて電力供給が行われる。そして、この電力供給に伴いステップモータ21が逆転駆動されて、サーマルヘッド20が非印字位置にアップする(ステップC29)。サーマルヘッド20が非印字位置にアップした時点で(ステップC30のYes)、ステップモータ21の逆転駆動が停止制御される(ステップC31)。
【0103】
(d)キャリッジ復帰動作時
続いて、キャリッジ17をイニシャル位置つまり図2に示す左端のホームポジションに復帰させるべく、ステップモータ21に対する電力供給が行われる(ステップC32)。この場合、上述したようにキャリッジ復帰動作時にはヘッドダウン/アップ時よりは負荷がかかるので、そのときには電池電源を用いて電力供給が行われる。詳しくは、CPU51からスイッチング回路60に対して接点eへの切替え信号が出力され、内蔵電池57から電圧変換回路58を介してステップモータ21およびモータドライバ55に電力が供給される。
【0104】
そして、この電力供給に伴いステップモータ21が逆転駆動されて、キャリッジ17がイニシャル位置に到着した時点で(ステップC34のYes)、ステップモータ21の逆転駆動が停止制御されて(ステップC35)、ここでの一連の印字処理が終了する。
【0105】
このように、印字動作時だけでなく、ステップモータ21の駆動を要する各動作毎にそのときの電力負荷状態に応じて電池電源とUSB電源の切り替えを行うことで、より効率的に電力供給を行うことができ、電池寿命をさらに延ばすことができる。
【0106】
なお、第3の実施形態において、印字動作中のサーマルヘッド20に対し、印字ドット数による電力負荷状態に応じて3段階(USB電源/電池電源/電池電源とUSB電源)の切替えを行うものとして説明したが、前記第2の実施形態のようにサーマルヘッド20の温度を検出することにより、そのヘッド温度から判別される電力負荷状態に応じて2段階(USB電源/電池電源)の切替えを行うことでも良い。
【0107】
要するに、本発明は前記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。
【0108】
【発明の効果】
以上詳記したように本発明によれば、機能ブロックの動作時の電力負荷状態に合った電源から電力供給が可能となり、その供給される電力により機能ブロックを無理なく動作させることができるとともに、機能ブロックの電力負荷状態が上位装置から受給する電力により駆動可能な場合に、その上位装置からの電力を利用することで、内部の電源手段の負担を軽くすることができ、その内部の電源手段として用いる内蔵電池の消耗を小さくすることができる。
【図面の簡単な説明】
【図1】本発明の電子装置としての印字装置を備えた印字システムの全体構成を示す外観図。
【図2】印字装置のトレイ駆動機構及び印字機構の構成を示す平面図。
【図3】印字装置の印字機構の構成を示す正面図。
【図4】印字装置におけるキャリッジの構成を示す図。
【図5】本発明の第1の実施形態における印字装置の電子回路の構成を示すブロック図。
【図6】本発明の第1の実施形態における印字装置の電源切替え制御を含む印字処理の流れを示すフローチャート。
【図7】本発明の第2の実施形態における印字装置の電源切替え制御を含む印字処理の流れを示すフローチャート。
【図8】本発明の第3の実施形態における印字装置の電子回路の構成を示すブロック図。
【図9】本発明の第3の実施形態における印字装置の電源切替え制御を含む印字処理の流れを示すフローチャート。
【図10】本発明の第3の実施形態における印字装置の電源切替え制御を含む印字処理の流れを示すフローチャート。
【符号の説明】
1 …印字装置
1a…装置本体
2 …パーソナルコンピュータ
3 …USBケーブル
3D…データ通信ライン
3P…電力供給ライン
4 …光ディスク
5 …トレイ
9 …ソレノイド
17 …キャリッジ
18 …インクリボンカセット
19 …インクリボン
20 …サーマルヘッド
21 …キャリッジモータ
38 …ヘッドアーム
51 …CPU
52 …ROM
53 …RAM
54 …ヘッドドライバ
55 …モータドライバ
56 …温度センサ
57 …内蔵電池
58 …電圧変換回路
59 …スイッチング回路
59a…スイッチ片
60 …スイッチング回路
60a…スイッチ片
Tr…ソレノイド駆動トランジスタ
D1〜D4…ダイオード[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic device including a power supply unit inside the device and operating by receiving power supply from a host device.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an electronic device disclosed in
[0003]
The electronic device is connected to a computer device via a USB cable and has a mouse function as a pointing device of the computer device, and print data corresponding to a character string designated on the display screen by the mouse function. The printer has a printer function of receiving from a printer and printing it on recording paper. For this reason, a mouse unit having a mouse function and a printer unit having a printer function are housed inside the main body of the electronic device, and a built-in battery for supplying drive power to the mouse unit and the printer unit is housed.
[0004]
In this electronic device, both the functional blocks of the mouse unit and the printer unit are driven by power supplied from a built-in battery, but operate in response to operating power supplied from a higher-level device via a USB cable. It is also configured.
[0005]
[Patent Document 1]
JP 2002-41504 A
[0006]
[Problems to be solved by the invention]
In the conventional electronic device, a functional block in the electronic device is operated by either a battery power supply built in the device or power supply from a higher-level device. Although a power capacity for driving a functional block having a large load, such as a printer unit, can be ensured, there is a problem that battery consumption is large. On the other hand, if the power of the functional block is received from a higher-level device via a USB cable, the consumption of the built-in battery can be prevented. However, since the power that can be supplied via USB is limited, the power load state of the printer unit is limited. In some cases, it may not be possible to receive the power required for operation.
[0007]
The present invention solves such a problem, and has at least one or more functional blocks, includes a power supply unit inside the device, and a higher-level device via a connection cable including a data communication line and a power supply line. In an electronic device that receives power supply from the device, it is possible to supply appropriate power according to the power load state during operation of the function block, and to provide a power supply means inside the device such as a built-in battery that supplies power to the function block. It is an object of the present invention to provide an electronic device configured to minimize the burden and to reduce the consumption of a built-in battery as an operation power supply.
[0008]
[Means for Solving the Problems]
An electronic device according to the present invention has at least one or more functional blocks, includes a power supply unit inside, and receives power supply from a higher-level device via a connection cable including a data communication line and a power supply line. For a specific functional block among the functional blocks, a load state confirming means for confirming a power load state at the time of operation based on an operating condition before the operation of the specific functional block, based on a confirmation result of the load state confirming means. Determining means for determining whether the specific function block can be driven by using the power supplied from the higher-level device, and determining that the specific function block can be driven by the determination means, The power supplied from the higher-level device is supplied via a connection cable, and when it is determined that the power supply cannot be driven, the power supply means is supplied to the specific functional block. And a controlling means for supplying electric power from.
[0009]
According to the electronic device configured as described above, the power load state at the time of operation of a specific function block is confirmed before operation, and based on the confirmation result, the power supplied to the function block is received from the host device, Alternatively, since the power is supplied from the internal power supply means, power can be supplied from a power supply that matches the power load state at the time of operation of the functional block, and the functional block can be operated without difficulty using the supplied power. Further, when the power load state of the functional block can be driven by the power received from the higher-level device, the power is not used to receive the power supply from the internal power supply means. Can be reduced, and the consumption of a built-in battery used as an internal power supply can be reduced.
[0010]
Further, in the electronic device, a specific functional block whose power load state is to be checked has a power load state that fluctuates according to an operation condition during operation.
[0011]
Further, in the electronic device, when a specific functional block cannot be driven by power supplied from a higher-level device, two power sources can be effectively used by using power received from a higher-level device in addition to power supply means. The operation of the functional block can be performed by utilizing the function block.
[0012]
Further, in the electronic device, the specific functional block is a printing device that performs printing by selectively driving a plurality of heating elements provided in the print head, and the load state confirmation unit transfers the print condition to the print head. The apparatus may further include a counting unit that counts the number of dots related to printing of the print data, and the determination unit may include a comparison unit that compares a count value of the counting unit with a reference value.
[0013]
Further, in the electronic device, the specific functional block includes a print head in which a plurality of heating elements are selectively driven based on print data, and a print head that supplies the heating elements in accordance with a temperature of the print head during printing. A print control unit that controls an amount of power to be applied, wherein the load state checking unit includes a temperature detection unit that detects a temperature of the print head during printing, and the determination unit includes the temperature detection unit. And comparing means for comparing the detected value with the reference value.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0015]
(1st Embodiment)
FIG. 1 is an external view showing the overall configuration of a printing system including a printing device as an electronic device of the present invention.
[0016]
The printing system includes a
[0017]
The operation of each unit of the
[0018]
The apparatus
[0019]
The
[0020]
The
[0021]
FIG. 2 is a plan view showing a configuration of a tray driving mechanism and a printing mechanism of the
[0022]
Between the rear part of the apparatus
[0023]
When the
[0024]
By operating the eject button 6 provided on the front surface of the apparatus
[0025]
On the other hand, a printing mechanism as a printing unit is provided at a position above the
[0026]
The
[0027]
FIG. 4 is a view showing a configuration of a carriage traveling drive mechanism, a head moving mechanism, and an ink ribbon winding mechanism provided on the
[0028]
A
[0029]
A
[0030]
A cam gear 31 is provided in the
[0031]
The swinging
[0032]
A
[0033]
FIG. 4 shows a state in which the
[0034]
In the printing apparatus configured as described above, the state where the
[0035]
Then, while the
[0036]
A notch (not shown) is formed in a part of the periphery of the cam gear 31. When the cam gear 31 rotates by a certain angle in response to the forward rotation of the
[0037]
During this time, as the
[0038]
When the
[0039]
A notch (not shown) is formed at a part of the periphery of the cam gear 31 corresponding to the
[0040]
After the
[0041]
FIG. 5 is a block diagram illustrating a configuration of an electronic circuit of the
[0042]
The
[0043]
The
[0044]
The reference value of the number of print dots stored in the reference dot
[0045]
The
[0046]
A plurality of heating elements are arranged in a line in the
[0047]
Here, the
[0048]
When such two power supplies are provided, the battery power supply has a problem in that the power consumption for driving a functional block having a large power load can be secured, but the battery consumption is large. On the other hand, if the USB power supply is used, the battery consumption can be reduced. However, since the power that can be supplied via the
[0049]
Therefore, in the
[0050]
The functional blocks are, specifically, the
[0051]
[0052]
The switching
[0053]
As for other functional blocks, for example, a USB power supply is used for the
[0054]
Next, the operation of the first embodiment will be described.
[0055]
FIG. 6 is a flowchart illustrating a flow of a printing process including power supply switching control of the
[0056]
In a state where the
[0057]
As described with reference to FIGS. 2 to 4, in the initial state, the
[0058]
The
[0059]
When one line of print data is read from the
[0060]
According to the comparison result, if the counted value of the number of dots obtained from the print data for one line is equal to or less than the first reference value, that is, if the number of printed dots is equal to or less than one third of all the heating elements, It is determined that the power load on the
[0061]
On the other hand, the counted value of the number of dots obtained from the print data for one line is between the first and second reference values, that is, the number of printed dots exceeds one-third of all the heating elements and is one-third. If it is less than 2, it is determined that the
[0062]
If the counted value of the number of dots obtained from the print data for one line is equal to or larger than the second reference value, that is, if the number of printed dots is equal to or larger than two-thirds of all the heating elements, the USB is similarly used. It is determined that the
[0063]
Then, the print data for one line is transferred to the thermal head 20 (step A21), and the respective heating elements of the
[0064]
Further, while the
[0065]
When printing of all the lines is completed (Yes in step A24), the forward rotation drive of the
[0066]
As described above, by selectively using the battery power supply or the USB power supply according to the power load state of the
[0067]
(Second embodiment)
Next, a second embodiment of the present invention will be described.
[0068]
In the first embodiment, the power load state is determined from the number of dots to be printed before the printing operation. In the second embodiment, the power load state is determined from the temperature of the
[0069]
Note that FIG. 5 is used for the circuit configuration as the second embodiment. The configuration is different from the first embodiment in that a
[0070]
FIG. 7 is a flowchart illustrating a flow of a printing process including power supply switching control of the
[0071]
With the
[0072]
Here, the temperature of the
[0073]
As a result, when the temperature of the
[0074]
On the other hand, when the temperature of the
[0075]
Subsequent operations are the same as steps A21 to A28 in FIG.
[0076]
That is, the print data for one line is transferred to the
[0077]
Further, the stepping
[0078]
When printing for all lines is completed, the forward rotation drive of the
[0079]
In this manner, by detecting the temperature of the
[0080]
(Third embodiment)
Next, a third embodiment will be described.
[0081]
In the first or second embodiment, the battery power and the USB power are switched according to the power load state of the
[0082]
FIG. 8 is a block diagram illustrating a configuration of an electronic circuit of the
[0083]
The first embodiment is structurally different from the first embodiment in that the stepping
[0084]
The switching
[0085]
The switching
[0086]
FIGS. 9 and 10 are flowcharts showing a flow of a printing process including power supply switching control of the
[0087]
Before describing the flowcharts of FIGS. 9 and 10, a power supply switching method according to the third embodiment will be briefly described for easy understanding.
[0088]
As described above, the third embodiment is characterized in that switching between battery power and USB power is performed, including power supply to the
[0089]
That is, in the head down operation of (a) and the head up operation of (c), only the
[0090]
On the other hand, in the carriage return operation of (d), since a force for moving the
[0091]
In the printing operation (b), it is necessary to move the
[0092]
The printing process according to the third embodiment will be described below with reference to FIGS. 9 and 10 for each of these operations.
[0093]
(A) During head down operation
With the
[0094]
Here, first, power is supplied to the
[0095]
When power is supplied to the
[0096]
(B) During printing operation
Next, one line of print data is read from the
[0097]
If the counted value of the number of dots obtained from the print data for one line is equal to or less than the first reference value according to the comparison result, power is supplied to the
[0098]
On the other hand, since the power load of the
[0099]
Then, the print data for one line is transferred to the thermal head 20 (step C23), and each heating element of the
[0100]
Further, while the
[0101]
When the printing for all the lines is completed (Yes in step C26), the normal rotation drive of the
[0102]
(C) Head-up operation
Next, power is supplied to the
[0103]
(D) During carriage return operation
Subsequently, power is supplied to the
[0104]
When the
[0105]
In this way, by switching between the battery power supply and the USB power supply in accordance with the power load state at that time not only during the printing operation but also for each operation requiring driving of the
[0106]
In the third embodiment, it is assumed that the
[0107]
In short, the present invention is not limited to the above-described embodiment, and can be variously modified in an implementation stage without departing from the gist thereof.
[0108]
【The invention's effect】
As described in detail above, according to the present invention, power can be supplied from a power supply that matches the power load state during operation of a functional block, and the functional block can be operated without difficulty by the supplied power. When the power load state of the functional block can be driven by the power received from the higher-level device, the load on the internal power supply can be reduced by using the power from the higher-level device. Consumption of a built-in battery used as a battery can be reduced.
[Brief description of the drawings]
FIG. 1 is an external view showing the overall configuration of a printing system including a printing device as an electronic device of the present invention.
FIG. 2 is a plan view illustrating a configuration of a tray driving mechanism and a printing mechanism of the printing apparatus.
FIG. 3 is a front view illustrating a configuration of a printing mechanism of the printing apparatus.
FIG. 4 is a diagram illustrating a configuration of a carriage in the printing apparatus.
FIG. 5 is a block diagram illustrating a configuration of an electronic circuit of the printing apparatus according to the first embodiment of the present invention.
FIG. 6 is a flowchart illustrating a flow of a printing process including power supply switching control of the printing apparatus according to the first embodiment of the present invention.
FIG. 7 is a flowchart illustrating a flow of a printing process including power supply switching control of a printing apparatus according to a second embodiment of the present invention.
FIG. 8 is a block diagram illustrating a configuration of an electronic circuit of a printing apparatus according to a third embodiment of the present invention.
FIG. 9 is a flowchart illustrating a flow of a printing process including power supply switching control of a printing apparatus according to a third embodiment of the present invention.
FIG. 10 is a flowchart illustrating a flow of a printing process including power supply switching control of a printing apparatus according to a third embodiment of the present invention.
[Explanation of symbols]
1 ... printing device
1a: Device body
2. Personal computer
3 ... USB cable
3D ... data communication line
3P ... power supply line
4… Optical disk
5… Tray
9 ... solenoid
17… Carriage
18… Ink ribbon cassette
19 ... Ink ribbon
20… Thermal head
21… Carriage motor
38… Head arm
51 ... CPU
52… ROM
53… RAM
54… Head driver
55… Motor driver
56 ... temperature sensor
57… Built-in battery
58 ... voltage conversion circuit
59 ... Switching circuit
59a ... Switch piece
60: Switching circuit
60a ... Switch piece
Tr: Solenoid drive transistor
D1 to D4: Diode
Claims (5)
前記機能ブロック中の特定の機能ブロックについて、その動作前に、動作条件に基づいて動作時の電力負荷状態を確認する負荷状態確認手段と、
前記負荷状態確認手段の確認結果に基づいて前記特定の機能ブロックが前記上位装置から供給される電力を用いて駆動可能かを判断する判断手段と、
前記判断手段の判断が駆動可能である場合に、前記特定の機能ブロックに前記接続ケーブルを介して前記上位装置から受給する電力を供給し、駆動不可能である場合に、前記特定の機能ブロックに前記電源手段から電力を供給する制御手段と、
を備えることを特徴とする電子装置。An electronic device having at least one or more functional blocks, including a power supply unit inside the device, and receiving power supply from a higher-level device via a connection cable including a data communication line and a power supply line,
For a specific functional block in the functional block, before the operation, load state checking means for checking the power load state at the time of operation based on operating conditions,
Determining means for determining whether the specific functional block can be driven using power supplied from the higher-level device based on a result of the confirmation by the load state confirming means;
When the determination of the determination means is drivable, the power received from the higher-level device is supplied to the specific functional block via the connection cable, and when the drive is not possible, the specific functional block is supplied to the specific functional block. Control means for supplying power from the power supply means;
An electronic device comprising:
前記負荷状態確認手段は、前記特定の機能ブロックとして、前記複数の機能ブロック中で動作時の動作条件に応じて電力負荷状態が変動する機能ブロックを対象として処理を行うことを特徴とする請求項1に記載の電子装置。The device has two or more functional blocks,
The said load state confirmation means performs a process with respect to the function block whose electric power load state fluctuates according to the operating conditions at the time of operation among the said plurality of function blocks as said specific function block. 2. The electronic device according to 1.
前記制御手段は、前記判断手段により駆動不可能であると判断された場合に、前記電源手段に加えて前記接続ケーブルを介して前記上位装置から受給する電力を前記特定の機能ブロックに供給することを特徴とする請求項1又は2に記載の電子装置。The device has two or more functional blocks,
The control unit supplies the power received from the higher-level device via the connection cable to the specific functional block, in addition to the power supply unit, when it is determined that the drive unit cannot be driven by the determination unit. The electronic device according to claim 1, wherein:
前記負荷状態確認手段は、前記印字ヘッドに転送する印字データの印字に係るドット数を計数する計数手段を備え、
前記判断手段は、前記計数手段の計数値を基準値と比較する比較手段を備えることを特徴とする請求項1乃至3のいずれか1つに記載の電子装置。The specific functional block is a printing device that performs printing by selectively driving a plurality of printing elements provided in a print head,
The load state checking unit includes a counting unit that counts the number of dots related to printing of print data to be transferred to the print head,
4. The electronic device according to claim 1, wherein the determination unit includes a comparison unit that compares a count value of the counting unit with a reference value. 5.
前記負荷状態確認手段は、印字中の前記印字ヘッドの温度を検出する温度検出手段を備え、
前記判断手段は、前記温度検出手段の検出値を基準値と比較する比較手段を備えることを特徴とする請求項1乃至3のいずれか1つに記載の電子装置。The specific functional block includes: a print head in which a plurality of heating elements are selectively driven based on print data; and a print control that controls an amount of power supplied to the heating elements in accordance with a temperature of the print head during printing. And a control device.
The load state checking unit includes a temperature detecting unit that detects a temperature of the print head during printing,
4. The electronic device according to claim 1, wherein the determination unit includes a comparison unit configured to compare a detection value of the temperature detection unit with a reference value. 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003155728A JP2004351899A (en) | 2003-05-30 | 2003-05-30 | Electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003155728A JP2004351899A (en) | 2003-05-30 | 2003-05-30 | Electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004351899A true JP2004351899A (en) | 2004-12-16 |
Family
ID=34050036
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003155728A Pending JP2004351899A (en) | 2003-05-30 | 2003-05-30 | Electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004351899A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012245677A (en) * | 2011-05-26 | 2012-12-13 | Brother Industries Ltd | Image forming system |
| CN102935764A (en) * | 2012-11-15 | 2013-02-20 | 无锡中亚工具厂 | Real-time temperature-sensitive printing device |
| JP2015058570A (en) * | 2013-09-17 | 2015-03-30 | サトーホールディングス株式会社 | Printer and printing method thereof |
| JP2017056700A (en) * | 2015-09-18 | 2017-03-23 | ブラザー工業株式会社 | Printing device |
| US10643200B2 (en) | 2010-10-13 | 2020-05-05 | Square, Inc. | Point of sale system |
| US10733589B2 (en) * | 2017-04-28 | 2020-08-04 | Square, Inc. | Point of sale device power management and under voltage protection |
| US10970698B1 (en) | 2017-12-08 | 2021-04-06 | Square, Inc. | Reader detection signal bypassing secure processor |
| CN113459686A (en) * | 2020-03-30 | 2021-10-01 | 兄弟工业株式会社 | Printing apparatus |
| US11257058B1 (en) | 2017-10-30 | 2022-02-22 | Square, Inc. | Sharing output device between unsecured processor and secured processor |
| JP2023063797A (en) * | 2021-10-25 | 2023-05-10 | ブラザー工業株式会社 | printer |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05112027A (en) * | 1991-10-23 | 1993-05-07 | Furuno Electric Co Ltd | Thermal printer controller |
| JPH05169710A (en) * | 1991-12-12 | 1993-07-09 | Murata Mach Ltd | Method for controlling energization of thermal print head |
| JPH0679905A (en) * | 1992-09-02 | 1994-03-22 | Sharp Corp | Thermal head voltage control method |
| JPH06262791A (en) * | 1993-03-11 | 1994-09-20 | Nikon Corp | Head voltage control device of thermal printer |
| JPH0781119A (en) * | 1993-09-14 | 1995-03-28 | Nec Corp | Thermal head power supply |
| JPH10250130A (en) * | 1997-03-14 | 1998-09-22 | Canon Inc | Print control device for thermal line printer, print control method for thermal line printer, and print device |
| JP2002049444A (en) * | 2000-08-04 | 2002-02-15 | Sony Corp | Information processing device |
-
2003
- 2003-05-30 JP JP2003155728A patent/JP2004351899A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05112027A (en) * | 1991-10-23 | 1993-05-07 | Furuno Electric Co Ltd | Thermal printer controller |
| JPH05169710A (en) * | 1991-12-12 | 1993-07-09 | Murata Mach Ltd | Method for controlling energization of thermal print head |
| JPH0679905A (en) * | 1992-09-02 | 1994-03-22 | Sharp Corp | Thermal head voltage control method |
| JPH06262791A (en) * | 1993-03-11 | 1994-09-20 | Nikon Corp | Head voltage control device of thermal printer |
| JPH0781119A (en) * | 1993-09-14 | 1995-03-28 | Nec Corp | Thermal head power supply |
| JPH10250130A (en) * | 1997-03-14 | 1998-09-22 | Canon Inc | Print control device for thermal line printer, print control method for thermal line printer, and print device |
| JP2002049444A (en) * | 2000-08-04 | 2002-02-15 | Sony Corp | Information processing device |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10643200B2 (en) | 2010-10-13 | 2020-05-05 | Square, Inc. | Point of sale system |
| JP2012245677A (en) * | 2011-05-26 | 2012-12-13 | Brother Industries Ltd | Image forming system |
| CN102935764A (en) * | 2012-11-15 | 2013-02-20 | 无锡中亚工具厂 | Real-time temperature-sensitive printing device |
| CN102935764B (en) * | 2012-11-15 | 2015-08-19 | 无锡中亚工具厂 | Real-time thermal printing apparatus |
| JP2015058570A (en) * | 2013-09-17 | 2015-03-30 | サトーホールディングス株式会社 | Printer and printing method thereof |
| JP2017056700A (en) * | 2015-09-18 | 2017-03-23 | ブラザー工業株式会社 | Printing device |
| US10733589B2 (en) * | 2017-04-28 | 2020-08-04 | Square, Inc. | Point of sale device power management and under voltage protection |
| US11561593B2 (en) | 2017-04-28 | 2023-01-24 | Block, Inc. | Point of sale device power management and undervoltage protection |
| US11899515B2 (en) | 2017-04-28 | 2024-02-13 | Block, Inc. | Point of sale device power management and undervoltage protection |
| US11257058B1 (en) | 2017-10-30 | 2022-02-22 | Square, Inc. | Sharing output device between unsecured processor and secured processor |
| US11983688B2 (en) | 2017-10-30 | 2024-05-14 | Block, Inc. | Controlling access to output device between two processors |
| US10970698B1 (en) | 2017-12-08 | 2021-04-06 | Square, Inc. | Reader detection signal bypassing secure processor |
| US11797965B2 (en) | 2017-12-08 | 2023-10-24 | Block, Inc. | Reader detection signal based proximity feedback |
| CN113459686A (en) * | 2020-03-30 | 2021-10-01 | 兄弟工业株式会社 | Printing apparatus |
| US11778116B2 (en) * | 2020-03-30 | 2023-10-03 | Brother Kogyo Kabushiki Kaisha | Printing device operable with power from battery and external power source |
| CN113459686B (en) * | 2020-03-30 | 2025-08-22 | 兄弟工业株式会社 | Printing device |
| JP2023063797A (en) * | 2021-10-25 | 2023-05-10 | ブラザー工業株式会社 | printer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2004351899A (en) | Electronic equipment | |
| US4712115A (en) | Thermal-transfer printer | |
| US7631208B2 (en) | Electronic apparatus | |
| US10155397B2 (en) | Printer and printing method | |
| JP2002137506A (en) | Printer | |
| JPH021327A (en) | Recorder of which a plurality of carriers are made capable of being combined and separated | |
| JP2011189733A (en) | Printer and program | |
| JP5122379B2 (en) | Portable printer | |
| JPH0127864B2 (en) | ||
| JP5462206B2 (en) | Thermal printer and program | |
| GB2289784A (en) | Mode control system | |
| JPS5916768A (en) | serial thermal printer | |
| JP2004255658A (en) | Printer device | |
| US20070285682A1 (en) | Printer | |
| JP2004322599A (en) | Recording device | |
| JP2013043379A (en) | Thermal printer and program | |
| JP2007326222A (en) | Printing device | |
| JP3655668B2 (en) | Printer | |
| JP2004276525A (en) | Electronics | |
| JP4018514B2 (en) | Recording apparatus, power supply control method, storage medium storing computer-readable program, and program | |
| JP3858145B2 (en) | Printing system | |
| JPH09187964A (en) | Image forming apparatus, information processing apparatus, system thereof, and control method | |
| JP4415183B2 (en) | Printer device | |
| JP2002059622A (en) | Printer | |
| JPH06348654A (en) | Portable electronic information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060202 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090331 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090512 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090701 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090818 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091016 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100323 |