JP5978641B2 - Printing apparatus and control method thereof - Google Patents

Printing apparatus and control method thereof Download PDF

Info

Publication number
JP5978641B2
JP5978641B2 JP2012030410A JP2012030410A JP5978641B2 JP 5978641 B2 JP5978641 B2 JP 5978641B2 JP 2012030410 A JP2012030410 A JP 2012030410A JP 2012030410 A JP2012030410 A JP 2012030410A JP 5978641 B2 JP5978641 B2 JP 5978641B2
Authority
JP
Japan
Prior art keywords
power
power supply
carriage
operation mode
printing apparatus
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.)
Active
Application number
JP2012030410A
Other languages
Japanese (ja)
Other versions
JP2013166294A (en
Inventor
清司 ▲高▼松
清司 ▲高▼松
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012030410A priority Critical patent/JP5978641B2/en
Publication of JP2013166294A publication Critical patent/JP2013166294A/en
Application granted granted Critical
Publication of JP5978641B2 publication Critical patent/JP5978641B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、USBバスパワーによる給電を受けて動作する印刷装置およびその制御方法に関する。   The present invention relates to a printing apparatus that operates by receiving power from USB bus power and a control method thereof.

従来より、USB(Universal Serial Bus)インターフェースからの電力(USBバスパワー)だけで動作するデバイスが提案されている。かかるデバイスとして、特許文献1には、USBバスパワーで動作するデジタルビデオカメラ(撮像装置)が記載されている。このデジタルビデオカメラは、主電源(AC電源またはバッテリー)からの電力を入力する端子と、USBバスパワーを入力する端子と、各端子毎に供給される電力が十分であるか否かを検出する電源検出部と、主電源の電力をデジタルビデオカメラの全てのブロックに供給するための主電源用スイッチと、USBバスパワーをデジタルビデオカメラの一部のブロックのみに供給するためのバスパワー用スイッチと、を備える。このデジタルビデオカメラでは、主電源からの電力が十分であるか否かを判定し、主電源からの電力が十分である場合にはデジタルビデオカメラとしての通常の動作の全てが可能となるように主電源用スイッチをオンとすると共にバスパワー用スイッチをオフとし、主電源からの電力が十分でない場合にはさらにUSBバスパワーからの電力が十分であるか否かを判定し、USBバスパワーからの電力が十分である場合には主電源用スイッチをオフとすると共にバスパワー用スイッチをオンとしている。これにより、消費電力が比較的高いデジタルビデオカメラでも、USBバスパワーを用いて動作させることを可能としている。   Conventionally, devices that operate only with electric power (USB bus power) from a USB (Universal Serial Bus) interface have been proposed. As such a device, Patent Document 1 describes a digital video camera (imaging device) that operates on USB bus power. This digital video camera detects a terminal for inputting power from a main power supply (AC power supply or battery), a terminal for inputting USB bus power, and whether or not power supplied to each terminal is sufficient. A power detection unit, a main power switch for supplying main power to all blocks of the digital video camera, and a bus power switch for supplying USB bus power to only a part of the blocks of the digital video camera And comprising. In this digital video camera, it is determined whether or not the power from the main power source is sufficient, and when the power from the main power source is sufficient, all the normal operations as a digital video camera are possible. When the main power switch is turned on and the bus power switch is turned off, if the power from the main power supply is not enough, it is further determined whether the power from the USB bus power is sufficient. When the power is sufficient, the main power switch is turned off and the bus power switch is turned on. As a result, even a digital video camera with relatively high power consumption can be operated using USB bus power.

特開2005−71274号公報JP 2005-71274 A

このように、USBバスパワーを用いて動作する機器では、USBバスパワーの給電電力が制限されているため、システムダウンを起こすことのないようUSBバスパワーの給電電力を監視し、適切に対処することが求められる。特に、印刷装置は消費電力が比較的高いことから、USBバスパワーを監視して適切に対応することは、印刷装置の正常な動作を確保する上で極めて重要な課題として考えることができる。   In this way, in devices that operate using USB bus power, the power supply power of USB bus power is limited. Therefore, the power supply power of USB bus power is monitored so as not to cause system down, and appropriate measures are taken. Is required. In particular, since the printing apparatus consumes relatively high power, monitoring the USB bus power and responding appropriately can be considered as an extremely important issue in ensuring the normal operation of the printing apparatus.

本発明の印刷装置およびその制御方法は、印刷装置へのUSBバスパワーの給電状態を監視して適切に対処することを主目的とする。   The main purpose of the printing apparatus and the control method thereof according to the present invention is to monitor the power supply state of the USB bus power to the printing apparatus and take appropriate measures.

本発明の印刷装置およびその制御方法は、上述の主目的を達成するために以下の手段を採った。   The printing apparatus and the control method thereof according to the present invention employ the following means in order to achieve the main object described above.

本発明の印刷装置は、
USBバスパワーによる給電を受けて動作する印刷装置であって、
前記USBバスパワーの給電電力を測定する給電電力測定手段と、
前記USBバスパワーの給電規格値の範囲内で動作するよう前記給電電力測定手段により測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行する動作モード選択実行手段と、
を備えることを要旨とする。
The printing apparatus of the present invention includes:
A printing device that operates by receiving power from USB bus power,
A feeding power measuring means for measuring the feeding power of the USB bus power;
One operation mode is selected and executed from a plurality of operation modes having different power consumption peaks based on the power supply power measured by the power supply power measuring means so as to operate within the range of the power supply standard value of the USB bus power. An operation mode selection execution means;
It is a summary to provide.

この本発明の印刷装置では、USBバスパワーの給電電力を測定し、USBバスパワーの給電規格値の範囲内で動作するよう測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行する。これにより、印刷装置へのUSBバスパワーの給電状態を監視してこれに適切に対処することができる。   In the printing apparatus of the present invention, the USB bus power supply power is measured, and a plurality of operation modes having different power consumption peaks based on the supply power measured to operate within the USB bus power supply standard value range. One operation mode is selected and executed. As a result, the power supply state of the USB bus power to the printing apparatus can be monitored and this can be appropriately dealt with.

こうした本発明の印刷装置において、前記動作モード選択実行手段は、印刷速度が異なる複数のモードのうち前記測定された給電電力が高いほど印刷速度が遅くなる動作モードを選択して実行する手段であるものとすることもできる。第1の駆動部と第2の駆動部とを含む複数の駆動部の動作に伴って印刷を実行する態様の本発明の印刷装置において、前記動作モード選択実行手段は、前記測定された給電電力が所定値未満の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記所定値以上の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重ならない動作モードを選択して実行する手段であるものとすることもできる。こうすれば、消費電力のピークをより確実に抑制することができ、USBバスパワーの給電能力が比較的低い場合であっても印刷を実行することが可能となる。   In such a printing apparatus of the present invention, the operation mode selection execution means is a means for selecting and executing an operation mode in which the printing speed becomes slower as the measured power supply power is higher among a plurality of modes having different printing speeds. It can also be. In the printing apparatus according to the aspect of the invention in which printing is performed in accordance with operations of a plurality of driving units including the first driving unit and the second driving unit, the operation mode selection execution unit includes the measured power supply power. Is less than a predetermined value, an operation mode in which the operation of the first drive unit and the operation of the second drive unit overlap is selected and executed, and the measured power supply is greater than or equal to the predetermined value It is also possible to select and execute an operation mode in which the operation of the first drive unit and the operation of the second drive unit do not overlap. In this way, the peak of power consumption can be more reliably suppressed, and printing can be executed even when the power supply capability of USB bus power is relatively low.

また、複数の駆動部の動作に伴って印刷を実行する態様の本発明の印刷装置において、前記複数の駆動部として、搬送用モーターの駆動により記録媒体を搬送する搬送手段と、記録液体を前記記録媒体に吐出する吐出ヘッドと、キャリッジモーターの駆動により前記吐出ヘッドを前記記録媒体の搬送方向に直交する方向に移動させるキャリッジと、を備え、前記動作モード選択実行手段は、前記測定された給電電力が第1の閾値未満の場合には前記記録媒体の搬送動作と前記キャリッジの加速動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記第1の閾値以上の場合には前記記録媒体の搬送動作と前記キャリッジの加速動作とが重ならない動作モードを選択して実行する手段であるものとすることもできる。こうすれば、USBバスパワーの給電能力が比較的低い場合であっても印刷品質を確保しつつ印刷を実行することが可能となる。   Further, in the printing apparatus according to the aspect of the invention in which printing is performed in accordance with the operation of the plurality of driving units, the plurality of driving units include a conveyance unit that conveys a recording medium by driving a conveyance motor, and the recording liquid. An ejection head that ejects the recording medium; and a carriage that moves the ejection head in a direction orthogonal to the conveyance direction of the recording medium by driving a carriage motor, and the operation mode selection execution unit includes the measured power supply When the power is less than the first threshold, an operation mode in which the recording medium conveyance operation and the carriage acceleration operation overlap is selected and executed, and the measured power supply power is greater than or equal to the first threshold Further, it may be a means for selecting and executing an operation mode in which the recording medium conveyance operation and the carriage acceleration operation do not overlap. This makes it possible to execute printing while ensuring print quality even when the power supply capability of the USB bus power is relatively low.

さらに、複数の駆動部の動作に伴って印刷を実行する態様の本発明の印刷装置において、前記複数の駆動部として、搬送用モーターの駆動により記録媒体を搬送する搬送手段と、記録液体を前記記録媒体に吐出する吐出ヘッドと、キャリッジモーターの駆動により前記吐出ヘッドを前記記録媒体の搬送方向に直交する方向に移動させるキャリッジと、を備え、前記動作モード選択実行手段は、前記測定された給電電力が第2の閾値未満の場合には前記キャリッジの加速動作と前記吐出ヘッドの吐出動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記第2の閾値以上の場合には前記キャリッジの加速動作と前記吐出ヘッドの吐出動作とが重ならない動作モードを選択して実行する手段であるものとすることもできる。こうすれば、USBバスパワーの給電能力が比較的低い場合であっても印刷品質を確保しつつ印刷を実行することが可能となる。   Furthermore, in the printing apparatus according to the aspect of the invention that performs printing in accordance with the operation of a plurality of drive units, the plurality of drive units include a conveyance unit that conveys a recording medium by driving a conveyance motor, and the recording liquid. An ejection head that ejects the recording medium; and a carriage that moves the ejection head in a direction orthogonal to the conveyance direction of the recording medium by driving a carriage motor, and the operation mode selection execution unit includes the measured power supply When the power is less than the second threshold, the operation mode in which the acceleration operation of the carriage and the ejection operation of the ejection head overlap is selected and executed, and the measured power supply power is greater than or equal to the second threshold Further, it may be a means for selecting and executing an operation mode in which the acceleration operation of the carriage and the discharge operation of the discharge head do not overlap. This makes it possible to execute printing while ensuring print quality even when the power supply capability of the USB bus power is relatively low.

本発明の印刷装置の制御方法は、
USBバスパワーによる給電を受けて動作する印刷装置の制御方法であって、
前記USBバスパワーの給電電力を測定し、前記USBバスパワーの給電規格値の範囲内で動作するよう前記測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行する
ことを要旨とする。
The control method of the printing apparatus of the present invention includes:
A method of controlling a printing apparatus that operates by receiving power from USB bus power,
One operation mode from a plurality of operation modes in which the power consumption of the USB bus power is measured and the peak of power consumption differs based on the measured power supply power so as to operate within the range of the power supply standard value of the USB bus power The main point is to select and execute.

この本発明の印刷装置の制御方法によれば、USBバスパワーの給電電力を測定し、USBバスパワーの給電規格値の範囲内で動作するよう測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行する。これにより、印刷装置へのUSBバスパワーの給電状態を監視してこれに適切に対処することができる。   According to the control method of the printing apparatus of the present invention, the power supply power of the USB bus power is measured, and the peak of the power consumption is based on the power supply power measured to operate within the range of the power supply standard value of the USB bus power. One operation mode is selected from a plurality of different operation modes and executed. As a result, the power supply state of the USB bus power to the printing apparatus can be monitored and this can be appropriately dealt with.

プリントシステムの概略構成図。1 is a schematic configuration diagram of a print system. コンピューター10およびプリンター20の機能ブロック図。2 is a functional block diagram of the computer 10 and the printer 20. FIG. 電源回路50の概略構成図。1 is a schematic configuration diagram of a power supply circuit 50. FIG. バスパワー供給時印刷処理ルーチンの一例を示すフローチャート。6 is a flowchart illustrating an example of a printing process routine when supplying bus power. 通常モード印刷における消費電力の時間変化を示す説明図。Explanatory drawing which shows the time change of the power consumption in normal mode printing. 第1低速モード印刷における消費電力の時間変化を示す説明図。Explanatory drawing which shows the time change of the power consumption in 1st low speed mode printing. 第2低速モード印刷における消費電力の時間変化を示す説明図。Explanatory drawing which shows the time change of the power consumption in 2nd low speed mode printing.

次に、本発明の実施の形態を図面を用いて説明する。図1は、プリントシステムの構成の概略を示す構成図であり、図2は、プリントシステムを構成するコンピューター10およびプリンター20の機能ブロックを示すブロック図であり、図3は、電源回路50の構成の概略を示す構成図である。本実施形態のプリントシステムは、コンピューター10とプリンター20とをUSBケーブル60を介して接続されたものとして構成されている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an outline of the configuration of a printing system, FIG. 2 is a block diagram showing functional blocks of a computer 10 and a printer 20 that make up the printing system, and FIG. 3 shows a configuration of a power supply circuit 50. It is a block diagram which shows the outline of this. The printing system according to the present embodiment is configured as a computer 10 and a printer 20 connected via a USB cable 60.

コンピューター10は、図2に示すように、中央演算処理装置としてのCPU12や各種アプリケーションやユーザーファイル,プリンタードライバーなどが記憶されたハードディスクドライブ(HDD)13,データを一時的に記憶するRAM14などが組み込まれたコンピューター本体11と、入力装置としてのキーボード(およびマウス)16と、表示装置としてのディスプレイ19とを備える汎用のコンピューターとして構成されている。コンピューター本体11は、CPU12やHDD13,RAM14の他に、キーボード16からの文字入力を行なうインターフェース15や、USBポート17aに接続されたUSBケーブル60を介して周辺機器(本実施形態ではプリンター20)との通信を行なうUSB2.0規格準拠のUSBホストコントローラー17、ディスプレイ19の表示制御を行なう表示用コントローラー18を備えており、これらはバスを介して電気的に接続されている。ここで、USBコントローラー17は、USBバスパワード(USBバスパワー)による駆動に対応している。USBコントローラー17は、供給電流を監視しており、供給電流が上限値を超えると、USBポート17aをシャットダウンして給電を停止する。なお、USBバスパワーは、USB2.0規格によれば給電電圧が5V(±10%)で最大電流が500mAまでとされているが、その給電能力はホスト機器毎に異なる。   As shown in FIG. 2, the computer 10 includes a CPU 12 as a central processing unit, a hard disk drive (HDD) 13 in which various applications, user files, printer drivers, etc. are stored, and a RAM 14 in which data is temporarily stored. The computer main body 11, a keyboard (and mouse) 16 as an input device, and a display 19 as a display device are configured as a general-purpose computer. In addition to the CPU 12, HDD 13, and RAM 14, the computer main body 11 is connected to a peripheral device (the printer 20 in this embodiment) via the interface 15 for inputting characters from the keyboard 16 and the USB cable 60 connected to the USB port 17 a. A USB host controller 17 compliant with the USB 2.0 standard and a display controller 18 for controlling the display 19 are electrically connected via a bus. Here, the USB controller 17 supports driving by USB bus power (USB bus power). The USB controller 17 monitors the supply current, and when the supply current exceeds the upper limit value, the USB port 17a is shut down to stop power feeding. According to the USB 2.0 standard, the USB bus power has a power supply voltage of 5 V (± 10%) and a maximum current of up to 500 mA. However, the power supply capacity differs depending on the host device.

本実施形態のプリンター20は、印刷機構40を内蔵するインクジェット方式のプリンターとして構成されている。印刷機構40は、図2に示すように、左右方向(主走査方向)にループ状に架け渡されたキャリッジベルト43により駆動されガイド42に沿って左右に往復するキャリッジ41と、キャリッジ41にシアン・マゼンタ・イエロー・ブラック等の各色のインクを供給するインクカートリッジ44と、圧電素子に電圧を印加して変形させることにより各インクカートリッジ44から供給された各インクに圧力をかけてノズルから用紙Sに向けてインクを吐出する印刷ヘッド45と、キャリッジベルト43を駆動してキャリッジ41を主走査方向に往復動させるキャリッジモーター46と、キャリッジ41の移動方向に直交する副走査方向に用紙Sを搬送する紙送りローラー47と、紙送りローラー47を駆動する紙送りモーター48と、を備える。ここで、印刷ヘッド45はヘッドドライバー45a(図3参照)により駆動され、キャリッジモーター46はモータドライバー46a(図3参照)により駆動され、紙送りモーター48はモータドライバー48a(図3参照)により駆動される。なお、インクカートリッジ44は、本実施形態では、印刷機構40の下方に取り付けられており、インクカートリッジ44がキャリッジ41上に搭載されていない、いわゆるオフキャリッジタイプである。勿論、インクカットリッジをキャリッジ41上に搭載するオンキャリッジタイプを採用するものとしても構わない。   The printer 20 of the present embodiment is configured as an ink jet printer that includes a printing mechanism 40. As shown in FIG. 2, the printing mechanism 40 is driven by a carriage belt 43 that is looped in the left-right direction (main scanning direction) and reciprocates left and right along a guide 42. An ink cartridge 44 that supplies ink of each color such as magenta, yellow, and black, and a sheet S from the nozzle by applying pressure to the piezoelectric element to deform each ink supplied from each ink cartridge 44 A print head 45 that ejects ink toward the head, a carriage motor 46 that drives the carriage belt 43 to reciprocate the carriage 41 in the main scanning direction, and transports the paper S in the sub-scanning direction orthogonal to the moving direction of the carriage 41. A paper feed roller 47 for driving, and a paper feed motor 48 for driving the paper feed roller 47. . Here, the print head 45 is driven by a head driver 45a (see FIG. 3), the carriage motor 46 is driven by a motor driver 46a (see FIG. 3), and the paper feed motor 48 is driven by a motor driver 48a (see FIG. 3). Is done. In the present embodiment, the ink cartridge 44 is a so-called off-carriage type that is attached below the printing mechanism 40 and is not mounted on the carriage 41. Of course, an on-carriage type in which the ink cut ridge is mounted on the carriage 41 may be adopted.

また、本実施形態のプリンター20は、その制御系としては、図2に示すように、プリンター全体の制御を司るメインコントローラー30と、メモリーカードスロット37に挿入されたメモリーカードMCに対してデータの書き込みと読み出しとを制御するメモリーカードコントローラー38と、印刷機構40の制御を司るプリンターASIC49と、ホスト機器としてのコンピューター10と通信するためのUSBデバイスコントローラー58と、プリンター20のパワーデバイス(印刷ヘッド45やキャリッジモーター46,紙送りモーター48など)とロジックデバイス(メインコントローラー30やメモリーカードコントローラー38,プリンターASIC49,USBデバイスコントローラー58など)に対して動作に必要な電力を供給する電源回路50と、を備える。なお、プリンター20は、本実施形態では、メインコントローラー30とメモリーカードコントローラー38とプリンターASIC49とUSBデバイスコントローラー58とが1チップ上に集積されたシステムオンチップ(以下、SOCという)21として構成されている(図3参照)。   Further, as shown in FIG. 2, the printer 20 of the present embodiment has a main controller 30 that controls the entire printer and a memory card MC inserted into the memory card slot 37 as shown in FIG. A memory card controller 38 for controlling writing and reading, a printer ASIC 49 for controlling the printing mechanism 40, a USB device controller 58 for communicating with the computer 10 as a host device, and a power device (print head 45) of the printer 20. And carriage motor 46, paper feed motor 48, etc.) and logic devices (main controller 30, memory card controller 38, printer ASIC 49, USB device controller 58, etc.) It includes a power supply circuit 50 for supplying a. In the present embodiment, the printer 20 is configured as a system-on-chip (hereinafter referred to as an SOC) 21 in which a main controller 30, a memory card controller 38, a printer ASIC 49, and a USB device controller 58 are integrated on one chip. (See FIG. 3).

