JP2016068380A - Supply power control device - Google Patents

Supply power control device Download PDF

Info

Publication number
JP2016068380A
JP2016068380A JP2014199862A JP2014199862A JP2016068380A JP 2016068380 A JP2016068380 A JP 2016068380A JP 2014199862 A JP2014199862 A JP 2014199862A JP 2014199862 A JP2014199862 A JP 2014199862A JP 2016068380 A JP2016068380 A JP 2016068380A
Authority
JP
Japan
Prior art keywords
power
amount
usb
power consumption
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014199862A
Other languages
Japanese (ja)
Other versions
JP6375831B2 (en
Inventor
裕基 井上
Hironori Inoue
裕基 井上
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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP2014199862A priority Critical patent/JP6375831B2/en
Publication of JP2016068380A publication Critical patent/JP2016068380A/en
Application granted granted Critical
Publication of JP6375831B2 publication Critical patent/JP6375831B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively utilize surplus power in a printer for driving a thermal head without introducing the mechanism of detecting the power consumption amount of a USB device.SOLUTION: The USB maximum power consumption amount Pof three USB devices and the other power consumption amount Pare initially set, and a power amount obtained by subtracting the other power consumption amount Pfrom an AC rated power amount Pis initially set as a head power consumption amount P. When the execution of the printing operation of a printer is detected, according to the number of USB devices (power unnecessary devices) in which power supply has been unnecessarily set by preset unnecessary setting information, setting is changed to reduce the other power consumption amount Pwhile increasing the head power consumption amount P, and thus surplus power in the printer can be appropriately assigned for driving a thermal head without detecting power at the USB device.SELECTED DRAWING: Figure 3

Description

本発明は、供給電力制御装置に関し、特に、プリンタのサーマルヘッドに供給する電力とそれ以外のものに供給する電力とを制御する供給電力制御装置に用いて好適なものである。   The present invention relates to a power supply control device, and is particularly suitable for use in a power supply control device that controls power supplied to a thermal head of a printer and power supplied to other devices.

従来、複数の発熱体(発熱抵抗素子)を含むサーマルヘッドを備え、当該複数の発熱体を印刷データに基づいて選択的に通電することにより、当該印刷データに基づく印字処理を行うようになされたサーマルプリンタが知られている。   Conventionally, a thermal head including a plurality of heating elements (heating resistance elements) is provided, and a printing process based on the print data is performed by selectively energizing the plurality of heating elements based on the print data. Thermal printers are known.

サーマルヘッドで消費可能な電力量(以下、ヘッド消費電力量PHDとする)は、所定の電力供給が可能なAC電源アダプタの定格電力量(以下、AC定格電力量PACとする)と、サーマルヘッド以外のもの(内部基板やプリンタに接続された外部接続機器など)が常時消費可能な電力量の総和(以下、その他消費電力量POTとする)とによって決まる。すなわち、印字動作時にサーマルヘッドが使用できる最大の消費電力量PHDは、AC定格電力量PACからその他消費電力量POTを差し引いた電力量(PHD=PAC−POT)に相当する。 The amount of power that can be consumed by the thermal head (hereinafter referred to as the head power consumption amount P HD ) is the rated power amount (hereinafter referred to as the AC rated power amount P AC ) of the AC power adapter capable of supplying a predetermined power. other than a thermal head (such as an external connection device connected to the internal board or printer) is consumable power amount of total constantly (hereinafter, other and power consumption P OT) and depends. That is, the maximum power consumption P HD that can be used by the thermal head during the printing operation corresponds to the power amount (P HD = P AC −P OT ) obtained by subtracting the other power consumption amount P OT from the AC rated power amount P AC. .

また、プリンタは常にPHD <PAC −POT の関係でサーマルヘッドを駆動する必要がある。この関係を維持するために、その他消費電力量POTが大きい場合には、印字速度を遅くするなどしてヘッド消費電力量PHDを調整することが一般的である。 Also, the printer must always drive the thermal head in the relationship of P HD <P AC -P OT . To maintain this relationship, if other power consumption P OT is large, it is common, for example, by slowing down the printing speed adjusting head power consumption P HD.

ところで、近年はプリンタがUSB(Universal Serial Bus)デバイス接続用のUSBポートを持つことが求められるようになっている。これに伴い、その他消費電力量POTの内訳の1つとして、USBデバイスでの消費電力量を考慮する必要が生じている。ここで、USBデバイスはプリンタに常時接続されているとは限らない。また、消費電力の大きさも、プリンタに接続されるUSBデバイスによって異なる。そのため、USBデバイスの装着状態に応じて、その他消費電力量POTは変動する。よって、印字動作時にサーマルヘッドが使用できるヘッド消費電力量PHDも、USBデバイスの装着状態に応じて変動する。 In recent years, printers are required to have USB ports for connecting USB (Universal Serial Bus) devices. Along with this, it is necessary to consider the power consumption of the USB device as one of the breakdowns of other power consumption POT . Here, the USB device is not always connected to the printer. Also, the power consumption varies depending on the USB device connected to the printer. Therefore, the other power consumption POT varies depending on the mounting state of the USB device. Therefore, the head power consumption amount P HD that can be used by the thermal head during the printing operation also varies depending on the mounting state of the USB device.

しかしながら、従来のプリンタは、USBポートに接続されたUSBデバイスで消費される電力量を検出してヘッド消費電力量PHDを調整する機能を有していない。このため、AC電源アダプタの定格超過を防ぐために、いくつのUSBポートにどのようなUSBデバイスが接続されているかに関係なく、USB規格で定められた最大消費電力のUSBデバイスが全てのUSBポートに接続されていることを前提としてその他消費電力量POTを設定し、その上でヘッド消費電力量PHDを調整することが一般的であった。 However, the conventional printer does not have a function of adjusting the head power consumption P HD by detecting the amount of power consumed by the USB device connected to the USB port. Therefore, in order to prevent over-rating of the AC power adapter, USB devices with the maximum power consumption specified by the USB standard are connected to all USB ports regardless of how many USB ports are connected to which USB devices. set the other power consumption P OT assumption that it is connected, it has been common to adjust the head power consumption P HD thereon.

ところが、この方式だと、実際にはUSBポートにUSBデバイスが接続されていないときでも、USBデバイスにおいて規格最大値分の消費電力が生じている前提で設定されたその他消費電力量POTを考慮してヘッド消費電力量PHDが設定される。このため、サーマルヘッドの駆動に充てられる余剰分の電力がプリンタ内部にあるにもかかわらず、ヘッド消費電力量PHDとして使える電力量が常に制限された状態となり、不要な印字速度の低下を引き起こしていた。 However, with this method, even when no USB device is actually connected to the USB port, the other power consumption P OT set on the assumption that the power consumption for the standard maximum value is generated in the USB device is taken into consideration. Thus, the head power consumption amount P HD is set. For this reason, the amount of power that can be used as the head power consumption amount P HD is always limited even though there is excess power for driving the thermal head inside the printer, which causes unnecessary print speed reduction. It was.

図7は、この問題を説明するための図である。なお、ここではプリンタが3つのUSBポートを備えているものとして説明する。図7に示すように、従来のプリンタでは、USBデバイスが実際に接続されているか否かに関係なく、1つのUSBデバイスで消費される最大の電力量としてUSB規格で定められた最大消費電力量(以下、USB最大消費電力量PUSBとする)の3ポート分と、内部基板等で消費される電力量PINとを足し算して、その他消費電力量POTを設定している。 FIG. 7 is a diagram for explaining this problem. In the following description, it is assumed that the printer has three USB ports. As shown in FIG. 7, in a conventional printer, regardless of whether or not a USB device is actually connected, the maximum power consumption defined by the USB standard as the maximum power consumed by one USB device. The other power consumption P OT is set by adding three ports (hereinafter referred to as USB maximum power consumption P USB ) and the power consumption P IN consumed by the internal board or the like.

このため、PHD =PAC −POT の関係で調整されるヘッド消費電力量PHDが無駄に小さくなってしまう。この場合、プリンタにUSBデバイスが実際には接続されていない場合、USB最大消費電力量PUSBとして設定された電力は本来サーマルヘッドの駆動に充てられる余剰電力となるが、これをヘッド消費電力量PHDとして活用することができず、印字速度を上げることができない。特に、3つのUSBポートの何れにもUSBデバイスが接続されていない場合は、余剰電力が大きくなるにもかかわらず、これをサーマルヘッドの駆動に有効に活用することができない。 For this reason, the head power consumption amount P HD adjusted in the relationship of P HD = P AC −P OT is unnecessarily small. In this case, when the USB device is not actually connected to the printer, the power set as the USB maximum power consumption P USB is the surplus power that is originally used for driving the thermal head. can not be used as a P HD, it is not possible to increase the printing speed. In particular, when a USB device is not connected to any of the three USB ports, this cannot be effectively used for driving the thermal head, although the surplus power increases.

一方、AC電源アダプタから電力が直接供給され、設定された動作モードで動作するプリンタと、プリンタを介して電力が供給され、設定された動作モードで動作する接続機器とを備えたシステムにおいて、接続機器の消費電力を監視し、消費電力が供給電力を超えた場合に、接続機器の動作モードもしくはプリンタの動作モードのどちらか一方を、より消費電力が少ないモードに切替えるようにしたシステムが開示されている(例えば、特許文献1参照)。   On the other hand, in a system including a printer that is directly supplied with power from the AC power adapter and operates in the set operation mode, and a connected device that is supplied with power through the printer and operates in the set operation mode. Disclosed is a system that monitors the power consumption of devices and switches either the operation mode of the connected device or the printer operation mode to a mode with less power consumption when the power consumption exceeds the supply power. (For example, refer to Patent Document 1).

特許第4124873号公報Japanese Patent No. 4124873

上述のとおり、特許文献1に記載の技術では、動作モードを適宜切り替えるために、接続機器の消費電力を監視する必要がある。これに対し、上述したように従来のプリンタは、USBポートに接続されたUSBデバイスで消費される電力量を検出してヘッド消費電力量PHDを調整する機能を有していない。このため、特許文献1に記載の技術を従来のプリンタにそのまま適用することはできない。 As described above, in the technique described in Patent Document 1, it is necessary to monitor the power consumption of the connected device in order to appropriately switch the operation mode. In contrast, conventional printer as described above, does not have the function of adjusting the head power consumption P HD by detecting the amount of power consumed by the USB device connected to the USB port. For this reason, the technique described in Patent Document 1 cannot be applied to a conventional printer as it is.

本発明は、このような問題を解決するために成されたものであり、USBデバイスで消費される電力量を検出する仕組みを導入することなく、プリンタ内部の余剰電力をサーマルヘッドの駆動に有効に活用できるようにすることで、印字速度の低下を最小限にとどめることができるようにすることを目的とする。   The present invention has been made to solve such a problem, and the surplus power inside the printer is effectively used for driving the thermal head without introducing a mechanism for detecting the amount of power consumed by the USB device. It is an object of the present invention to make it possible to minimize the decrease in the printing speed by making it possible to utilize it.

上記した課題を解決するために、本発明では、プリンタによる印字中にUSBデバイスに対する電力供給を必要とするか否かを、プリンタが備えるUSBポートに接続される個々のUSBデバイス毎に設定可能になされた要否設定情報を記憶しておく。また、サーマルヘッド以外のものに供給可能な最大の電力量であるその他消費電力量を所定の電力量に初期設定するとともに、AC電源アダプタからプリンタに供給可能な定格電力量であるAC定格電力量からその他消費電力量を引いた電力量を、サーマルヘッドに供給可能な最大の電力量であるヘッド消費電力量として初期設定する。そして、プリンタによる印字動作の実行が検出された場合、要否設定情報によって印字中における電力供給が不要に設定されているUSBデバイス(電力不要デバイス)の数に応じて、その他消費電力量を減らしてヘッド消費電力量を増やすようにしている。   In order to solve the above-described problems, in the present invention, whether or not power supply to a USB device is required during printing by a printer can be set for each USB device connected to a USB port included in the printer. The necessity setting information made is stored. In addition, the other power consumption, which is the maximum amount of power that can be supplied to things other than the thermal head, is initially set to a predetermined power amount, and the AC rated power amount that is the rated power amount that can be supplied from the AC power adapter to the printer The power amount obtained by subtracting the other power consumption amount is initially set as the head power consumption amount that is the maximum power amount that can be supplied to the thermal head. When the execution of the printing operation by the printer is detected, the amount of other power consumption is reduced according to the number of USB devices (power-unnecessary devices) that are not required to supply power during printing according to the necessity setting information. The head power consumption is increased.

上記のように構成した本発明によれば、USBポートに接続されたUSBデバイスでの消費電力ではなく、印字中の電力供給が不要と設定されたUSBデバイス(電力不要デバイス)の数に応じて、プリンタのサーマルヘッドに供給する電力量とそれ以外のものに供給する電力量とが制御される。このため、USBデバイスで消費される電力量を検出する仕組みを導入することなく、電力不要デバイスの数に応じたプリンタ内部の余剰電力をサーマルヘッドの駆動に適切に充てることができる。これにより、プリンタでの消費電力量がAC電源アダプタの定格を超過することを回避する目的で調整を余儀なくされている印字速度の低下を最小限にとどめることができる。   According to the present invention configured as described above, not according to the power consumption of the USB device connected to the USB port, but according to the number of USB devices (power-unnecessary devices) set to require no power supply during printing. The amount of power supplied to the thermal head of the printer and the amount of power supplied to the others are controlled. For this reason, without introducing a mechanism for detecting the amount of power consumed by the USB device, surplus power inside the printer corresponding to the number of devices that do not require power can be appropriately applied to drive the thermal head. As a result, it is possible to minimize the decrease in the printing speed that must be adjusted for the purpose of avoiding that the power consumption of the printer exceeds the rating of the AC power adapter.

第1および第2の実施形態による情報処理システムの構成例を示す図である。It is a figure which shows the structural example of the information processing system by 1st and 2nd embodiment. 第1の実施形態によるプリンタの構成例を示す図である。1 is a diagram illustrating a configuration example of a printer according to a first embodiment. FIG. 第1の実施形態の電力量初期設定部により設定される各電力量の初期設定状態の一例を示す図である。It is a figure which shows an example of the initial setting state of each electric energy set by the electric energy initial setting part of 1st Embodiment. 第1の実施形態の設定電力量変更部により設定される各電力量の設定状態の一例を示す図である。It is a figure which shows an example of the setting state of each electric energy set by the setting electric energy change part of 1st Embodiment. 第1の実施形態によるプリンタの動作例を示すフローチャートである。6 is a flowchart illustrating an example of an operation of the printer according to the first embodiment. 第2の実施形態によるプリンタの構成例を示す図である。It is a figure which shows the structural example of the printer by 2nd Embodiment. 従来の問題点を説明するための図である。It is a figure for demonstrating the conventional problem.

(第1の実施形態)
以下、本発明による第1の実施形態を図面に基づいて説明する。図1は、第1の実施形態による情報処理システムの構成例を示す図である。図1に示すように、第1の実施形態による情報処理システムは、本発明の供給電力制御装置を備えたプリンタ100と、当該プリンタ100に電力を供給するAC電源アダプタ200と、プリンタ100に接続されるUSBデバイス301〜303(以下、まとめてUSBデバイス300と記す)とを備えて構成されている。
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a first embodiment of the invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of an information processing system according to the first embodiment. As shown in FIG. 1, the information processing system according to the first embodiment is connected to a printer 100 including a supply power control device of the present invention, an AC power adapter 200 that supplies power to the printer 100, and the printer 100. USB devices 301 to 303 (hereinafter collectively referred to as USB devices 300).

プリンタ100は、図1の例では3つのUSBポート21〜23を備え、最大で3つのUSBデバイス301〜303を接続することが可能となっている。図1の例ではプリンタ100に3つのUSBデバイス301〜303が接続された状態を示しているが、プリンタ100に接続するUSBデバイス300の数は、0個、1個、2個、3個の何れとすることも可能である。   In the example of FIG. 1, the printer 100 includes three USB ports 21 to 23 and can connect up to three USB devices 301 to 303. The example of FIG. 1 shows a state where three USB devices 301 to 303 are connected to the printer 100, but the number of USB devices 300 connected to the printer 100 is 0, 1, 2, 3 Either can be used.

図2は、第1の実施形態によるプリンタ100の構成例を示す図である。図2に示すように、プリンタ100は、本発明の供給電力制御装置10、USBポート20、サーマルヘッド30および内部基板40を備えている。供給電力制御装置10は、その機能構成として、電力制御部11、要否設定部12、要否設定情報記憶部13および印刷動作状況検出部14を備えている。電力制御部11は、より具体的な機能構成として、電力量初期設定部11a、設定電力量変更部11bおよび電力供給制御部11cを備えている。   FIG. 2 is a diagram illustrating a configuration example of the printer 100 according to the first embodiment. As shown in FIG. 2, the printer 100 includes a supply power control device 10, a USB port 20, a thermal head 30, and an internal substrate 40 according to the present invention. The power supply control device 10 includes a power control unit 11, a necessity setting unit 12, a necessity setting information storage unit 13, and a printing operation status detection unit 14 as functional configurations. The power control unit 11 includes a power amount initial setting unit 11a, a set power amount change unit 11b, and a power supply control unit 11c as more specific functional configurations.

なお、電力制御部11が備える各機能ブロック11a,11b,11cは、例えば、CPU、RAM、ROMなどを備えたマイクロコンピュータ等により構成され、ROMに記憶されたプログラムが動作することによって実現される。要否設定部12および印刷動作状況検出部14の機能も同様に、CPU、RAM、ROMなどを備えたマイクロコンピュータ等により構成され、ROMに記憶されたプログラムが動作することによって実現される。ここで、プログラムを記憶する記憶媒体はROMに限らず、ハードディスクまたは半導体メモリ等の他の記憶媒体であってもよい。   The functional blocks 11a, 11b, and 11c included in the power control unit 11 are configured by, for example, a microcomputer that includes a CPU, RAM, ROM, and the like, and are realized by operating programs stored in the ROM. . Similarly, the functions of the necessity setting unit 12 and the printing operation status detection unit 14 are configured by a microcomputer having a CPU, a RAM, a ROM, and the like, and are realized by operating a program stored in the ROM. Here, the storage medium for storing the program is not limited to the ROM, and may be another storage medium such as a hard disk or a semiconductor memory.

供給電力制御装置10は、AC電源アダプタ200からプリンタ100に供給される電力を、サーマルヘッド30に供給するとともに、当該サーマルヘッド30以外のものに供給する。すなわち、供給電力制御装置10は、サーマルヘッド30に供給する電力と、サーマルヘッド30以外のものに供給する電力とを制御する。本実施形態において、サーマルヘッド30以外のものとは、プリンタ100のUSBポート20に接続されたUSBデバイス300、および、プリンタ100に内蔵された内部基板40である。   The power supply control device 10 supplies power supplied from the AC power adapter 200 to the printer 100 to the thermal head 30 and supplies it to other than the thermal head 30. That is, the supply power control device 10 controls the power supplied to the thermal head 30 and the power supplied to things other than the thermal head 30. In the present embodiment, the devices other than the thermal head 30 are the USB device 300 connected to the USB port 20 of the printer 100 and the internal substrate 40 built in the printer 100.

USBデバイス300への電力供給は、USBポート20を介して行う。上述したように、本実施形態では、プリンタ100は3つのUSBポート21〜23を有している。供給電力制御装置10は、この3つのUSBポート21〜23の何れかに接続されたUSBデバイス300に対して、当該USBポート21〜23を介して電力の供給を行う。   Power is supplied to the USB device 300 via the USB port 20. As described above, in the present embodiment, the printer 100 has the three USB ports 21 to 23. The supply power control apparatus 10 supplies power to the USB device 300 connected to any one of the three USB ports 21 to 23 via the USB ports 21 to 23.

以下に、供給電力制御装置10の機能構成について詳しく説明する。   Hereinafter, the functional configuration of the supplied power control apparatus 10 will be described in detail.

電力制御部11は、電力供給制御部11cによって、AC電源アダプタ200からプリンタ100に供給された電力を、USBポート20に接続されたUSBデバイス300、プリンタ100内のサーマルヘッド30および内部基板40に対して供給するよう制御する。   The power control unit 11 supplies the power supplied from the AC power adapter 200 to the printer 100 by the power supply control unit 11c to the USB device 300 connected to the USB port 20, the thermal head 30 in the printer 100, and the internal substrate 40. Control to supply.

ここで、電力供給制御部11cは、内部基板40に対しては常に電力を供給する。また、電力供給制御部11cは、サーマルヘッド30に対しては、印字動作を実行するときにのみ電力を供給する。また、USBデバイス300に関しては、印字動作が実行されていないときには、USBポート21〜23に接続されているUSBデバイス300の全てに対して電力を供給する。一方、印字動作の実行中は、USBポート21〜23に接続されているUSBデバイス300のうち、後述するように印字中における電力供給を不要に設定されたUSBデバイス300(以下、電力不要デバイスという)に対する電力の供給を停止し、それ以外のUSBデバイス300に対して電力の供給を行う。   Here, the power supply control unit 11 c always supplies power to the internal substrate 40. The power supply control unit 11c supplies power to the thermal head 30 only when a printing operation is performed. As for the USB device 300, when the printing operation is not executed, power is supplied to all the USB devices 300 connected to the USB ports 21 to 23. On the other hand, during the printing operation, of the USB devices 300 connected to the USB ports 21 to 23, the USB device 300 (hereinafter referred to as a power unnecessary device) that is set so that power supply during printing is unnecessary as will be described later. ) Is stopped, and power is supplied to the other USB devices 300.

