JP2004029893A - Recording apparatus - Google Patents

Recording apparatus Download PDF

Info

Publication number
JP2004029893A
JP2004029893A JP2002180952A JP2002180952A JP2004029893A JP 2004029893 A JP2004029893 A JP 2004029893A JP 2002180952 A JP2002180952 A JP 2002180952A JP 2002180952 A JP2002180952 A JP 2002180952A JP 2004029893 A JP2004029893 A JP 2004029893A
Authority
JP
Japan
Prior art keywords
memory card
card reader
vbus
recording
usb interface
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
JP2002180952A
Other languages
Japanese (ja)
Inventor
Takashi Ono
小野 隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002180952A priority Critical patent/JP2004029893A/en
Publication of JP2004029893A publication Critical patent/JP2004029893A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a main body of a recording apparatus from being affected by protecting the recording apparatus and a memory card reader when a memory card which consumes unexpected over currents is inserted into the memory card reader. <P>SOLUTION: The recording apparatus has: the memory card reader which is operated by power supplied from a Vbus of a USB interface and controls read of data stored on the memory card; a connection means for connecting the USB interface and the memory card reader; a receiving means for receiving data read by the memory card reader via the USB interface; a means for recording the data received by the receiving means on a recording paper; a current monitoring means for monitoring a current in the Vbus; and a power supply stop means for stopping supplying power to the Vbus connected to the memory card reader in accordance with an output signal of the current monitoring means. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、USBインタフェースを介して、メモリカードリーダに接続される記録装置に係り、特に、メモリカードに記憶されている画像データを記録紙に記録可能な記録装置に関するものである。
【0002】
【従来の技術】
近年のデジタルカメラの普及に伴い、デジタルカメラによって撮影され、種々のメモリカードに記憶されている画像データを、パーソナルコンピュータを介さずに、記録紙に記録する記録装置(メモリカードリーダを有する記録装置)が、特開2001−096844公報に開示されている。
【0003】
この従来の記録装置において、記録装置の制御部と、メモリカードリーダとを、USBインタフェースで接続し、USBインタフェースのVbusからメモリカードリーダに電源を供給し、メモリカードリーダを動作させ、メモリカードリーダに挿入されたメモリカードに記憶されている画像データを読み出し、USBインタフェースを通じ、記録装置の制御部に転送し、画像処理した後に、記録する。
【0004】
【発明が解決しようとする課題】
しかし、上記従来例では、ユーザが、好みのメモリカードをメモリカードリーダに挿入できるので、記録装置から見れば、どのようなメモリカードが挿入されるか分からない。したがって、多大な電力を消費するメモリカードが挿入されることがあり、また、場合によっては故障しているために過電流が流れるメモリカードが挿入されることもある。
【0005】
このように、メモリカードリーダに想定外の電流が流れると、記録装置の電源の電力容量を越え、電源が故障するという問題が生じ、また、電源の保護回路が動作することによって記録装置が動作しないという問題が生じ、さらには、メモリカードリーダが故障するという問題が生じる。
【0006】
本発明は、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響が及ばない記録装置を提供することを目的とするものである。
【0007】
また、本発明は、メモリカードリーダに所定の値以上の電流が流れた場合、メモリカードリーダへの電流供給を停止させることができる記録装置を提供するものである。
【0008】
さらに、本発明は、メモリカードリーダに所定の値以上の電流が流れた場合、メモリカードリーダへの印加電圧を低下することによって、メモリカードリーダへの電力供給を停止する記録装置を提供することを目的とするものである。
【0009】
【課題を解決するための手段】
本発明は、USBインタフェースと、上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと、上記USBインタフェースと上記メモリカードリーダとを接続する接続手段と、上記メモリカードリーダが読み出したデータを、上記USBインタフェースを通じて受信する受信手段と、上記受信手段が受信したデータを記録紙に記録する手段と、上記Vbusの電流を監視する電流監視手段と、上記電流監視手段の出力信号に応じて、上記メモリカードリーダに接続されているVbusへの電源供給を停止する電源供給停止手段とを有する記録装置である。
【0010】
【発明の実施の形態および実施例】
図1は、本発明の第1実施例である記録装置100を示すブロック図である。
【0011】
記録装置100において、制御部101と、ROM102と、RAM103と、バッファメモリ104と、記録処理部105と、記録部106と、操作部107と、USB通信部108と、メモリカードリーダ109と、過電流検出部110と、スイッチ部111と、バス120と、制御信号121とを有する。
【0012】
制御部101は、ROM102に記憶したプログラムに従って記録装置100の全体を制御する。ROM102は、記録装置100を制御する制御プログラムを記憶しているメモリである。RAM103は、記録装置100を制御する上で必要な演算処理等を行うために使用されるメモリである。バッファメモリ104は、記録部106で記録する画像データ等を一時記憶するメモリである。記録処理部105は、メモリカードリーダ109から読み出した画像データを、記録処理に最適な形式に変換する記録処理部である。
【0013】
記録部106は、画像データを記録媒体に記録する。操作部107は、記録装置を操作するものである。USB通信部108は、メモリカードリーダ109との間で、USBによって通信する。
【0014】
メモリカードリーダ109は、Vbusから電源供給を受け、種々のメモリカードに記憶されている画像データを読み出す。また、メモリカードリーダ109は、USBインタフェースを有し、USBインタフェースのVbusから電源供給を受けて動作し、CFカード、メモリスティック、SDカード等のメモリカードの読み出し制御を行い、USBインタフェースを介して、メモリカードから読み出した画像データを、記録装置100に転送する。
【0015】
過電流検出部110は、Vbusに過電流が流れていないかを監視する。スイッチ部111は、USB通信部108から出力されたON/OFF信号121によって、Vbusのメモリカードリーダ109への供給をON/OFFする。
【0016】
バス120は、制御部101と各ブロックを接続する。制御信号121は、スイッチ部111をON/OFFする信号である。
【0017】
Vbus122は、USBで規格化され、USB機器を動作させるための電源を供給する。
【0018】
差動信号123、124は、それぞれ、USBで規格化された差動信号D+、D−であり、125は、GNDであり、検出出力信号126は、過電流検出部からの検出出力信号である。
【0019】
制御部101は、USB通信部108を介して、メモリカードリーダ109から画像データを受信すると、一旦バッファメモリ104に蓄積し、同時にバッファメモリ104に蓄積した画像データを順次読み出し、記録処理部105に転送する。
【0020】
記録処理部105は、受信した画像データ(一般的にはJPEGデータ)をデコードし、CMYKの色成分に分解し、色の再現性がさらに向上するように、記録部106の特性や記録媒体の性質(記録紙の種類)に合わせた画像処理を実行し、記録部106に転送する。記録部106は、記録処理部から送られた記録データを記録媒体に記録する。
【0021】
ここで、メモリカードリーダ109に多大な電力を消費するメモリカードが挿入され、または故障し、過電流が流れるメモリカードが挿入され、過電流検出部110が過電流であると判定すると、検出出力信号126が、制御部101に送られ、上記過電流を制御部101に通知する。
【0022】
制御部101は、この検出出力信号を受けると、異常状態であると判断し、USB通信部108にコマンドを送り、レギュレータのON/OFF信号121をOFF状態にさせ、メモリカードリーダ109へのVbusの供給、つまり電源供給を停止する。
【0023】
その後は、オペレータによって操作部から所定の操作が行われると、USB通信部108にコマンドを再び送り、レギュレータのON/OFF信号121をON状態にし、スイッチ部111をONし、メモリカードリーダ109を復帰させる。
【0024】
図2は、過電流検出部110の具体例を示す回路図である。
【0025】
過電流検出部110は、コンパレータ21と、抵抗22〜26とを有し、126は過電流検出信号である。ここで、Vbusを流れる電流をiとし、Vbusの電圧をeとすると、コンパレータ21の−端子の電位は、R3・e/(R+R3)であり、+端子の電位は、R2・(e−R・i)である。
【0026】
R2の値を、R3の値よりもやや大きめに設定しておけば、通常状態では、+端子側の電位の方が高く、コンパレータは、“H”レベルを出力する。
【0027】
ところが、Vbusを流れる電流が多くなると、+端子側の電位が下がり、逆転し、コンパレータの出力が“L”レベルに反転する。
【0028】
制御部101は、コンパレータの出力信号126が“L”レベルに反転したことを確認すると、スイッチ部111をOFFする。コンパレータ21が“L”レベルを出力する電流値は、R3・e/(R+R3)>R2・(e‐R・i)である電流値であるので、
i>(e/R)−(R3・(R+R2))/(R・R2・(R+R3))
になると、コンパレータの出力が反転する。したがって、検出したい電流値に合わせて、上記R、R2の値、R3の値を決めておけばよい。
【0029】
図5は、Vbusの過電流を検出した場合における動作を示すフローチャートである。
【0030】
まず、制御部101は、過電流検出部110の出力を監視し、S11で、過電流を検出すると、ステップS12に進み、USB通信部108にコマンドを送り、スイッチ部111をOFFする、つまり、VbusをOFFする。
【0031】
S13では、メモリカードリーダ109にエラーがあることを、操作部107に含まれている表示部に表示する。S14で、操作部107を介して、オペレータが所定の復帰操作を実行すると、S15に進み、USB通信部108にコマンドを送り、スイッチ部111をONし、メモリカードリーダ109にVbusを供給する。
【0032】
上記実施例によれば、簡単な構成によって、メモリカードリーダ109の過電流を検出し、また、過電流を検出すると、メモリカードリーダ109へのVbusの供給、つまり電源供給を、停止することができる。
【0033】
図3は、本発明の第2実施例である記録装置200を示すブロック図である。
【0034】
記録装置200は、記録装置100において、過電流検出部100、スイッチ部111の代わりに、レギュレータ115と電圧検出部116とを有するものである。
【0035】
なお、記録装置100における構成要素101〜109の説明中で行った記録装置100に関する説明は、記録装置200に関する説明と読み替える。
【0036】
垂下機能つきのレギュレータ115は、Vcc(>Vbus)の入力電圧をドロップしてVbusを生成するものであり、内蔵された過電流検出回路によって過電流が検出されると、出力電圧を垂下する。
【0037】
レギュレータ115は、ON/OFF端子付きで、USB通信部108から出力されたON/OFF信号121によって、ON/OFF制御される。電圧検出部116は、Vbusが所定の電圧よりも低くなると、この電圧低下を検知し、検出出力信号128を出力し、制御部101に通知する。
【0038】
上記第1実施例の説明と同様に、メモリカードリーダ109に多大な電力を消費するメモリカードが挿入され、または、故障し過電流が流れるメモリカードがメモリカードリーダ109に挿入され、レギュレータ115の垂下機能が働き、Vbusの電圧が降下し、所定の電圧よりも低くなると、電圧検出部116は上記電圧低下を検出し、信号128を通じて制御部101に通知する。
【0039】
制御部101は、この検出出力を受けると、異常状態であると判断し、USB通信部108にコマンドを送り、レギュレータのON/OFF信号121をOFF状態にさせ、メモリカードリーダ109へのVbusの電圧供給を停止する。
【0040】
その後は、操作部107を介して、オペレータが所定の操作を行うと、再びUSB通信部108にコマンドを送り、レギュレータ115のON/OFF信号121をON状態にさせ、メモリカードリーダ109を復帰させる。
【0041】
図4は、電圧検出部116の具体的な回路例を示す図である。
【0042】
電圧検出部116は、コンパレータ31を有し、基準電圧として3.3Vが与えられ、コンパレータ31は、電圧検出出力信号128を出力する。
【0043】
ここで、過電流によってVbusが垂下し、基準電圧+3.3VよりもVbusが低くなると、コンパレータ31の出力信号128が反転し、過電流であることを制御部101に通知する。上記実施例では、基準電圧を+3.3Vとしたが、他の電圧値を、基準電圧として設定するようにしてもよい。
【0044】
第2実施例によれば、簡単な構成でメモリカードリーダ109の過電流を検出することができ、また、過電流状態になるとVbusの電圧を落とし、つまり電源供給を停止することができる。
【0045】
ところで、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置本体やメモリカードを保護する処理を実行し、その後に、記録装置を通常動作状態に復帰させるには、メモリカードリーダからメモリカードを除去してもらう等のエラー解除処理を、オペレータに実施してもらう必要がある。
【0046】
しかし、エラーの状況やエラーからの復帰方法を、オペレータに詳しく伝えないと、オペレータは、何が起こったのかが分からず、また、どのように処置してよいか分からず、混乱するという不具合が生じる。
【0047】
本発明は、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置本体やメモリカードを保護する処理を実行し、その後に、記録装置を通常動作状態に復帰させる場合、メモリカードリーダが異常状態であることと、異常状態の解除方法と、メモリカードリーダの復帰方法とを、オペレータに分かりやすく通知することができる記録装置を提供することを目的とするものである。
【0048】
図6は、本発明の第3実施例である記録装置300を示すブロック図である。
【0049】
記録装置300は、制御部101と、ROM102と、RAM103と、バッファメモリ104と、記録処理部105と、記録部106と、操作部107と、USB通信部108と、メモリカードリーダ109と、過電流検出部110と、スイッチ部111と、キャラクタジェネレータ118とを有する。
【0050】
制御部101は、ROM102に記憶したプログラムに従って記録装置全体を制御する。ROM102は、記録装置300を制御するための制御プログラムを記憶するメモリである。RAM103は、記録装置300を制御する上で必要な演算処理等を行うために使用されるメモリである。
【0051】
バッファメモリ104は、記録部106で記録する画像データ等を一時記憶するメモリである。記録処理部105は、メモリカードリーダ109から読み出した画像データを、記録処理に最適な形式に変換する記録処理部である。記録部106は、画像データを記録媒体に記録する。操作部107は、記録装置300を操作するための操作部である。USB通信部108は、USBによって、メモリカードリーダ109との間で通信するためのUSB通信部である。
【0052】
メモリカードリーダ109は、Vbusから電源供給を受け、種々のメモリカードに記憶されている画像データを読み出す。過電流検出部110は、Vbusに過電流が流れているかいないかを監視する。スイッチ部111は、USB通信部108から出力されたON/OFF信号121によって、Vbusのメモリカードリーダ109への供給をON/OFFする。キャラクタジェネレータ118は、印字するための文字データを生成する。バス120は、制御部101と各ブロックとを接続する。
【0053】
制御信号121は、スイッチ部111をON/OFFする制御信号である。Vbus122は、USBで規格化され、USB機器を動作させるために電源供給するVbusである。差動信号123、124は、それぞれUSBで規格化された差動信号D+、D−である。125は、GNDであり、検出信号126は、過電流検出部が出力する検出出力信号である。
【0054】
メモリカードリーダ109は、USBインタフェースを有し、USBインタフェースのVbusから電源供給を受けて動作し、CFカード、メモリスティック、SDカード等のメモリカードの読み出しを制御し、USBインタフェースによって、メモリカードリーダ109から読み出した画像データを記録装置300に転送する。
【0055】
制御部101は、USB通信部108を通じて、メモリカードリーダ109から画像データを受信すると、一旦バッファメモリ104に蓄積し、同時にバッファメモリに蓄積した画像データを順次、読み出し、記録処理部105に転送する。記録処理部105は、受信した画像データ(一般的にはJPEGデータ)をデコードし、CMYKの色成分に分解し、さらに色の再現性が向上するように、記録部106の特性や記録媒体の性質(記録紙の種類)に合わせた画像処理を施し、記録部106に転送する。記録部106は、記録処理部105から送られた記録データを記録媒体に記録する。
【0056】
ここで、メモリカードリーダ109に多大な電力を消費するメモリカードが挿入され、または、故障し、過電流が流れるメモリカードが挿入され、過電流検出部110が過電流であることを判定すると、その検出出力信号126によって制御部101に通知し、制御部101は、この検出出力信号126を受けると、異常状態であると判断し、USB通信部108にコマンドを送り、レギュレータのON/OFF信号121をOFF状態にさせ、メモリカードリーダ109へのVbusの供給、つまり電源供給を停止する。
【0057】
図7は、記録装置300において、メモリカードを使用できないことを記録部106が記録した例を示す図である。
【0058】
制御部101は、キャラクタジェネレータ118から印字文字データを生成し、記録処理部105に送り、たとえば図7に示すように表示する。つまり、メモリカードリーダ109に挿入されたメモリカードに異常があることと、メモリカードを外してもらうことと、Vbusの供給を停止しているのでメモリカードリーダ109の動作が停止していることと、その復帰方法とを、記録部106が記録紙に記録する。
【0059】
その後、オペレータによって、記録紙に記録したメモリカードリーダ109の復帰のための操作が行われると、USB通信部108にコマンドを再び送り、レギュレータのON/OFF信号121をON状態にさせ、スイッチ部111をONし、メモリカードリーダ109を復帰させる。
【0060】
次に、記録装置300の動作について説明する。
【0061】
図8は、記録装置300において、Vbusの過電流を検出した場合における動作を示すフローチャートである。
【0062】
まず、制御部101は、過電流検出部110の出力を監視し、S21で、過電流を検出すると、ステップS22に進み、USB通信部108にコマンドを送り、スイッチ部111をOFFする。つまり、VbusをOFFにする。
【0063】
S23では、操作部107に含まれている表示部に、メモリカードリーダ109にエラーがあることを表示し、S24に進み、メモリカードリーダ109に異常があることと、異常状態の解除方法と、メモリカードリーダ109の復帰方法等のメッセージを、記録紙に印字するための印字データをキャラクタジェネレータ118を用いて作成する。
【0064】
S25では、その印字データを記録制御部101に送り、記録部106によって記録紙に印字する。S26では、操作部107を介して、オペレータが所定の復帰操作を実行すると、S27に進み、USB通信部108にコマンドを送り、スイッチ部111をONし、メモリカードリーダ109にVbusを供給する。
【0065】
記録装置300によれば、簡単な構成でメモリカードリーダ109の過電流を検出し、過電流を検出すると、メモリカードリーダ109へのVbusの供給、つまり電源供給を停止するので、メモリカードリーダ109と記録装置300本体とを保護することができ、また、メモリカードリーダ109に異常があることと、異常状態の解除方法と、メモリカードリーダ109の復帰方法とを、記録紙に記録するので、オペレータに分かりやすく通知することができる。
【0066】
ところで、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入されたときに、記録装置とメモリカードリーダとを保護する必要がある。
【0067】
本発明は、この場合に、記録装置本体に影響を及ぼさないようにし、しかも、メモリカードへのアクセスが不可能であることを、記録装置に接続されているパーソナルコンピュータに通知することができる記録装置を提供することを目的とするものである。
【0068】
また、本発明は、想定外の過電流を消費するメモリカードがメモリカードリーダ挿入されたときに、記録装置本体に影響を及ぼさないようにし、しかも、USBの通信プロトコルによって、メモリカードがアクセス不能であることを、USBインタフェースを介して、記録装置と接続されているパーソナルコンピュータに通知するができる記録装置を提供することを目的とするものである。
【0069】
図9は、本発明の第4実施例である記録装置400を示すブロック図である。
【0070】
記録装置400は、制御部101と、ROM102と、RAM103と、バッファメモリ104と、記録処理部105と、記録部106と、操作部107と、USBホスト通信部108と、メモリカードリーダ109と、過電流検出部110と、スイッチ部111と、USBデバイス通信部112と、USBコネクタ113と、バス120とを有する。
【0071】
制御部101は、ROM102に記憶したプログラムに従って記録装置400の全体を制御する。ROM102は、記録装置400を制御する制御プログラムを記憶しているメモリである。RAM103は、記録装置400を制御する上で必要な演算処理等を行うために使用されるメモリである。バッファメモリ104は、記録部106で記録する画像データ等を一時記憶するメモリである。
【0072】
記録処理部105は、メモリカードリーダ109から読み出した画像データを、記録処理に最適な形式に変換する記録処理部である。記録部106は、画像データを記録媒体に記録する。操作部107は、記録装置400を操作するための操作部である。
【0073】
USBホスト通信部108は、USBによって、メモリカードリーダ109との間で通信する通信部であり、記録装置400は、メモリカードリーダ109に対してUSBホストとして動作し、メモリカードリーダ109とのUSB通信を司る。
【0074】
メモリカードリーダ109は、Vbusから電源供給を受け、種々のメモリカードに記憶されている画像データを読み出す。過電流検出部110は、Vbusに過電流が流れているかいないかを監視する。スイッチ部111は、USB通信部108から出力されるON/OFF信号121によって、Vbusのメモリカードリーダ109への供給をON/OFFする。
【0075】
USBデバイス通信部112は、USBによってPC(パーソナルコンピュータ)との間で通信するためのUSBデバイス通信部であり、PCによってスケジューリングされたタイミングで、PCとデータ通信を行う。
【0076】
USBコネクタ113は、USBで規格化されたUSBケーブルを接続するためのUSBコネクタである。バス120は、制御部101と各ブロックとを接続する。
【0077】
制御信号121は、スイッチ部111をON/OFFするための制御信号であり、Vbus122は、USBで規格化され、USB機器を動作させるための電源を供給する。差動信号123、124は、それぞれ、USBで規格化された差動信号D+、D−であり、125は、GNDであり、検出出力信号126は、過電流検出部から出力される検出出力信号である。
【0078】
Vbus131は、USBで規格化され、PCから供給されるVbusであり、USBデバイス通信部112は、この信号の電位によってPCが接続されているか否かを判定する。
【0079】
差動信号132、133は、USBで規格化された差動信号D+、D−であり、この信号線によってPCとのデータのやり取りを行う。134は、GNDであり、USBケーブル141は、USB規格に則ったUSBケーブルであり、501は、PCである。
【0080】
メモリカードリーダ109は、USBインタフェースを有し、USBインタフェースのVbusから電源供給を受けて動作し、CFカード、メモリスティック、SDカード等のメモリカードの読み出し制御を行い、USBインタフェースによってメモリカードリーダ109から読み出した画像データを、記録装置400に転送する。制御部101は、USBホスト通信部108を通じて、メモリカードリーダ109から画像データを受信すると、一旦バッファメモリ104に蓄積し、同時にバッファメモリに蓄積した画像データを順次、読み出し、記録処理部105に転送する。
【0081】
記録処理部105は、受信した画像データ(一般的にはJPEGデータ)をデコードし、CMYKの色成分に分解し、色の再現性がさらに、向上するように、記録部106の特性や記録媒体の性質(記録紙の種類)に合わせた画像処理を施し、記録部106に転送する。記録部106は、記録処理部105から送られた記録データを記録媒体に記録する。
【0082】
ここで、メモリカードリーダ109に多大な電力を消費するメモリカードが挿入され、または故障し、過電流が流れるメモリカードが挿入され、過電流検出部110が過電流であると判定すると、その検出出力信号126によって制御部101に通知し、制御部101は、この検出出力信号126を受けると、異常状態であると判断し、USBホスト通信部108にコマンドを送り、レギュレータのON/OFF信号121をOFF状態にさせ、メモリカードリーダ109へのVbusの供給、つまり電源供給を停止する。
【0083】
その後は、操作部107を介して、オペレータが所定の操作を行うと、USBホスト通信部108に、コマンドを再び送り、レギュレータのON/OFF信号121をON状態にさせ、スイッチ部111をONし、メモリカードリーダ109を復帰させる。
【0084】
図10は、Vbusの過電流を検出した場合の動作を示すフローチャートである。
【0085】
まず、制御部101は、過電流検出部110の出力を監視し、S31で、過電流を検出すると、ステップS32に進み、USB通信部108にコマンドを送り、スイッチ部111をOFFし、つまりVbusをOFFする。
【0086】
S33では、操作部107に含まれている表示部に、メモリカードリーダ109にエラーがあることを表示する。S34では、操作部107を介して、オペレータが所定の復帰操作すると、S35に進み、USB通信部108にコマンドを送り、スイッチ部111をONし、メモリカードリーダ109にVbusを供給する。
【0087】
また、記録装置400は、PC(パーソナルコンピュータ)501と接続するためのUSBインタフェースを持ち、PCからの命令に従って、PC501に記憶されている画像データを受信し、記録部106が記録するか、または、メモリカードに記憶されているデータを読み出し、PC501に転送するという動作が可能である。
【0088】
この場合における動作を、以下、説明する。
【0089】
図11は、記録装置400の各機能について、エンドポイントを設定する例を示す図である。
【0090】
まず、USB規格に則って、図11に示すように記録装置400の各機能について、エンドポイントを設定する。Endpoint0は、コントロール転送を行うためのエンドポイントであり、Endpoint1は、記録装置400の印字機能に割り当てられたエンドポイントであり、PC501は、PC501内部に記憶している画像データを、記録装置400で記録したいときに、Endpoint1にデータを送信する。Endpoint2は、メモリカードに割り当てられたエンドポイントで、PC501は、メモリカードに記憶されたデータを読み出したい場合に、Endpoint2からデータを読み出す。
【0091】
具体的に動作を説明すると、PC501に記憶されている画像データを記録部106が記録する場合、PC501において、記録したい画像データを、記録装置400用のドライバソフトが、記録装置400にとって最適な画像処理を施し、記録装置400のUSBデバイス通信部のEndpoint1に、OUTトークンによって送信する。
【0092】
記録装置400の制御部101は、USBデバイス通信部のEndpoint1に送られた画像データを順次、読み出し、バッファメモリ104に一時蓄える。同時に、バッファメモリ104に蓄えた画像データを順次、読み出し、記録処理部105に転送する。記録処理部105は受信した画像データを記録部106に転送し、記録部106は、送られたデータを記録媒体に記録する。
【0093】
次に、PC501がメモリカードに記憶されているデータを読み出す場合、PC501において、USBデバイス通信部のEndpoint2に、ファイルを指定して読み出し、コマンドを送信する。
【0094】
制御部101は、USBホスト通信部108を通じて、そのコマンドをメモリカードリーダ109に転送し、USBホスト通信部108を通じて、メモリカードレーダ109から指定されたファイルのデータを、受信し、バッファメモリ104に順次、蓄積する。
【0095】
次に、PC501は、USBデバイス通信部112のEndpoint2に、INトークンを発行する。制御部101は、バッファメモリ104に送るべきデータが揃っていたら、そのデータを、USBデバイス通信部112に送り、PC501に送信する。INトークンを受けたときに、まだデータが揃っていない場合、NAKを返して、データが揃うまで、PC501を待たせる。上記動作を、指定されたファイルのデータを全て転送するまで、繰り返す。
【0096】
ここで、メモリカードリーダ109に多大な電力を消費するメモリカードが挿入され、または故障し、過電流が流れるメモリカードが挿入され、過電流検出部110によって過電流であると判定され、メモリカードリーダ109へのVbusの供給、つまり電源供給を停止しているときに、PC501からメモリカードのデータの読み出しのためのINトークンを受けると、メモリカードリーダ109の電源が遮断され、メモリカードにアクセスできないので、制御部101は、そのINトークンに対して、STALLを返す。このINトークンに対してSTALLを返す動作によって、メモリカードがアクセス不能あることを、PC501に通知する。
【0097】
図12は、記録装置400の動作を示すフローチャートである。
【0098】
PC501からEndpoint2に対してINトークンを受信すると、S41に進み、メモリカードリーダ109が動作していることを確認する。すなわち、過電流検出部110の出力が正常状態であることを確認する。正常状態であれば、ステップS42に進み、バッファメモリ104に1パケット分のデータが揃っていたら、ステップS43に進み、1パケット分データをPC501に送信する。
【0099】
S44では、PC501からACKを受信することによって、データがPC501に送られたことを確認する。S42で、バッファメモリ104にまだ1パケット分データが揃っていなければ、S45では、NAKを返し、データが揃うまで、PC501を待たせる。S41で、メモリカードリーダ109が異常状態であること(過電流検出部110が過電流を流していること)を検出し、Vbusの供給が停止していれば、S46では、STALLを返し、メモリカードがアクセス不能であることを、PC501に伝える。
【0100】
また、メモリカードに対するコマンドや、データ書き込みのためのOUTトークンを受信した場合も、上記と同様に、そのOUTトークンに対してSTALLを返すことによって、メモリカードがアクセス不能あることを、PC501に通知する。
【0101】
図13は、記録装置400の動作を示すフローチャートである。
【0102】
PC501からEndpoint2がOUTトークンを受けると、S51では、OUTトークンに続いて送られたデータを受信する。S52に進み、受信したデータを、一時バッファメモリ104に蓄積する。バッファメモリ104に蓄積されたデータは、別のタスクによって、USBホスト通信部108を通じて、メモリカードに送られる。
【0103】
S53では、メモリカードリーダ109が動作していることを確認する。すなわち、過電流検出部110の出力が正常状態であることを確認する。正常状態であれば、PC501にACKを返し、正常にデータを受信したことを伝える。
【0104】
S53で、メモリカードリーダ109が異常状態である(過電流検出部が過電流を検出して、Vbusの供給が停止している)場合、S55で、STALLを返し、メモリカードがアクセス不能であることを、PC501に伝える。
【0105】
記録装置400によれば、簡単な構成で、メモリカードリーダ109の過電流を検出することができ、また、過電流を検出するとメモリカードリーダ109へのVbusの供給(電源供給)を停止し、USBインタフェースによって記録装置400と接続されたPC501に、USBの通信プロトコルによってメモリカードがアクセス不能であることを通知することができる。
【0106】
【発明の効果】
請求項1記載の発明によれば、メモリカードリーダを具備し、種々のメモリカードに記憶されている画像データを記録可能な記録装置において、メモリカードリーダに過電流が流れた場合、上記過電流を検知し、メモリカードリーダへの電源供給を停止するので、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにすることができるという効果を奏する。
【0107】
請求項2記載の発明によれば、メモリカードリーダの電源Vbus上に設けられている過電流検出回路の出力が、過電流状態を示した場合、スイッチ手段によってメモリカードリーダへの電源供給を停止するので、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにすることができるという効果を奏する。
【0108】
請求項3記載の発明によれば、Vbusの電圧監視手段がVbusの電圧の低下を検出すると、過電流状態であると判断し、レギュレータのON/OFF端子を制御し、レギュレータの出力をOFFし、つまりカードリーダへの電源供給を停止するので、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにすることができるという効果を奏する。
【0109】
請求項7記載の発明によれば、メモリカードリーダを具備し、種々のメモリカードに記憶されている画像データを記録可能な記録装置において、メモリカードリーダに過電流が流れた場合、この過電流を検知し、メモリカードリーダへの電源供給を停止するので、想定外の過電流を消費するメモリカードをメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにすることができるという効果を奏し、また、メモリカードリーダが異常状態であること、異常状態の解除方法、メモリカードリーダの復帰方法等のメッセージを記録紙に印字するので、メモリカードリーダの異常とその復帰方法とを、オペレータに分かりやすく通知することができるという効果を奏する。
【0110】
請求項8記載の発明によれば、PCと接続するためのインタフェース手段と、メモリカードリーダとを具備し、種々のメモリカードに記憶されている画像データを記録可能な記録装置において、メモリカードリーダに過電流が流れた場合、この過電流を検知し、メモリカードリーダへの電源供給を停止し、メモリカードがアクセス不能であることを示すステータス信号を、記録装置に接続されているPCに送信することによって、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにし、また、メモリカードへのアクセスが不可能であることを、記録装置に接続されているPCに通知することができるという効果を奏する。
【0111】
請求項9記載の発明によれば、USBインタフェースによってPCと接続する手段と、メモリカードリーダとを具備し、種々のメモリカードに記憶されている画像データを記録可能な記録装置において、メモリカードリーダに過電流が流れた場合、この過電流を検知し、メモリカードリーダへの電源供給を停止し、また、記録装置に接続されているPCから、メモリカードを示すエンドポイントにアクセスされた場合、STALLを返すように動作するので、想定外の過電流を消費するメモリカードがメモリカードリーダに挿入された場合、記録装置とメモリカードリーダとを保護し、記録装置本体に影響を及ぼさないようにすることができるという効果を奏し、USBの通信プロトコルによってメモリカードがアクセス不能であることを、USBインタフェースによって記録装置に接続されたPCに通知することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1実施例である記録装置100を示すブロック図である。
【図2】過電流検出部110の具体例を示す回路図である。
【図3】本発明の第2実施例である記録装置200を示すブロック図である。
【図4】電圧検出部116の具体的な回路例を示す図である。
【図5】Vbusの過電流を検出した場合における動作を示すフローチャートである。
【図6】本発明の第3実施例である記録装置300を示すブロック図である。
【図7】記録装置300において、メモリカードを使用できないことを記録部106が記録した例を示す図である。
【図8】記録装置300において、Vbusの過電流を検出した時の動作を示すフローチャートである。
【図9】本発明の第4実施例である記録装置を示すブロック図である。
【図10】Vbusの過電流を検出した場合の動作を示すフローチャートである。
【図11】記録装置の各機能について、エンドポイントを設定する例を示す図である。
【図12】記録装置の動作を示すフローチャートである。
【図13】記録装置の動作を示すフローチャートである。
【符号の説明】
100、200、300、400…記録装置、
101…制御部、
102…ROM、
103…RAM、
104…バッファメモリ、
105…記録処理部、
106…記録部、
107…操作部、
108…USBホスト通信部、
109…メモリカードリーダ、
110…過電流検出部、
111…スイッチ部、
112…USBデバイス通信部、
113…USBコネクタ、
116…電圧検出部、
118…キャラクタジェネレータ、
120…バス、
501…PC。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recording device connected to a memory card reader via a USB interface, and more particularly to a recording device capable of recording image data stored in a memory card on recording paper.
[0002]
[Prior art]
2. Description of the Related Art With the spread of digital cameras in recent years, a recording device (a recording device having a memory card reader) that records image data shot by a digital camera and stored in various memory cards on recording paper without using a personal computer. ) Is disclosed in JP-A-2001-096844.
[0003]
In this conventional recording apparatus, a control unit of the recording apparatus and a memory card reader are connected by a USB interface, power is supplied from the Vbus of the USB interface to the memory card reader, the memory card reader is operated, and the memory card reader is operated. The image data stored in the memory card inserted in the printer is read out, transferred to the control unit of the recording device via the USB interface, and subjected to image processing and then recorded.
[0004]
[Problems to be solved by the invention]
However, in the above-described conventional example, since the user can insert a favorite memory card into the memory card reader, the recording device does not know what kind of memory card is inserted. Therefore, a memory card that consumes a large amount of power may be inserted, and in some cases, a memory card in which an overcurrent flows due to a failure may be inserted.
[0005]
When an unexpected current flows through the memory card reader in this way, the power capacity of the power supply of the recording device is exceeded, causing a problem that the power supply is broken down, and the recording device operates due to the operation of the power supply protection circuit. This causes a problem that the memory card reader does not work.
[0006]
The present invention provides a recording device that protects a recording device and a memory card reader when a memory card that consumes an unexpected overcurrent is inserted into the memory card reader and does not affect the recording device main body. It is the purpose.
[0007]
Another object of the present invention is to provide a recording apparatus capable of stopping supply of current to a memory card reader when a current of a predetermined value or more flows through the memory card reader.
[0008]
Furthermore, the present invention provides a recording device that stops power supply to a memory card reader by lowering a voltage applied to the memory card reader when a current of a predetermined value or more flows through the memory card reader. The purpose is.
[0009]
[Means for Solving the Problems]
The present invention connects a USB interface, a memory card reader that operates by power supply from the Vbus of the USB interface, and controls reading of data stored in a memory card, and the USB interface and the memory card reader. Connecting means for receiving data read by the memory card reader through the USB interface; means for recording the data received by the receiving means on recording paper; and current monitoring for monitoring the current of the Vbus. And a power supply stopping means for stopping power supply to the Vbus connected to the memory card reader in response to an output signal of the current monitoring means.
[0010]
Embodiments and Examples of the Invention
FIG. 1 is a block diagram showing a recording apparatus 100 according to a first embodiment of the present invention.
[0011]
In the recording device 100, the control unit 101, the ROM 102, the RAM 103, the buffer memory 104, the recording processing unit 105, the recording unit 106, the operation unit 107, the USB communication unit 108, the memory card reader 109, It has a current detection unit 110, a switch unit 111, a bus 120, and a control signal 121.
[0012]
The control unit 101 controls the entire recording apparatus 100 according to a program stored in the ROM 102. The ROM 102 is a memory that stores a control program for controlling the recording device 100. The RAM 103 is a memory used for performing arithmetic processing and the like necessary for controlling the printing apparatus 100. The buffer memory 104 is a memory for temporarily storing image data and the like recorded by the recording unit 106. The recording processing unit 105 is a recording processing unit that converts image data read from the memory card reader 109 into a format optimal for recording processing.
[0013]
The recording unit 106 records image data on a recording medium. The operation unit 107 operates the recording device. The USB communication unit 108 communicates with the memory card reader 109 by USB.
[0014]
The memory card reader 109 receives power supply from Vbus and reads out image data stored in various memory cards. Further, the memory card reader 109 has a USB interface, operates by receiving power supply from the Vbus of the USB interface, controls reading of a memory card such as a CF card, a memory stick, and an SD card, and performs a read control via the USB interface. Then, the image data read from the memory card is transferred to the recording device 100.
[0015]
The overcurrent detection unit 110 monitors whether an overcurrent flows through Vbus. The switch unit 111 turns ON / OFF the supply of Vbus to the memory card reader 109 according to the ON / OFF signal 121 output from the USB communication unit 108.
[0016]
The bus 120 connects the control unit 101 and each block. The control signal 121 is a signal for turning on / off the switch unit 111.
[0017]
The Vbus 122 is standardized by USB and supplies power for operating a USB device.
[0018]
The differential signals 123 and 124 are differential signals D + and D− standardized by USB, respectively, 125 is GND, and the detection output signal 126 is a detection output signal from the overcurrent detection unit. .
[0019]
Upon receiving the image data from the memory card reader 109 via the USB communication unit 108, the control unit 101 temporarily stores the image data in the buffer memory 104, simultaneously reads out the image data stored in the buffer memory 104 sequentially, and sends the image data to the recording processing unit 105. Forward.
[0020]
The recording processing unit 105 decodes the received image data (generally, JPEG data), decomposes the received image data into CMYK color components, and improves the characteristics of the recording unit 106 and the recording medium so as to further improve the color reproducibility. The image processing corresponding to the property (the type of the recording paper) is executed, and is transferred to the recording unit 106. The recording unit 106 records the recording data sent from the recording processing unit on a recording medium.
[0021]
Here, if a memory card that consumes a large amount of power is inserted into the memory card reader 109 or a memory card that fails and an overcurrent flows is inserted, and the overcurrent detection unit 110 determines that an overcurrent has occurred, the detection output A signal 126 is sent to the control unit 101 to notify the control unit 101 of the overcurrent.
[0022]
Upon receiving this detection output signal, the control unit 101 determines that the state is abnormal, sends a command to the USB communication unit 108, turns the regulator ON / OFF signal 121 off, and sends the Vbus signal to the memory card reader 109. Supply, that is, power supply is stopped.
[0023]
Thereafter, when a predetermined operation is performed from the operation unit by the operator, a command is sent again to the USB communication unit 108, the ON / OFF signal 121 of the regulator is turned on, the switch unit 111 is turned on, and the memory card reader 109 is turned on. Let it return.
[0024]
FIG. 2 is a circuit diagram showing a specific example of the overcurrent detection unit 110.
[0025]
The overcurrent detector 110 has a comparator 21 and resistors 22 to 26, and 126 is an overcurrent detection signal. Here, assuming that the current flowing through Vbus is i and the voltage of Vbus is e, the potential of the minus terminal of the comparator 21 is R3 · e / (R + R3), and the potential of the plus terminal is R2 · (e−R I).
[0026]
If the value of R2 is set slightly larger than the value of R3, in the normal state, the potential on the + terminal side is higher, and the comparator outputs the “H” level.
[0027]
However, when the current flowing through Vbus increases, the potential on the + terminal side decreases, reverses, and the output of the comparator is inverted to “L” level.
[0028]
When confirming that the output signal 126 of the comparator has been inverted to the “L” level, the control unit 101 turns off the switch unit 111. The current value at which the comparator 21 outputs the “L” level is a current value that satisfies R3 · e / (R + R3)> R2 · (e−R · i).
i> (e / R)-(R3 * (R + R2)) / (R * R2 * (R + R3))
, The output of the comparator is inverted. Therefore, the values of R, R2, and R3 may be determined according to the current value to be detected.
[0029]
FIG. 5 is a flowchart showing an operation when an overcurrent of Vbus is detected.
[0030]
First, the control unit 101 monitors the output of the overcurrent detection unit 110, and if an overcurrent is detected in S11, proceeds to step S12, sends a command to the USB communication unit 108, and turns off the switch unit 111, that is, Turn off Vbus.
[0031]
In S13, the fact that there is an error in the memory card reader 109 is displayed on a display unit included in the operation unit 107. In S14, when the operator performs a predetermined return operation via the operation unit 107, the process proceeds to S15, where a command is sent to the USB communication unit 108, the switch unit 111 is turned on, and Vbus is supplied to the memory card reader 109.
[0032]
According to the above embodiment, the overcurrent of the memory card reader 109 is detected by a simple configuration, and when the overcurrent is detected, the supply of Vbus to the memory card reader 109, that is, the power supply, can be stopped. it can.
[0033]
FIG. 3 is a block diagram showing a recording apparatus 200 according to a second embodiment of the present invention.
[0034]
The recording apparatus 200 includes a regulator 115 and a voltage detection section 116 instead of the overcurrent detection section 100 and the switch section 111 in the recording apparatus 100.
[0035]
Note that the description of the recording apparatus 100 in the description of the components 101 to 109 in the recording apparatus 100 is replaced with the description of the recording apparatus 200.
[0036]
The regulator 115 with a droop function drops the input voltage of Vcc (> Vbus) to generate Vbus, and droops the output voltage when an overcurrent detection circuit detects an overcurrent.
[0037]
The regulator 115 has an ON / OFF terminal, and is ON / OFF controlled by an ON / OFF signal 121 output from the USB communication unit 108. When Vbus becomes lower than a predetermined voltage, the voltage detection unit 116 detects this voltage drop, outputs a detection output signal 128, and notifies the control unit 101.
[0038]
As described in the first embodiment, a memory card that consumes a large amount of power is inserted into the memory card reader 109, or a memory card that fails and overcurrents is inserted into the memory card reader 109, When the drooping function is activated and the voltage of Vbus drops and becomes lower than a predetermined voltage, the voltage detection unit 116 detects the voltage drop and notifies the control unit 101 via a signal 128.
[0039]
When receiving this detection output, the control unit 101 determines that the state is abnormal, sends a command to the USB communication unit 108, turns the regulator ON / OFF signal 121 off, and sends the Vbus signal to the memory card reader 109. Stop the voltage supply.
[0040]
Thereafter, when the operator performs a predetermined operation via the operation unit 107, a command is sent to the USB communication unit 108 again, the ON / OFF signal 121 of the regulator 115 is turned on, and the memory card reader 109 is returned. .
[0041]
FIG. 4 is a diagram illustrating a specific circuit example of the voltage detection unit 116.
[0042]
The voltage detection unit 116 has a comparator 31 to which 3.3 V is applied as a reference voltage, and the comparator 31 outputs a voltage detection output signal 128.
[0043]
Here, when Vbus drops due to the overcurrent and becomes lower than the reference voltage +3.3 V, the output signal 128 of the comparator 31 is inverted to notify the control unit 101 of the overcurrent. In the above embodiment, the reference voltage is +3.3 V, but another voltage value may be set as the reference voltage.
[0044]
According to the second embodiment, the overcurrent of the memory card reader 109 can be detected with a simple configuration, and when an overcurrent state occurs, the voltage of Vbus can be reduced, that is, the power supply can be stopped.
[0045]
By the way, when a memory card that consumes an unexpected overcurrent is inserted into a memory card reader, a process for protecting the recording device main body and the memory card is executed, and thereafter, the recording device is returned to the normal operation state. It is necessary for the operator to perform an error clearing process such as removing the memory card from the memory card reader.
[0046]
However, if the operator is not informed of the situation of the error and how to recover from the error, the operator will not know what has happened, and will not know how to deal with it. Occurs.
[0047]
According to the present invention, when a memory card that consumes an unexpected overcurrent is inserted into a memory card reader, processing for protecting the recording apparatus main body and the memory card is executed, and thereafter, the recording apparatus is returned to a normal operation state. In this case, it is an object of the present invention to provide a recording device capable of notifying an operator in an easy-to-understand manner that a memory card reader is in an abnormal state, a method of releasing the abnormal state, and a method of returning the memory card reader. is there.
[0048]
FIG. 6 is a block diagram showing a recording apparatus 300 according to a third embodiment of the present invention.
[0049]
The recording device 300 includes a control unit 101, a ROM 102, a RAM 103, a buffer memory 104, a recording processing unit 105, a recording unit 106, an operation unit 107, a USB communication unit 108, a memory card reader 109, It has a current detection unit 110, a switch unit 111, and a character generator 118.
[0050]
The control unit 101 controls the entire recording apparatus according to a program stored in the ROM 102. The ROM 102 is a memory that stores a control program for controlling the recording device 300. The RAM 103 is a memory used for performing arithmetic processing and the like necessary for controlling the printing apparatus 300.
[0051]
The buffer memory 104 is a memory for temporarily storing image data and the like recorded by the recording unit 106. The recording processing unit 105 is a recording processing unit that converts image data read from the memory card reader 109 into a format optimal for recording processing. The recording unit 106 records image data on a recording medium. The operation unit 107 is an operation unit for operating the recording device 300. The USB communication unit 108 is a USB communication unit for communicating with the memory card reader 109 via USB.
[0052]
The memory card reader 109 receives power supply from Vbus and reads out image data stored in various memory cards. The overcurrent detection unit 110 monitors whether an overcurrent is flowing through Vbus. The switch unit 111 turns ON / OFF the supply of Vbus to the memory card reader 109 according to the ON / OFF signal 121 output from the USB communication unit 108. Character generator 118 generates character data for printing. The bus 120 connects the control unit 101 and each block.
[0053]
The control signal 121 is a control signal for turning on / off the switch unit 111. The Vbus 122 is a Vbus that is standardized by USB and supplies power to operate USB devices. The differential signals 123 and 124 are differential signals D + and D− standardized by USB, respectively. Reference numeral 125 denotes GND, and the detection signal 126 is a detection output signal output by the overcurrent detection unit.
[0054]
The memory card reader 109 has a USB interface, operates by receiving power supply from the Vbus of the USB interface, controls reading of a memory card such as a CF card, a memory stick, and an SD card. The image data read from 109 is transferred to the recording device 300.
[0055]
When receiving the image data from the memory card reader 109 via the USB communication unit 108, the control unit 101 temporarily stores the image data in the buffer memory 104, simultaneously reads out the image data stored in the buffer memory sequentially, and transfers the image data to the recording processing unit 105. . The recording processing unit 105 decodes the received image data (generally, JPEG data), decomposes the received image data into CMYK color components, and further improves the characteristics of the recording unit 106 and the recording medium so as to improve color reproducibility. Image processing is performed according to the properties (the type of recording paper), and the image is transferred to the recording unit 106. The recording unit 106 records the recording data sent from the recording processing unit 105 on a recording medium.
[0056]
Here, if a memory card that consumes a large amount of power is inserted into the memory card reader 109 or a memory card that fails and an overcurrent flows is inserted, and the overcurrent detection unit 110 determines that an overcurrent occurs, The control unit 101 is notified by the detection output signal 126. Upon receiving the detection output signal 126, the control unit 101 determines that the state is abnormal, sends a command to the USB communication unit 108, and outputs an ON / OFF signal of the regulator. 121 is turned off, and the supply of Vbus to the memory card reader 109, that is, the power supply is stopped.
[0057]
FIG. 7 is a diagram illustrating an example in which the recording unit 106 records that the memory card cannot be used in the recording device 300.
[0058]
The control unit 101 generates print character data from the character generator 118, sends it to the recording processing unit 105, and displays it, for example, as shown in FIG. That is, there is an abnormality in the memory card inserted into the memory card reader 109, the user has to remove the memory card, and the operation of the memory card reader 109 has stopped because the supply of Vbus has been stopped. The recording unit 106 records the return method on a recording sheet.
[0059]
After that, when the operator performs an operation for returning the memory card reader 109 recorded on the recording paper, a command is sent again to the USB communication unit 108 to turn the regulator ON / OFF signal 121 ON, and the switch unit 111 is turned on, and the memory card reader 109 is returned.
[0060]
Next, the operation of the recording device 300 will be described.
[0061]
FIG. 8 is a flowchart illustrating an operation when the recording device 300 detects an overcurrent of Vbus.
[0062]
First, the control unit 101 monitors the output of the overcurrent detection unit 110, and if an overcurrent is detected in S21, proceeds to step S22, sends a command to the USB communication unit 108, and turns off the switch unit 111. That is, Vbus is turned off.
[0063]
In S23, the display unit included in the operation unit 107 displays that the memory card reader 109 has an error, and proceeds to S24, where there is an abnormality in the memory card reader 109, a method of releasing the abnormal state, A message such as a method of returning the memory card reader 109 or the like is created using the character generator 118 as print data for printing on a recording sheet.
[0064]
In S25, the print data is sent to the recording control unit 101, and the recording unit 106 prints the data on recording paper. In S26, when the operator executes a predetermined return operation via the operation unit 107, the process proceeds to S27, in which a command is sent to the USB communication unit 108, the switch unit 111 is turned on, and Vbus is supplied to the memory card reader 109.
[0065]
According to the recording apparatus 300, the overcurrent of the memory card reader 109 is detected with a simple configuration, and when the overcurrent is detected, the supply of Vbus to the memory card reader 109, that is, the power supply is stopped. And the main body of the recording device 300, and the fact that there is an abnormality in the memory card reader 109, the method of releasing the abnormal state, and the method of returning the memory card reader 109 are recorded on recording paper. The operator can be notified easily.
[0066]
By the way, when a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, it is necessary to protect the recording device and the memory card reader.
[0067]
According to the present invention, in this case, it is possible to prevent the recording apparatus main body from being affected and to notify a personal computer connected to the recording apparatus that access to the memory card is not possible. It is intended to provide a device.
[0068]
Further, the present invention prevents an unexpected overcurrent from being consumed when a memory card reader is inserted into a memory card reader, and furthermore, the memory card cannot be accessed by a USB communication protocol. It is an object of the present invention to provide a recording apparatus capable of notifying that a personal computer connected to the recording apparatus via a USB interface.
[0069]
FIG. 9 is a block diagram showing a recording apparatus 400 according to a fourth embodiment of the present invention.
[0070]
The recording device 400 includes a control unit 101, a ROM 102, a RAM 103, a buffer memory 104, a recording processing unit 105, a recording unit 106, an operation unit 107, a USB host communication unit 108, a memory card reader 109, An overcurrent detection unit 110, a switch unit 111, a USB device communication unit 112, a USB connector 113, and a bus 120 are provided.
[0071]
The control unit 101 controls the entire recording device 400 according to a program stored in the ROM 102. The ROM 102 is a memory that stores a control program for controlling the recording device 400. The RAM 103 is a memory used for performing arithmetic processing and the like necessary for controlling the printing apparatus 400. The buffer memory 104 is a memory for temporarily storing image data and the like recorded by the recording unit 106.
[0072]
The recording processing unit 105 is a recording processing unit that converts image data read from the memory card reader 109 into a format optimal for recording processing. The recording unit 106 records image data on a recording medium. The operation unit 107 is an operation unit for operating the recording device 400.
[0073]
The USB host communication unit 108 is a communication unit that communicates with the memory card reader 109 by USB, and the recording device 400 operates as a USB host with respect to the memory card reader 109, and performs USB communication with the memory card reader 109. Controls communications.
[0074]
The memory card reader 109 receives power supply from Vbus and reads out image data stored in various memory cards. The overcurrent detection unit 110 monitors whether an overcurrent is flowing through Vbus. The switch unit 111 turns ON / OFF the supply of Vbus to the memory card reader 109 in response to an ON / OFF signal 121 output from the USB communication unit 108.
[0075]
The USB device communication unit 112 is a USB device communication unit for communicating with a PC (personal computer) by USB, and performs data communication with the PC at a timing scheduled by the PC.
[0076]
The USB connector 113 is a USB connector for connecting a USB cable standardized by USB. The bus 120 connects the control unit 101 and each block.
[0077]
The control signal 121 is a control signal for turning on / off the switch unit 111, and the Vbus 122 is standardized by USB and supplies power for operating a USB device. The differential signals 123 and 124 are differential signals D + and D− standardized by USB, respectively, 125 is GND, and the detection output signal 126 is a detection output signal output from the overcurrent detection unit. It is.
[0078]
The Vbus 131 is a Vbus standardized by USB and supplied from a PC, and the USB device communication unit 112 determines whether or not the PC is connected based on the potential of this signal.
[0079]
The differential signals 132 and 133 are differential signals D + and D− standardized by USB, and data is exchanged with the PC through these signal lines. 134 is a GND, a USB cable 141 is a USB cable conforming to the USB standard, and 501 is a PC.
[0080]
The memory card reader 109 has a USB interface, operates by receiving power supply from the Vbus of the USB interface, controls reading of a memory card such as a CF card, a memory stick, and an SD card. Is transferred to the recording device 400. Upon receiving the image data from the memory card reader 109 via the USB host communication unit 108, the control unit 101 temporarily stores the image data in the buffer memory 104, simultaneously reads out the image data stored in the buffer memory sequentially, and transfers the image data to the recording processing unit 105. I do.
[0081]
The recording processing unit 105 decodes the received image data (generally JPEG data), decomposes the received image data into CMYK color components, and improves the characteristics of the recording unit 106 and the recording medium so as to further improve the color reproducibility. (The type of recording paper), and transfers the image to the recording unit 106. The recording unit 106 records the recording data sent from the recording processing unit 105 on a recording medium.
[0082]
Here, when a memory card that consumes a large amount of power is inserted into the memory card reader 109 or a memory card in which a fault occurs and an overcurrent flows is inserted, and the overcurrent detection unit 110 determines that an overcurrent occurs, The control unit 101 is notified by the output signal 126. Upon receiving the detection output signal 126, the control unit 101 determines that the state is abnormal, sends a command to the USB host communication unit 108, and outputs the ON / OFF signal 121 of the regulator. Is turned off, and the supply of Vbus to the memory card reader 109, that is, the power supply is stopped.
[0083]
Thereafter, when the operator performs a predetermined operation via the operation unit 107, a command is sent again to the USB host communication unit 108, the ON / OFF signal 121 of the regulator is turned on, and the switch unit 111 is turned on. Then, the memory card reader 109 is returned.
[0084]
FIG. 10 is a flowchart showing an operation when an overcurrent of Vbus is detected.
[0085]
First, the control unit 101 monitors the output of the overcurrent detection unit 110, and if an overcurrent is detected in S31, proceeds to step S32, sends a command to the USB communication unit 108, turns off the switch unit 111, that is, Vbus Is turned off.
[0086]
In step S33, the display unit included in the operation unit 107 displays that the memory card reader 109 has an error. In S34, when the operator performs a predetermined return operation via the operation unit 107, the process proceeds to S35, in which a command is sent to the USB communication unit 108, the switch unit 111 is turned on, and Vbus is supplied to the memory card reader 109.
[0087]
Further, the recording device 400 has a USB interface for connecting to a PC (personal computer) 501, receives image data stored in the PC 501 according to an instruction from the PC, and records the image data in the recording unit 106, or An operation of reading data stored in the memory card and transferring the data to the PC 501 is possible.
[0088]
The operation in this case will be described below.
[0089]
FIG. 11 is a diagram illustrating an example in which an endpoint is set for each function of the recording device 400.
[0090]
First, an endpoint is set for each function of the recording device 400 as shown in FIG. 11 according to the USB standard. Endpoint0 is an endpoint for performing control transfer, Endpoint1 is an endpoint assigned to a printing function of the recording device 400, and the PC 501 transmits image data stored in the PC 501 to the recording device 400. When recording is desired, data is transmitted to Endpoint1. Endpoint2 is an endpoint assigned to the memory card. When the PC 501 wants to read data stored in the memory card, the PC501 reads data from Endpoint2.
[0091]
More specifically, when the recording unit 106 records the image data stored in the PC 501, the driver software for the recording device 400 converts the image data to be recorded in the PC 501 into an optimal image for the recording device 400. Processing is performed and transmitted to the Endpoint 1 of the USB device communication unit of the recording device 400 using an OUT token.
[0092]
The control unit 101 of the printing apparatus 400 sequentially reads out the image data sent to Endpoint 1 of the USB device communication unit, and temporarily stores the image data in the buffer memory 104. At the same time, the image data stored in the buffer memory 104 is sequentially read and transferred to the recording processing unit 105. The recording processing unit 105 transfers the received image data to the recording unit 106, and the recording unit 106 records the transmitted data on a recording medium.
[0093]
Next, when the PC 501 reads data stored in the memory card, the PC 501 specifies and reads a file from the endpoint 2 of the USB device communication unit and transmits a command.
[0094]
The control unit 101 transfers the command to the memory card reader 109 through the USB host communication unit 108, receives the data of the file specified from the memory card radar 109 through the USB host communication unit 108, and stores the data in the buffer memory 104. Accumulate sequentially.
[0095]
Next, the PC 501 issues an IN token to Endpoint2 of the USB device communication unit 112. When the data to be sent to the buffer memory 104 is ready, the control unit 101 sends the data to the USB device communication unit 112 and sends the data to the PC 501. If the data is not yet collected when the IN token is received, NAK is returned and the PC 501 is made to wait until the data is collected. The above operation is repeated until all data of the specified file is transferred.
[0096]
Here, a memory card that consumes a large amount of power is inserted into the memory card reader 109, or a memory card that is broken down and overcurrent flows is inserted, and the overcurrent detection unit 110 determines that an overcurrent has occurred. When receiving an IN token for reading data from the memory card from the PC 501 while the supply of Vbus to the reader 109, that is, the power supply is stopped, the power of the memory card reader 109 is cut off and the memory card is accessed. Since it cannot be performed, the control unit 101 returns STALL for the IN token. By returning STALL to this IN token, the PC 501 is notified that the memory card is inaccessible.
[0097]
FIG. 12 is a flowchart illustrating the operation of the recording apparatus 400.
[0098]
When the IN token is received from the PC 501 to the end point 2, the process advances to S41 to confirm that the memory card reader 109 is operating. That is, it is confirmed that the output of the overcurrent detection unit 110 is in a normal state. If the state is normal, the process proceeds to step S42, and if data for one packet is available in the buffer memory 104, the process proceeds to step S43 to transmit the data for one packet to the PC 501.
[0099]
In S44, by receiving the ACK from the PC 501, it is confirmed that the data has been sent to the PC 501. If the data for one packet has not yet been collected in the buffer memory 104 in S42, a NAK is returned in S45, and the PC 501 is made to wait until the data is collected. In S41, it is detected that the memory card reader 109 is in an abnormal state (that the overcurrent detection unit 110 is passing an overcurrent), and if the supply of Vbus is stopped, in S46, STALL is returned and the memory is returned. The PC 501 is notified that the card is inaccessible.
[0100]
Also, when a command to the memory card or an OUT token for writing data is received, the PC 501 is notified of the inaccessibility of the memory card by returning STALL to the OUT token in the same manner as described above. I do.
[0101]
FIG. 13 is a flowchart illustrating the operation of the recording apparatus 400.
[0102]
When Endpoint2 receives the OUT token from the PC 501, in S51, the data transmitted following the OUT token is received. Proceeding to S52, the received data is stored in the temporary buffer memory 104. The data stored in the buffer memory 104 is sent to the memory card via the USB host communication unit 108 by another task.
[0103]
In S53, it is confirmed that the memory card reader 109 is operating. That is, it is confirmed that the output of the overcurrent detection unit 110 is in a normal state. If the status is normal, an ACK is returned to the PC 501 to inform that the data has been normally received.
[0104]
If the memory card reader 109 is in an abnormal state in S53 (the overcurrent detection unit has detected an overcurrent and the supply of Vbus is stopped), STALL is returned in S55, and the memory card is inaccessible. Is transmitted to the PC 501.
[0105]
According to the recording device 400, the overcurrent of the memory card reader 109 can be detected with a simple configuration. When the overcurrent is detected, the supply of Vbus (power supply) to the memory card reader 109 is stopped. The PC 501 connected to the recording device 400 via the USB interface can be notified that the memory card is inaccessible by the USB communication protocol.
[0106]
【The invention's effect】
According to the first aspect of the present invention, in a recording apparatus including a memory card reader and capable of recording image data stored in various memory cards, when an overcurrent flows through the memory card reader, Is detected and the power supply to the memory card reader is stopped, so if a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader are protected, and the recording device main body is protected. This has the effect that it is possible to prevent the influence from being made.
[0107]
According to the invention of claim 2, when the output of the overcurrent detection circuit provided on the power supply Vbus of the memory card reader indicates an overcurrent state, the power supply to the memory card reader is stopped by the switch means. Therefore, when a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader can be protected so that the recording device body is not affected. To play.
[0108]
According to the third aspect of the invention, when the Vbus voltage monitoring means detects a decrease in the voltage of Vbus, it is determined that an overcurrent state has occurred, the ON / OFF terminal of the regulator is controlled, and the output of the regulator is turned OFF. In other words, since the power supply to the card reader is stopped, if a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader are protected and the recording device body is not affected. This has the effect that it can be prevented from being exerted.
[0109]
According to the seventh aspect of the present invention, in a recording apparatus including a memory card reader and capable of recording image data stored in various memory cards, when an overcurrent flows through the memory card reader, Is detected and the power supply to the memory card reader is stopped, so if a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader are protected and the recording device body It has the effect of not affecting the memory card, and also prints out messages on the recording paper, such as information indicating that the memory card reader is in an abnormal state, how to clear the abnormal state, and how to return the memory card reader. In addition, it is possible to easily notify the operator of the abnormality of the memory card reader and the method of recovering the abnormality from the memory card reader.
[0110]
According to the invention described in claim 8, a recording apparatus comprising an interface means for connecting to a PC and a memory card reader, and capable of recording image data stored in various memory cards, If an overcurrent flows into the memory device, the overcurrent is detected, the power supply to the memory card reader is stopped, and a status signal indicating that the memory card is inaccessible is transmitted to the PC connected to the recording device. In this way, when a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader are protected so that the recording device main body is not affected, and It is possible to notify the PC connected to the recording device that access to the recording device is not possible.
[0111]
According to the ninth aspect of the present invention, there is provided a recording apparatus comprising: a means for connecting to a PC via a USB interface; and a memory card reader, and capable of recording image data stored in various memory cards. If an overcurrent flows, the overcurrent is detected, the power supply to the memory card reader is stopped, and when an endpoint indicating the memory card is accessed from a PC connected to the recording device, Since it operates to return STALL, when a memory card that consumes an unexpected overcurrent is inserted into the memory card reader, the recording device and the memory card reader are protected, and the recording device main body is not affected. The effect that the memory card can not be accessed by the USB communication protocol is exhibited. By SB interface an effect that can be notified to the connected recording device PC.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a recording apparatus 100 according to a first embodiment of the present invention.
FIG. 2 is a circuit diagram showing a specific example of an overcurrent detection unit 110.
FIG. 3 is a block diagram showing a recording apparatus 200 according to a second embodiment of the present invention.
FIG. 4 is a diagram illustrating a specific circuit example of a voltage detection unit 116;
FIG. 5 is a flowchart showing an operation when an overcurrent of Vbus is detected.
FIG. 6 is a block diagram showing a recording apparatus 300 according to a third embodiment of the present invention.
FIG. 7 is a diagram illustrating an example in which a recording unit records that a memory card cannot be used in a recording device.
FIG. 8 is a flowchart illustrating an operation when the overcurrent of Vbus is detected in the printing apparatus 300;
FIG. 9 is a block diagram showing a recording apparatus according to a fourth embodiment of the present invention.
FIG. 10 is a flowchart showing an operation when an overcurrent of Vbus is detected.
FIG. 11 is a diagram illustrating an example of setting an endpoint for each function of the recording apparatus.
FIG. 12 is a flowchart illustrating an operation of the recording apparatus.
FIG. 13 is a flowchart illustrating an operation of the recording apparatus.
[Explanation of symbols]
100, 200, 300, 400 ... recording device,
101 ... control unit,
102 ... ROM,
103 ... RAM,
104 ... buffer memory,
105: recording processing unit,
106 ... Recording unit,
107 operation unit,
108: USB host communication unit
109 ... memory card reader,
110 ... overcurrent detection unit
111 ... switch part,
112 ... USB device communication unit,
113 ... USB connector,
116 ... voltage detection unit,
118 ... Character generator,
120 ... bus,
501 ... PC.