メインコントローラー30は、CPU31を中心とするマイクロプロセッサーとして構成されており、各種処理プログラムや各種データ、各種テーブルなどを記憶するROM32と、一時的にデータを記憶するRAM33と、書き換え可能で電源を切ってもデータは保持されるフラッシュメモリー34と、電源ボタン36からの操作信号を入力するインターフェース35(I/F)とを備える。このメインコントローラー30は、メモリーカードスロット37に挿入されているメモリーカードMCから画像ファイルをメモリーカードコントローラー38を介して入力し、印刷機構40の駆動状態を検出する各種センサ(例えば、キャリッジ41のポジションを検出するキャリッジポジションセンサや紙送りモーター48の回転角を検出する回転角センサなど)からの検出信号をプリンターASIC49を介して入力し、コンピューター10からの受信データをUSBデバイスコントローラー58を介して入力している。また、メインコントローラー30は、コンピューター10側へ送信する送信データをUSBデバイスコントローラー58に出力し、印刷機構40の駆動指令をプリンターASIC48に出力している。   The main controller 30 is configured as a microprocessor centered on a CPU 31, and can be rewritten with a ROM 32 for storing various processing programs, various data, various tables, and a RAM 33 for temporarily storing data. Even with this, a flash memory 34 for holding data and an interface 35 (I / F) for inputting an operation signal from the power button 36 are provided. The main controller 30 inputs image files from the memory card MC inserted in the memory card slot 37 via the memory card controller 38 and detects various sensors (for example, the position of the carriage 41) for detecting the driving state of the printing mechanism 40. Detection signal from a carriage position sensor that detects the rotation angle of the paper feed motor 48 and the rotation angle sensor that detects the rotation angle of the paper feed motor 48 are input via the printer ASIC 49, and received data from the computer 10 is input via the USB device controller 58. doing. Further, the main controller 30 outputs transmission data to be transmitted to the computer 10 side to the USB device controller 58 and outputs a drive command for the printing mechanism 40 to the printer ASIC 48.