本実施形態では、電力制御部11は、サーマルヘッド30に供給可能な最大の電力量と、当該サーマルヘッド30以外のもの(USBデバイス300および内部基板40)に供給可能な最大の電力量との割り振りを制御する。この割り振りを制御するのが、電力量初期設定部11aおよび設定電力量変更部11bである。なお、この電力量初期設定部11aおよび設定電力量変更部11bの動作については後述する。   In the present embodiment, the power control unit 11 calculates the maximum amount of power that can be supplied to the thermal head 30 and the maximum amount of power that can be supplied to things other than the thermal head 30 (the USB device 300 and the internal substrate 40). Control allocation. The power amount initial setting unit 11a and the set power amount changing unit 11b control this allocation. The operations of the power amount initial setting unit 11a and the set power amount changing unit 11b will be described later.

要否設定部12は、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBポート21〜23に接続されるUSBデバイス毎に設定する。この電力供給の要否に関する設定は、図示しない操作部に対するユーザの操作を通じて行う。   The necessity setting unit 12 sets whether or not it is necessary to supply power to the USB device 300 during printing by the printer 100 for each USB device connected to the USB ports 21 to 23. This setting regarding the necessity of power supply is performed through a user operation on an operation unit (not shown).

本実施形態では、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBデバイス300が接続されるUSBポート21〜23の指定によって行う。例えば、あるUSBデバイス300を第1のUSBポート21に接続する際に、ユーザがその第1のUSBポート21を指定して印字中の電力供給を不要に設定すると、第1のUSBポート21に接続されるUSBデバイス300は、その種類にかかわらず、印字中における電力供給が不要に設定された電力不要デバイスとなる。   In the present embodiment, whether or not power supply to the USB device 300 is required during printing by the printer 100 is performed by specifying the USB ports 21 to 23 to which the USB device 300 is connected. For example, when connecting a certain USB device 300 to the first USB port 21, if the user designates the first USB port 21 and sets power supply during printing to be unnecessary, the first USB port 21 is connected to the first USB port 21. Regardless of the type, the connected USB device 300 is a power-free device that is set so that power supply during printing is unnecessary.

