[go: up one dir, main page]

JP2004351899A - Electronic equipment - Google Patents

Electronic equipment Download PDF

Info

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
Application number
JP2003155728A
Other languages
Japanese (ja)
Inventor
Kazuyasu Fukano
和靖 深野
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003155728A priority Critical patent/JP2004351899A/en
Publication of JP2004351899A publication Critical patent/JP2004351899A/en
Pending legal-status Critical Current

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の消耗を防ぐことができる。
【選択図】 図5
An 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 Patent Document 1 is known as an electronic device that includes a power supply unit inside the device and operates by receiving power supply from a host device.
[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 printing device 1 and a personal computer (higher-level device) 2 that controls the printing device 1. The personal computer 2 and the printing device 1 use a USB (Universal Serial Bus) cable 3. Connected via.
[0017]
The operation of each unit of the printing apparatus 1 is driven by an internal battery (not shown) or power supplied from the personal computer 2 via the USB cable 3.
[0018]
The apparatus main body 1a of the printing apparatus 1 has a built-in thermal transfer type printing mechanism, and prints a label printing surface of an optical disk 4 such as a CD-R created and edited by a personal computer 2 and supplied via a USB cable 3. For printing data, a tray 5 for mounting and supporting the optical disk 4 is provided on the apparatus main body 1a.
[0019]
The tray 5 protrudes forward from a predetermined position in the apparatus main body 1a and moves to a position outside the apparatus where the optical disk 4 can be attached and detached in response to operation of an eject button 6 provided on the front surface of the apparatus main body 1a. It has become.
[0020]
The personal computer 2 includes a keyboard 2a and a mouse 2b and has a display device 2c. The personal computer 2 prints a music title, an artist, and the like on the label printing surface of the optical disk 4 by the printing device 1. When the data creation / editing process is performed and the printing start designation process is performed, the printing data is transmitted to the printing device 1 connected to the interface, and the printing process is performed.
[0021]
FIG. 2 is a plan view showing a configuration of a tray driving mechanism and a printing mechanism of the printing apparatus 1, and FIG. 3 is a front view showing a configuration of the printing mechanism.
[0022]
Between the rear part of the apparatus main body 1 a and the rear part of the tray 5, there are provided coil springs 7, which constitute a mechanism for pushing out the tray 5. In addition, a locking mechanism 8 for locking the tray 5 so as to be detachable is provided at a rear portion of the apparatus main body 1a. The locking mechanism 8 includes a solenoid 9 and a locking hook 11 that rotates about a pin 10 in conjunction with a plunger of the solenoid 9. The locking hook 11 is formed at the rear of the tray 5. It is adapted to engage with the projection 13 in a detachable manner.
[0023]
When the tray 5 is pushed into the apparatus main body 1a and is located at a predetermined storage position, the coil spring 7 is compressed, and the projection 13 of the tray 5 engages with the locking hook 11 to move the tray 5 to the apparatus. It is held in the main body 1a.
[0024]
By operating the eject button 6 provided on the front surface of the apparatus main body 1a, the solenoid 9 is excited, its plunger is sucked, and the locking hook 11 is rotated about the pin 10 and the projection 13 of the tray 5 The tray 5 is disengaged and disengaged, and in response to the disengagement, the tray 5 is pushed out to the front side of the apparatus main body 1a by the elastic force of the coil spring 7.
[0025]
On the other hand, a printing mechanism as a printing unit is provided at a position above the tray 5 in the apparatus main body 1a. That is, a printer frame 14 is attached across the tray 5, and the printer frame 14 has a carriage guide 15 laid parallel to a lower side of a frame horizontal beam facing away from the upper surface of the tray 5. Is provided with a rack 16 extending along its longitudinal direction. A carriage 17 is provided movably along the carriage guide 15.
[0026]
The carriage 17 is provided with a traveling drive mechanism for the carriage 17, a head moving mechanism for the thermal head 20, and a winding mechanism for the ink ribbon 19, and a forward / reverse rotatable step motor 21 serving as a drive source for these mechanisms. Is attached to the back of the carriage 17.
[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 carriage 17 in the printing apparatus.
[0028]
A ribbon cartridge 18 is mounted on the carriage 17, and a ribbon feeding core 22 and a ribbon winding core 23 are provided in the ribbon cartridge 18, and an ink is supplied between the ribbon feeding core 22 and the ribbon winding core 23. An ink ribbon 19 as a member is stretched.
[0029]
A step motor 21 is disposed in the carriage 17, and an output gear 25 of the step motor 21 meshes with a drive gear 27 that meshes with the rack 16 via a two-stage gear 26. Further, the driving gear 27 is fitted to the ribbon winding core 23 and meshes with a one-way clutch gear 29 provided coaxially with a ribbon winding driving shaft 28 for driving the core.
[0030]
A cam gear 31 is provided in the carriage 17, and the cam gear 31 has an arc-shaped cam groove 32 eccentric with respect to the center of rotation. A swing clutch 33 is provided between the cam gear 31 and the output gear 25.
[0031]
The swinging clutch 33 includes a sun gear 34 meshed with the output gear 25 and a pair of planetary gears 35 meshed with the sun gear 34 and supported via an arm so as to be movable in the circumferential direction of the sun gear 34. When the sun gear 34 rotates clockwise, one planetary gear 35 meshes with the cam gear 31 and the other planetary gear 36 separates from the cam gear 31. When the sun gear 34 rotates counterclockwise, one planetary gear 36 rotates. The gear 35 separates from the cam gear 31 and the other planetary gear 36 meshes with the cam gear 31.
[0032]
A head arm 38 is provided in the carriage 17 and pivots up and down about a shaft 37. The head arm 38 is turned in a counterclockwise direction in FIG. The head arm 38 is provided with a pin 40 near one end thereof. The pin 40 is slidably inserted into the cam groove 32 of the cam gear 31. The thermal head 20 is attached to the other end of the head arm 38.
[0033]
FIG. 4 shows a state in which the head arm 38 is inclined at a predetermined angle and the thermal head 20 is at a printing position in which the thermal head 20 is down. The head arm 38 is substantially horizontal when engaged at a position A in the outermost peripheral direction of the head arm 32.
[0034]
In the printing apparatus configured as described above, the state where the carriage 17 is located at the home position at the left end of the printer frame 14 in FIG. 2 is in the non-printing position where the thermal head 20 is raised, and in this state, the step motor 21 rotates forward. When driven to start a printing operation, the cam gear 31 rotates clockwise via the output gear 25, the sun gear 34, and the planetary gear 35, and the thermal head 20 moves down to the printing position. During this time, the drive gear 27 meshing with the rack 16 is also driven, so that the carriage 17 moves to a printing start position slightly to the right of the home position in FIG.
[0035]
Then, while the thermal head 20 is driven based on the print data, the stepping motor 21 is continuously driven in the forward direction in synchronism therewith, whereby the thermal head 20 moves together with the carriage 17 along the carriage guide 15. Then, printing is performed in a predetermined printing range H (FIG. 2) on the label printing surface on the optical disk 4 within the moving range of the thermal head 20.
[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 step motor 21, the notch is formed in the notch. Since the planetary gear 35 falls and idles, the head arm 38 is configured to maintain its tilt angle and maintain the thermal head 20 at the printing position. When the carriage 17 moves, the thermal head 20 is maintained at the printing position.
[0037]
During this time, as the carriage 17 moves to the right, the ribbon winding drive shaft 28 is driven via the output gear 25, the second gear 26, the drive gear 27 and the one-way clutch gear 29 to use the used ink ribbon. 19 is wound around the ribbon winding core 23.
[0038]
When the carriage 17 moves to the right end in FIG. 2 and printing is completed, the step motor 21 is driven in the reverse direction, and the cam gear 31 rotates counterclockwise through the output gear 25, the sun gear 34, and the planetary gear 36, and The head 20 moves up to a non-printing position where the head 20 is separated from the optical disc 4. During this time, the drive gear 27 meshing with the rack 16 is also driven, so that the carriage 17 moves leftward from the right end in FIG.
[0039]
A notch (not shown) is formed at a part of the periphery of the cam gear 31 corresponding to the planetary gear 36, and the cam gear 31 rotates by a predetermined angle to return the thermal head 20 to the print standby position. The planetary gear 36 falls into the missing portion when the vehicle rotates, and idles.
[0040]
After the planetary gear 36 is located in the missing portion, the carriage 17 moves toward the left home position while the thermal head 20 is held at the non-printing position by the driving of the driving gear 27 by the reverse rotation of the step motor 21. , Return to the home position and end the operation.
[0041]
FIG. 5 is a block diagram illustrating a configuration of an electronic circuit of the printing device 1 according to the first embodiment.
[0042]
The printing apparatus 1 includes a CPU 51, which is connected to the personal computer 2 shown in FIG. Print data created and edited by the personal computer 2 is supplied via a data communication line 3D of the USB cable 3, and power is supplied via a power supply line 3P of the USB cable 3.
[0043]
The CPU 51 includes a ROM 52 and a RAM 53. The ROM 52 includes, in addition to a system program for controlling the operation of each unit of the printing apparatus 1 according to a print control signal from the personal computer 2, a control for realizing power supply switching control according to a power load state during operation. Various program data including programs and the like are stored. The RAM 53 includes a print buffer 53a for storing print data transmitted from the personal computer 2, and a reference value (first and second reference values) of the number of print dots preset as a determination condition at the time of power supply switching. And a reference temperature storage unit 53c storing a head temperature reference value used in a second embodiment described later.
[0044]
The reference value of the number of print dots stored in the reference dot number storage unit 53b is, for example, the first number of print dots when one third of all the heat generating resistance elements of the thermal head 20 are driven to generate heat. The second reference value is a reference value, and the number of print dots when two thirds of all the heating resistance elements are driven to generate heat.
[0045]
The CPU 51 is connected to the thermal head 20 via a head driver 54, the step motor 21 via a motor driver 55, and the solenoid 9 via a solenoid drive transistor Tr. The CPU 51 outputs a motor control signal to the motor driver 54 in accordance with the print control signal transmitted from the personal computer 2 to drive the step motor 21, and outputs a head control signal to the head driver 55 to control the thermal head 20. Drive.
[0046]
A plurality of heating elements are arranged in a line in the thermal head 20, and printing is performed by driving these heating elements to generate heat. The thermal head 20 is provided with a temperature sensor 56 for detecting a temperature during printing, and a temperature detection signal is input to the CPU 51. The temperature sensor 56 is used in a second embodiment described later.
[0047]
Here, the printing apparatus 1 includes a power supply (hereinafter, referred to as a battery power supply) supplied from a battery 57 via a voltage conversion circuit 58, and a power supply line of a USB cable 3 from a personal computer 2 as a host device. And a power supply (hereinafter, referred to as a USB power supply) supplied via the 3P.
[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 USB cable 3 is limited, the power required for operation cannot be supplied depending on the power load state. is there.
[0049]
Therefore, in the printing apparatus 1, a function block in which the power load state fluctuates according to the operating condition at the time of operation among the function blocks is set as a specific function block, and the battery is connected to the battery according to the power load state of the function block. By selectively using a power supply or the USB power supply to supply power, power required for operation is secured and battery consumption is minimized.
[0050]
The functional blocks are, specifically, the CPU 51, the solenoid 9, the thermal head 20, the head driver 54, the step motor 21, the motor driver 55, and the like. Hereinafter, among these, the printing unit including the thermal head 20 and the head driver 54 will be described as a specific functional block.
[0051]
Reference numeral 59 in the figure denotes a switching circuit for switching power supply to the specific functional block (the thermal head 20 and the head driver 54). The switching circuit 59 includes a contact a connected to the power supply line 3P of the USB cable 3, a contact b connected to the output line of the voltage conversion circuit 58, and a contact c connected to both lines. , A switch piece 59 a connected to the thermal head 20 and the head driver 54.
[0052]
The switching circuit 59 is controlled by the CPU 51 to switch between a USB power supply when the switch piece 59a is switched to the contact a, a battery power when the switch b is switched to the contact b, and a USB power supply when the switch c is switched to the contact c. Both powers of the battery power supply are supplied to the specific functional block. D1 and D2 in the figure are diodes for preventing backflow, which regulates the power of the USB power supply from entering the battery power supply system when the switch piece 59a of the switching circuit 59 is at the contact c, and also controls the battery power supply. Is regulated so as not to enter the USB power supply system.
[0053]
As for other functional blocks, for example, a USB power supply is used for the CPU 51. A battery power supply is used for driving the solenoid 9 and for driving the step motor 21 and the motor driver 55.
[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 printing apparatus 1 according to the first embodiment. Each process shown in this flowchart is executed by the CPU 51 reading a program stored in the ROM 52.
[0056]
In a state where the printing apparatus 1 and the personal computer 2 are connected by the USB cable 3, print data is transferred from the personal computer 2 to the printing apparatus 1 via the data communication line 3D of the USB cable 3. The print data at this time is received by the CPU 51 provided in the printing apparatus 1, and is held in the print buffer 53a provided in a predetermined area of the RAM 53 (step A11).
[0057]
As described with reference to FIGS. 2 to 4, in the initial state, the carriage 17 is located at the home position on the left end of the printer frame 14 in FIG. It is in the print position. In this state, first, the stepping motor 21 is driven to rotate forward until the thermal head 20 is lowered to the printing position (steps A12 to A14), and then the print buffer 53a corresponds to the arrangement direction of each heating element of the thermal head 20. The print data for one line is read out (step A15).
[0058]
The step motor 21 is driven by a battery power supply. That is, electric power required for operation is supplied from the battery 57 to the step motor 21 and the motor driver 55 via the voltage conversion circuit 58.
[0059]
When one line of print data is read from the print buffer 53a, the number of dots when each heating element of the thermal head 20 is driven to generate heat is counted in accordance with the one line of print data (step A16). . Then, the counted value is compared with the first and second reference values previously stored in the reference dot number storage section 53b of the RAM 53 (step A17).
[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 head 20 is small and the thermal head 20 can be driven by the power from the USB power supply, and power is supplied to the thermal head 20 using the USB power supply (step A18). Specifically, a switching signal to the contact a is output from the CPU 51 to the switching circuit 59, and power is supplied from the personal computer 2 to the thermal head 20 and the head driver 54 via the power supply line 3P of the USB cable 3.
[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 thermal head 20 cannot be driven with the power from the USB power supply, and power is supplied to the thermal head 20 using the battery power (step A19). Specifically, a switching signal to the contact b is output from the CPU 51 to the switching circuit 59, and power is supplied from the internal battery 57 to the thermal head 20 and the head driver 54 via the voltage conversion circuit 58.
[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 thermal head 20 cannot be driven by the power from the power supply. In this case, considering that the power load is large and the battery power source alone consumes a large amount of the internal battery 57, a USB power source is used in addition to the battery power source (step A20). Specifically, the CPU 51 outputs a switching signal to the contact c to the switching circuit 59. As a result, in addition to the power supplied from the built-in battery 57, the power supplied from the personal computer 2 via the power supply line 3P of the USB cable 3 is supplied to the thermal head 20 and the head driver 54. Become.
[0063]
Then, the print data for one line is transferred to the thermal head 20 (step A21), and the respective heating elements of the thermal head 20 are driven to generate heat based on the print data, whereby the label of the optical disc 4 to be printed is driven. One line is printed on the printing surface (step A22).
[0064]
Further, while the thermal head 20 is being driven, the step motor 21 is driven to rotate forward in synchronism therewith (step A23). Thereby, the thermal head 20 moves along the carriage guide 15 integrally with the carriage 17. If unprocessed print data remains in the print buffer 53a (No in step A24), the print data is read out line by line in the same manner as described above, and printing is continued. Also in this case, before the printing operation based on each print data, the number of dots to be printed is counted, the power load state is determined from the comparison result of the counted value and the reference value, and the USB load is determined according to the power load state at that time. Power is supplied to the thermal head 20 using a power supply, a battery power supply, or both power supplies.
[0065]
When printing of all the lines is completed (Yes in step A24), the forward rotation drive of the step motor 21 is controlled to stop, and the movement of the carriage 17 is stopped (step A25). Subsequently, the step motor 21 is driven to rotate in the reverse direction (step A26). The reverse drive of the step motor 21 raises the thermal head 20 to the non-printing position, and moves the carriage 17 in a direction opposite to the printing direction. Then, when the carriage 17 returns to the initial position, that is, the home position at the left end shown in FIG. 2 (Yes in step A27), the reverse rotation drive of the step motor 21 is controlled to stop (step A28), and a series of printing is performed here. The process ends.
[0066]
As described above, by selectively using the battery power supply or the USB power supply according to the power load state of the thermal head 20 during the printing operation, the power necessary for the operation at that time is secured and the normal printing operation is performed. The operation time can be extended by minimizing battery consumption.
[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 thermal head 20. A battery power supply or a USB power supply is selectively used depending on the power load state at that time.
[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 temperature sensor 56 is provided on the thermal head 20 and the temperature detection signal is input to the CPU 51. This means that a predetermined reference value of the head temperature is stored in the section 53c.
[0070]
FIG. 7 is a flowchart illustrating a flow of a printing process including power supply switching control of the printing apparatus 1 according to the second embodiment. Each process shown in this flowchart is executed by the CPU 51 reading a program stored in the ROM 52.
[0071]
With the printer 1 and the personal computer 2 connected by the USB cable 3, print data is transferred from the personal computer 2 to the printer 1 via the data communication line 3D of the USB cable 3, and the print data is printed. The data is received by the apparatus 1 and stored in the print buffer 53a of the RAM 53 (step B11). Then, the stepping motor 21 is driven to rotate forward until the thermal head 20 moves down to the printing position (steps B12 to B14).
[0072]
Here, the temperature of the thermal head 20 is detected by the temperature sensor 56 (step B15), and the detected temperature is compared with a reference temperature previously stored in the reference temperature storage unit 53c of the RAM 53 (step B16).
[0073]
As a result, when the temperature of the thermal head 20 exceeds the reference temperature (Yes in step B16), power is supplied to the thermal head 20 using a USB power supply (step B17). This is because when the thermal head 20 is in a state where the heat is stored above the reference temperature, the energy required to raise each of the heating elements of the thermal head 20 to the temperature required for print formation can be reduced. Has a relatively small power load. In the case of such a light load, a switching signal to the contact a is output from the CPU 51 to the switching circuit 59, and the thermal head 20 and the head driver 54 are transmitted from the personal computer 2 via the power supply line 3P of the USB cable 3. Is supplied with power.
[0074]
On the other hand, when the temperature of the thermal head 20 detected by the temperature sensor 56 does not exceed the reference temperature or is equal to or lower than the reference temperature (No in step B16), the power is supplied to the thermal head 20 using the battery power supply. It is supplied (step B18). This is because when the thermal head 20 is in a state of being cooled to a reference temperature or lower, a large amount of energy is required to raise each heating element of the thermal head 20 to a temperature required for print formation. The power load will be large. In such a case, the power may be insufficient with the USB power supply, so that the power supply is switched to the battery power supply. That is, a switching signal to the contact b is output from the CPU 51 to the switching circuit 59, and power is supplied from the internal battery 57 to the thermal head 20 and the head driver 54 via the voltage conversion circuit 58.
[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 thermal head 20, and the respective heating elements of the thermal head 20 are driven to generate heat based on the print data, so that the label print surface of the optical disc 4 to be printed is printed. The printing for one line is performed (step B19, step B20).
[0077]
Further, the stepping motor 21 is driven to rotate forward while the thermal head 20 is being driven, and the thermal head 20 moves together with the carriage 17, and during that time, the printing operation for the unprocessed print data is repeatedly performed in the same manner as described above (step B21). , Step B22). Also in this case, the temperature of the thermal head 20 is detected before the printing operation based on each print data, and the power load state is determined from the comparison result between the detected temperature and the reference temperature, and the USB load is determined according to the power load state at that time. A power supply or a battery power supply is selectively used to supply power to the thermal head 20.
[0078]
When printing for all lines is completed, the forward rotation drive of the step motor 21 is controlled to stop, and the movement of the carriage 17 stops (step B23). Subsequently, the step motor 21 is driven to rotate in the reverse direction (step B24). As a result, the thermal head 20 moves up to the non-printing position, and the carriage 17 moves in the direction opposite to the printing direction. Then, when the carriage 17 returns to the initial position, that is, the home position at the left end shown in FIG. 2, the reverse rotation drive of the step motor 21 is controlled to be stopped (step B25, step B26), and a series of printing processing here ends. I do.
[0079]
In this manner, by detecting the temperature of the thermal head 20 and determining the power load state, it is necessary to perform the operation using the optimal power supply according to the power load state at that time, as in the first embodiment. As a result, normal printing operation can be performed while securing sufficient power, and the operation time can be extended by minimizing battery consumption.
[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 thermal head 20 during the printing operation. However, in the third embodiment, the drive of the step motor 21 is further performed. Switching between battery power and USB power is performed for each operation that requires.
[0082]
FIG. 8 is a block diagram illustrating a configuration of an electronic circuit of the printing apparatus 1 according to the third embodiment. The same components as those in FIG. 5 (first embodiment) are denoted by the same reference numerals. .
[0083]
The first embodiment is structurally different from the first embodiment in that the stepping motor 21 and the motor driver 55 are used as specific functional blocks in addition to the thermal head 20 and the head driver 54, and the switching circuit 60 for the specific functional block is used. Is provided.
[0084]
The switching circuit 60 includes a contact d connected to the power supply line 3P of the USB cable 3, a contact e connected to the output line of the voltage conversion circuit 58, and a contact f connected to both lines. , A switch piece 60 a connected to the step motor 21 and the motor driver 55.
[0085]
The switching circuit 60 is switched and controlled by the CPU 51 together with the switching circuit 59, and is switched to a USB power supply when the switch piece 60a is switched to the contact d, a battery power supply when the switch piece 60 is switched to the contact e, and to a contact f. Then, both the USB power and the battery power are supplied to specific functional blocks including the step motor 21 and the motor driver 55. D3 and D4 in the figure are diodes for preventing backflow, which regulates the power of the USB power supply from entering the battery power supply system when the switch piece 60a of the switching circuit 60 is at the contact point f, as well as the battery power supply. Is regulated so as not to enter the USB power supply system.
[0086]
FIGS. 9 and 10 are flowcharts showing a flow of a printing process including power supply switching control of the printing apparatus 1 according to the third embodiment. Each process shown in this flowchart is executed by the CPU 51 reading a program stored in the ROM 52.
[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 step motor 21. Here, focusing on the driving of the step motor 21, the driving timings are (a) a head down operation, (b) a printing operation, (c) a head up operation, and (d) a carriage return operation, The power load differs depending on each operating condition.
[0089]
That is, in the head down operation of (a) and the head up operation of (c), only the thermal head 20 is moved up and down at that position, and since the operation time is short, the power load is the smallest. Therefore, in that case, a USB power supply can be used.
[0090]
On the other hand, in the carriage return operation of (d), since a force for moving the carriage 17 toward the home position is required, the power load becomes larger than in the head down / up operation. Therefore, in this case, the power is insufficient with the USB power supply, and the power is supplied by switching to the battery power supply.
[0091]
In the printing operation (b), it is necessary to move the carriage 17 in synchronization with the printing operation of the thermal head 20 performed by pressing against the optical disk, and since the operation time is long, the power load becomes the largest. . Therefore, in that case, a battery power supply and a USB power supply are used together. At this time, the thermal head 20 has three stages (USB power supply / battery power supply / battery power supply and USB power supply) according to the power load state based on the number of print dots as described in the first embodiment. Perform switching.
[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 printer 1 and the personal computer 2 connected by the USB cable 3, print data is transferred from the personal computer 2 to the printer 1 via the data communication line 3D of the USB cable 3, and the print data is printed. The data is received by the device 1 and stored in the print buffer 53a of the RAM 53 (step C11).
[0094]
Here, first, power is supplied to the step motor 21 in order to lower the thermal head 20 to the printing position (step C12). In this case, since the power load of the step motor 21 during the head-down operation is the smallest as described above, power is supplied using a USB power supply at that time. More specifically, a switching signal to the contact d is output from the CPU 51 to the switching circuit 60, and power is supplied from the personal computer 2 to the step motor 21 and the motor driver 55 via the power supply line 3P of the USB cable 3.
[0095]
When power is supplied to the step motor 21, the step motor 21 is driven to rotate forward until the thermal head 20 is lowered to the printing position (steps C13 to C15).
[0096]
(B) During printing operation
Next, one line of print data is read from the print buffer 53a (step C16). Here, as in the first embodiment, the number of dots when each heating element of the thermal head 20 is driven to generate heat is counted in accordance with the print data for one line (step C17), and the counted value is stored in the RAM 53 in advance. Are compared with the first and second reference values stored in the reference dot number storage unit 53b (step C18).
[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 thermal head 20 using the USB power supply ( Step C19). If the counted value of the number of dots obtained from the print data for one line is between the first and second reference values, power is supplied to the thermal head 20 using a battery power supply (step S1). C20). If the counted value of the number of dots obtained from the print data for one line is equal to or more than the second reference value, USB power is used in addition to battery power (step C21).
[0098]
On the other hand, since the power load of the step motor 21 is the largest during the printing operation as described above, the power is supplied using both the battery power supply and the USB power supply (step C22). Specifically, a switching signal to the contact f is output from the CPU 51 to the switching circuit 60. As a result, in addition to the power supplied from the built-in battery 57, the power supplied from the personal computer 2 via the power supply line 3P of the USB cable 3 is supplied to the step motor 21 and the motor driver 55. Become.
[0099]
Then, the print data for one line is transferred to the thermal head 20 (step C23), and each heating element of the thermal head 20 is driven to generate heat based on the print data, so that the label of the optical disc 4 to be printed is driven. One line of printing is performed on the printing surface (step C24).
[0100]
Further, while the thermal head 20 is being driven, the step motor 21 is driven to rotate forward in synchronism therewith (step C25). Thereby, the thermal head 20 moves along the carriage guide 15 integrally with the carriage 17. If unprocessed print data remains in the print buffer 53a (No in step C26), the print data is read out in units of one line and printing is continued as described above.
[0101]
When the printing for all the lines is completed (Yes in step C26), the normal rotation drive of the step motor 21 is controlled to stop, and the movement of the carriage 17 is stopped (step C27).
[0102]
(C) Head-up operation
Next, power is supplied to the step motor 21 in order to raise the thermal head 20 to the non-printing position after printing is completed (step C28). In this case, the power load of the step motor 21 is the smallest during the head-up operation as in the head-down operation, as described above, so that power is supplied using the USB power supply. Then, with this power supply, the step motor 21 is driven to rotate in the reverse direction, and the thermal head 20 is raised to the non-print position (step C29). When the thermal head 20 moves up to the non-printing position (Yes in step C30), the reverse drive of the step motor 21 is controlled to stop (step C31).
[0103]
(D) During carriage return operation
Subsequently, power is supplied to the step motor 21 in order to return the carriage 17 to the initial position, that is, the home position at the left end shown in FIG. 2 (step C32). In this case, as described above, a load is applied more during the carriage return operation than when the head is down / up, and at that time, power is supplied using a battery power supply. Specifically, a switching signal to the contact e is output from the CPU 51 to the switching circuit 60, and power is supplied from the internal battery 57 to the step motor 21 and the motor driver 55 via the voltage conversion circuit 58.
[0104]
When the carriage 17 arrives at the initial position (Step C34: Yes), the reverse drive of the step motor 21 is stopped and controlled (Step C35). Is completed.
[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 step motor 21, power can be supplied more efficiently. And the battery life can be further extended.
[0106]
In the third embodiment, it is assumed that the thermal head 20 during the printing operation is switched in three stages (USB power supply / battery power supply / battery power supply and USB power supply) according to the power load state based on the number of print dots. As described above, by detecting the temperature of the thermal head 20 as in the second embodiment, two-stage (USB power / battery power) switching is performed according to the power load state determined from the head temperature. That is fine.
[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)

少なくとも1以上の機能ブロックを有し、装置内部に電源手段を備えるとともに、データ通信ラインと電力供給ラインとを備えた接続ケーブルを介して上位装置から電力供給を受ける電子装置であって、
前記機能ブロック中の特定の機能ブロックについて、その動作前に、動作条件に基づいて動作時の電力負荷状態を確認する負荷状態確認手段と、
前記負荷状態確認手段の確認結果に基づいて前記特定の機能ブロックが前記上位装置から供給される電力を用いて駆動可能かを判断する判断手段と、
前記判断手段の判断が駆動可能である場合に、前記特定の機能ブロックに前記接続ケーブルを介して前記上位装置から受給する電力を供給し、駆動不可能である場合に、前記特定の機能ブロックに前記電源手段から電力を供給する制御手段と、
を備えることを特徴とする電子装置。
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:
装置が有する前記機能ブロックは2以上の複数であって、
前記負荷状態確認手段は、前記特定の機能ブロックとして、前記複数の機能ブロック中で動作時の動作条件に応じて電力負荷状態が変動する機能ブロックを対象として処理を行うことを特徴とする請求項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.
装置が有する前記機能ブロックは2以上の複数であって、
前記制御手段は、前記判断手段により駆動不可能であると判断された場合に、前記電源手段に加えて前記接続ケーブルを介して前記上位装置から受給する電力を前記特定の機能ブロックに供給することを特徴とする請求項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.
JP2003155728A 2003-05-30 2003-05-30 Electronic equipment Pending JP2004351899A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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