USBデバイスコントローラー58は、本実施形態では、USB2.0規格準拠のUSBコントローラーとして構成されており、USBケーブル60を介して通信データのやり取りを行なう。USBケーブル60は、VBUSラインおよびグランド(GND)ラインからなる電源系ラインと、D+ラインおよびD−ラインからなる信号系ラインとを有しており、一端にはコンピューター10側のUSBポート17aに接続される標準Aプラグが設けられ、他端にはプリンター20側のUSBポート58aに接続される標準Bプラグが設けられている。   In this embodiment, the USB device controller 58 is configured as a USB controller compliant with the USB 2.0 standard, and exchanges communication data via the USB cable 60. The USB cable 60 has a power system line composed of a VBUS line and a ground (GND) line, and a signal system line composed of a D + line and a D− line, and is connected to the USB port 17a on the computer 10 side at one end. The standard A plug is provided, and the other end is provided with a standard B plug connected to the USB port 58a on the printer 20 side.

電源回路50は、家庭用の交流電力(AC100VやAC200Vなど)を直流電力(DC20Vなど)にAC−DC変換するACアダプタ70からの電力とUSBのVBUSラインからの電力(USBバスパワー)とをプリンター20のパワーデバイスやロジックデバイスに供給可能な回路として構成されている。この電源回路50は、図3に示すように、パワーデバイスとしてヘッドドライバー45aやモータードライバー46a,48aに電力を供給する駆動系電力ライン51と、VBUSラインからの電力(USBバスパワー)をダイオードD1を介して駆動系電力ライン51に供給するバスパワー用電源ライン52と、ACアダプター70からの電力をダイオードD2を介して電力ライン51に供給するAC電源用電源ライン53と、駆動系電力ライン51の直流電力を電圧変換(降圧)してロジックデバイスとしてのSOC21に供給するDC/DCコンバーター54と、バスパワー用電源ライン52に接続されVBUSラインから供給される電力を測定する電力測定回路55と、を備える。   The power supply circuit 50 uses power from the AC adapter 70 for AC-DC conversion of household AC power (such as AC100V and AC200V) to DC power (such as DC20V) and power (USB bus power) from the USB VBUS line. The circuit is configured as a circuit that can be supplied to a power device or a logic device of the printer 20. As shown in FIG. 3, the power supply circuit 50 includes a drive system power line 51 that supplies power to the head driver 45a and the motor drivers 46a and 48a as power devices, and power (USB bus power) from the VBUS line as a diode D1. A power line for bus power 52 supplied to the drive system power line 51 via the power supply line 53, an AC power supply line 53 for supplying power from the AC adapter 70 to the power line 51 via the diode D2, and a drive system power line 51 A DC / DC converter 54 that converts (steps down) the direct current power into the SOC 21 as a logic device, and a power measurement circuit 55 that is connected to the bus power supply line 52 and measures the power supplied from the VBUS line; .