要否設定情報記憶部13は、要否設定部12により設定された電力供給の要否に関する情報(以下、要否設定情報という)を記憶する。上述のように、要否設定情報は、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBポート21〜23に接続されるUSBデバイス300毎に設定可能になされた情報である。具体的には、要否設定情報は、USBポート21〜23毎に電力供給の要否が設定された情報である。   The necessity setting information storage unit 13 stores information on the necessity of power supply set by the necessity setting unit 12 (hereinafter referred to as necessity setting information). As described above, the necessity setting information can be set for each USB device 300 connected to the USB ports 21 to 23 as to whether power supply to the USB device 300 is required during printing by the printer 100. Information made. Specifically, the necessity setting information is information in which necessity of power supply is set for each of the USB ports 21 to 23.

印刷動作状況検出部14は、プリンタ100による印字動作状況を検出する。具体的には、印刷動作状況検出部14は、プリンタ100が印字動作を開始したか否か、プリンタ100が印字動作を終了したか否かといったステータスを検出する。   The printing operation status detection unit 14 detects the printing operation status by the printer 100. Specifically, the printing operation status detection unit 14 detects statuses such as whether the printer 100 has started a printing operation and whether the printer 100 has finished the printing operation.

電力制御部11の電力量初期設定部11aは、プリンタ100の電源がオンとされたときに、サーマルヘッド30に供給可能な最大の電力量(ヘッド消費電力量PHD)と、サーマルヘッド30以外のものに供給可能な最大の電力量(その他消費電力量POT)との割り振りを初期設定する。ここでは、その他消費電力量POTとして必要量を確保しつつ、ヘッド消費電力量PHDを初期設定する。 The power amount initial setting unit 11 a of the power control unit 11 is configured so that the maximum power amount (head power consumption amount P HD ) that can be supplied to the thermal head 30 when the printer 100 is turned on, and the thermal head 30 other than the thermal head 30. The allocation with the maximum amount of power (other power consumption P OT ) that can be supplied to the device is initialized. Here, the head power consumption amount P HD is initialized while securing a necessary amount as the other power consumption amount P OT .