Claims (9)

USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと;
上記USBインタフェースと上記メモリカードリーダとを接続する接続手段と;
上記メモリカードリーダが読み出したデータを、上記USBインタフェースを通じて受信する受信手段と;
上記受信手段が受信したデータを記録紙に記録する手段と;
上記Vbusの電流を監視する電流監視手段と;
上記電流監視手段の出力信号に応じて、上記メモリカードリーダに接続されているVbusへの電源供給を停止する電源供給停止手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
Connection means for connecting the USB interface and the memory card reader;
Receiving means for receiving the data read by the memory card reader through the USB interface;
Means for recording the data received by the receiving means on recording paper;
Current monitoring means for monitoring the Vbus current;
Power supply stopping means for stopping power supply to Vbus connected to the memory card reader in response to an output signal of the current monitoring means;
A recording device comprising:
USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと;
上記USBインタフェースと上記メモリカードリーダとを接続する接続手段と;
上記メモリカードリーダが読み出したデータを、上記USBインタフェースを通じて受信するデータ受信手段と;
上記データ受信手段が受信したデータを記録紙に記録する記録手段と;
Vbusの電流が所定の値を超えたか否かを判定する電流値判定手段と;
Vbusの供給をON/OFFするスイッチ手段と;
上記電流値判定手段の出力信号に応じて、上記スイッチ手段をOFFするスイッチ制御手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
Connection means for connecting the USB interface and the memory card reader;
Data receiving means for receiving data read by the memory card reader through the USB interface;
Recording means for recording the data received by the data receiving means on recording paper;
Current value determining means for determining whether the current of Vbus has exceeded a predetermined value;
Switch means for turning on / off the supply of Vbus;
Switch control means for turning off the switch means in response to an output signal of the current value determination means;
A recording device comprising:
USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと;
上記USBインタフェースと上記メモリカードリーダとを接続する接続手段と;
上記メモリカードリーダが読み出したデータを、上記USBインタフェースを通じて受信するデータ受信手段と;
上記データ受信手段が受信した上記データを、記録紙に記録する記録手段と;
Vbusを供給する垂下機能付きレギュレータと;
上記垂下機能付きレギュレータの出力をON/OFFするする切替手段と;
上記Vbusの電圧を監視する電圧監視手段と;
上記Vbusの電圧が所定の電圧よりも低くなったことを、上記電圧監視手段が検出すると、上記垂下機能付きレギュレータの出力をOFFさせるように、上記切替手段を制御する制御手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
Connection means for connecting the USB interface and the memory card reader;
Data receiving means for receiving data read by the memory card reader through the USB interface;
Recording means for recording the data received by the data receiving means on recording paper;
A regulator with a droop function to supply Vbus;
Switching means for turning on / off the output of the regulator with the droop function;
Voltage monitoring means for monitoring the voltage of Vbus;
Control means for controlling the switching means so as to turn off the output of the regulator with the droop function when the voltage monitoring means detects that the voltage of Vbus has become lower than a predetermined voltage;
A recording device comprising:
請求項1において、
上記電流監視手段の出力に従って、上記メモリカードリーダへのVbusの供給を停止した場合、上記メモリカードリーダへのVbusの供給停止を通知する通知手段を有することを特徴とする記録装置。
In claim 1,
A recording apparatus, comprising: a notifying unit that notifies a stop of the supply of Vbus to the memory card reader when the supply of Vbus to the memory card reader is stopped according to an output of the current monitoring unit.
請求項2において、
上記電流値判定手段の出力に従って、上記スイッチ手段をOFFした場合、上記スイッチ手段をOFFした旨を通知する通知手段を有することを特徴とする記録装置。
In claim 2,
A recording apparatus, comprising: a notifying means for notifying that the switching means is turned off when the switching means is turned off in accordance with an output of the current value judging means.
請求項3において、
上記Vbusの電圧が所定の電圧よりも低くなったことを、上記電圧監視手段が検出し、上記レギュレータの出力をOFFした場合、上記レギュレータの出力をOFFした旨を通知する通知手段を有することを特徴とする記録装置。
In claim 3,
The voltage monitoring means detects that the voltage of the Vbus has become lower than a predetermined voltage, and has a notifying means for notifying that the output of the regulator has been turned off when the output of the regulator has been turned off. Characteristic recording device.
USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されたデータの読み出しを制御するメモリカードリーダと;
上記USBインタフェースと上記メモリカードリーダとを接続する接続手段と;
上記メモリカードリーダが読み出したデータを、上記USBインタフェースを通じて受信するデータ受信手段と;
上記データ受信手段が受信したデータを、記録紙に記録する記録手段と;
キャラクタジェネレータと;
Vbusの電流を監視する電流監視手段と;
上記Vbusの電源供給を停止するVbus電源供給停止手段と;
上記電流監視手段の出力に従って、上記メモリカードリーダへのVbusの電源供給を停止させ、しかも、上記メモリカードリーダの異常状態の解除方法とメモリカードリーダの復帰方法とを記録紙に印字する制御手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
Connection means for connecting the USB interface and the memory card reader;
Data receiving means for receiving data read by the memory card reader through the USB interface;
Recording means for recording the data received by the data receiving means on recording paper;
A character generator;
Current monitoring means for monitoring the current of Vbus;
Vbus power supply stopping means for stopping the power supply to the Vbus;
Control means for stopping the supply of Vbus power to the memory card reader in accordance with the output of the current monitoring means, and for printing on the recording paper a method of releasing an abnormal state of the memory card reader and a method of returning the memory card reader. When;
A recording device comprising:
USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと;
上記メモリカードリーダと接続する第1のUSBインタフェース手段と;
上記メモリカードリーダが読み出したデータを、上記第1のUSBインタフェース手段を通じて受信するデータ受信手段と;
上記データ受信手段が受信したデータを記録紙に記録する記録手段と;
パーソナルコンピュータと接続する第2のインタフェース手段と;
上記パーソナルコンピュータからの命令に従って、上記第1のUSBインタフェース手段を介して、上記メモリカードリーダから受信したデータを、上記第2のインタフェース手段を介して、上記パーソナルコンピュータに送信する送信手段と;
上記パーソナルコンピュータからの命令に従って、上記第2のインタフェース手段を介して、上記パーソナルコンピュータから受信したデータを、上記第1のUSBインタフェース手段を介して、上記メモリカードリーダへ送信する送信手段と;
上記メモリカードリーダへのVbusの電流を監視する電流監視手段と;
上記Vbusの電源供給を停止する電源供給停止手段と;
上記電流監視手段の出力に従って、上記メモリカードリーダへの上記Vbusの電源供給を停止し、さらに、上記パーソナルコンピュータが上記メモリカードリーダにアクセスしたときに、上記電源監視手段の出力に従って、上記メモリカードリーダがアクセス不能であることをパーソナルコンピュータに通知する通知手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
First USB interface means for connecting to the memory card reader;
Data receiving means for receiving the data read by the memory card reader through the first USB interface means;
Recording means for recording the data received by the data receiving means on recording paper;
Second interface means for connecting to a personal computer;
Transmitting means for transmitting data received from the memory card reader via the first USB interface means to the personal computer via the second interface means in accordance with a command from the personal computer;
Transmitting means for transmitting data received from the personal computer via the second interface means to the memory card reader via the first USB interface means in accordance with a command from the personal computer;
Current monitoring means for monitoring the Vbus current to the memory card reader;
Power supply stopping means for stopping the power supply of the Vbus;
The power supply of the Vbus to the memory card reader is stopped in accordance with the output of the current monitoring means, and further, when the personal computer accesses the memory card reader, the memory card is read in accordance with the output of the power monitoring means. Notification means for notifying the personal computer that the reader is inaccessible;
A recording device comprising:
USBインタフェースと;
上記USBインタフェースのVbusからの電源供給によって動作し、メモリカードに記憶されているデータの読み出しを制御するメモリカードリーダと;
上記メモリカードリーダと接続する第1のUSBインタフェース手段と;
上記メモリカードリーダが読み出したデータを、上記第1のUSBインタフェース手段を通じて受信するデータ受信手段と;
上記データ受信手段が受信したデータを記録紙に記録する記録手段と;
上記メモリカードリーダへのVbusの電流を監視する上記電流監視手段と;
上記Vbusの電源供給を停止する電源供給停止手段と;
パーソナルコンピュータと接続する第2のUSBインタフェース手段と;
上記メモリカードリーダに、記録装置とは異なるエンドポイントを割り当て、上記電流監視手段の出力に従って、上記メモリカードリーダへのVbusの電源供給を停止し、さらに、上記Vbusから上記メモリカードリーダへの電源供給を停止しているときであって、上記パーソナルコンピュータからメモリカードリーダを示すエンドポイントにアクセスされたときに、STALLを返す制御手段と;
を有することを特徴とする記録装置。
USB interface;
A memory card reader that operates by power supply from the Vbus of the USB interface and controls reading of data stored in the memory card;
First USB interface means for connecting to the memory card reader;
Data receiving means for receiving the data read by the memory card reader through the first USB interface means;
Recording means for recording the data received by the data receiving means on recording paper;
Said current monitoring means for monitoring the current of Vbus to said memory card reader;
Power supply stopping means for stopping the power supply of the Vbus;
Second USB interface means for connecting to a personal computer;
An endpoint different from that of the recording device is assigned to the memory card reader, the power supply of Vbus to the memory card reader is stopped according to the output of the current monitoring means, and the power supply from the Vbus to the memory card reader is further stopped. Control means for returning STALL when the supply is stopped and the personal computer accesses the endpoint indicating the memory card reader;
A recording device comprising:
JP2002180952A 2002-06-21 2002-06-21 Recording apparatus Pending JP2004029893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002180952A JP2004029893A (en) 2002-06-21 2002-06-21 Recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002180952A JP2004029893A (en) 2002-06-21 2002-06-21 Recording apparatus