電力測定回路55は、USBバスパワーの供給電圧と供給電流とを計測するための回路として構成されており、図3に示すように、バスパワー用電源ライン52に直列接続された電流検出用の抵抗R1と、抵抗R1の両端に接続された入力用の抵抗R2および抵抗R3と、グランドに接続された出力用の抵抗R4と、コレクタ端子が抵抗R2に接続されると共にエミッタ端子が抵抗R4に接続されたnpn型のバイポーラトランジスター56と、入力端子(+)が抵抗R2とバイポーラトランジスター56のコレクタ端子との接続点に接続され入力端子(−)が抵抗R3に接続され出力端子がバイポーラトランジスター56のベース端子に接続されたオペアンプ57と、グランドに接続された抵抗R5と、抵抗R5とバスパワー用電源ライン52とに接続された抵抗R6と、を備える。ここで、抵抗R1の抵抗値は例えば0.1Ωに設定され、抵抗R2の抵抗値は例えば1kΩに設定され、抵抗R3の抵抗値は例えば1kΩに設定され、抵抗R4の抵抗値は例えば20kΩに設定されている。電流検出用の抵抗R1と入力用の抵抗R2,R3と出力用の抵抗R4とオペアンプ57とバイポーラトランジスター56は、抵抗R1を流れる電流I1を検出するハイサイド電流検出回路を構成している。この電流検出回路では、オペアンプ57の二つの入力端子の入力電流が等しくなるよう調整すると、抵抗R1に電流I1が流れているときには、抵抗R2に次式(1)に示す電流I2が流れ、バイポーラトランジスター56のエミッタ端子に電流I2と出力用の抵抗R4との積に相当する電圧が出力電圧Voutとして出力される。SOC21(メインコントローラー30)は、出力電圧Voutを入力することにより、出力電圧Voutに基づいて次式(2)により抵抗R1を流れる電流I1、即ち、バスパワー用電源ライン52の供給電流Iを演算することができる。また、抵抗R5の抵抗値は例えば10kΩに設定され、抵抗R6の抵抗値は例えば10kΩに設定されている。この抵抗R5,R6は互いに直列接続された分圧回路を構成している。SOC21(メインコントローラー30)は、抵抗R5と抵抗R6との接続点の電圧を入力することにより、入力した電圧と抵抗R5,R6の分圧比とに基づいてバスパワー用電源ライン52の供給電圧Vを演算することができる。   The power measurement circuit 55 is configured as a circuit for measuring the supply voltage and supply current of the USB bus power. As shown in FIG. 3, the power measurement circuit 55 is used for current detection connected in series to the bus power supply line 52. A resistor R1, an input resistor R2 and a resistor R3 connected to both ends of the resistor R1, an output resistor R4 connected to the ground, a collector terminal connected to the resistor R2, and an emitter terminal connected to the resistor R4 The connected npn-type bipolar transistor 56, the input terminal (+) is connected to the connection point between the resistor R2 and the collector terminal of the bipolar transistor 56, the input terminal (−) is connected to the resistor R3, and the output terminal is the bipolar transistor 56. Operational amplifier 57 connected to the base terminal of the power supply, resistor R5 connected to the ground, resistor R5 and the power line for bus power Comprising a 2 and the connected resistors R6, the. Here, the resistance value of the resistor R1 is set to, for example, 0.1Ω, the resistance value of the resistor R2 is set to, for example, 1 kΩ, the resistance value of the resistor R3 is set to, for example, 1 kΩ, and the resistance value of the resistor R4 is set to, for example, 20 kΩ. Is set. The current detection resistor R1, the input resistors R2 and R3, the output resistor R4, the operational amplifier 57, and the bipolar transistor 56 constitute a high-side current detection circuit that detects the current I1 flowing through the resistor R1. In this current detection circuit, when the input currents of the two input terminals of the operational amplifier 57 are adjusted to be equal, when the current I1 flows through the resistor R1, the current I2 shown in the following equation (1) flows through the resistor R2, and the bipolar A voltage corresponding to the product of the current I2 and the output resistor R4 is output to the emitter terminal of the transistor 56 as the output voltage Vout. The SOC 21 (main controller 30) calculates the current I1 flowing through the resistor R1, that is, the supply current I of the bus power supply line 52 based on the output voltage Vout by the following equation (2) by inputting the output voltage Vout. can do. The resistance value of the resistor R5 is set to, for example, 10 kΩ, and the resistance value of the resistor R6 is set to, for example, 10 kΩ. The resistors R5 and R6 constitute a voltage dividing circuit connected in series with each other. The SOC 21 (main controller 30) inputs the voltage at the connection point between the resistor R5 and the resistor R6, and based on the input voltage and the voltage dividing ratio of the resistors R5 and R6, the supply voltage V of the bus power supply line 52 Can be calculated.

I2=I1×R1/R2 (1)
I1=R2/R1×Vout/R4 (2)
I2 = I1 × R1 / R2 (1)
I1 = R2 / R1 × Vout / R4 (2)