具体的には、電力量初期設定部11aは、まず、1つのUSBデバイスで消費され得る最大の電力量(USB最大消費電力量PUSB)にUSBポート21〜23の数(本実施形態では3個)を乗じた電力量と、内部基板40で消費される電力量(内部消費電力量PIN)との合計電力量を、その他消費電力量POTとして初期設定する。ここでは、USBポート21〜23にいくつのUSBデバイス300が接続されているかにかかわらず、USB最大消費電力量PUSB×3の電力量を含めてその他消費電力量POTを初期設定する。 Specifically, the power amount initial setting unit 11a first sets the maximum power amount (USB maximum power consumption amount P USB ) that can be consumed by one USB device to the number of USB ports 21 to 23 (3 in this embodiment). The total power amount of the power amount multiplied by the power amount and the power amount consumed by the internal substrate 40 (internal power consumption amount P IN ) is initially set as the other power consumption amount P OT . Here, regardless of how many USB devices 300 are connected to the USB ports 21 to 23, the other power consumption amount P OT including the power amount of the USB maximum power consumption amount P USB × 3 is initialized.

次に、電力量初期設定部11aは、AC電源アダプタ200からプリンタ100に供給可能な定格電力量(AC定格電力量PAC)から、上述のように初期設定したその他消費電力量POTを引いた電力を、サーマルヘッド30のヘッド消費電力量PHDとして初期設定する。 Next, the power amount initial setting unit 11a subtracts the other power consumption amount P OT initially set as described above from the rated power amount (AC rated power amount P AC ) that can be supplied from the AC power adapter 200 to the printer 100. The initial power is set as the head power consumption amount P HD of the thermal head 30.

図3は、電力量初期設定部11aにより設定される各電力量の初期設定状態の一例を示す図である。図3に示すように、電力量初期設定部11aは、USBデバイス3つ分のUSB最大消費電力量PUSBの電力量(=PUSB×3)と内部消費電力量PINとの合計電力量を、その他消費電力量POTとして初期設定する。また、電力量初期設定部11aは、AC定格電力量PACからその他消費電力量POTを引いた電力を、サーマルヘッド30のヘッド消費電力量PHDとして初期設定する。ここで、USB最大消費電力量PUSB、内部消費電力量PINおよびAC定格電力量PACは何れも既知であり、図示しない内部メモリに記憶されている。 FIG. 3 is a diagram illustrating an example of an initial setting state of each power amount set by the power amount initial setting unit 11a. As shown in FIG. 3, the power amount initial setting unit 11 a is configured to calculate the total power amount of the USB maximum power consumption amount P USB power amount (= P USB × 3) and the internal power consumption amount PIN for three USB devices. Is initially set as the other power consumption POT . Further, the power amount initial setting unit 11 a initially sets the power obtained by subtracting the other power consumption amount POT from the AC rated power amount P AC as the head power consumption amount P HD of the thermal head 30. Here, the USB maximum power consumption P USB , the internal power consumption P IN and the AC rated power P AC are all known and stored in an internal memory (not shown).

なお、ここでいう電力量の「設定」とは、実際に電力を供給することを意味するものではなく、供給可能な電力量を確保することを意味する。すなわち、ヘッド消費電力量PHDを設定するというのは、電力制御部11の電力供給制御部11cがサーマルヘッド30に対してヘッド消費電力量PHD分の電力を常に供給するということではない。電力供給制御部11cは、実際に印刷を実行する際に、サーマルヘッド30に対して、確保されたヘッド消費電力量PHDの範囲内で電力を供給する。印刷の実行が終了すれば、電力供給制御部11cはサーマルヘッド30に対する電力の供給を停止する。 The “setting” of the electric energy here does not mean that the electric power is actually supplied, but means that the electric power that can be supplied is secured. That is, because setting the head power consumption P HD, the power supply control unit 11c of the power control unit 11 is not always that powering of the head power consumption P HD content with respect to the thermal head 30. Power supply control unit 11c when performing the actual printing, with respect to the thermal head 30, for supplying power within the head power consumption P HD reserved. When the execution of printing is completed, the power supply control unit 11 c stops supplying power to the thermal head 30.

また、USB最大消費電力量PUSB×3の電力量を含めてその他消費電力量POTを設定するというのは、電力供給制御部11cがUSBデバイス300に対してUSB最大消費電力量PUSB×3の電力を常に供給するということではない。電力供給制御部11cは、USBポート21〜23の何れかに対して実際にUSBデバイス300が接続されたときに、そのUSBデバイス300に対して電力を供給する。このとき、電力供給制御部11cは、1つのUSBポートに接続されたUSBデバイス300に対してUSB最大消費電力量PUSB分の電力を必ず供給するのではなくて、接続されたUSBデバイス300に固有の消費電力量分の電力を供給する。供給する電力量は、USBポート21〜23に接続されるUSBデバイス300に応じて異なる。 In addition, setting the other power consumption POT including the power consumption of the USB maximum power consumption P USB × 3 means that the power supply control unit 11c sets the USB maximum power consumption P USB × to the USB device 300. It does not mean that the power of 3 is always supplied. The power supply control unit 11 c supplies power to the USB device 300 when the USB device 300 is actually connected to any of the USB ports 21 to 23. At this time, the power supply control unit 11c does not necessarily supply power for the USB maximum power consumption amount P USB to the USB device 300 connected to one USB port, but to the connected USB device 300. Supplying power for the specific power consumption. The amount of power to be supplied varies depending on the USB device 300 connected to the USB ports 21 to 23.

設定電力量変更部11bは、電力量初期設定部11aにより供給電力量の割り振りを初期設定した後、当該設定を必要に応じて変更する。具体的には、設定電力量変更部11bは、印字動作状況検出部14によりプリンタ100による印字動作の実行(例えば、印字動作の開始指示)が検出されたか否かを判定する。そして、印字動作の実行が検出された場合、USBポート21〜23に接続されるUSBデバイス300のうち、要否設定情報記憶部13に記憶された要否設定情報によって印字中における電力供給が不要に設定されている電力不要デバイスの数に応じて、その他消費電力量POTを減らしてヘッド消費電力量PHDを増やすように供給電力量の設定を変更する。 The set power amount changing unit 11b changes the setting as necessary after the power amount initial setting unit 11a initializes the allocation of the supplied power amount. Specifically, the set power amount changing unit 11b determines whether or not the printing operation status detection unit 14 has detected execution of a printing operation by the printer 100 (for example, a printing operation start instruction). When the execution of the printing operation is detected, it is not necessary to supply power during printing by the necessity setting information stored in the necessity setting information storage unit 13 among the USB devices 300 connected to the USB ports 21 to 23. depending on the number of power unnecessary devices that are set to the other to reduce the power consumption P OT to change the settings of the supply power amount to increase the head power consumption P HD.

具体的には、設定電力量変更部11bは、USB最大消費電力量PUSBに電力不要デバイスの数を乗じた電力量をその他消費電力量POTから減算する一方、当該電力量をヘッド消費電力量PHDに加算する。本実施形態の場合、電力不要デバイスの数は、USBデバイス300を接続する際にユーザにより電力供給不要として指定されたUSBポートの数として把握される。例えば、2つのUSBポート21,22を、印字中における電力供給を不要にするポートとして指定した場合、電力不要デバイスの数は2つということになる。 Specifically, the set power amount changing unit 11b subtracts the power amount obtained by multiplying the USB maximum power consumption amount P USB by the number of power-unnecessary devices from the other power consumption amount P OT, while reducing the power amount to the head power consumption amount. Add to the quantity P HD . In the case of this embodiment, the number of devices that do not require power is grasped as the number of USB ports designated by the user as not requiring power supply when the USB device 300 is connected. For example, when the two USB ports 21 and 22 are designated as ports that do not require power supply during printing, the number of devices that do not require power is two.

図4は、設定電力量変更部11bにより設定される各電力量の設定状態の一例を示す図である。図4(a)は、電力不要デバイスの数(電力供給を不要に設定したUSBポートの数)が1個であった場合の例を示している。図4(a)に示すように、設定電力量変更部11bは、(USB最大消費電力量PUSB×2)と内部消費電力量PINとの合計電力量を、その他消費電力量POT’として設定する。また、設定電力量変更部11bは、AC定格電力量PACからその他消費電力量POT’を引いた電力量を、サーマルヘッド30のヘッド消費電力量PHD’として設定する。 FIG. 4 is a diagram illustrating an example of a setting state of each power amount set by the set power amount changing unit 11b. FIG. 4A shows an example in which the number of devices that do not require power (the number of USB ports that are set so that power supply is not required) is one. As shown in FIG. 4A, the set power amount changing unit 11b calculates the total power amount of (USB maximum power consumption amount P USB × 2) and the internal power consumption amount P IN as the other power consumption amount P OT ′. Set as. Further, the set power amount changing unit 11b sets the power amount obtained by subtracting the other power consumption amount P OT 'from the AC rated power amount P AC as the head power consumption amount P HD ' of the thermal head 30.