Publications (1)

Publication Number Publication Date
JP2004029893A true JP2004029893A (en) 2004-01-29

Family

ID=31177913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002180952A Pending JP2004029893A (en) 2002-06-21 2002-06-21 Recording apparatus

Country Status (1)

Country Link
JP (1) JP2004029893A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006020495A (en) * 2004-06-03 2006-01-19 Canon Inc Motor driver circuit, control method therefor, and electronic equipment
CN100464310C (en) * 2005-12-23 2009-02-25 英业达股份有限公司 Prompting system and method for current overload state
US9086868B2 (en) 2011-11-18 2015-07-21 Canon Kabushiki Kaisha Hub device and system using the same
JP2015174374A (en) * 2014-03-17 2015-10-05 キヤノン株式会社 Image forming device and control method for the same, and program
JP2015174373A (en) * 2014-03-17 2015-10-05 キヤノン株式会社 Information processor, image formation device, control method thereof and program
US9244508B2 (en) 2012-01-27 2016-01-26 Panasonic Intellectual Property Management Co., Ltd. Temporarily switching an electronic device to battery power to handle inrush upon connection of an external device
JP2016072685A (en) * 2014-09-26 2016-05-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006020495A (en) * 2004-06-03 2006-01-19 Canon Inc Motor driver circuit, control method therefor, and electronic equipment
JP4612867B2 (en) * 2004-06-03 2011-01-12 キヤノン株式会社 Power supply circuit, motor driver circuit, electronic device, and recording apparatus
CN100464310C (en) * 2005-12-23 2009-02-25 英业达股份有限公司 Prompting system and method for current overload state
US9086868B2 (en) 2011-11-18 2015-07-21 Canon Kabushiki Kaisha Hub device and system using the same
US9244508B2 (en) 2012-01-27 2016-01-26 Panasonic Intellectual Property Management Co., Ltd. Temporarily switching an electronic device to battery power to handle inrush upon connection of an external device
JP2015174374A (en) * 2014-03-17 2015-10-05 キヤノン株式会社 Image forming device and control method for the same, and program
JP2015174373A (en) * 2014-03-17 2015-10-05 キヤノン株式会社 Information processor, image formation device, control method thereof and program
JP2016072685A (en) * 2014-09-26 2016-05-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
US7653772B2 (en) Control system, electronic device and image forming apparatus
KR100572454B1 (en) Printing apparatus, information recording medium, interfacing apparatus, control method of printing apparatus, and control method of interfacing apparatus
JP4566101B2 (en) Control system and image forming apparatus
JP2005033460A (en) Image forming system
CN1668472A (en) Printing system
US20050050371A1 (en) Image sensing apparatus and power managing method
US8817287B2 (en) Image forming apparatus, method for controlling the same, and storage medium
JP2004029893A (en) Recording apparatus
JP2008250736A (en) Mobile storage medium
JP2010041307A (en) Image forming apparatus and method
JP4001151B2 (en) Printing device
JP2004094821A (en) Recording device
JPH1044564A (en) Image processing equipment
JP3676077B2 (en) Interface equipment
JP3739581B2 (en) Interface device
JP4594003B2 (en) Printing apparatus and control method of printing apparatus
JP2010201705A (en) Image forming apparatus, method for controlling image forming apparatus, and program
JP2007328574A (en) Printing system and print program
JP2003341183A (en) Printer system
JP2001347706A (en) Printer and recording medium
JP2006340047A (en) Electronic device
JP2005267370A (en) Information processor and hard disk device
JP3613502B2 (en) Image forming system and peripheral devices thereof
JP2003030127A (en) Sdio host controller
JP7145752B2 (en) PRINTING SYSTEM, HOST DEVICE, PRINT CONTROL METHOD, AND PROGRAM