次に、こうして構成された本実施形態のプリンター20では、コンピューター10のプリンタードライバーからUSBケーブル60を介して印刷指示を受け付けると、まず、紙送りモーター48を駆動制御することにより紙送りローラー47を回転させて用紙を給紙する給紙動作を行なう。用紙が給紙されると、キャリッジモーター46を駆動制御することによりキャリッジ41を主走査方向に移動させながらキャリッジ41に搭載された印刷ヘッド45からインクを吐出する印字動作と、紙送りモーター48を駆動制御することにより紙送りローラー47を回転させて用紙を改行する改行動作とを繰り返す。なお、キャリッジ41の移動は、その移動速度が目標速度となるようキャリッジモーター46を駆動制御することにより行なわれ、加速動作と等速動作と減速動作の3つの動作を伴う。印刷が完了すると、紙送りモーター48を駆動制御することにより紙送りローラー47を回転させて印刷した用紙を排紙する排紙動作を行なう。   Next, in the printer 20 of the present embodiment configured as described above, when a print instruction is received from the printer driver of the computer 10 via the USB cable 60, the paper feed roller 47 is first controlled by driving the paper feed motor 48. A paper feeding operation for feeding paper by rotating is performed. When paper is fed, the carriage motor 46 is driven and controlled to move the carriage 41 in the main scanning direction, while discharging the ink from the print head 45 mounted on the carriage 41, and the paper feed motor 48. By performing drive control, the paper feed roller 47 is rotated to repeat the line feed operation for turning the paper. The carriage 41 is moved by driving and controlling the carriage motor 46 so that the moving speed becomes the target speed, and is accompanied by three operations: an acceleration operation, a constant velocity operation, and a deceleration operation. When printing is completed, the paper feed motor 48 is driven and controlled to rotate the paper feed roller 47 to discharge the printed paper.

次に、コンピューター10からバスパワーの供給を受けている状態で印刷を実行する際の動作について説明する。図4は、メインコントローラー30のCPU31により実行されるバスパワー供給時印刷処理ルーチンの一例を示すフローチャートである。このルーチンは、バスパワー用電源ライン52から給電されている状態で印刷指示が受け付けられたときに実行される。   Next, an operation when printing is performed in a state where the bus power is supplied from the computer 10 will be described. FIG. 4 is a flowchart illustrating an example of a bus power supply printing process routine executed by the CPU 31 of the main controller 30. This routine is executed when a print instruction is received in a state where power is supplied from the bus power supply line 52.

バスパワー供給時印刷処理ルーチンが実行されると、メインコントローラー30のCPU31は、まず、前述した給紙動作を行ない(ステップS100)、USBバスパワーの供給電力Psupを入力する(ステップS110)。ここで、供給電力Psupは、電力測定回路55により測定される供給電圧Vと供給電流Iとの積により演算されたものを入力するものとした。USBバスパワーの供給電力Psupを入力すると、入力した供給電力Psupが閾値P1未満か否か(ステップS120)、入力した供給電力Psupが閾値P2未満か否か(ステップS130)をそれぞれ判定する。ここで、閾値P1,P2は、供給電力PsupがUSB給電の規格値(USB2.0規格の場合には、2.5W)に至るまでを段階的に判定するための閾値であり、閾値P2はUSB規格値よりも若干小さな値に定められ、閾値P1は閾値P2よりも小さな値に定められている。   When the bus power supply printing process routine is executed, the CPU 31 of the main controller 30 first performs the above-described paper feeding operation (step S100) and inputs the USB bus power supply power Psup (step S110). Here, as the supply power Psup, the value calculated by the product of the supply voltage V and the supply current I measured by the power measurement circuit 55 is input. When the supply power Psup of USB bus power is input, it is determined whether the input supply power Psup is less than the threshold value P1 (step S120) and whether the input supply power Psup is less than the threshold value P2 (step S130). Here, the threshold values P1 and P2 are threshold values for determining step by step until the supplied power Psup reaches the USB power supply standard value (2.5 W in the case of USB 2.0 standard). A value slightly smaller than the USB standard value is set, and the threshold value P1 is set to a value smaller than the threshold value P2.

供給電力Psupが閾値P1未満と判定されると、供給電力PsupがUSBバスパワーの供給規格値に至るまでに余裕があると判断し、印刷モードを通常モードに設定する(ステップS140)。また、供給電力Psupが閾値P1以上で且つ閾値P2未満と判定されると、供給電力PsupがUSBバスパワーの供給規格値に近づいていると判断し、印刷モードを印刷速度が通常モードよりも遅くなる第1低速モードに設定し(ステップS150)、供給電力Psupが閾値P2以上と判定されると、供給電力PsupがUSBバスパワーの供給規格値までほとんど余裕がないと判断し、印刷モードを印刷速度が第1低速モードよりも更に遅くなる第2低速モードに設定する(ステップS160)。そして、設定した印刷モードに従って1走査分の印刷処理を実行する(ステップS170)。ここで、1走査分の印刷処理には、キャリッジ41を主走査方向に移動させながら印刷ヘッド45からインクを吐出する印字動作と、紙送りにより用紙を改行する改行動作とが含まれる。1走査分の印刷処理が完了すると、印刷が完了したか否かを判定する(ステップS180)。印刷が完了していないと判定されると、ステップS110に戻ってステップS110〜S170の処理を繰り返し、印刷が完了したと判定されると、排紙動作を行なって(ステップS190)、本ルーチンを終了する。   If it is determined that the supplied power Psup is less than the threshold value P1, it is determined that there is a margin before the supplied power Psup reaches the supply standard value of the USB bus power, and the print mode is set to the normal mode (step S140). If it is determined that the supplied power Psup is greater than or equal to the threshold value P1 and less than the threshold value P2, it is determined that the supplied power Psup is approaching the supply standard value of the USB bus power, and the print mode is set to be slower than the normal mode. Is set to the first low-speed mode (step S150), and when it is determined that the supply power Psup is equal to or greater than the threshold value P2, it is determined that the supply power Psup has almost no margin to the supply standard value of the USB bus power, and the print mode is printed. The speed is set to the second low speed mode that is slower than the first low speed mode (step S160). Then, the printing process for one scan is executed according to the set printing mode (step S170). Here, the printing process for one scan includes a printing operation in which ink is ejected from the print head 45 while moving the carriage 41 in the main scanning direction, and a line feed operation in which paper is fed by paper feed. When the printing process for one scan is completed, it is determined whether printing is completed (step S180). If it is determined that the printing has not been completed, the process returns to step S110 to repeat the processing of steps S110 to S170. If it is determined that the printing has been completed, a paper discharge operation is performed (step S190), and this routine is executed. finish.

通常モードは、本実施形態では、紙送りローラー47の改行動作中にキャリッジ41の加速動作を開始し、キャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する印刷モードである。キャリッジ41の加速動作は、紙送りローラー47の改行動作が完了するタイミングで印刷ヘッド45のインク吐出が開始されるように開始タイミングが合わせられる。これにより、改行動作に要する時間の一部を短縮でき、印刷時間を短縮することができる。一方、キャリッジ41の加速動作中の印刷ヘッド45のインク吐出動作は、キャリッジ41を用紙の印字エリアに近い位置で待機させた状態で行なわれる。これにより、キャリッジ41の移動距離は短くなるから、1走査分の印刷時間を短縮することができる。図5に、通常モード印刷における紙送り動作による消費電力とキャリッジ動作による消費電力とヘッド駆動による消費電力と全体の消費電力の時間変化を示す。通常モードでは、図5に示すように、紙送りローラー47の改行動作による電力消費とキャリッジ41の加速動作による電力消費とが重なり、キャリッジ41の加速動作による電力消費と印刷ヘッド45のインク吐出動作による電力消費とが重なるため、全体の消費電力のピークは比較的高い値(図5中の「Pmax1」参照)を示す。   In this embodiment, the normal mode is a printing mode in which the acceleration operation of the carriage 41 is started during the line feed operation of the paper feed roller 47 and the ink discharge operation of the print head 45 is started during the acceleration operation of the carriage 41. The start of the acceleration operation of the carriage 41 is adjusted so that the ink ejection of the print head 45 is started at the timing when the line feed operation of the paper feed roller 47 is completed. Thereby, part of the time required for the line feed operation can be shortened, and the printing time can be shortened. On the other hand, the ink ejection operation of the print head 45 during the acceleration operation of the carriage 41 is performed in a state where the carriage 41 is in a standby state at a position close to the print area of the paper. Thereby, since the moving distance of the carriage 41 is shortened, the printing time for one scan can be shortened. FIG. 5 shows temporal changes in the power consumption by the paper feeding operation, the power consumption by the carriage operation, the power consumption by the head drive, and the overall power consumption in the normal mode printing. In the normal mode, as shown in FIG. 5, the power consumption due to the line feed operation of the paper feed roller 47 overlaps the power consumption due to the acceleration operation of the carriage 41, and the power consumption due to the acceleration operation of the carriage 41 and the ink ejection operation of the print head 45. Therefore, the overall power consumption peak shows a relatively high value (see “Pmax1” in FIG. 5).