すなわち、印字中においては電力不要デバイスに電力を供給する必要はないため、設定電力量変更部11bは、図3に示す初期設定状態から電力不要デバイス1つ分のUSB最大消費電力量PUSBを減らしてその他消費電力量POT’を設定する。逆に、図3に示す初期設定状態から電力不要デバイス1つ分のUSB最大消費電力量PUSBを増やしてヘッド消費電力量PHD’を設定する。 That is, since it is not necessary to supply power to the device that does not require power during printing, the set power amount changing unit 11b obtains the USB maximum power consumption amount P USB for one device that does not require power from the initial setting state illustrated in FIG. Decrease and set other power consumption P OT '. Conversely, the USB maximum power consumption P USB for one power-unnecessary device is increased from the initial setting state shown in FIG. 3 to set the head power consumption P HD ′.

図4(b)は、電力不要デバイスの数が2個であった場合の例を示している。図4(b)に示すように、設定電力量変更部11bは、(USB最大消費電力量PUSB×1)と内部消費電力量PINとの合計電力量を、その他消費電力量POT’として設定する。また、設定電力量変更部11bは、AC定格電力量PACからその他消費電力量POT’を引いた電力量を、サーマルヘッド30のヘッド消費電力量PHD’として設定する。 FIG. 4B shows an example in which the number of power unnecessary devices is two. As shown in FIG. 4B, the set power amount changing unit 11b calculates the total power amount of (USB maximum power consumption amount P USB × 1) and the internal power consumption amount P IN as the other power consumption amount P OT ′. Set as. Further, the set power amount changing unit 11b sets the power amount obtained by subtracting the other power consumption amount P OT 'from the AC rated power amount P AC as the head power consumption amount P HD ' of the thermal head 30.

すなわち、印字中においては2つの電力不要デバイスに電力を供給する必要はないため、設定電力量変更部11bは、図3に示す初期設定状態から電力不要デバイス2つ分のUSB最大消費電力量PUSBを減らしてその他消費電力量POT’を設定する。逆に、図3に示す初期設定状態から電力不要デバイス2つ分のUSB最大消費電力量PUSBを増やしてヘッド消費電力量PHD’を設定する。 That is, since it is not necessary to supply power to the two power unnecessary devices during printing, the set power amount changing unit 11b performs the USB maximum power consumption P for two power unnecessary devices from the initial setting state illustrated in FIG. Reduce USB and set other power consumption P OT '. Conversely, the USB maximum power consumption P USB for two power-unnecessary devices is increased from the initial setting state shown in FIG. 3 to set the head power consumption P HD ′.

このように、電力量初期設定部11aが電力不要デバイスの数に応じて供給電力量の割り振りの設定を変更した場合、電力供給制御部11cは、電力不要デバイスに対する電力の供給を実際に停止させる。すなわち、電力供給制御部11cは、電力供給不要と設定されたUSBポートへの電力の供給を停止させる。なお、その他のUSBポートにUSBデバイス300が接続されていれば、電力供給制御部11cは、当該その他のUSBポートに接続されたUSBデバイス300への電力供給は継続して行う。   As described above, when the power amount initial setting unit 11a changes the setting of the supply power amount allocation according to the number of devices that do not require power, the power supply control unit 11c actually stops the supply of power to the devices that do not require power. . That is, the power supply control unit 11c stops the supply of power to the USB port that is set as requiring no power supply. If the USB device 300 is connected to another USB port, the power supply control unit 11c continues to supply power to the USB device 300 connected to the other USB port.

設定電力量変更部11bは、印字動作状況検出部14によりプリンタ100による印字動作の終了が検出された場合、供給電力量の割り振りの設定を、電力量初期設定部11aにより設定された初期設定の状態(図3に示す設定状態)に戻す。この場合、電力供給制御部11cは、電力不要デバイスに対する電力の供給を再開させる。   When the printing operation status detecting unit 14 detects the end of the printing operation by the printer 100, the set power amount changing unit 11b sets the allocation of the supplied power amount to the initial setting set by the power amount initial setting unit 11a. Return to the state (setting state shown in FIG. 3). In this case, the power supply control unit 11c restarts the supply of power to the power unnecessary device.

図5は、上記のように構成した第1の実施形態によるプリンタ100の動作例を示すフローチャートである。図5に示すフローチャートの処理は、プリンタ100の電源をオンとしたときに開始する。なお、要否設定情報記憶部13には、印字中に電力供給を不要にするUSBポートを指定した要否設定情報が既に記憶されているものとする。   FIG. 5 is a flowchart showing an operation example of the printer 100 according to the first embodiment configured as described above. The process of the flowchart shown in FIG. 5 starts when the printer 100 is turned on. It is assumed that the necessity setting information storage unit 13 has already stored necessity setting information specifying a USB port that does not require power supply during printing.

プリンタ100の電源がオンにされると、電力量初期設定部11aは、まず、USBデバイス3つ分のUSB最大消費電力量PUSBと内部消費電力量PINとの合計電力量を、その他消費電力量POTとして初期設定する(ステップS1)。次に、電力量初期設定部11aは、当該初期設定したその他消費電力量POTをAC定格電力量PACから引いた電力量を、ヘッド消費電力量PHDとして初期設定する(ステップS2)。その後、設定電力量変更部11bは、印字動作状況検出部14によりプリンタ100による印字動作の開始が検出されたか否かを判定する(ステップS3)。 When the power of the printer 100 is turned on, the power amount initial setting unit 11a first uses the total power amount of the USB maximum power consumption amount P USB and the internal power consumption amount P IN for three USB devices as other consumption. Initially set as the electric energy POT (step S1). Next, the power amount initial setting unit 11a initially sets the power amount obtained by subtracting the initially set other power consumption amount P OT from the AC rated power amount P AC as the head power consumption amount P HD (step S2). Thereafter, the set power amount changing unit 11b determines whether or not the printing operation status detection unit 14 has detected the start of the printing operation by the printer 100 (step S3).

ここで、印字動作の開始が検出されていない場合、処理はステップS12にジャンプする。この場合、電力供給制御部11cは、サーマルヘッド30に対する電力供給は行わない。なお、図5には図示していないが、電力供給制御部11cは、内部基板40に対して電力を供給するとともに、USBポート20を通じてUSBデバイス300(電力不要デバイスを含む)に対して電力を供給する。   If the start of the printing operation is not detected here, the process jumps to step S12. In this case, the power supply control unit 11 c does not supply power to the thermal head 30. Although not shown in FIG. 5, the power supply control unit 11 c supplies power to the internal board 40 and supplies power to the USB device 300 (including devices that do not require power) through the USB port 20. Supply.

一方、印字動作の開始が検出された場合、設定電力量変更部11bは、要否設定情報記憶部13に記憶された要否設定情報を参照することにより、印字中における電力供給が不要に設定されているUSBポートの数(電力不要デバイスの数)をUSB最大消費電力量PUSBに乗じた電力量をその他消費電力量POTから減算し、減算された電力量をその他消費電力量POT’として設定し直す(ステップS4)。また、設定電力量変更部11bは、再設定したその他消費電力量POT’をAC定格電力量PACから引いた電力量を、ヘッド消費電力量PHD’として設定し直す(ステップS5)。 On the other hand, when the start of the printing operation is detected, the set power amount changing unit 11b refers to the necessity setting information stored in the necessity setting information storage unit 13 so that power supply during printing is unnecessary. Subtract the amount of power obtained by multiplying the number of USB ports (number of devices that do not require power) by the USB maximum power consumption P USB from the other power consumption P OT, and subtract the amount of power subtracted from the other power consumption P OT Set as' again (step S4). The set power amount changing unit 11b resets the power amount obtained by subtracting the reset other power consumption amount P OT 'from the AC rated power amount P AC as the head power consumption amount P HD ' (step S5).

また、電力供給制御部11cは、要否設定情報によって電力供給不要と設定されたUSBポートを通じて行う電力不要デバイスに対する電力の供給を停止させる(ステップS6)。このとき、電力供給制御部11cは、内部基板40に対する電力の供給と、電力不要デバイス以外のUSBデバイス300に対する電力の供給は継続して実行する。   In addition, the power supply control unit 11c stops the supply of power to the power-unnecessary device performed through the USB port that is set as not requiring power supply according to the necessity setting information (step S6). At this time, the power supply control unit 11c continues to supply power to the internal substrate 40 and supply power to the USB device 300 other than the power unnecessary device.