第1低速モードは、本実施形態では、紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始し、キャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する印刷モードである。図6に、第1低速モード印刷における紙送り動作による消費電力とキャリッジ動作による消費電力とヘッド駆動による消費電力と全体の消費電力の時間変化を示す。第1低速モードでは、図6に示すように、キャリッジ41の加速動作による電力消費と印刷ヘッド45のインク吐出動作による電力消費とが重なるものの、紙送りローラー47の改行動作による電力消費とキャリッジ41の加速動作による電力消費とは重ならないため、全体の消費電力のピークは通常モード時の値(Pmax1)に比して低い値(図6中の「Pmax2」参照)を示す。   In the first embodiment, the first low speed mode is a printing mode in which the acceleration operation of the carriage 41 is started after the line feed operation of the paper feed roller 47 is completed, and the ink discharge operation of the print head 45 is started during the acceleration operation of the carriage 41. It is. FIG. 6 shows temporal changes in the power consumption by the paper feed operation, the power consumption by the carriage operation, the power consumption by the head drive, and the overall power consumption in the first low-speed mode printing. In the first low speed mode, as shown in FIG. 6, the power consumption due to the acceleration operation of the carriage 41 and the power consumption due to the ink ejection operation of the print head 45 overlap, but the power consumption due to the line feed operation of the paper feed roller 47 and the carriage 41. Therefore, the peak of the overall power consumption is lower than the value (Pmax1) in the normal mode (see “Pmax2” in FIG. 6).

第2低速モードは、本実施形態では、紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始し、キャリッジ41の加速動作から等速動作に移行したときに印刷ヘッド45のインク吐出動作を開始する印刷モードである。図7に、第2低速モード印刷における紙送り動作による消費電力とキャリッジ動作による消費電力とヘッド駆動による消費電力と全体の消費電力の時間変化を示す。第2低速モードにおける印刷処理では、図7に示すように、紙送りローラー47の改行動作による電力消費とキャリッジ41の加速動作による電力消費と印刷ヘッド45のインク吐出動作による電力消費のいずれもが重ならないため、全体の消費電力のピークは第1低速モード時の値(Pmax2)に比して低い値(図7中の「Pmax3」参照)を示す。   In the second low speed mode, in this embodiment, after the line feed operation of the paper feed roller 47 is completed, the acceleration operation of the carriage 41 is started, and the ink of the print head 45 is transferred when the carriage 41 is shifted from the acceleration operation to the constant speed operation. This is a print mode for starting the discharge operation. FIG. 7 shows temporal changes in power consumption by the paper feeding operation, power consumption by the carriage operation, power consumption by the head drive, and overall power consumption in the second low-speed mode printing. In the printing process in the second low-speed mode, as shown in FIG. 7, the power consumption due to the line feed operation of the paper feed roller 47, the power consumption due to the acceleration operation of the carriage 41, and the power consumption due to the ink ejection operation of the print head 45 are all. Since they do not overlap, the peak of the overall power consumption is lower than the value (Pmax2) in the first low speed mode (see “Pmax3” in FIG. 7).

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態の電力測定回路55と供給電力Psupを演算するメインコントローラー30とが本発明の「給電電力測定手段」に相当し、図4のバスパワー供給時印刷処理ルーチンを実行するメインコントローラー30が「動作モード選択実行手段」に相当する。なお、本実施形態では、本発明のプリンター20の動作を説明することにより本発明の印刷装置の制御方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The power measurement circuit 55 of this embodiment and the main controller 30 for calculating the supplied power Psup correspond to the “feed power measuring means” of the present invention, and the main controller 30 for executing the bus power supply printing process routine of FIG. This corresponds to “operation mode selection execution means”. In this embodiment, an example of the control method of the printing apparatus of the present invention is also clarified by describing the operation of the printer 20 of the present invention.

以上説明した本実施形態のプリンター20によれば、電力測定回路55を用いてバスパワー用電源ライン52の供給電力Psupを測定し、供給電力Psupが閾値P1未満の場合には紙送りローラー47の改行動作中にキャリッジ41の加速動作を開始しキャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する通常モードを選択して印刷処理を実行し、供給電力Psupが閾値P1以上で且つ閾値P2未満の場合には紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始しキャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する第1低速モードを選択して印刷処理を実行する。そして、供給電力Psupが閾値P2以上の場合には紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始しキャリッジ41の加速動作から等速動作に移行したときに印刷ヘッド45のインク吐出動作を開始する第2低速モードを選択して印刷処理を実行する。これにより、供給電力Psupが高いほど印刷の実行に伴う消費電力のピークを小さくすることができる。この結果、USBバスパワーが供給規格値を超えないように監視しつつ印刷処理を実行することができる。   According to the printer 20 of the present embodiment described above, the supply power Psup of the bus power supply line 52 is measured using the power measurement circuit 55. If the supply power Psup is less than the threshold value P1, the paper feed roller 47 A normal mode in which an acceleration operation of the carriage 41 is started during the line feed operation and an ink discharge operation of the print head 45 is started during the acceleration operation of the carriage 41 is selected, and the printing process is executed, and the supply power Psup is equal to or higher than the threshold value P1. If it is less than the threshold value P2, the first low-speed mode is selected in which the carriage 41 starts the acceleration operation after the paper feed roller 47 completes the line feed operation and the carriage 41 starts the ink ejection operation during the acceleration operation of the carriage 41. Print processing. When the supplied power Psup is equal to or greater than the threshold value P2, the acceleration operation of the carriage 41 is started after the line feed operation of the paper feed roller 47 is completed, and when the acceleration operation of the carriage 41 is shifted to the constant velocity operation, The second low-speed mode for starting the ink ejection operation is selected and the printing process is executed. As a result, the higher the supply power Psup, the smaller the power consumption peak associated with the execution of printing. As a result, printing processing can be executed while monitoring so that the USB bus power does not exceed the supply standard value.

本実施形態では、印刷モードとして、紙送りローラー47の改行動作中にキャリッジ41の加速動作を開始しキャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する通常モードと、紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始しキャリッジ41の加速動作中に印刷ヘッド45のインク吐出動作を開始する第1低速モードと、紙送りローラー47の改行動作が完了した後にキャリッジ41の加速動作を開始しキャリッジ41の加速動作から等速動作に移行したときに印刷ヘッド45のインク吐出動作を開始する第2低速モードとを備えるものとしたが、これらの印刷モードのうちの一部のモードを省略するものとしてもよいし、他の印刷モードを用意するものとしてもよい。後者の場合、例えば、紙送りローラー47の改行動作の速度(紙送り速度)が異なる複数の印刷モードを用意するものとしてもよいし、キャリッジ41の移動速度が異なる複数の印刷モードを用意するものとしてもよい。なお、キャリッジ41の移動速度が遅くなると、印刷ヘッド45の駆動間隔も長くなる。また、USBバスパワーの供給電力Psupが高いほど消費電力のピークが低くなる印刷モードを選択するものであれば、選択可能な複数の印刷モードの数は2種類であってもよいし、4種類以上であってもよい。この場合、選択可能な複数の印刷モードは如何なる組み合わせによるものとしてもよい。   In the present embodiment, as a print mode, a normal mode in which the acceleration operation of the carriage 41 is started during the line feed operation of the paper feed roller 47 and the ink discharge operation of the print head 45 is started during the acceleration operation of the carriage 41; The first low-speed mode in which the acceleration operation of the carriage 41 is started after the completion of the line feed operation 47 and the ink discharge operation of the print head 45 is started during the acceleration operation of the carriage 41, and the line feed operation of the paper feed roller 47 is completed. A second low-speed mode for starting the ink discharge operation of the print head 45 when the acceleration operation of the carriage 41 is started and the acceleration operation of the carriage 41 is shifted to the constant speed operation. Some modes may be omitted, or other print modes may be prepared. In the latter case, for example, a plurality of print modes having different line feed speeds (paper feed speeds) of the paper feed roller 47 may be prepared, or a plurality of print modes having different movement speeds of the carriage 41 may be prepared. It is good. In addition, when the moving speed of the carriage 41 becomes slow, the drive interval of the print head 45 also becomes long. In addition, the number of print modes that can be selected may be two or four, as long as the print mode is selected such that the peak of power consumption decreases as the supply power Psup of USB bus power increases. It may be the above. In this case, the selectable print modes may be in any combination.

本実施形態では、プリンター20をAC電源からの給電を受けて動作するよう構成するものとしたが、プリンター20に着脱可能なバッテリーを備えるものとしてバッテリーからの給電を受けて動作するよう構成するものとしてもよいし、プリンター20側に複数のUSBポートを備えるものとしてホスト機器側の複数のUSBポートからの給電をプリンター20側の複数のUSBポートで同時に受けるものとしてもよい。   In the present embodiment, the printer 20 is configured to operate with power supplied from an AC power source. However, the printer 20 is configured to operate with power supplied from the battery, provided that the printer 20 includes a removable battery. Alternatively, the printer 20 may be provided with a plurality of USB ports, and power from the plurality of USB ports on the host device side may be simultaneously received by the plurality of USB ports on the printer 20 side.

本実施形態では、電力測定回路55において、電流検出用の抵抗R1と入力用の抵抗R2,R3と出力用の抵抗R4とオペアンプ57とバイポーラトランジスター56とにより抵抗R1を流れる電流I1を検出するハイサイド電流検出回路を構成するものとしたが、ローサイド電流検出回路により構成するものとしてもよい。また、バスパワー用電源ライン52から供給される電力の測定が可能なものであれば、如何なる検出回路を用いるものとしてもよい。   In the present embodiment, the power measurement circuit 55 detects a current I1 flowing through the resistor R1 by the current detection resistor R1, the input resistors R2 and R3, the output resistor R4, the operational amplifier 57, and the bipolar transistor 56. Although the side current detection circuit is configured, the low side current detection circuit may be configured. Further, any detection circuit may be used as long as it can measure the power supplied from the bus power supply line 52.

本実施形態では、本発明をコンピューター10のUSBポート17aからUSBバスパワーの供給を受けて動作するものに適用して説明したが、USBバスパワーの供給元をコンピューター10とするものに限られず、USBバスパワーを供給可能な如何なるホスト機器としてもよい。   In the present embodiment, the present invention has been described by applying the present invention to an apparatus that operates by receiving the supply of USB bus power from the USB port 17a of the computer 10. However, the present invention is not limited to the case where the supply source of USB bus power is the computer 10. Any host device capable of supplying USB bus power may be used.

本実施形態では、本発明を印刷装置の形態として説明したが、印刷装置の制御方法の形態とするものとしてもよい。   In the present embodiment, the present invention has been described as a form of a printing apparatus, but may be a form of a control method for the printing apparatus.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

10 コンピューター、11 コンピューター本体、12 CPU、13 ハードディスクドライブ(HDD)、14 RAM、15 インターフェース(I/F)、16 キーボード、17 USBホストコントローラー、17a USBポート、18 表示用コントローラー、19 ディスプレイ、20 プリンター、21 システムオンチップ(SOC)、30 メインコントローラー、31 CPU、32 ROM、33 RAM、34 フラッシュメモリー、35 インターフェース(I/F)、36 電源ボタン、37 メモリーカードスロット、38 メモリーカードコントローラー、40 印刷機構、41 キャリッジ、42 ガイド、43 キャリッジベルト、44 インクカートリッジ、45 印刷ヘッド、45a ヘッドドライバー、46 キャリッジモーター、46a モータードライバー、47 紙送りローラー、48 紙送りモーター、48a モータードライバー、49 プリンターASIC、50 電源回路、51 電源ライン、52 バスパワー用電源ライン、53 AC電源用電源ライン、54 DC/DCコンバーター、55 電力測定回路、56 バイポーラトランジスター、57 オペアンプ、58 USBデバイスコントローラー、58a USBポート、60 USBケーブル、70 ACアダプター、R1〜R6 抵抗、D1,D2 ダイオード。   10 Computer, 11 Computer body, 12 CPU, 13 Hard disk drive (HDD), 14 RAM, 15 Interface (I / F), 16 Keyboard, 17 USB host controller, 17a USB port, 18 Display controller, 19 Display, 20 Printer , 21 System on chip (SOC), 30 Main controller, 31 CPU, 32 ROM, 33 RAM, 34 Flash memory, 35 Interface (I / F), 36 Power button, 37 Memory card slot, 38 Memory card controller, 40 Printing Mechanism, 41 Carriage, 42 Guide, 43 Carriage belt, 44 Ink cartridge, 45 Print head, 45a Head driver, 46 Carriage motor, 46a motor driver, 47 paper feed roller, 48 paper feed motor, 48a motor driver, 49 printer ASIC, 50 power supply circuit, 51 power supply line, 52 bus power supply line, 53 AC power supply line, 54 DC / DC converter, 55 power measurement circuit, 56 bipolar transistor, 57 operational amplifier, 58 USB device controller, 58a USB port, 60 USB cable, 70 AC adapter, R1-R6 resistors, D1, D2 diodes.

Claims (5)