さらに、電力供給制御部11cは、サーマルヘッド30に電力を供給して印字動作を実行する(ステップS7)。このとき、ステップS1,S2で設定した初期設定状態から(USB最大消費電力量PUSB×電力不要デバイスの数)の分だけ増やしてヘッド消費電力量PHD’ が設定されており、電力不要デバイスに対する電力の供給も実際に停止しているので、サーマルヘッド30に多くの電力を供給して印字速度を上げることが可能である。 Further, the power supply controller 11c supplies power to the thermal head 30 to execute a printing operation (step S7). At this time, the head power consumption amount P HD ′ is set by increasing (the maximum USB power consumption amount P USB × the number of power unnecessary devices) from the initial setting state set in steps S1 and S2, and the power unnecessary device is set. Since the supply of power to is actually stopped, it is possible to supply a large amount of power to the thermal head 30 to increase the printing speed.

その後、設定電力量変更部11bは、印字動作状況検出部14によりプリンタ100による印字動作の終了が検出されたか否かを判定する(ステップS8)。印字動作の終了が検出されていない場合、処理はステップS7に戻る。一方、印字動作の終了が検出された場合、設定電力量変更部11bは、供給電力量の割り振りの設定を、電力量初期設定部11aにより設定された初期設定の状態に戻す(ステップS9,S10)。また、電力供給制御部11cは、電力不要デバイスに対する電力の供給を再開させる(ステップS11)。   Thereafter, the set power amount changing unit 11b determines whether or not the printing operation state detecting unit 14 has detected the end of the printing operation by the printer 100 (step S8). If the end of the printing operation is not detected, the process returns to step S7. On the other hand, when the end of the printing operation is detected, the set power amount changing unit 11b returns the setting of the supply power amount allocation to the initial setting state set by the power amount initial setting unit 11a (steps S9 and S10). ). Further, the power supply control unit 11c restarts the supply of power to the power unnecessary device (step S11).

次に、電力制御部11は、プリンタ100の電源がオフにされたか否かを判定する(ステップS12)。プリンタ100の電源がオフにされていない場合、処理はステップS3に戻る。一方、プリンタ100の電源がオフにされた場合は、図5に示すフローチャートの処理を終了する。   Next, the power control unit 11 determines whether or not the printer 100 is turned off (step S12). If the printer 100 is not turned off, the process returns to step S3. On the other hand, when the printer 100 is turned off, the process of the flowchart shown in FIG.

以上詳しく説明したように、第1の実施形態によれば、USBポート21〜23に接続されたUSBデバイス300での消費電力ではなく、印字中の電力供給を不要に設定されたUSBポートの数(電力不要デバイスの数)に応じて、プリンタ100のサーマルヘッド30に供給する電力とそれ以外のものに供給する電力とが制御される。このため、USBデバイス300で消費される電力量を検出する仕組みを導入することなく、電力不要デバイスの数に応じたプリンタ100内部の余剰電力をサーマルヘッド30の駆動に適切に充てることができる。これにより、プリンタ100での消費電力量がAC電源アダプタ200の定格を超過することを回避する目的で調整を余儀なくされている印字速度の低下を最小限にとどめることができる。   As described above in detail, according to the first embodiment, the number of USB ports that are set not to consume power in the USB device 300 connected to the USB ports 21 to 23 and are not set to supply power during printing. The power supplied to the thermal head 30 of the printer 100 and the power supplied to other devices are controlled according to (the number of devices that do not require power). For this reason, the surplus power in the printer 100 corresponding to the number of devices that do not require power can be appropriately applied to drive the thermal head 30 without introducing a mechanism for detecting the amount of power consumed by the USB device 300. As a result, it is possible to minimize the decrease in the printing speed that must be adjusted for the purpose of avoiding that the power consumption of the printer 100 exceeds the rating of the AC power adapter 200.

(第2の実施形態)
次に、本発明による第2の実施形態を図面に基づいて説明する。第2の実施形態による情報処理システムの構成は、図1と同様である。図6は、第2の実施形態によるプリンタ100の構成例を示す図である。図6に示すように、第2の実施形態によるプリンタ100は、USBデバイス検出部15を更に備えている。また、図2に示した設定電力量変更部11b、要否設定部12および要否設定情報記憶部13に代えて、設定電力量変更部11b’、要否設定部12’および要否設定情報記憶部13’を備えている。
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to the drawings. The configuration of the information processing system according to the second embodiment is the same as that shown in FIG. FIG. 6 is a diagram illustrating a configuration example of the printer 100 according to the second embodiment. As shown in FIG. 6, the printer 100 according to the second embodiment further includes a USB device detection unit 15. Further, instead of the set power amount changing unit 11b, the necessity setting unit 12 and the necessity setting information storage unit 13 shown in FIG. 2, the set power amount changing unit 11b ′, the necessity setting unit 12 ′, and the necessity setting information. A storage unit 13 'is provided.

要否設定部12’は、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBデバイス300の種類(メモリ、マウス、ディスプレイ等といった製品カテゴリ)の指定によって行う。この電力供給の要否に関する設定は、図示しない操作部に対するユーザの操作を通じて行う。例えば、ユーザが特定の製品カテゴリを指定して印字中の電力供給を不要に設定すると、その製品カテゴリに属するUSBデバイス300は、どのUSBポート21〜23に接続されるかにかかわらず、印字中における電力供給が不要に設定された電力不要デバイスとなる。   The necessity setting unit 12 ′ determines whether or not power supply to the USB device 300 is required during printing by the printer 100 by specifying the type of the USB device 300 (product category such as memory, mouse, display, etc.). . This setting regarding the necessity of power supply is performed through a user operation on an operation unit (not shown). For example, when the user designates a specific product category and sets the power supply during printing to be unnecessary, the USB device 300 belonging to the product category is printing regardless of which USB port 21 to 23 is connected. In this case, the power supply device is set so that the power supply is not required.

要否設定情報記憶部13’は、要否設定部12’により設定された電力供給の要否に関する要否設定情報を記憶する。上述のように、要否設定情報は、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBデバイス300の種類の指定によって示した情報である。   The necessity setting information storage unit 13 ′ stores necessity setting information related to necessity of power supply set by the necessity setting unit 12 ′. As described above, the necessity setting information is information indicating whether or not power supply to the USB device 300 is required during printing by the printer 100 by specifying the type of the USB device 300.

USBデバイス検出部15は、USBポート21〜23に接続されたUSBデバイス300を検出するとともに、当該接続されたUSBデバイス300の種類を検出する。具体的には、USBデバイス検出部15は、3つのUSBポート21〜23のそれぞれ毎に、USBデバイス300が接続されているか否かを検出する。そして、USBデバイス300の接続が検出された場合は、そのUSBデバイス300からデバイスの種類を表す情報を取得することにより、USBデバイス300の種類を検出する。   The USB device detection unit 15 detects the USB device 300 connected to the USB ports 21 to 23 and also detects the type of the connected USB device 300. Specifically, the USB device detection unit 15 detects whether the USB device 300 is connected to each of the three USB ports 21 to 23. When the connection of the USB device 300 is detected, the type of the USB device 300 is detected by acquiring information indicating the type of the device from the USB device 300.

設定電力量変更部11b’は、印字動作状況検出部14によりプリンタ100による印字動作の実行が検出された場合に、USBデバイス検出部15により接続が検出されたUSBデバイス300のうち、要否設定情報記憶部13’に記憶された要否設定情報により指定された種類に該当するUSBデバイス300を電力不要デバイスとして、当該電力不要デバイスの接続数に応じて、その他消費電力量POTを減らしてヘッド消費電力量PHDを増やすように供給電力量の設定を変更する。 The set power amount changing unit 11b ′ sets the necessity setting among the USB devices 300 whose connection is detected by the USB device detecting unit 15 when the printing operation status detecting unit 14 detects the execution of the printing operation by the printer 100. The USB device 300 corresponding to the type specified by the necessity setting information stored in the information storage unit 13 ′ is set as a power unnecessary device, and the other power consumption P OT is reduced according to the number of connected power unnecessary devices. to change the setting of the supply power amount to increase the head power consumption P HD.

具体的には、設定電力量変更部11b’は、USB最大消費電力量PUSBに電力不要デバイスの数を乗じた電力量をその他消費電力量POTから減算して、新たにその他消費電力量POT’を設定する。また、設定電力量変更部11b’は、USB最大消費電力量PUSBに電力不要デバイスの数を乗じた電力量をヘッド消費電力量PHDに加算して、新たにヘッド消費電力量PHD’を設定する。 Specifically, the set power amount changing unit 11b ′ newly subtracts the power amount obtained by multiplying the USB maximum power consumption amount P USB by the number of devices that do not require power from the other power consumption amount P OT to newly add the other power consumption amount. Set P OT '. In addition, the set power amount changing unit 11b ′ adds the power amount obtained by multiplying the USB maximum power consumption amount P USB by the number of devices that do not require power to the head power consumption amount P HD to newly add the head power consumption amount P HD ′. Set.