USBバスパワーによる給電を受けて動作する第1の駆動部および第2の駆動部を含む複数の駆動部を有する印刷装置であって、
前記USBバスパワーの給電電力を測定する給電電力測定手段と、
前記USBバスパワーの給電規格値の範囲内で動作するよう前記給電電力測定手段により測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行する動作モード選択実行手段と、
を備え
前記動作モード選択実行手段は、前記測定された給電電力が所定値未満の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記所定値以上の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重ならない動作モードを選択して実行する手段である
ことを特徴とする印刷装置。
A printing apparatus having a plurality of drive units including a first drive unit and a second drive unit that operate by receiving power supply by USB bus power,
A feeding power measuring means for measuring the feeding power of the USB bus power;
One operation mode is selected and executed from a plurality of operation modes having different power consumption peaks based on the power supply power measured by the power supply power measuring means so as to operate within the range of the power supply standard value of the USB bus power. An operation mode selection execution means;
Equipped with a,
The operation mode selection execution means selects and executes an operation mode in which the operation of the first drive unit and the operation of the second drive unit overlap when the measured power supply is less than a predetermined value. And means for selecting and executing an operation mode in which the operation of the first drive unit and the operation of the second drive unit do not overlap when the measured power supply is equal to or greater than the predetermined value.
A printing apparatus characterized by that.
請求項1記載の印刷装置であって、
前記動作モード選択実行手段は、印刷速度が異なる複数のモードのうち前記測定された給電電力が高いほど印刷速度が遅くなる動作モードを選択して実行する手段である
ことを特徴とする印刷装置。
The printing apparatus according to claim 1,
The operation mode selection execution means is a means for selecting and executing an operation mode in which the print speed becomes slower as the measured power supply power is higher among a plurality of modes having different print speeds.
請求項1または2記載の印刷装置であって、
前記複数の駆動部として、搬送用モーターの駆動により記録媒体を搬送する搬送手段と、記録液体を前記記録媒体に吐出する吐出ヘッドと、キャリッジモーターの駆動により前記吐出ヘッドを前記記録媒体の搬送方向に直交する方向に移動させるキャリッジと、を備え、
前記動作モード選択実行手段は、前記測定された給電電力が第1の閾値未満の場合には前記記録媒体の搬送動作と前記キャリッジの加速動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記第1の閾値以上の場合には前記記録媒体の搬送動作と前記キャリッジの加速動作とが重ならない動作モードを選択して実行する手段である
ことを特徴とする印刷装置。
The printing apparatus according to claim 1 , wherein:
As the plurality of drive units, a transport unit that transports a recording medium by driving a transport motor, a discharge head that discharges a recording liquid onto the recording medium, and a transport direction of the recording medium by driving a carriage motor A carriage that moves in a direction orthogonal to the
The operation mode selection execution means selects and executes an operation mode in which a conveyance operation of the recording medium and an acceleration operation of the carriage overlap when the measured power supply power is less than a first threshold, and the measurement The printing apparatus according to claim 1, wherein when the supplied power is equal to or more than the first threshold, an operation mode in which the recording medium conveyance operation and the carriage acceleration operation do not overlap is selected and executed.
請求項1ないしいずれか1項に記載の印刷装置であって、
前記複数の駆動部として、搬送用モータの駆動により記録媒体を搬送する搬送手段と、記録液体を前記記録媒体に吐出する吐出ヘッドと、キャリッジモータの駆動により前記吐出ヘッドを前記記録媒体の搬送方向に直交する方向に移動させるキャリッジと、を備え、
前記動作モード選択実行手段は、前記測定された給電電力が第2の閾値未満の場合には前記キャリッジの加速動作と前記吐出ヘッドの吐出動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記第2の閾値以上の場合には前記キャリッジの加速動作と前記吐出ヘッドの吐出動作とが重ならない動作モードを選択して実行する手段である
ことを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 3,
As the plurality of drive units, a transport unit that transports a recording medium by driving a transport motor, a discharge head that discharges recording liquid onto the recording medium, and a transport direction of the recording medium by driving a carriage motor A carriage that moves in a direction orthogonal to the
The operation mode selection execution means selects and executes an operation mode in which the acceleration operation of the carriage and the discharge operation of the discharge head overlap when the measured power supply power is less than a second threshold, and the measurement The printing apparatus according to claim 1, wherein when the supplied power is equal to or greater than the second threshold value, the printing apparatus is configured to select and execute an operation mode in which the acceleration operation of the carriage and the discharge operation of the discharge head do not overlap.
USBバスパワーによる給電を受けて動作する第1の駆動部および第2の駆動部を含む複数の駆動部を有する印刷装置の制御方法であって、
前記USBバスパワーの給電電力を測定し、前記USBバスパワーの給電規格値の範囲内で動作するよう前記測定された給電電力に基づいて消費電力のピークが異なる複数の動作モードから一つの動作モードを選択して実行するものであり、
前記測定された給電電力が所定値未満の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重なる動作モードを選択して実行し、前記測定された給電電力が前記所定値以上の場合には前記第1の駆動部の動作と前記第2の駆動部の動作とが重ならない動作モードを選択して実行する
ことを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus having a plurality of drive units including a first drive unit and a second drive unit that operate by receiving power supplied from USB bus power,
One operation mode from a plurality of operation modes in which the power consumption of the USB bus power is measured and the peak of power consumption differs based on the measured power supply power so as to operate within the range of the power supply standard value of the USB bus power Is selected and executed ,
When the measured power supply is less than a predetermined value, an operation mode in which the operation of the first drive unit and the operation of the second drive unit overlap is selected and executed, and the measured power supply is A control method for a printing apparatus, comprising: selecting and executing an operation mode in which the operation of the first drive unit and the operation of the second drive unit do not overlap when the predetermined value is exceeded .
JP2012030410A 2012-02-15 2012-02-15 Printing apparatus and control method thereof Active JP5978641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012030410A JP5978641B2 (en) 2012-02-15 2012-02-15 Printing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012030410A JP5978641B2 (en) 2012-02-15 2012-02-15 Printing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2013166294A JP2013166294A (en) 2013-08-29
JP5978641B2 true JP5978641B2 (en) 2016-08-24

Family

ID=49177136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012030410A Active JP5978641B2 (en) 2012-02-15 2012-02-15 Printing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5978641B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6544008B2 (en) * 2015-04-10 2019-07-17 株式会社バッファロー Electrical apparatus and control method thereof
WO2020027536A1 (en) * 2018-07-30 2020-02-06 주식회사 빅솔론 Method for controlling printing apparatus, and printing apparatus for performing the same
JP7459662B2 (en) 2020-05-29 2024-04-02 ブラザー工業株式会社 printing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4124873B2 (en) * 1997-12-17 2008-07-23 キヤノン株式会社 Power control system
JP3784589B2 (en) * 1999-09-29 2006-06-14 コニカミノルタフォトイメージング株式会社 Portable device
JP4344445B2 (en) * 2000-01-12 2009-10-14 ローランド株式会社 Bus connection type device
JP2004034455A (en) * 2002-07-02 2004-02-05 Canon Inc Printer
JP2004202713A (en) * 2002-12-24 2004-07-22 Ricoh Co Ltd Image output device

Also Published As

Publication number Publication date
JP2013166294A (en) 2013-08-29

Similar Documents

Publication Publication Date Title
US10406837B2 (en) Printing apparatus and leakage detection method of the same
US7508161B2 (en) Electronic device and power supply method
JP5978640B2 (en) Printing apparatus and control method thereof
JP5978641B2 (en) Printing apparatus and control method thereof
US7052105B2 (en) Battery residual capacity detection method and printing apparatus using the method
JP2014188931A (en) Printing device
US9195287B2 (en) Power supply system has relaxation circuit which is enabled simultaneously with the outputting of reset signal to relax an output voltage
EP0916511A2 (en) Recording apparatus having a charging function, and charging method
JP2006277346A (en) Host device, communication system, and electric power supplying method
US9088677B2 (en) Print apparatus for communicating with host machine and image read apparatus via communication interface
JP2009165268A (en) Power supply unit and electronic apparatus
JP2009113207A (en) Battery residual quantity sensing method
US8757759B2 (en) Temperature detecting apparatus
JP5523184B2 (en) Recording device
JP2013239060A (en) Power supply circuit for printer
JP2005250739A (en) Electronic device
JP2008142896A (en) Recorder and method of detecting battery residual capacity of the recorder
JP2004195806A (en) Battery remaining capacity displaying method for mobile type printing device
JP2021162357A (en) Electronic apparatus
JP2006211829A (en) Electronic equipment
JP2005074945A (en) Recording device and method
JP2020059197A (en) Recovery method for recording apparatus and recording head
JP2015217534A (en) Control system, image forming device, control method and program
JP2003072105A (en) Printer and control method for printer
JP2016107446A (en) Recording apparatus and failure detection method for recording head

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160128

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160628

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160711

R150 Certificate of patent or registration of utility model

Ref document number: 5978641

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150