このように構成した第2の実施形態によれば、ユーザが印字時の電力供給を不要と判断したUSBデバイス300をプリンタ100に接続する際に、接続するUSBポートを指定するようにした第1の実施形態と異なり、プリンタ100への接続時に限らず、印字時の電力供給を不要とするUSBデバイス300の種類をあらかじめ設定して要否設定情報記憶部13’に記憶させておけばよい。すなわち、あらかじめ設定しておいた種類のUSBデバイス300であれば、USBポート21〜23のどこに接続しても、それを自動的に電力不要デバイスと認識してヘッド消費電力量PHD’およびその他消費電力量POT’を設定することができる。 According to the second embodiment configured as described above, the first USB port to be connected is designated when the USB device 300 that the user has determined that the power supply during printing is unnecessary is connected to the printer 100. Unlike the embodiment, the type of the USB device 300 that does not require the power supply at the time of printing is set in advance and stored in the necessity setting information storage unit 13 ′, not only when connected to the printer 100. That is, in the case of the USB device 300 of a preset type, regardless of where the USB ports 21 to 23 are connected, it is automatically recognized as a power unnecessary device and the head power consumption amount P HD ′ and others The power consumption amount P OT ′ can be set.

なお、上記第1および第2の実施形態では、プリンタ100の電源がオンにされたときの初期設定として、USBデバイス3つ分のUSB最大消費電力量PUSBと内部消費電力量PINとの合計電力量を、その他消費電力量POTとして設定する例について説明したが、本発明はこれに限定されない。すなわち、3つのUSBデバイス300および内部基板40に電力を供給するのに十分な電力量をその他消費電力量POTとして初期設定すればよく、必ずしもUSBデバイス3つ分のUSB最大消費電力量PUSBと内部消費電力量PINとの合計値である必要はない。 In the first and second embodiments, as an initial setting when the printer 100 is turned on, the USB maximum power consumption P USB and the internal power consumption PIN for three USB devices are set. Although an example in which the total power amount is set as the other power consumption amount P OT has been described, the present invention is not limited to this. That is, it is only necessary to initially set the amount of power sufficient to supply power to the three USB devices 300 and the internal substrate 40 as the other power consumption amount P OT , and the USB maximum power consumption amount P USB corresponding to three USB devices is not necessarily required. And the internal power consumption PIN need not be the total value.

また、上記第2の実施形態では、プリンタ100による印字中にUSBデバイス300への電力供給を必要とするか否かを、USBデバイス300の種類の指定によって設定する例について説明したが、本発明はこれに限定されない。すなわち、USBポート20に接続されたUSBデバイス300から取得可能な情報であれば、その情報の指定によって電力供給の要否を設定することが可能である。例えば、USBデバイス300のID、製造元によって電力供給の要否を設定するようにしてもよい。   In the second embodiment, the example in which whether or not the power supply to the USB device 300 is required during printing by the printer 100 is set by specifying the type of the USB device 300 has been described. Is not limited to this. That is, if it is information that can be acquired from the USB device 300 connected to the USB port 20, it is possible to set whether or not to supply power by specifying the information. For example, the necessity of power supply may be set by the ID of the USB device 300 and the manufacturer.

また、上記第1および第2の実施形態では、その他消費電力量POTを確保する対象であるサーマルヘッド30以外のものの一例として、USBデバイス300および内部基板40を例に挙げて説明したが、本発明はこれに限定されない。例えば、USBポート20以外のインタフェースによってプリンタに常時接続される外部接続機器をさらに含めてもよい。 In the first and second embodiments, the USB device 300 and the internal substrate 40 have been described as examples of other than the thermal head 30 that is a target for securing the other power consumption POT . The present invention is not limited to this. For example, an external connection device that is always connected to the printer through an interface other than the USB port 20 may be further included.

その他、上記実施形態は、何れも本発明を実施するにあたっての具体化の一例を示したものに過ぎず、これによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその要旨、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   In addition, each of the above-described embodiments is merely an example of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the gist or the main features thereof.

10 供給電力制御装置
11 電力制御部
11a 電力量初期設定部
11b,11b’ 設定電力量変更部
11c 電力供給制御部
12,12’ 要否設定部
13,13’ 要否設定情報記憶部
14 印刷動作状況検出部
15 USBデバイス検出部
21〜23 USBポート
30 サーマルヘッド
40 内部基板
100 プリンタ
200 AC電源アダプタ
300 USBデバイス
DESCRIPTION OF SYMBOLS 10 Supply power control apparatus 11 Power control part 11a Electric power amount initial setting part 11b, 11b 'Setting electric power amount change part 11c Power supply control part 12, 12' Necessity setting part 13, 13 'Necessity setting information storage part 14 Printing operation Status detection unit 15 USB device detection unit 21-23 USB port 30 thermal head 40 internal substrate 100 printer 200 AC power adapter 300 USB device

Claims (8)

AC電源アダプタからプリンタに供給される電力を、上記プリンタのサーマルヘッドに供給するとともに、上記プリンタに接続されたUSBデバイスを含めて上記サーマルヘッド以外のものに供給するようになされた供給電力制御装置であって、
上記プリンタによる印字中に上記USBデバイスへの電力供給を必要とするか否かを、上記プリンタが備えるUSBポートに接続されるUSBデバイス毎に設定可能になされた要否設定情報を記憶する要否設定情報記憶部と、
上記サーマルヘッド以外のものに供給可能な最大の電力量であるその他消費電力量を所定の電力量に初期設定するとともに、上記AC電源アダプタから上記プリンタに供給可能な定格電力量であるAC定格電力量から上記その他消費電力量を引いた電力量を、上記サーマルヘッドに供給可能な最大の電力量であるヘッド消費電力量として初期設定する電力量初期設定部と、
上記プリンタによる印字動作状況を検出する印字動作状況検出部と、
上記印字動作状況検出部により上記プリンタによる印字動作の実行が検出された場合、上記USBポートに接続される上記USBデバイスのうち、上記要否設定情報記憶部に記憶された上記要否設定情報によって上記印字中における電力供給が不要に設定されているUSBデバイスである電力不要デバイスの数に応じて、上記その他消費電力量を減らして上記ヘッド消費電力量を増やす設定電力量変更部とを備えたことを特徴とする供給電力制御装置。
A power supply control device configured to supply power supplied from the AC power adapter to the printer to the thermal head of the printer and to supply to a device other than the thermal head including the USB device connected to the printer. Because
Necessity of storing necessity setting information that can be set for each USB device connected to a USB port included in the printer as to whether or not power supply to the USB device is required during printing by the printer. A setting information storage unit;
Other power consumption, which is the maximum amount of power that can be supplied to other than the thermal head, is initially set to a predetermined power amount, and AC rated power that is the rated power amount that can be supplied from the AC power adapter to the printer A power amount initial setting unit that initially sets a power amount obtained by subtracting the other power consumption amount from the amount as a head power consumption amount that is the maximum power amount that can be supplied to the thermal head;
A printing operation status detection unit for detecting a printing operation status by the printer;
When the printing operation status detection unit detects the execution of the printing operation by the printer, among the USB devices connected to the USB port, the necessity setting information stored in the necessity setting information storage unit is used. A set power amount changing unit that reduces the other power consumption amount and increases the head power consumption amount according to the number of power-unnecessary devices that are USB devices in which power supply during printing is unnecessary. A power supply control device characterized by that.
上記設定電力量変更部は、上記印字動作状況検出部により上記プリンタによる印字動作の終了が検出された場合、上記電力量初期設定部により設定された初期設定の状態に戻すことを特徴とする請求項1に記載の供給電力制御装置。   The set power amount changing unit returns to the initial setting state set by the power amount initial setting unit when the printing operation state detecting unit detects the end of the printing operation by the printer. Item 2. The power supply control device according to Item 1. 上記設定電力量変更部によって上記その他消費電力量を減らして上記ヘッド消費電力量を増やした場合、上記電力不要デバイスに対する電力の供給を停止させる電力供給制御部をさらに備えたことを特徴とする請求項1に記載の供給電力制御装置。   The power supply control unit further comprising: a power supply control unit configured to stop power supply to the power-unnecessary device when the set power consumption changing unit reduces the other power consumption and increases the head power consumption. Item 2. The power supply control device according to Item 1. 上記設定電力量変更部によって上記その他消費電力量を減らして上記ヘッド消費電力量を増やした場合、上記電力不要デバイスに対する電力の供給を停止させる一方、上記設定電力量変更部によって上記初期設定の状態に戻した場合、上記電力不要デバイスに対する電力の供給を再開させる電力供給制御部をさらに備えたことを特徴とする請求項2に記載の供給電力制御装置。   When the head power consumption is increased by reducing the other power consumption by the set power amount change unit, the power supply to the power unnecessary device is stopped, while the initial setting state is set by the set power amount change unit. The power supply control device according to claim 2, further comprising a power supply control unit that resumes the supply of power to the power-unnecessary device when the power is returned to the state. 上記電力量初期設定部は、上記USBデバイス1つで消費され得る最大の電力量であるUSB最大消費電力量に上記USBポートの数を乗じた電力量を含めて、上記その他消費電力量を初期設定するとともに、上記AC定格電力量から上記その他消費電力量を引いた電力量を上記ヘッド消費電力量として初期設定することを特徴とする請求項1または2に記載の供給電力制御装置。   The power amount initial setting unit includes the power amount obtained by multiplying the USB maximum power amount, which is the maximum power amount that can be consumed by one USB device, by the number of the USB ports, and initially sets the other power consumption amount. 3. The supply power control apparatus according to claim 1, wherein a power amount obtained by subtracting the other power consumption amount from the AC rated power amount is initially set as the head power consumption amount. 上記設定電力量変更部は、上記印字動作状況検出部により上記プリンタによる印字動作の実行が検出された場合、上記USBデバイス1つで消費され得る最大の電力量であるUSB最大消費電力量に上記電力不要デバイスの数を乗じた電力量を上記その他消費電力量から減算する一方、当該電力量を上記ヘッド消費電力量に加算することを特徴とする請求項1または2に記載の供給電力制御装置。   The set power amount changing unit is configured to set the USB maximum power consumption amount, which is the maximum power amount that can be consumed by one USB device, when the printing operation state detecting unit detects the execution of the printing operation by the printer. 3. The supply power control apparatus according to claim 1, wherein a power amount obtained by multiplying the number of power unnecessary devices is subtracted from the other power consumption amount, while the power amount is added to the head power consumption amount. . 上記要否設定情報記憶部は、上記プリンタによる印字中に上記USBデバイスへの電力供給を必要とするか否かについて、上記USBデバイスが接続される上記USBポートの指定によって示した上記要否設定情報を記憶し、
上記設定電力量変更部は、上記印字動作状況検出部により上記プリンタによる印字動作の実行が検出された場合、上記要否設定情報により指定されたUSBポートの数に応じて、上記その他消費電力量を減らして上記ヘッド消費電力量を増やすことを請求項1または2に記載の特徴とする供給電力制御装置。
The necessity setting information storage unit indicates whether the power supply to the USB device is required during printing by the printer by indicating the necessity setting of the USB port to which the USB device is connected. Remember information,
When the printing operation status detection unit detects the execution of the printing operation by the printer, the set power amount changing unit determines the other power consumption amount according to the number of USB ports specified by the necessity setting information. The power supply control device according to claim 1, wherein the head power consumption is increased by reducing the power consumption.
上記要否設定情報記憶部は、上記プリンタによる印字中に上記USBデバイスへの電力供給を必要とするか否かについて、上記USBデバイスから取得可能な情報の指定によって示した上記要否設定情報を記憶し、
上記プリンタが備えるUSBポートに接続された上記USBデバイスを検出するとともに、当該接続されたUSBデバイスの情報を取得するUSBデバイス検出部をさらに備え、
上記設定電力量変更部は、上記印字動作状況検出部により上記プリンタによる印字動作の実行が検出された場合、上記USBデバイス検出部により接続が検出されたUSBデバイスのうち、上記要否設定情報により指定された情報を取得したUSBデバイスを上記電力不要デバイスとして、当該電力不要デバイスの接続数に応じて、上記その他消費電力量を減らして上記ヘッド消費電力量を増やすことを請求項1または2に記載の特徴とする供給電力制御装置。
The necessity setting information storage unit stores the necessity setting information indicated by designation of information obtainable from the USB device as to whether power supply to the USB device is required during printing by the printer. Remember,
A USB device detection unit for detecting the USB device connected to the USB port included in the printer and acquiring information of the connected USB device;
The set power amount changing unit, based on the necessity setting information among the USB devices whose connection is detected by the USB device detecting unit, when the printing operation status detecting unit detects the execution of the printing operation by the printer. The method according to claim 1 or 2, wherein the USB device that has acquired the specified information is set as the power-unnecessary device, and the head power consumption is increased by reducing the other power consumption according to the number of connected power-unnecessary devices. A power supply control device characterized by the description.
JP2014199862A 2014-09-30 2014-09-30 Supply power control device Active JP6375831B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014199862A JP6375831B2 (en) 2014-09-30 2014-09-30 Supply power control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014199862A JP6375831B2 (en) 2014-09-30 2014-09-30 Supply power control device

Publications (2)

Publication Number Publication Date
JP2016068380A true JP2016068380A (en) 2016-05-09
JP6375831B2 JP6375831B2 (en) 2018-08-22

Family

ID=55863577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014199862A Active JP6375831B2 (en) 2014-09-30 2014-09-30 Supply power control device

Country Status (1)

Country Link
JP (1) JP6375831B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926730A (en) * 1995-07-11 1997-01-28 Ricoh Co Ltd Device and system for forming image
WO2005022369A1 (en) * 2003-08-28 2005-03-10 Fujitsu Limited Host apparatus, device, and communication system control method
JP2006007553A (en) * 2004-06-25 2006-01-12 Canon Inc Recording device
US20090100275A1 (en) * 2007-10-15 2009-04-16 Ray Chang Dynamic port power allocation apparatus and methods
JP2011134187A (en) * 2009-12-25 2011-07-07 Toshiba Corp Information processing apparatus
JP2012168589A (en) * 2011-02-09 2012-09-06 Ricoh Co Ltd Information processing device, information processing device control method and program
JP2012171220A (en) * 2011-02-22 2012-09-10 Konica Minolta Business Technologies Inc Image forming apparatus
JP2014137664A (en) * 2013-01-16 2014-07-28 Seiko Epson Corp Printing system and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926730A (en) * 1995-07-11 1997-01-28 Ricoh Co Ltd Device and system for forming image
WO2005022369A1 (en) * 2003-08-28 2005-03-10 Fujitsu Limited Host apparatus, device, and communication system control method
JP2006007553A (en) * 2004-06-25 2006-01-12 Canon Inc Recording device
US20090100275A1 (en) * 2007-10-15 2009-04-16 Ray Chang Dynamic port power allocation apparatus and methods
JP2011134187A (en) * 2009-12-25 2011-07-07 Toshiba Corp Information processing apparatus
JP2012168589A (en) * 2011-02-09 2012-09-06 Ricoh Co Ltd Information processing device, information processing device control method and program
JP2012171220A (en) * 2011-02-22 2012-09-10 Konica Minolta Business Technologies Inc Image forming apparatus
JP2014137664A (en) * 2013-01-16 2014-07-28 Seiko Epson Corp Printing system and control method thereof

Also Published As

Publication number Publication date
JP6375831B2 (en) 2018-08-22

Similar Documents

Publication Publication Date Title
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU&#39;s message when status of chassis is changed
JP4660597B2 (en) Image forming apparatus
US9071080B2 (en) Power supply unit, processing system, and control method
JP2015174375A (en) Image forming device and control method for the same, and program
US8976380B2 (en) Image forming apparatus that shifts to different power state, method of controlling the same, and storage medium
JP6375826B2 (en) Supply power control device
TW201520752A (en) Power consumption control in computer system
JP2013187590A5 (en) Information processing apparatus, information processing apparatus control method, program, and recording medium
TW201237608A (en) VR power mode interface
JP2013168028A5 (en) Information processing apparatus, control method therefor, and program
JP6375831B2 (en) Supply power control device
US20150146235A1 (en) Image forming apparatus, method for controlling the same, and storage medium
US10033895B2 (en) Printing apparatus having plurality of power states and control method therefor
JP2012059178A (en) Usb hub device
JP2015530667A5 (en)
JP2016068451A (en) Cooling fan controller, printer and cooling fan control method
JP5608695B2 (en) Information processing apparatus and battery management method for information processing apparatus
US11418670B2 (en) Printing apparatus connected to an external power supply having a plurality of voltage information
US20140198333A1 (en) Image forming apparatus, method of control thereof and computer readable medium
JP2009063713A (en) Image forming device
JP2018015914A5 (en)
JP5889762B2 (en) Image forming apparatus
JP6070129B2 (en) Printer and printer control method
JP2016221947A (en) Image forming apparatus, control method of the same, and program
US9684365B2 (en) Responding device and responding method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170901

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: 20180626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180709

R150 Certificate of patent or registration of utility model

Ref document number: 6375831

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250