JP2022181798A - printer - Google Patents

printer Download PDF

Info

Publication number
JP2022181798A
JP2022181798A JP2021088963A JP2021088963A JP2022181798A JP 2022181798 A JP2022181798 A JP 2022181798A JP 2021088963 A JP2021088963 A JP 2021088963A JP 2021088963 A JP2021088963 A JP 2021088963A JP 2022181798 A JP2022181798 A JP 2022181798A
Authority
JP
Japan
Prior art keywords
power
printer
battery
unit
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021088963A
Other languages
Japanese (ja)
Inventor
国偉 柴
Kunihide Shiba
勇士 酒井
Yuji Sakai
勝 安田
Masaru Yasuda
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021088963A priority Critical patent/JP2022181798A/en
Publication of JP2022181798A publication Critical patent/JP2022181798A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

To provide a printer that can switch a ratio between a first power for charging a printer battery and a second power for charging an apparatus battery according to the maximum power that can be supplied by a power supply device.SOLUTION: A printer has: a power receiving unit 56 that receives power transmitted in a non-contact manner from a power supply device; a printer battery 5B that can be charged with the power received by the power receiving unit 56; a printing unit that is driven by the power charged in the printer battery 5B and performs printing on a medium to be printed; and a power transmission unit 57 that transmits, in a non-contact manner, the power received by the power receiving unit 56 to an electronic apparatus that has an apparatus battery being a rechargeable battery. The printer acquires the maximum power that is the maximum power that can be supplied by the power supply device. The printer determines, based on the acquired maximum power, a distribution ratio for distributing the power received by the power receiving unit 56 into a first power for charging the printer battery 5B and a second power for transmitting power from the power transmission unit 57.SELECTED DRAWING: Figure 10

Description

本発明は、プリンタに関する。 The present invention relates to printers.

特許文献1は、受電ユニットと送電ユニットとを備えたプリンタを開示する。受電ユニットは、給電装置から非接触で電力を受電する。プリンタは、受電した電力により、プリンタが備える充電式のバッテリー(以下、「プリンタ電池」という。)を充電する。送電ユニットは、商用電源から入力した交流を直流に変換して得た電力を、電子機器に非接触で送電する。電子機器に送電された電力により、電子機器が備える充電式のバッテリー(以下、「機器電池」という。)が充電される。又、プリンタは、印刷動作時に行われる駆動信号生成処理と、受電ユニット及び送電ユニットを駆動する電力伝達処理とを排他的に実行する。プリンタは、印刷モードや、プリンタ電池の充電容量等に応じ、駆動信号生成処理と電力伝達処理との何れか一方を優先して実行する。 Patent Literature 1 discloses a printer that includes a power receiving unit and a power transmitting unit. The power receiving unit wirelessly receives power from the power supply device. The printer charges a rechargeable battery (hereinafter referred to as "printer battery") provided in the printer with the received power. The power transmission unit transmits power obtained by converting alternating current input from a commercial power source into direct current to the electronic device in a contactless manner. The electric power transmitted to the electronic device charges a rechargeable battery (hereinafter referred to as "device battery") included in the electronic device. In addition, the printer exclusively executes drive signal generation processing that is performed during a printing operation, and power transmission processing that drives the power receiving unit and the power transmitting unit. The printer preferentially executes either the drive signal generation process or the power transmission process according to the print mode, the charging capacity of the printer battery, and the like.

特開2017-81079号公報JP 2017-81079 A

上記において、商用電源から得られた電力の代わりに、受電ユニットで受電される電力を、送電ユニットにより電子機器に送電する構成も考えられる。この場合、受電ユニットで受電される電力を、プリンタ電池を充電する為の電力(以下、「第1電力」という。)と、送電ユニットにより送電して機器電池を充電する為の電力(以下、「第2電力」という。)とに分配する必要がある。ここで、第1電力及び第2電力の比率は、給電装置により給電可能な最大の電力に応じて切り替えられることが好ましい。 In the above, a configuration is also conceivable in which the power received by the power receiving unit is transmitted to the electronic device by the power transmitting unit instead of the power obtained from the commercial power source. In this case, the power received by the power receiving unit is divided into power for charging the printer battery (hereinafter referred to as "first power") and power transmitted by the power transmitting unit for charging the device battery (hereinafter referred to as "first power"). (referred to as "second power"). Here, the ratio between the first power and the second power is preferably switched according to the maximum power that can be supplied by the power supply device.

本発明の目的は、プリンタ電池を充電する為の第1電力と、機器電池を充電する為の第2電力との比率を、給電装置により給電可能な最大の電力に応じて切り替えることが可能なプリンタを提供することである。 An object of the present invention is to switch the ratio between the first power for charging the printer battery and the second power for charging the device battery according to the maximum power that can be supplied by the power supply device. It is to provide a printer.

本発明に係るプリンタは、給電装置から非接触で送電される電力を受電する受電部と、前記受電部により受電した電力による充電が可能な電池であるプリンタ電池と、前記プリンタ電池に充電された電力により駆動し、被印刷媒体に印刷を行う印刷部と、前記受電部が受電した電力を、充電が可能な電池である機器電池を有する電子機器に非接触で送電する送電部と、前記給電装置が送電可能な最大の電力である最大電力を取得する第1取得手段と、前記第1取得手段により取得した前記最大電力に基づき、前記受電部が受電した電力を、前記プリンタ電池を充電する為の第1電力、及び、前記送電部から送電する為の第2電力に分配する分配率を決定する決定手段とを備えたことを特徴とする。 A printer according to the present invention includes: a power receiving unit that receives power wirelessly transmitted from a power supply device; a printer battery that can be charged with the power received by the power receiving unit; A printing unit that is driven by electric power and prints on a printing medium; a power transmitting unit that wirelessly transmits the power received by the power receiving unit to an electronic device having a device battery that is a rechargeable battery; a first acquisition unit for acquiring maximum power that is the maximum power that can be transmitted by the apparatus; and charging the printer battery with the power received by the power receiving unit based on the maximum power acquired by the first acquisition unit. and determining means for determining a distribution ratio to be distributed to the first power for transmission from the power transmission unit and the second power for transmission from the power transmission unit.

本発明によれば、プリンタは、給電装置が送電可能な最大の電力である最大電力に基づき、第1電力(プリンタ電池を充電する為の電力)及び第2電力(機器電池を充電する為の電力)の分配率を決定できる。 According to the present invention, the printer outputs the first power (power for charging the printer battery) and the second power (power for charging the device battery) based on the maximum power that can be transmitted by the power supply device. power) can be determined.

本発明において、前記印刷部による印刷動作の状態を判定する判定手段を備え、前記決定手段は、前記第1取得手段により取得した前記最大電力が所定閾値以上の場合且つ前記判定手段により印刷動作中であると判定された場合、前記第1電力の方が前記第2電力よりも大きい第1分配率を決定し、且つ、前記第1取得手段により取得した前記最大電力が前記所定閾値以上の場合且つ前記判定手段により印刷動作中でないと判定された場合、前記第2電力の方が前記第1電力よりも大きい第2分配率を決定する第1決定手段を備えてもよい。この場合、プリンタは、印刷動作中の時に、プリンタ電池を充電する為の第1電力を相対的に大きくし、印刷停止中の時に、機器電池を充電する為の第2電力を相対的に大きくできる。このため、プリンタは、プリンタ電池に充電された電力で印刷動作を適切に実行しつつ、印刷停止中に機器電池を効率的に充電できる。 In the present invention, there is provided determination means for determining the state of the printing operation by the printing unit, and the determination means determines whether the maximum power acquired by the first acquisition means is equal to or greater than a predetermined threshold and the determination means is printing. if it is determined that the first power is higher than the second power, and the maximum power acquired by the first acquiring means is equal to or greater than the predetermined threshold and a first determining means for determining a second distribution ratio in which the second power is higher than the first power when the determining means determines that the printing operation is not in progress. In this case, the printer relatively increases the first power for charging the printer battery when printing is in progress, and relatively increases the second power for charging the device battery when printing is stopped. can. Therefore, the printer can efficiently charge the device battery while printing is stopped, while appropriately executing the printing operation with the power charged in the printer battery.

本発明において、前記第1分配率及び前記第2分配率を受け付ける受付手段を備え、前記第1決定手段は、前記受付手段により受け付けた前記第1分配率又は前記第2分配率を決定してもよい。この場合、ユーザは、第1分配率及び第2分配率を所望の値に設定できる。 In the present invention, receiving means for receiving the first distribution rate and the second distribution rate is provided, and the first determining means determines the first distribution rate or the second distribution rate received by the receiving means. good too. In this case, the user can set the first distribution rate and the second distribution rate to desired values.

本発明において、前記プリンタ電池の残容量を取得する第2取得手段を備え、前記決定手段は、前記第2取得手段により取得した前記プリンタ電池の残容量に応じて前記分配率を決定する第2決定手段を備えてもよい。この場合、プリンタは、プリンタ電池の残容量に基づき、適切な分配率を決定できる。 In the present invention, a second acquiring unit for acquiring the remaining capacity of the printer battery is provided, and the determining unit determines the distribution ratio according to the remaining capacity of the printer battery acquired by the second acquiring unit. A determining means may be provided. In this case, the printer can determine the appropriate distribution ratio based on the remaining capacity of the printer battery.

本発明において、前記機器電池の残容量を取得する第3取得手段を備え、前記決定手段は、前記第3取得手段により取得した前記機器電池の残容量に応じて前記分配率を決定する第3決定手段を備えてもよい。この場合、プリンタは、機器電池の残容量に基づき、適切な分配率を決定できる。 In the present invention, a third obtaining means for obtaining the remaining capacity of the device battery is provided, and the determining means determines the distribution ratio according to the remaining capacity of the device battery obtained by the third obtaining means. A determining means may be provided. In this case, the printer can determine the appropriate distribution ratio based on the remaining capacity of the device battery.

本発明において、前記プリンタ電池の充電を優先する第1モード、又は、前記機器電池の充電を優先する第2モードを選択的に設定する設定手段を備え、前記決定手段は、前記第1取得手段により取得した前記最大電力が所定閾値以上の場合、且つ前記設定手段により前記第1モードに設定されている場合、前記第1電力の方が前記第2電力よりも大きい第1分配率を決定し、前記第1取得手段により取得した前記最大電力が前記所定閾値以上の場合、且つ前記設定手段により前記第2モードに設定されている場合、前記第2電力の方が前記第1電力よりも大きい第2分配率を決定する第4決定手段を備えてもよい。この場合、ユーザは、プリンタ電池の充電を優先して行うか、機器電池の充電を優先して行うかを設定できる。 In the present invention, setting means is provided for selectively setting a first mode in which charging of the printer battery is prioritized or a second mode in which charging of the device battery is prioritized, wherein the determination means is the first acquisition means. is equal to or greater than a predetermined threshold value and the setting means sets the first mode, a first distribution ratio is determined in which the first power is greater than the second power. the second power is greater than the first power when the maximum power obtained by the first obtaining means is equal to or greater than the predetermined threshold and the second mode is set by the setting means; A fourth determining means for determining the second distribution ratio may be provided. In this case, the user can set whether to charge the printer battery with priority or charge the device battery with priority.

本発明において、前記送電部は、前記受電部が受電した電力に加えて、前記プリンタ電池に充電された電力を送電可能であり、前記第1取得手段により取得した前記最大電力が所定閾値未満の場合、前記プリンタ電池に充電された電力を、前記送電部により送電する第1制御手段を更に備えてもよい。プリンタは、給電装置により給電可能な最大電力が不足する場合、プリンタ電池の電力により機器電池を充電できる。 In the present invention, the power transmission unit can transmit the power charged in the printer battery in addition to the power received by the power reception unit, and the maximum power acquired by the first acquisition unit is less than a predetermined threshold. In this case, the printer may further include first control means for transmitting power charged in the printer battery by the power transmission unit. The printer can charge the device battery with the power of the printer battery when the maximum power that can be supplied by the power supply device is insufficient.

本発明において、前記決定手段により決定した前記分配率で分配された前記第1電力により前記プリンタ電池を充電し、且つ、前記第2電力を前記送電部により送電する第2制御手段と、前記第2制御手段により前記プリンタ電池の充電が完了した場合には、前記受電部が受電した電力がすべて前記送電部に送電されるように変更し、前記第2制御手段により前記機器電池の充電が完了した場合には、前記受電部が受電した電力のすべてが前記プリンタ電池の充電に使用されるように変更する変更手段とを備えてもよい。プリンタは、プリンタ電池及び機器電池のうち一方の充電が完了した場合、プリンタ電池及び機器電池のうち他方を充電する為の電力を増加させることができる。このため、プリンタは、プリンタ電池及び機器電池の充電が完了するのに要する時間を短縮できる。 In the present invention, second control means for charging the printer battery with the first power distributed at the distribution rate determined by the determination means and for transmitting the second power from the power transmission section; 2. When the charging of the printer battery is completed by the control means, all the power received by the power receiving section is transmitted to the power transmitting section, and the charging of the device battery is completed by the second control means. In this case, a change means may be provided for changing such that all the power received by the power receiving unit is used for charging the printer battery. When charging of one of the printer battery and the device battery is completed, the printer can increase the power for charging the other of the printer battery and the device battery. As a result, the printer can reduce the time required to complete charging of the printer battery and device battery.

プリンタ1、給電装置2、及び電子機器3の斜視図である。1 is a perspective view of a printer 1, a power supply device 2, and an electronic device 3; FIG. プリンタ1、給電装置2、及び電子機器3の電源系統図である。2 is a power supply system diagram of the printer 1, the power supply device 2, and the electronic device 3. FIG. プリンタ1の電気的構成を示すブロック図である。2 is a block diagram showing the electrical configuration of the printer 1; FIG. メイン処理のフローチャートである。4 is a flowchart of main processing; メイン処理のフローチャートであって、図4の続きである。FIG. 5 is a flowchart of main processing, continuing from FIG. 4 ; FIG. メイン処理のフローチャートであって、図4の続きである。FIG. 5 is a flowchart of main processing, continuing from FIG. 4 ; FIG. メイン処理のフローチャートであって、図6の続きである。FIG. 7 is a flowchart of main processing, continuing from FIG. 6 ; 第1スイッチSW1がオンされた状態の電力系統図である。4 is a power system diagram with a first switch SW1 turned on; FIG. 第3スイッチSW3がオンされた状態の電力系統図である。It is a power system diagram in a state where the third switch SW3 is turned on. 第1スイッチSW1及び第2スイッチSW2がオンされた状態の電力系統図である。FIG. 3 is a power system diagram in which a first switch SW1 and a second switch SW2 are turned on; 受付処理のフローチャートである。6 is a flowchart of acceptance processing;

本発明の実施形態について、図面を参照して説明する。参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載される装置の構成などは、それのみに限定する趣旨ではなく、単なる説明例である。本実施形態の説明では、図1の左下側、右上側、右下側、左上側、上側、下側を、それぞれプリンタ1の左側、右側、前側、後側、上側、下側とする。 An embodiment of the present invention will be described with reference to the drawings. The drawings referred to are used to explain technical features that can be employed by the present invention, and the configuration of the devices described is not meant to limit them, but merely illustrative examples. In the description of this embodiment, the lower left, upper right, lower right, upper left, upper, and lower sides of FIG.

<プリンタ1の概要>
図1を参照して、プリンタ1の概要を説明する。プリンタ1は、テープカセットを使用するタイプの印刷装置である。プリンタ1は、略直方体形状の本体カバー10Aを備える。本体カバー10Aの前側の側面には、LED11が設けられる。本体カバー10Aの上側には、テープカセットの交換時に開閉されるカセットカバー10Bが設けられる。本体カバー10Aの内部には、テープカセット(図示略)が着脱可能に収容される。本体カバー10Aの左側面前方には、排出スリット12が設けられる。テープカセットには、被印刷媒体であるテープ(図示略)がロール状に巻回されて収容されている。後述の印刷部53により印刷されたテープは、排出スリット12を介して排出される。
<Overview of Printer 1>
An overview of the printer 1 will be described with reference to FIG. The printer 1 is a type of printing device that uses a tape cassette. The printer 1 includes a substantially rectangular parallelepiped body cover 10A. An LED 11 is provided on the front side surface of the body cover 10A. A cassette cover 10B, which is opened and closed when replacing the tape cassette, is provided above the body cover 10A. A tape cassette (not shown) is detachably accommodated inside the body cover 10A. A discharge slit 12 is provided in front of the left side surface of the body cover 10A. A tape (not shown), which is a medium to be printed, is wound into a roll and accommodated in the tape cassette. A tape printed by a printing unit 53 (to be described later) is discharged through the discharge slit 12 .

プリンタ1は、内蔵される二次電池(以下、「プリンタ電池5B」という。図2参照)により駆動する。プリンタ電池5Bを充電する為の電力は、ワイヤレス電力伝送により給電装置2から非接触で送電される。プリンタ電池5Bは、プリンタ1が給電装置2に載置された状態で充電される。更にプリンタ1は、スマートフォン等の電子機器3に対し、ワイヤレス電力伝送により非接触で電力を送電できる。電子機器3に内蔵される二次電池(以下、「機器電池3B」という。図2参照)は、プリンタ1の上面に電子機器3を近接させた状態で充電される。本実施形態において適用されるワイヤレス電力伝送の方式は、電磁誘導式である。なお、本実施形態において「非接触」とは、プリンタ1と給電装置2、及びプリンタ1と電子機器3との間で、互いの電力系統が直接接触していない状態であることを意味する。 The printer 1 is driven by a built-in secondary battery (hereinafter referred to as "printer battery 5B"; see FIG. 2). Power for charging the printer battery 5B is transmitted from the power supply device 2 in a non-contact manner by wireless power transmission. The printer battery 5</b>B is charged while the printer 1 is placed on the power supply device 2 . Further, the printer 1 can transmit power to the electronic device 3 such as a smart phone in a non-contact manner by wireless power transmission. A secondary battery built into the electronic device 3 (hereinafter referred to as “device battery 3B”; see FIG. 2) is charged while the electronic device 3 is placed close to the upper surface of the printer 1 . The method of wireless power transmission applied in this embodiment is an electromagnetic induction method. In this embodiment, “non-contact” means that the power systems of the printer 1 and the power supply device 2 and between the printer 1 and the electronic device 3 are not in direct contact with each other.

<電力系統>
図2は、プリンタ1、給電装置2、及び電子機器3の各々の電力系統を示す。給電装置2は、プリンタ1に非接触で電力を送電する為の送電部21を有する。送電部21は、送電制御部21A及びコイル2Sにより構成される。送電制御部21Aは、アダプタ23から供給される電力により駆動し、コイル2Sに流す電流を制御する。コイル2Sは、電流が流れることで磁束を発生させる。アダプタ23は、商用電源に接続されている。
<Power system>
FIG. 2 shows power systems for the printer 1 , the power supply device 2 , and the electronic device 3 . The power supply device 2 has a power transmission section 21 for wirelessly transmitting power to the printer 1 . The power transmission section 21 is composed of a power transmission control section 21A and a coil 2S. The power transmission control unit 21A is driven by power supplied from the adapter 23, and controls the current flowing through the coil 2S. The coil 2S generates magnetic flux when current flows. Adapter 23 is connected to a commercial power supply.

プリンタ1は、給電装置2から非接触で送電される電力を、受電部56で受電する。受電部56は、受電制御部56A及びコイル5Rにより構成される。コイル5Rには、給電装置2のコイル2Sにて発生した磁束に応じた誘導電流が流れる。受電制御部56Aは、コイル5Rに流れる誘導電流を直流に変換して出力する。受電制御部56Aから出力される電力は、プリンタ電池5B、及び、後述の送電部57に供給される。 In the printer 1 , the power reception unit 56 receives power transmitted from the power supply device 2 in a contactless manner. The power reception unit 56 is composed of a power reception control unit 56A and a coil 5R. An induced current corresponding to the magnetic flux generated by the coil 2S of the power supply device 2 flows through the coil 5R. The power reception control unit 56A converts the induced current flowing through the coil 5R into a direct current and outputs the direct current. The power output from the power reception control section 56A is supplied to the printer battery 5B and the power transmission section 57, which will be described later.

受電制御部56Aとプリンタ電池5Bとの間に、第1スイッチSW1及び第1可変抵抗VR1が介在する。第1スイッチSW1は、受電制御部56Aからプリンタ電池5Bに電力が供給された状態と、供給されない状態とに切り替える。第1スイッチSW1がオンの状態で、受電制御部56Aからプリンタ電池5Bに電力が供給される。この状態で、プリンタ電池5Bは、受電制御部56Aから出力される電力により充電される。第1可変抵抗VR1は、受電制御部56Aからプリンタ電池5Bに供給される電力を制御する。一方、第1スイッチSW1がオフの状態で、受電制御部56Aからプリンタ電池5Bへの電力の供給が停止される。 A first switch SW1 and a first variable resistor VR1 are interposed between the power reception control section 56A and the printer battery 5B. The first switch SW1 switches between a state in which power is supplied from the power reception control unit 56A to the printer battery 5B and a state in which power is not supplied. With the first switch SW1 turned on, power is supplied from the power reception control section 56A to the printer battery 5B. In this state, the printer battery 5B is charged with power output from the power reception control section 56A. The first variable resistor VR1 controls power supplied from the power reception control section 56A to the printer battery 5B. On the other hand, when the first switch SW1 is turned off, power supply from the power reception control section 56A to the printer battery 5B is stopped.

受電制御部56Aと送電部57との間に、第2スイッチSW2及び第2可変抵抗VR2が介在する。第2スイッチSW2は、受電制御部56Aから送電部57に電力が供給された状態と、供給されない状態とに切り替える。第2スイッチSW2がオンの状態で、受電制御部56Aから送電部57に電力が供給される。第2可変抵抗VR2は、受電制御部56Aから送電部57に供給される電力を制御する。一方、第2スイッチSW2がオフの状態で、受電制御部56Aから送電部57への電力の供給が停止される。 A second switch SW2 and a second variable resistor VR2 are interposed between the power reception control section 56A and the power transmission section 57 . The second switch SW2 switches between a state in which power is supplied from the power reception control unit 56A to the power transmission unit 57 and a state in which power is not supplied. Power is supplied from the power reception control unit 56A to the power transmission unit 57 while the second switch SW2 is on. The second variable resistor VR2 controls power supplied from the power reception control unit 56A to the power transmission unit 57. FIG. On the other hand, when the second switch SW2 is turned off, power supply from the power reception control unit 56A to the power transmission unit 57 is stopped.

以下、給電装置2の送電部21からプリンタ1の受電部56に送電される電力を、「電力P」という。電力Pのうち、受電制御部56Aからプリンタ電池5Bに供給される電力であってプリンタ電池5Bを充電する為の電力を、「第1電力P1」という。電力Pのうち、受電制御部56Aから送電制御部57Aに供給される電力を、「第2電力P2」という。 The power transmitted from the power transmission unit 21 of the power supply device 2 to the power reception unit 56 of the printer 1 is hereinafter referred to as "power P". Among the power P, the power supplied from the power reception control unit 56A to the printer battery 5B and used for charging the printer battery 5B is referred to as "first power P1". Of the power P, the power supplied from the power reception control unit 56A to the power transmission control unit 57A is referred to as "second power P2".

プリンタ電池5Bに充電された電力は、CPU51、記憶部52、印刷部53、及び送電部57に供給される。CPU51、記憶部52、及び印刷部53は、プリンタ電池5Bから供給される電力に基づいて駆動する。CPU51は、プリンタ1全体の制御を司る。記憶部52は、各種データを記憶可能である。印刷部53は、テープに印刷を行う為のサーマルヘッド(図示略)を含む。 The power charged in the printer battery 5B is supplied to the CPU 51, storage section 52, printing section 53, and power transmission section 57. FIG. The CPU 51, storage unit 52, and printing unit 53 are driven by power supplied from the printer battery 5B. The CPU 51 controls the printer 1 as a whole. The storage unit 52 can store various data. The printing unit 53 includes a thermal head (not shown) for printing on tape.

プリンタ電池5Bと送電部57との間に、第3スイッチSW3が介在する。第3スイッチSW3は、プリンタ電池5Bから送電部57に電力が供給された状態と、供給されない状態とに切り替える。第3スイッチSW3がオンの状態で、プリンタ電池5Bから送電部57に電力が供給される。一方、第3スイッチSW3がオフの状態で、プリンタ電池5Bから送電部57への電力の供給が停止される。 A third switch SW3 is interposed between the printer battery 5B and the power transmission section 57. FIG. A third switch SW3 switches between a state in which power is supplied from the printer battery 5B to the power transmission unit 57 and a state in which power is not supplied. Power is supplied from the printer battery 5B to the power transmission unit 57 while the third switch SW3 is on. On the other hand, when the third switch SW3 is turned off, power supply from the printer battery 5B to the power transmission section 57 is stopped.

送電部57は、電子機器3に非接触で電力を送電する。送電部57は、送電制御部57A及びコイル5Sにより構成される。送電制御部57Aは、受電制御部56A又はプリンタ電池5Bから供給される電力により駆動し、コイル5Sに流す電流を制御する。コイル5Sは、電流が流れることで磁束を発生させる。 The power transmission unit 57 transmits power to the electronic device 3 in a contactless manner. The power transmission section 57 is composed of a power transmission control section 57A and a coil 5S. The power transmission control section 57A is driven by the power supplied from the power reception control section 56A or the printer battery 5B, and controls the current flowing through the coil 5S. The coil 5S generates magnetic flux when current flows.

電子機器3は、プリンタ1から非接触で送電される電力を、受電部34で受電する。受電部34は、受電制御部34A及びコイル3Rにより構成される。コイル3Rには、プリンタ1のコイル5Sにて発生した磁束に応じた誘導電流が流れる。受電制御部34Aは、コイル3Rに流れる誘導電流を直流に変換して出力する。受電制御部34Aから出力される電力は、機器電池3Bに供給される。機器電池3Bは、受電制御部34Aから出力される電力により充電される。 The electronic device 3 receives the power transmitted from the printer 1 in a non-contact manner at the power receiving unit 34 . The power reception unit 34 is composed of a power reception control unit 34A and a coil 3R. An induced current corresponding to the magnetic flux generated by the coil 5S of the printer 1 flows through the coil 3R. The power reception control unit 34A converts the induced current flowing through the coil 3R into direct current and outputs the direct current. The power output from the power reception control unit 34A is supplied to the device battery 3B. The device battery 3B is charged with power output from the power reception control unit 34A.

機器電池3Bに充電された電力は、CPU31、通信部32、及び表示部33に供給される。CPU31、通信部32、及び表示部33は、機器電池3Bから供給される電力に基づいて駆動する。CPU31は、電子機器3全体の制御を司る。通信部32は、電子機器3が無線通信を行う為の通信モジュールである。表示部33は、液晶ディスプレイである。 The power charged in the device battery 3B is supplied to the CPU 31, the communication section 32, and the display section 33. FIG. The CPU 31, the communication section 32, and the display section 33 are driven based on power supplied from the device battery 3B. The CPU 31 controls the electronic device 3 as a whole. The communication unit 32 is a communication module for the electronic device 3 to perform wireless communication. The display unit 33 is a liquid crystal display.

又、受電制御部34Aは、機器電池3Bから供給される電力により駆動し、コイル3Rに電流を流すことができる。この場合、コイル3Rには、電流が流れることで磁束が発生する。このとき、プリンタ1のコイル5Sには、この磁束に応じた誘導電流が流れる。送電制御部57Aは、コイル5Sに流れる誘導電流を検出可能である。詳細は後述するが、プリンタ1は、コイル5Sに流れる誘導電流を送電制御部57Aにより検出することにより、電子機器3が近接した状態であるか否か、及び、機器電池3Bの充電状態を特定する。 Also, the power reception control unit 34A can be driven by the power supplied from the device battery 3B to allow current to flow through the coil 3R. In this case, a magnetic flux is generated in the coil 3R by the flow of current. At this time, an induced current corresponding to this magnetic flux flows through the coil 5S of the printer 1. FIG. The power transmission control unit 57A can detect the induced current flowing through the coil 5S. Although the details will be described later, the printer 1 detects whether or not the electronic device 3 is in proximity and the state of charge of the device battery 3B by detecting the induced current flowing in the coil 5S by the power transmission control unit 57A. do.

<電気的構成>
図3を参照して、プリンタ1の電気的構成について説明する。プリンタ1は、CPU51、記憶部52、印刷部53、受電部56、送電部57、入力インターフェース(I/F)58、第1スイッチSW1、第2スイッチSW2、第3スイッチSW3、第1可変抵抗VR1、及び第2可変抵抗VR2を有する。
<Electrical configuration>
The electrical configuration of the printer 1 will be described with reference to FIG. The printer 1 includes a CPU 51, a storage unit 52, a printing unit 53, a power receiving unit 56, a power transmitting unit 57, an input interface (I/F) 58, a first switch SW1, a second switch SW2, a third switch SW3, and a first variable resistor. It has a VR1 and a second variable resistor VR2.

CPU51は、記憶部52、印刷部53、受電部56、送電部57、入力I/F58、第1スイッチSW1、第2スイッチSW2、第3スイッチSW3、第1可変抵抗VR1、及び第2可変抵抗VR2と電気的に接続する。記憶部52は、CPU51が後述の処理を実行する為のプログラム、印刷を行う為の印刷データ、及び分配率Rを記憶する。分配率Rは、受電部56により受電された電力Pを第1電力P1と第2電力P2(図2参照)に分配する比率を示す。記憶部52は、分配率Rとして第1分配率R1及び第2分配率R2を記憶する。第1分配率R1は、第1電力P1の方が第2電力P2よりも大きい所定の比率を示す。第2分配率R2は、第2電力P2の方が第1電力P1よりも大きい所定の比率を示す。第1分配率R1及び第2分配率R2は、ユーザによる入力操作が行われた場合に、記憶部52に記憶される(図11参照)。 The CPU 51 includes a storage unit 52, a printing unit 53, a power receiving unit 56, a power transmitting unit 57, an input I/F 58, a first switch SW1, a second switch SW2, a third switch SW3, a first variable resistor VR1, and a second variable resistor. It is electrically connected to VR2. The storage unit 52 stores a program for the CPU 51 to execute processing described below, print data for printing, and a distribution ratio R. FIG. The distribution ratio R indicates the ratio of dividing the power P received by the power receiving unit 56 into the first power P1 and the second power P2 (see FIG. 2). The storage unit 52 stores, as the distribution ratio R, a first distribution ratio R1 and a second distribution ratio R2. The first distribution ratio R1 indicates a predetermined ratio in which the first power P1 is higher than the second power P2. The second distribution ratio R2 indicates a predetermined ratio in which the second power P2 is higher than the first power P1. The first distribution ratio R1 and the second distribution ratio R2 are stored in the storage unit 52 when an input operation is performed by the user (see FIG. 11).

受電部56は、コイル5R(図2参照)に流れる誘導電流の有無を受電制御部56A(図2参照)により検出する。受電制御部56Aは、誘導電流の有無を示す信号を、給電装置2を検出した状態であるか否かを示す信号として、CPU51に出力する。又、受電部56は、コイル5Rに流れる誘導電流の最大値を、受電制御部56A(図2参照)により検出する。受電制御部56Aは、検出した誘導電流の最大値に基づき、給電装置2が送電可能な最大の電力(以下、「最大電力」という。)を算出する。受電制御部56Aは、算出した最大電力を示す信号を、CPU51に出力する。 The power reception unit 56 detects the presence or absence of an induced current flowing through the coil 5R (see FIG. 2) with a power reception control unit 56A (see FIG. 2). The power reception control unit 56A outputs a signal indicating the presence or absence of an induced current to the CPU 51 as a signal indicating whether or not the power supply device 2 is detected. In addition, the power reception unit 56 detects the maximum value of the induced current flowing through the coil 5R with the power reception control unit 56A (see FIG. 2). The power reception control unit 56A calculates the maximum power that can be transmitted by the power supply device 2 (hereinafter referred to as "maximum power") based on the detected maximum value of the induced current. Power reception control unit 56A outputs a signal indicating the calculated maximum power to CPU 51 .

送電部57は、コイル5Sに流れる誘導電流の有無を送電制御部57A(図2参照)により検出する。送電制御部57Aは、誘導電流の有無を示す信号を、電子機器3を検出した状態であるか否かを示す信号として、CPU51に出力する。又、送電部57は、コイル3Sに流れる誘導電流の最大値を、電子機器3の機器電池3Bの残容量として検出する。送電制御部57Aは、機器電池3Bの残容量を示す信号を、CPU51に出力する。 The power transmission unit 57 detects the presence or absence of an induced current flowing through the coil 5S using the power transmission control unit 57A (see FIG. 2). The power transmission control unit 57A outputs a signal indicating the presence or absence of an induced current to the CPU 51 as a signal indicating whether or not the electronic device 3 is detected. The power transmission unit 57 also detects the maximum value of the induced current flowing through the coil 3S as the remaining capacity of the device battery 3B of the electronic device 3. FIG. 57 A of power transmission control parts output the signal which shows the remaining capacity of the apparatus battery 3B to CPU51.

入力I/F58は、非図示の通信ケーブルを介してプリンタ1に接続された非図示の外部機器(例えば、PC)と通信を行う為のインターフェース素子である。入力I/F58は、外部機器が出力されるデータを受信し、CPU51に出力する。 The input I/F 58 is an interface element for communicating with an external device (eg, PC) (not shown) connected to the printer 1 via a communication cable (not shown). The input I/F 58 receives data output from an external device and outputs the data to the CPU 51 .

印刷部53は、CPU51による制御に応じてサーマルヘッドを発熱させることで、テープに印刷を行う。第1スイッチSW1、第2スイッチSW2、及び第3スイッチSW3は、各々、CPU51による制御に応じてオンオフする。第1可変抵抗VR1及び第2可変抵抗VR2は、各々、CPU51の制御に応じて抵抗値を変更する。 The printing unit 53 prints on the tape by causing the thermal head to generate heat under the control of the CPU 51 . The first switch SW1, the second switch SW2, and the third switch SW3 are turned on and off according to the control by the CPU 51, respectively. The resistance values of the first variable resistor VR1 and the second variable resistor VR2 are changed under the control of the CPU 51, respectively.

<メイン処理>
図4~図7を参照し、メイン処理について説明する。プリンタ1のCPU51は、プリンタ1の電源が投入された場合、記憶部52に記憶されたプログラムを読み出して実行することにより、メイン処理を開始する。なお、メイン処理が開始される時点で、第1スイッチSW1、第2スイッチSW2、及び第3スイッチSW3はすべてオフされているとする。又、第1可変抵抗VR1及び第2可変抵抗VR2の夫々の抵抗値は、0Ωに設定されているとする。
<Main processing>
The main processing will be described with reference to FIGS. 4 to 7. FIG. When the power of the printer 1 is turned on, the CPU 51 of the printer 1 reads out and executes a program stored in the storage unit 52 to start main processing. It is assumed that the first switch SW1, the second switch SW2, and the third switch SW3 are all turned off when the main processing is started. It is also assumed that the resistance values of the first variable resistor VR1 and the second variable resistor VR2 are set to 0Ω.

図4に示すように、CPU51は、プリンタ1が給電装置2に載置された状態であるか否かを、受電部56から出力される信号に基づいて判定する(S11)。CPU51は、給電装置2を検出していない状態であることを示す信号を受電部56から受信した場合、プリンタ1が給電装置2に載置されていないと判定する(S11:NO)。この場合、CPU51は、処理をS11に戻す。一方、CPU51は、給電装置2を検出した状態であることを示す信号を受電部56から受信した場合、プリンタ1が給電装置2に載置されていると判定する(S11:YES)。なお、この状態で、給電装置2の送電部21から送電される電力が受電部56により受電されている。 As shown in FIG. 4, the CPU 51 determines whether the printer 1 is placed on the power supply device 2 based on the signal output from the power receiving unit 56 (S11). When the CPU 51 receives a signal indicating that the power supply device 2 is not detected from the power receiving unit 56, the CPU 51 determines that the printer 1 is not placed on the power supply device 2 (S11: NO). In this case, the CPU 51 returns the process to S11. On the other hand, when the CPU 51 receives a signal indicating that the power supply device 2 is detected from the power receiving unit 56, the CPU 51 determines that the printer 1 is placed on the power supply device 2 (S11: YES). In this state, power transmitted from the power transmission unit 21 of the power supply device 2 is received by the power reception unit 56 .

CPU51は、プリンタ電池5Bの残容量を、プリンタ電池5Bの電圧に基づいて取得する(S13)。CPU51は、取得したプリンタ電池5Bの残容量が、所定の最低閾値以上か判定する(S15)。CPU51は、プリンタ電池5Bの残容量が最低閾値以上と判定した場合(S15:YES)、処理をS23に進める。CPU51は、プリンタ電池5Bの残容量が最低閾値未満と判定した場合(S15:NO)、プリンタ電池5Bを充電する為に、処理をS17に進める。 The CPU 51 acquires the remaining capacity of the printer battery 5B based on the voltage of the printer battery 5B (S13). The CPU 51 determines whether the obtained residual capacity of the printer battery 5B is equal to or higher than a predetermined minimum threshold (S15). When the CPU 51 determines that the remaining capacity of the printer battery 5B is equal to or higher than the minimum threshold (S15: YES), the process proceeds to S23. When the CPU 51 determines that the remaining capacity of the printer battery 5B is less than the minimum threshold (S15: NO), the process advances to S17 to charge the printer battery 5B.

CPU51は、第1スイッチSW1をオフからオンに切り替える(S17)。これにより、受電部56にて受電された電力Pはプリンタ電池5Bに供給され、プリンタ電池5Bの充電が開始される(S17、図8の矢印Y11)。CPU51は、プリンタ電池5Bの残容量を、プリンタ電池5Bの電圧に基づいて特定する。CPU51は、特定したプリンタ電池5Bの残容量が最低閾値以上となったか判定する(S19)。CPU51は、プリンタ電池5Bの残容量が最低閾値未満であると判定した場合(S19:NO)、プリンタ電池5Bの充電を継続する為に、処理をS19に戻す。CPU51は、プリンタ電池5Bの残容量が最低閾値以上であると判定した場合(S19:YES)、第1スイッチSW1をオンからオフに切り替える(S21)。これにより、受電部56にて受電された電力Pのプリンタ電池5Bへの供給は停止されるので、プリンタ電池5Bの充電も完了する(S21)。CPU51は、処理をS23に進める。 The CPU 51 switches the first switch SW1 from off to on (S17). As a result, the power P received by the power receiving unit 56 is supplied to the printer battery 5B, and charging of the printer battery 5B is started (S17, arrow Y11 in FIG. 8). The CPU 51 identifies the remaining capacity of the printer battery 5B based on the voltage of the printer battery 5B. The CPU 51 determines whether the remaining capacity of the identified printer battery 5B is equal to or higher than the minimum threshold (S19). When the CPU 51 determines that the remaining capacity of the printer battery 5B is less than the minimum threshold (S19: NO), the process returns to S19 to continue charging the printer battery 5B. When the CPU 51 determines that the remaining capacity of the printer battery 5B is equal to or higher than the minimum threshold (S19: YES), it switches the first switch SW1 from ON to OFF (S21). As a result, the supply of the power P received by the power receiving unit 56 to the printer battery 5B is stopped, and charging of the printer battery 5B is also completed (S21). The CPU 51 advances the process to S23.

CPU51は、受電部56から出力される信号を検出し、給電装置2の最大電力を取得する(S23)。CPU51は、取得した最大電力が所定の電力閾値(例えば15W)以上か判定する(S25)。CPU51は、給電装置2の最大電力が電力閾値未満と判定した場合(S25:NO)、処理をS31(図5参照)に進める。 The CPU 51 detects the signal output from the power receiving unit 56 and acquires the maximum power of the power supply device 2 (S23). The CPU 51 determines whether or not the acquired maximum power is equal to or greater than a predetermined power threshold (eg, 15 W) (S25). When the CPU 51 determines that the maximum power of the power supply device 2 is less than the power threshold (S25: NO), the process proceeds to S31 (see FIG. 5).

図5に示すように、CPU51は、電子機器3がプリンタ1に近接した状態であるか否かを、送電部57から出力される信号に基づいて判定する(S31)。CPU51は、電子機器3を検出していない状態であることを示す信号を送電部57から受信した場合、電子機器3がプリンタ1に近接していないと判定する(S31:NO)。この場合、CPU51は、処理をS31に戻す。一方、CPU51は、電子機器3を検出した状態であることを示す信号を送電部57から受信した場合、電子機器3がプリンタ1に近接していると判定する(S31:YES)。CPU51は、プリンタ電池5Bから送電部57に電力を供給して電子機器3の機器電池3Bを充電するために、次の処理を実行する。 As shown in FIG. 5, the CPU 51 determines whether or not the electronic device 3 is in proximity to the printer 1 based on the signal output from the power transmission section 57 (S31). When the CPU 51 receives a signal from the power transmission unit 57 indicating that the electronic device 3 is not detected, the CPU 51 determines that the electronic device 3 is not close to the printer 1 (S31: NO). In this case, the CPU 51 returns the process to S31. On the other hand, when the CPU 51 receives a signal indicating that the electronic device 3 has been detected from the power transmission section 57, the CPU 51 determines that the electronic device 3 is close to the printer 1 (S31: YES). The CPU 51 executes the following processes in order to supply power from the printer battery 5B to the power transmission unit 57 and charge the device battery 3B of the electronic device 3 .

CPU51は、第3スイッチSW3をオフからオンに切り替える(S33)。これにより、プリンタ電池5Bに充電された電力は送電部57に供給される(S33、図9の矢印Y12)。送電部57は、プリンタ電池5Bから供給される電力により駆動し、コイル5Sから磁束を発生させる。これにより、電子機器3に非接触で電力が送電される。 The CPU 51 switches the third switch SW3 from OFF to ON (S33). As a result, the power charged in the printer battery 5B is supplied to the power transmission unit 57 (S33, arrow Y12 in FIG. 9). The power transmission unit 57 is driven by power supplied from the printer battery 5B, and generates magnetic flux from the coil 5S. Thereby, electric power is transmitted to the electronic device 3 in a non-contact manner.

CPU51は、送電部57から出力される信号を検出し、電子機器3の機器電池3Bの残容量を取得する。CPU51は、取得した残容量に基づき、機器電池3Bが満充電の状態となったか判定する(S35)。CPU51は、機器電池3Bが満充電の状態となっていないと判定した場合(S35:NO)、送電部57からの電力の送電を継続する為に、処理をS35に戻す。CPU51は、機器電池3Bが満充電の状態になったと判定した場合(S35:YES)、第3スイッチSW3をオンからオフに切り替える(S37)。これにより、プリンタ電池5Bに充電された電力の送電部57への供給は停止されるので、機器電池3Bの充電も終了する(S37)。CPU51は、処理をS11(図4参照)に戻す。 The CPU 51 detects a signal output from the power transmission section 57 and obtains the remaining capacity of the device battery 3B of the electronic device 3 . The CPU 51 determines whether or not the device battery 3B is fully charged based on the acquired remaining capacity (S35). When the CPU 51 determines that the device battery 3B is not fully charged (S35: NO), the process returns to S35 in order to continue power transmission from the power transmission section 57. FIG. When determining that the device battery 3B is fully charged (S35: YES), the CPU 51 switches the third switch SW3 from ON to OFF (S37). As a result, the supply of the electric power charged in the printer battery 5B to the power transmission section 57 is stopped, so charging of the device battery 3B is also terminated (S37). The CPU 51 returns the process to S11 (see FIG. 4).

一方、図4に示すように、CPU51は、受電部56から出力される信号に基づき取得した給電装置2の最大電力が電力閾値以上と判定した場合(S25:YES)、処理をS51(図6参照)に進める。 On the other hand, as shown in FIG. 4, when the CPU 51 determines that the maximum power of the power supply device 2 acquired based on the signal output from the power receiving unit 56 is greater than or equal to the power threshold (S25: YES), the process proceeds to S51 (see FIG. 6). ).

図6に示すように、CPU51は、電子機器3がプリンタ1に近接した状態であるか否かを、送電部57から出力される信号に基づいて判定する(S51)。CPU51は、電子機器3を検出していない状態であることを示す信号を送電部57から受信した場合、電子機器3がプリンタ1に近接していないと判定する(S51:NO)。この場合、CPU51は、処理をS51に戻す。一方、CPU51は、電子機器3を検出した状態であることを示す信号を送電部57から受信した場合、電子機器3がプリンタ1に近接していると判定する(S51:YES)。CPU51は、受電部56により受電された電力Pをプリンタ電池5Bに供給してプリンタ電池5Bを充電し、且つ、送電部57に電力Pを供給して電子機器3の機器電池3Bを充電するために、次の処理を実行する。 As shown in FIG. 6, the CPU 51 determines whether or not the electronic device 3 is in proximity to the printer 1 based on the signal output from the power transmission section 57 (S51). When the CPU 51 receives a signal from the power transmission unit 57 indicating that the electronic device 3 is not detected, the CPU 51 determines that the electronic device 3 is not close to the printer 1 (S51: NO). In this case, the CPU 51 returns the process to S51. On the other hand, when the CPU 51 receives a signal indicating that the electronic device 3 has been detected from the power transmission section 57, the CPU 51 determines that the electronic device 3 is close to the printer 1 (S51: YES). The CPU 51 supplies power P received by the power receiving unit 56 to the printer battery 5B to charge the printer battery 5B, and supplies power P to the power transmitting unit 57 to charge the device battery 3B of the electronic device 3. , do the following:

CPU51は、プリンタ1の動作状態を取得する(S53)。CPU51は、取得した動作状態に基づき、印刷部53による印刷動作中であるかを判定する(S53)。CPU51は、受電部56により受電した電力Pを第1電力P1と第2電力P2とに分配する為の分配率Rを、印刷動作中であるか否かに応じて決定する(S55)。 The CPU 51 acquires the operating state of the printer 1 (S53). The CPU 51 determines whether or not the printing section 53 is performing a printing operation based on the acquired operation state (S53). The CPU 51 determines a distribution ratio R for dividing the power P received by the power receiving unit 56 into the first power P1 and the second power P2 depending on whether or not the printing operation is being performed (S55).

具体的には、CPU51は、S53の処理によって印刷動作中と判定した場合、第1電力P1の方が第2電力P2よりも大きい第1分配率R1を記憶部52から読み出して決定する。この理由は、印刷動作中の場合、印刷部53を駆動する為にプリンタ電池5Bから印刷部53に電力を供給する必要があり、より多くの電力をプリンタ電池5Bに供給する必要がある為である。 Specifically, when the CPU 51 determines in the process of S53 that printing is in progress, the CPU 51 reads from the storage unit 52 and determines the first distribution ratio R1 in which the first power P1 is greater than the second power P2. The reason for this is that during the printing operation, power must be supplied from the printer battery 5B to the printing unit 53 in order to drive the printing unit 53, and more power must be supplied to the printer battery 5B. be.

一方、CPU51は、S53の処理によって印刷動作中でないと判定した場合、第2電力P2の方が第1電力P1よりも大きい第2分配率R2を記憶部52から読み出して決定する。この理由は、印刷動作中でない場合、より多くの電力を送電部57に供給することによって、機器電池3Bの充電が完了するのに要する時間を短縮する為である。 On the other hand, when the CPU 51 determines in the process of S53 that the printing operation is not being performed, the second power P2 is higher than the first power P1, reading from the storage unit 52 and determining the second distribution ratio R2. The reason for this is to shorten the time required to complete charging of the device battery 3B by supplying more power to the power transmission unit 57 when printing is not in progress.

CPU51は、プリンタ電池5Bの残容量を、プリンタ電池5Bの電圧に基づいて取得する(S57)。CPU51は、送電部57から出力される信号を検出し、電子機器3の機器電池3Bの残容量を取得する(S59)。CPU51は、プリンタ電池5Bの残容量、及び、機器電池3Bの残容量に基づき、S55で決定した分配率R(第1分配率R1又は第2分配率R2)を修正して再決定する(S61)。例えば、プリンタ電池5Bの残容量が機器電池3Bの残容量よりも小さい場合、第1電力P1の比率が増加し且つ第2電力P2の比率が減少するように分配率Rを修正して再決定する。一方、例えば、機器電池3Bの残容量がプリンタ電池5Bの残容量よりも小さい場合、第2電力P2の比率が増加し且つ第1電力P1の比率が減少するように分配率Rを修正して再決定する。 The CPU 51 acquires the remaining capacity of the printer battery 5B based on the voltage of the printer battery 5B (S57). The CPU 51 detects a signal output from the power transmission section 57 and acquires the remaining capacity of the device battery 3B of the electronic device 3 (S59). The CPU 51 corrects and redetermines the distribution ratio R (first distribution ratio R1 or second distribution ratio R2) determined in S55 based on the remaining capacity of the printer battery 5B and the remaining capacity of the device battery 3B (S61 ). For example, when the remaining capacity of the printer battery 5B is smaller than the remaining capacity of the device battery 3B, the distribution ratio R is corrected and re-determined so that the ratio of the first power P1 increases and the ratio of the second power P2 decreases. do. On the other hand, for example, when the remaining capacity of the device battery 3B is smaller than the remaining capacity of the printer battery 5B, the distribution ratio R is corrected so that the ratio of the second power P2 increases and the ratio of the first power P1 decreases. Redetermine.

CPU51は、受電部56により受電された電力Pを、S61の処理によって再決定した分配率Rにより分配し、第1電力P1及び第2電力P2を決定する。CPU51は、決定した第1電力P1がプリンタ電池5Bに供給されるように、第1可変抵抗VR1の抵抗値を決定する。CPU51は、決定した抵抗値となるように第1可変抵抗VR1を設定する(S63)。同様に、CPU51は、決定した第2電力P2が送電部57に供給されるように、第2可変抵抗VR2の抵抗値を決定する。CPU51は、決定した抵抗値となるように第2可変抵抗VR2を設定する(S63)。 The CPU 51 distributes the power P received by the power receiving unit 56 according to the distribution ratio R re-determined by the process of S61, and determines the first power P1 and the second power P2. The CPU 51 determines the resistance value of the first variable resistor VR1 so that the determined first power P1 is supplied to the printer battery 5B. The CPU 51 sets the first variable resistor VR1 to the determined resistance value (S63). Similarly, the CPU 51 determines the resistance value of the second variable resistor VR2 such that the determined second electric power P2 is supplied to the power transmission unit 57 . The CPU 51 sets the second variable resistor VR2 to the determined resistance value (S63).

CPU51は、第1スイッチSW1をオフからオンに切り替える(S65)。これにより、受電部56にて受電された電力Pのうち第1電力P1がプリンタ電池5Bに供給され、プリンタ電池5Bの充電が開始される(S65、図10の矢印Y21)。又、CPU51は、第2スイッチSW2をオフからオンに切り替える(S67)。受電部56にて受電された電力Pのうち第2電力P2分が送電部57に供給され、送電部57から電子機器3への送電が開始される。これにより、電子機器3の機器電池3Bの充電が開始される(S67、図10の矢印Y22)。CPU51は、処理をS81(図7参照)に進める。 The CPU 51 switches the first switch SW1 from off to on (S65). As a result, the first power P1 of the power P received by the power receiving unit 56 is supplied to the printer battery 5B, and charging of the printer battery 5B is started (S65, arrow Y21 in FIG. 10). Also, the CPU 51 switches the second switch SW2 from OFF to ON (S67). The second power P2 of the power P received by the power receiving unit 56 is supplied to the power transmitting unit 57, and power transmission from the power transmitting unit 57 to the electronic device 3 is started. As a result, charging of the device battery 3B of the electronic device 3 is started (S67, arrow Y22 in FIG. 10). The CPU 51 advances the process to S81 (see FIG. 7).

図7に示すように、CPU51は、プリンタ電池5Bの残容量を、プリンタ電池5Bの電圧に基づいて特定する。CPU51は、特定したプリンタ電池5Bの残容量に基づき、プリンタ電池5Bが満充電の状態となったか判定する(S81)。CPU51は、プリンタ電池5Bが満充電の状態となっていないと判定した場合(S81:NO)、処理をS87に進める。CPU51は、送電部57から出力される信号を検出し、電子機器3の機器電池3Bの残容量を取得する。CPU51は、取得した残容量に基づき、機器電池3Bが満充電の状態となったか判定する(S87)。CPU51は、機器電池3Bが満充電の状態となっていないと判定した場合(S87:NO)、処理をS93に進める。 As shown in FIG. 7, the CPU 51 identifies the remaining capacity of the printer battery 5B based on the voltage of the printer battery 5B. The CPU 51 determines whether or not the printer battery 5B is fully charged based on the specified remaining capacity of the printer battery 5B (S81). When the CPU 51 determines that the printer battery 5B is not fully charged (S81: NO), the process proceeds to S87. The CPU 51 detects a signal output from the power transmission section 57 and obtains the remaining capacity of the device battery 3B of the electronic device 3 . The CPU 51 determines whether or not the device battery 3B is fully charged based on the acquired remaining capacity (S87). When the CPU 51 determines that the device battery 3B is not fully charged (S87: NO), the process proceeds to S93.

CPU51は、プリンタ電池5Bと機器電池3Bとの両方が満充電の状態となったか判定する(S93)。CPU51は、プリンタ電池5Bと機器電池3Bとの少なくとも一方が満充電になっていないと判定した場合(S93:NO)、処理をS81に戻す。 The CPU 51 determines whether both the printer battery 5B and the device battery 3B are fully charged (S93). When the CPU 51 determines that at least one of the printer battery 5B and the device battery 3B is not fully charged (S93: NO), the process returns to S81.

CPU51は、プリンタ電池5Bが満充電の状態になったと判定した場合(S81:YES)、第1スイッチSW1をオンからオフに切り替える(S83)。これにより、受電部56により受電された電力Pのプリンタ電池5Bへの供給は停止されるので、プリンタ電池5Bの充電も完了する(S83)。CPU51は、受電部56により受電された電力Pが全て送電部57に供給されるように、第2可変抵抗VR2の抵抗値を0Ωに設定する(S85)。CPU51は、処理をS93に進める。 When the CPU 51 determines that the printer battery 5B is fully charged (S81: YES), it switches the first switch SW1 from ON to OFF (S83). As a result, the supply of the power P received by the power receiving unit 56 to the printer battery 5B is stopped, and charging of the printer battery 5B is also completed (S83). The CPU 51 sets the resistance value of the second variable resistor VR2 to 0Ω so that all the power P received by the power receiving unit 56 is supplied to the power transmitting unit 57 (S85). The CPU 51 advances the process to S93.

CPU51は、機器電池3Bが満充電の状態になったと判定した場合(S87:YES)、第2スイッチSW2をオンからオフに切り替える(S89)。これにより、受電部56により受電された電力Pの送電部57への供給は停止されるので、送電部57による電力の送電も終了し、機器電池3Bの充電も完了する(S89)。CPU51は、受電部56により受電された電力Pが全てプリンタ電池5Bに供給されるように、第1可変抵抗VR1の抵抗値を0Ωに設定する(S91)。CPU51は、処理をS93に進める。 When the CPU 51 determines that the device battery 3B is fully charged (S87: YES), it switches the second switch SW2 from ON to OFF (S89). As a result, the supply of the power P received by the power receiving unit 56 to the power transmitting unit 57 is stopped, so that the power transmission by the power transmitting unit 57 is also terminated and the charging of the device battery 3B is completed (S89). The CPU 51 sets the resistance value of the first variable resistor VR1 to 0Ω so that all the power P received by the power receiving unit 56 is supplied to the printer battery 5B (S91). The CPU 51 advances the process to S93.

CPU51は、プリンタ電池5Bと機器電池3Bとの両方が満充電の状態となったと判定した場合(S93:YES)、処理をS11(図4参照)に戻す。 When the CPU 51 determines that both the printer battery 5B and the device battery 3B are fully charged (S93: YES), the process returns to S11 (see FIG. 4).

<受付処理>
図11を参照し、受付処理について説明する。プリンタ1のCPU51は、プリンタ1の電源が投入された場合、記憶部52に記憶されたプログラムを読み出して実行することにより、受付処理を開始する。受付処理は、メイン処理と並列して実行される。
<Reception process>
The acceptance process will be described with reference to FIG. 11 . When the power of the printer 1 is turned on, the CPU 51 of the printer 1 reads out and executes a program stored in the storage unit 52 to start reception processing. The acceptance process is executed in parallel with the main process.

CPU51は、通信ケーブルを介してプリンタ1と接続した外部機器に対して分配率Rの入力操作が行われたかを、入力I/F58を介して判定する(S111)。CPU51は、外部機器に対して入力操作が行われていないと判定した場合(S111:NO)、処理をS111に戻す。CPU51は、外部機器に対して入力操作が行われたと判定した場合(S111:YES)、入力操作により入力された第1分配率R1及び第2分配率R2を受け付ける(S113)。CPU51は、受け付けた第1分配率R1及び第2分配率R2を記憶部52に記憶する(S115)。CPU51は、処理をS111に戻す。 The CPU 51 determines through the input I/F 58 whether or not an input operation for the distribution ratio R has been performed on the external device connected to the printer 1 via the communication cable (S111). When the CPU 51 determines that an input operation has not been performed on the external device (S111: NO), the process returns to S111. When the CPU 51 determines that an input operation has been performed on the external device (S111: YES), the CPU 51 receives the first distribution ratio R1 and the second distribution ratio R2 input by the input operation (S113). The CPU 51 stores the received first distribution ratio R1 and second distribution ratio R2 in the storage unit 52 (S115). The CPU 51 returns the process to S111.

なお、CPU51は、メイン処理のS55(図6参照)の処理を行う場合、受付処理により記憶部52に記憶された第1分配率R1又は第2分配率R2を読み出すことによって、第1分配率R1又は第2分配率R2を分配率Rとして決定する(S55)。 Note that, when performing the processing of S55 (see FIG. 6) of the main processing, the CPU 51 reads the first distribution ratio R1 or the second distribution ratio R2 stored in the storage unit 52 by the reception processing, thereby obtaining the first distribution ratio. R1 or the second distribution ratio R2 is determined as the distribution ratio R (S55).

<本実施形態の作用、効果>
以上のように、プリンタ1は、給電装置2の最大電力が電力閾値以上の場合(S25:YES)、プリンタ電池5Bを充電する為の電力である第1電力P1と、機器電池3Bを充電する為の電力である第2電力P2との分配率Rを決定する(S55、S61)。このように、プリンタ1は、給電装置2が送電可能な最大の電力である最大電力に基づいて分配率Rを決定できる。
<Actions and effects of the present embodiment>
As described above, when the maximum power of the power supply device 2 is greater than or equal to the power threshold (S25: YES), the printer 1 charges the first power P1, which is power for charging the printer battery 5B, and the device battery 3B. A distribution ratio R with the second power P2, which is the power for the purpose, is determined (S55, S61). Thus, the printer 1 can determine the distribution ratio R based on the maximum power that the power supply device 2 can transmit.

プリンタ1は、印刷動作中であると判定した場合、プリンタ電池5Bを充電する為の第1電力P1が相対的に大きい第1分配率R1を決定する(S55)。これにより、プリンタ1は、プリンタ電池5Bの充電を効率よく行うことができるので、プリンタ電池5Bに充電された電力で印刷部53を駆動することによって印刷動作を適切に実行できる。一方、プリンタ1は、印刷動作中でないと判定した場合、機器電池3Bを充電する為の第2電力P2が相対的に大きい第2分配率R2を決定する(S55)。これにより、プリンタ1は、印刷動作中でない場合において機器電池3Bを効率的に充電できる。 When the printer 1 determines that the printing operation is being performed, the printer 1 determines a first distribution ratio R1 with a relatively large first power P1 for charging the printer battery 5B (S55). As a result, the printer 1 can efficiently charge the printer battery 5B, and can appropriately perform the printing operation by driving the printing section 53 with the power charged in the printer battery 5B. On the other hand, when the printer 1 determines that the printing operation is not being performed, the printer 1 determines a second distribution ratio R2 with a relatively large second power P2 for charging the device battery 3B (S55). As a result, the printer 1 can efficiently charge the device battery 3B when printing is not in progress.

プリンタ1は、外部機器に対する入力操作により入力された第1分配率R1及び第2分配率R2を受け付け(S113)、記憶部52に記憶する(S115)。プリンタ1は、印刷動作中であるか否かに応じ、記憶部52に記憶された第1分配率R1又は第2分配率R2を決定する。このためユーザは、外部機器に対する入力操作を行うことにより、第1分配率R1及び第2分配率R2を所望の値に設定できる。 The printer 1 receives the first distribution rate R1 and the second distribution rate R2 input by the input operation to the external device (S113), and stores them in the storage unit 52 (S115). The printer 1 determines the first distribution ratio R1 or the second distribution ratio R2 stored in the storage unit 52 depending on whether printing is in progress. Therefore, the user can set the first distribution ratio R1 and the second distribution ratio R2 to desired values by performing an input operation on the external device.

プリンタ1は、プリンタ電池5Bの残容量を取得し(S57)、機器電池3Bの残容量を取得する(S59)。プリンタ1は、取得した残容量に応じ、S55で決定した分配率Rを修正して再決定する(S61)。この場合、プリンタ1は、プリンタ電池5Bの残容量、及び、機器電池3Bの夫々の残容量に基づき、適切な分配率を決定できる。 The printer 1 acquires the remaining capacity of the printer battery 5B (S57), and acquires the remaining capacity of the device battery 3B (S59). The printer 1 corrects and re-determines the distribution ratio R determined in S55 according to the acquired remaining capacity (S61). In this case, the printer 1 can determine an appropriate distribution ratio based on the remaining capacity of the printer battery 5B and the remaining capacity of each of the device batteries 3B.

プリンタ1は、給電装置2の最大電力が電力閾値未満の場合(S25:NO)、プリンタ電池5Bに充電された電力を送電部57に供給する(S33)。これにより送電部57は、電子機器3に電力送電し、電子機器3の機器電池3Bを充電する。この場合、プリンタ1は、給電装置2から送電される電力では、電子機器3の機器電池3Bを充電することができない場合でも、プリンタ電池5Bの電力により機器電池3Bを充電できる。 When the maximum power of the power supply device 2 is less than the power threshold (S25: NO), the printer 1 supplies power charged in the printer battery 5B to the power transmission section 57 (S33). Accordingly, the power transmission unit 57 transmits power to the electronic device 3 and charges the device battery 3B of the electronic device 3 . In this case, even if the printer 1 cannot charge the device battery 3B of the electronic device 3 with the power transmitted from the power supply device 2, it can charge the device battery 3B with the power of the printer battery 5B.

プリンタ1は、プリンタ電池5B及び機器電池3Bの充電が開始された(S65、S67)後、プリンタ電池5Bが満充電となって充電を完了させた場合(S81:YES、S83)には、受電部56が受電した電力Pがすべて送電部57に供給されるように、第2可変抵抗VR2の値を0Ωに設定する(S85)。又、プリンタ1は、機器電池3Bが満充電となって充電を完了させた場合(S87:YES)には、受電部56が受電した電力Pがすべてプリンタ電池5Bに供給されるように、第1可変抵抗VR1の値を0Ωに設定する(S91)。この場合、プリンタ1は、プリンタ電池5B及び機器電池3Bのうち一方の充電が完了した場合、プリンタ電池5B及び機器電池3Bのうち他方を充電する為の電力を増加させることができる。このため、プリンタ1は、プリンタ電池5B及び機器電池3Bが満充電となるまでに要する時間を短縮できる。 After charging of the printer battery 5B and the device battery 3B is started (S65, S67), the printer 1 receives power when the printer battery 5B is fully charged and charging is completed (S81: YES, S83). The value of the second variable resistor VR2 is set to 0Ω so that all the power P received by the unit 56 is supplied to the power transmission unit 57 (S85). Further, when the device battery 3B is fully charged and the charging is completed (S87: YES), the printer 1 controls the printer battery 5B so that all the power P received by the power receiving unit 56 is supplied to the printer battery 5B. 1 The value of the variable resistor VR1 is set to 0Ω (S91). In this case, when charging of one of the printer battery 5B and the device battery 3B is completed, the printer 1 can increase the power for charging the other of the printer battery 5B and the device battery 3B. Therefore, the printer 1 can shorten the time required for the printer battery 5B and the device battery 3B to be fully charged.

<変形例>
変形例に係るメイン処理について説明する。変形例に係るメイン処理は、記憶部52に記憶された動作モードに基づいて分配率Rが決定されるという点で、上記実施形態と相違する。
<Modification>
Main processing according to the modification will be described. The main processing according to the modification differs from the above embodiment in that the distribution ratio R is determined based on the operation mode stored in the storage unit 52 .

変形例において、記憶部52には、動作モードとして第1モード又は第2モードが選択的に記憶される。第1モードは、プリンタ電池5Bの充電が優先される動作モードである。第2モードは、電子機器3の機器電池3Bの充電が優先される動作モードである。第1モード又は第2モードは、ユーザによる設定操作が行われた場合に、記憶部52に記憶される。 In a modification, the storage unit 52 selectively stores the first mode or the second mode as the operation mode. The first mode is an operation mode in which charging of the printer battery 5B is prioritized. The second mode is an operation mode in which charging of the device battery 3B of the electronic device 3 is prioritized. The first mode or the second mode is stored in the storage unit 52 when the setting operation is performed by the user.

変形例におけるメイン処理は、図6に示すフローチャートのS53、S55の処理のみが、上記実施形態と相違する。以下、図6を参照して説明する。CPU51は、電子機器3がプリンタ1に近接していると判定した場合(S51:YES)、記憶部52に記憶された動作モードとして第1モード又は第2モードを取得する(S53)。CPU51は、S53の処理によって第1モードを取得した場合、受電部56により受電した電力Pを第1電力P1と第2電力P2とに分配する為の分配率として、第1分配率R1を決定する(S55)。一方、CPU51は、S53の処理によって第2モードを取得した場合、受電部56により受電した電力Pを第1電力P1と第2電力P2とに分配する為の分配率として、第2分配率R2を決定する(S55)。S57の処理以降は、上記実施形態と同一である。 The main processing in the modified example differs from the above-described embodiment only in the processing of S53 and S55 in the flowchart shown in FIG. Description will be made below with reference to FIG. When the CPU 51 determines that the electronic device 3 is close to the printer 1 (S51: YES), it acquires the first mode or the second mode as the operation mode stored in the storage unit 52 (S53). When the CPU 51 acquires the first mode through the process of S53, the CPU 51 determines the first distribution ratio R1 as the distribution ratio for dividing the power P received by the power receiving unit 56 into the first power P1 and the second power P2. (S55). On the other hand, when the CPU 51 acquires the second mode through the process of S53, the CPU 51 sets the second distribution ratio R2 as a distribution ratio for dividing the power P received by the power receiving unit 56 into the first power P1 and the second power P2. is determined (S55). The process after S57 is the same as the above embodiment.

変形例における受付処理は、図11に示すフローチャートのS111、113のみが、上記実施形態と相違する。CPU51は、通信ケーブルを介してプリンタ1と接続した外部機器に対して動作モードの入力操作が行われたかを、入力I/F58を介して判定する(S111)。CPU51は、外部機器に対して入力操作が行われたと判定した場合(S111:YES)、入力操作により入力された第1モード又は第2モードを選択的に受け付ける(S113)。CPU51は、選択的に受け付けた第1モード又は第2モードを記憶部52に記憶することにより、動作モードをプリンタ1に設定する(S115)。CPU51は、処理をS111に戻す。 The acceptance process in the modified example differs from the above-described embodiment only in S111 and 113 of the flowchart shown in FIG. The CPU 51 determines through the input I/F 58 whether an operation mode input operation has been performed on an external device connected to the printer 1 via a communication cable (S111). When the CPU 51 determines that an input operation has been performed on the external device (S111: YES), it selectively accepts the first mode or the second mode input by the input operation (S113). The CPU 51 sets the operation mode to the printer 1 by storing the selectively accepted first mode or second mode in the storage unit 52 (S115). The CPU 51 returns the process to S111.

以上のように、変形例において、プリンタ1は、外部機器に対する設定操作により入力された動作モード(第1モード又は第2モード)に基づき、第1分配率R1又は第2分配率R2を分配率Rとして決定する(S55)。この場合、ユーザは、プリンタ電池5Bの充電を優先して行うか、機器電池3Bの充電を優先して行うかを、外部機器に対する設定操作により設定できる。 As described above, in the modified example, the printer 1 changes the first distribution ratio R1 or the second distribution ratio R2 based on the operation mode (first mode or second mode) input by the setting operation to the external device. R is determined (S55). In this case, the user can set whether the printer battery 5B is preferentially charged or the device battery 3B is preferentially charged by performing a setting operation on the external device.

<その他の変形例>
本発明は上記実施形態に限定されず、種々の変更が可能である。本発明において適用されるワイヤレス電力伝送の方式は、電磁誘導式に限定されず、他の周知の方式でもよい。例えばワイヤレス電力伝送の方式は、磁界共振式、電解結合式、電波受信式等でもよい。
<Other Modifications>
The present invention is not limited to the above embodiments, and various modifications are possible. The method of wireless power transmission applied in the present invention is not limited to the electromagnetic induction method, and may be another well-known method. For example, the wireless power transmission system may be a magnetic resonance system, an electrolytic coupling system, a radio wave reception system, or the like.

プリンタ1は、第1決定方法として、給電装置2の最大電力が電力閾値以上の場合に第1分配率R1を決定し、給電装置2の最大電力が電力閾値よりも小さい場合に第2分配率R2を決定してもよい。又は、プリンタ1は、第2決定方法として、給電装置2の最大電力が電力閾値以上の場合に第2分配率R2を決定し、給電装置2の最大電力が電力閾値よりも小さい場合に第1分配率R1を決定してもよい。更に、プリンタ1は、第1決定方法及び第2決定方法の何れを実行するかを、プリンタ1が印刷動作中であるか否かに応じて決定してもよい。 As a first determination method, the printer 1 determines the first distribution ratio R1 when the maximum power of the power supply device 2 is equal to or greater than the power threshold, and determines the second distribution ratio when the maximum power of the power supply device 2 is smaller than the power threshold. R2 may be determined. Alternatively, as a second determination method, the printer 1 determines the second distribution ratio R2 when the maximum power of the power supply device 2 is equal to or greater than the power threshold, and determines the first distribution ratio R2 when the maximum power of the power supply device 2 is smaller than the power threshold. A distribution ratio R1 may be determined. Further, the printer 1 may determine which of the first determination method and the second determination method is to be executed depending on whether the printer 1 is in printing operation.

プリンタ1は、給電装置2の最大電力と、第1分配率R1及び第2分配率R2とを対応付けたテーブルを、記憶部52に記憶してもよい。プリンタ1は、給電装置2の最大電力が電力閾値以上の場合(S25:YES)、S23の処理により取得した最大電力に対応する第1分配率R1及び第2分配率R2を、記憶部52のテーブルから読み出して取得してもよい。プリンタ1は、印刷動作中であるか否かに応じ、取得した第1分配率R1及び第2分配率R2のうち何れかを決定してもよい。 The printer 1 may store in the storage unit 52 a table that associates the maximum power of the power supply device 2 with the first distribution ratio R1 and the second distribution ratio R2. When the maximum power of the power supply device 2 is equal to or greater than the power threshold (S25: YES), the printer 1 stores the first distribution ratio R1 and the second distribution ratio R2 corresponding to the maximum power acquired by the process of S23 in the storage unit 52. It may be obtained by reading from the table. The printer 1 may determine one of the acquired first distribution ratio R1 and second distribution ratio R2 according to whether printing is in progress.

プリンタ1は、S55の処理により決定した分配率Rを、プリンタ電池5Bの残容量のみに基づき修正して再決定してもよい。プリンタ1は、S55の処理により決定した分配率Rを、機器電池3Bの残容量のみに基づき修正して再決定してもよい。プリンタ電池5B又は機器電池3Bの残容量に基づいて分配率を修正する方法は、上記実施形態に限定されず、他の方法でもよい。例えば、プリンタ1は、取得したプリンタ電池5Bの残容量が、印刷部53を駆動できない程小さい場合、受電部56により受電した電力Pがすべてプリンタ電池5Bに供給されるように制御してもよい。又、例えばプリンタ1は、取得した機器電池3Bの残容量が、電子機器3が動作継続できない程小さい場合、受電部56により受電した電力Pがすべて送電部57に供給されるように制御してもよい。 The printer 1 may correct and re-determine the distribution ratio R determined by the process of S55 based only on the remaining capacity of the printer battery 5B. The printer 1 may correct and re-determine the distribution ratio R determined by the process of S55 based only on the remaining capacity of the device battery 3B. The method of correcting the distribution ratio based on the remaining capacity of the printer battery 5B or device battery 3B is not limited to the above embodiment, and other methods may be used. For example, when the obtained residual capacity of the printer battery 5B is too small to drive the printing unit 53, the printer 1 may control so that all the power P received by the power receiving unit 56 is supplied to the printer battery 5B. . Further, for example, when the acquired remaining capacity of the device battery 3B is so small that the electronic device 3 cannot continue operating, the printer 1 controls so that all the power P received by the power receiving unit 56 is supplied to the power transmitting unit 57. good too.

プリンタ1は、プリンタ電池5B及び機器電池3Bの夫々の残容量に基づき、動作モードを第1モードとするか第2モードとするかを決定してもよい。プリンタ1は、給電装置2の最大電力が電力閾値よりも大きい場合、受電部56により受電した電力を分配する分配率を、上記のように決定した動作モードに基づいて決定してもよい。 The printer 1 may determine whether the operation mode should be the first mode or the second mode based on the remaining capacity of each of the printer battery 5B and the device battery 3B. When the maximum power of the power supply device 2 is greater than the power threshold, the printer 1 may determine the distribution ratio for distributing the power received by the power receiving unit 56 based on the operation mode determined as described above.

プリンタ1は、給電装置2の最大電力が電力閾値未満の場合(S25:NO)、プリンタ電池5Bの電力を送電部57に供給する(S33)と同時に、受電部56により受電した電力Pを送電部57に供給してもよい。 When the maximum power of the power supply device 2 is less than the power threshold (S25: NO), the printer 1 supplies the power of the printer battery 5B to the power transmission unit 57 (S33), and at the same time transmits the power P received by the power reception unit 56. 57 may be supplied.

S15の処理において判断基準となる最低閾値、及び、S25の処理において判断基準となる電力閾値は、ユーザにより設定可能としてもよい。例えばプリンタ1が、通信ケーブルを介して接続する外部機器に対し、最低閾値及び電力閾値の入力操作が行われた場合、最低閾値及び電力閾値を取得して記憶部52に記憶してもよい。CPU51は、メイン処理を実行する場合において、記憶部52に記憶された最低閾値及び電力閾値を読み出し、判断基準として用いてもよい。 The minimum threshold used as the determination standard in the process of S15 and the power threshold used as the determination standard in the process of S25 may be set by the user. For example, when the minimum threshold value and the power threshold value are input to an external device connected via a communication cable, the printer 1 may acquire the minimum threshold value and the power threshold value and store them in the storage unit 52 . When executing the main process, the CPU 51 may read the minimum threshold value and the power threshold value stored in the storage unit 52 and use them as criteria for determination.

<その他>
S23の処理を行うCPU51は、本発明の「第1取得手段」の一例である。S55、S61の処理を行うCPU51は、本発明の「決定手段」の一例である。S53の処理を行うCPU51は、本発明の「判定手段」の一例である。S55、S61の処理を行うCPU51は、本発明の「決定手段」の一例である。S55の処理を行うCPU51は、本発明の「第1決定手段」「第4決定手段」の一例である。S61の処理を行うCPU51は、本発明の「第2決定手段」「第3決定手段」の一例である。S33の処理を行うCPU51は、本発明の「第1制御手段」の一例である。S65、S67の処理を行うCPU51は、本発明の「第2制御手段」の一例である。S83、S85、S89、S91の処理を行うCPU51は、本発明の「変更手段」の一例である。S113の処理を行うCPU51は、本発明の「受付手段」「設定手段」の一例である。
<Others>
CPU51 which processes S23 is an example of the "1st acquisition means" of the present invention. CPU51 which processes S55 and S61 is an example of the "decision means" of the present invention. CPU51 which processes S53 is an example of the "determination means" of this invention. CPU51 which processes S55 and S61 is an example of the "decision means" of the present invention. The CPU 51 that performs the process of S55 is an example of the "first determining means" and the "fourth determining means" of the present invention. The CPU 51 that performs the process of S61 is an example of the "second determining means" and the "third determining means" of the present invention. CPU51 which processes S33 is an example of the "1st control means" of the present invention. The CPU 51 that performs the processes of S65 and S67 is an example of the "second control means" of the present invention. The CPU 51 that performs the processes of S83, S85, S89, and S91 is an example of the "change means" of the present invention. The CPU 51 that performs the process of S113 is an example of the "receiving means" and "setting means" of the present invention.

1 :プリンタ
2 :給電装置
3 :電子機器
3B :機器電池
5B :プリンタ電池
21 :送電部
34 :受電部
51 :CPU
56 :受電部
57 :送電部
1: Printer 2: Power supply device 3: Electronic device 3B: Device battery 5B: Printer battery 21: Power transmission unit 34: Power reception unit 51: CPU
56: power receiving unit 57: power transmitting unit

Claims (8)

給電装置から非接触で送電される電力を受電する受電部と、
前記受電部により受電した電力による充電が可能な電池であるプリンタ電池と、
前記プリンタ電池に充電された電力により駆動し、被印刷媒体に印刷を行う印刷部と、
前記受電部が受電した電力を、充電が可能な電池である機器電池を有する電子機器に非接触で送電する送電部と、
前記給電装置が送電可能な最大の電力である最大電力を取得する第1取得手段と、
前記第1取得手段により取得した前記最大電力に基づき、前記受電部が受電した電力を、前記プリンタ電池を充電する為の第1電力、及び、前記送電部から送電する為の第2電力に分配する分配率を決定する決定手段と
を備えたことを特徴とするプリンタ。
a power receiving unit that receives power wirelessly transmitted from the power supply device;
a printer battery that can be charged with power received by the power receiving unit;
a printing unit that is driven by power charged in the printer battery and prints on a printing medium;
a power transmission unit that wirelessly transmits power received by the power reception unit to an electronic device having a device battery that is a rechargeable battery;
a first acquisition means for acquiring maximum power that is the maximum power that can be transmitted by the power supply device;
Based on the maximum power acquired by the first acquiring means, the power received by the power receiving unit is divided into first power for charging the printer battery and second power for being transmitted from the power transmitting unit. and determining means for determining a distribution ratio to be applied.
前記印刷部による印刷動作の状態を判定する判定手段を備え、
前記決定手段は、
前記第1取得手段により取得した前記最大電力が所定閾値以上の場合且つ前記判定手段により印刷動作中であると判定された場合、前記第1電力の方が前記第2電力よりも大きい第1分配率を決定し、且つ、
前記第1取得手段により取得した前記最大電力が前記所定閾値以上の場合且つ前記判定手段により印刷動作中でないと判定された場合、前記第2電力の方が前記第1電力よりも大きい第2分配率を決定する第1決定手段を備えたことを特徴とする請求項1に記載のプリンタ。
Determining means for determining the state of the printing operation by the printing unit,
The determining means is
a first distribution in which the first power is greater than the second power when the maximum power acquired by the first acquisition means is equal to or greater than a predetermined threshold and the determination means determines that printing is in progress; determine the rate, and
a second distribution in which the second power is higher than the first power when the maximum power acquired by the first acquisition means is equal to or greater than the predetermined threshold and the determination means determines that the printing operation is not in progress; 2. A printer as claimed in claim 1, comprising a first determining means for determining the rate.
前記第1分配率及び前記第2分配率を受け付ける受付手段を備え、
前記第1決定手段は、
前記受付手段により受け付けた前記第1分配率又は前記第2分配率を決定することを特徴とする請求項2に記載のプリンタ。
A receiving means for receiving the first distribution rate and the second distribution rate,
The first determining means is
3. The printer according to claim 2, wherein the first distribution rate or the second distribution rate received by the receiving means is determined.
前記プリンタ電池の残容量を取得する第2取得手段を備え、
前記決定手段は、
前記第2取得手段により取得した前記プリンタ電池の残容量に応じて前記分配率を決定する第2決定手段を備えたことを特徴とする請求項1から3の何れかに記載のプリンタ。
comprising a second obtaining means for obtaining the remaining capacity of the printer battery,
The determining means is
4. The printer according to any one of claims 1 to 3, further comprising second determination means for determining said distribution ratio according to the remaining capacity of said printer battery acquired by said second acquisition means.
前記機器電池の残容量を取得する第3取得手段を備え、
前記決定手段は、
前記第3取得手段により取得した前記機器電池の残容量に応じて前記分配率を決定する第3決定手段を備えたことを特徴とする請求項1から4の何れかに記載のプリンタ。
A third acquisition means for acquiring the remaining capacity of the device battery,
The determining means is
5. The printer according to any one of claims 1 to 4, further comprising third determining means for determining said distribution ratio according to the remaining capacity of said device battery acquired by said third acquiring means.
前記プリンタ電池の充電を優先する第1モード、又は、前記機器電池の充電を優先する第2モードを選択的に設定する設定手段を備え、
前記決定手段は、
前記第1取得手段により取得した前記最大電力が所定閾値以上の場合且つ前記設定手段により前記第1モードに設定されている場合、前記第1電力の方が前記第2電力よりも大きい第1分配率を決定し、
前記第1取得手段により取得した前記最大電力が前記所定閾値以上の場合且つ前記設定手段により前記第2モードに設定されている場合、前記第2電力の方が前記第1電力よりも大きい第2分配率を決定する第4決定手段を備えたことを特徴とする請求項1に記載のプリンタ。
setting means for selectively setting a first mode that prioritizes charging of the printer battery or a second mode that prioritizes charging of the device battery;
The determining means is
a first distribution in which the first power is greater than the second power when the maximum power acquired by the first acquisition means is equal to or greater than a predetermined threshold and the first mode is set by the setting means; determine the rate,
When the maximum power acquired by the first acquisition means is equal to or greater than the predetermined threshold and the second mode is set by the setting means, the second power is higher than the first power. 2. A printer according to claim 1, further comprising fourth determining means for determining the distribution ratio.
前記送電部は、前記受電部が受電した電力に加えて、前記プリンタ電池に充電された電力を送電可能であり、
前記第1取得手段により取得した前記最大電力が所定閾値未満の場合、前記プリンタ電池に充電された電力を、前記送電部により送電する第1制御手段を更に備えたことを特徴とする請求項1から6の何れかに記載のプリンタ。
the power transmission unit can transmit power charged in the printer battery in addition to the power received by the power reception unit;
2. The apparatus according to claim 1, further comprising first control means for transmitting power charged in said printer battery from said power transmission section when said maximum power acquired by said first acquisition means is less than a predetermined threshold. 7. The printer according to any one of 6.
前記決定手段により決定した前記分配率で分配された前記第1電力により前記プリンタ電池を充電し、且つ、前記第2電力を前記送電部により送電する第2制御手段と、
前記第2制御手段により前記プリンタ電池の充電が完了した場合には、前記受電部が受電した電力がすべて前記送電部に送電されるように変更し、前記第2制御手段により前記機器電池の充電が完了した場合には、前記受電部が受電した電力のすべてが前記プリンタ電池の充電に使用されるように前記分配率を変更する変更手段と
を備えたことを特徴とする請求項1から7の何れかに記載のプリンタ。
second control means for charging the printer battery with the first power distributed at the distribution rate determined by the determination means and for transmitting the second power from the power transmission section;
When the charging of the printer battery is completed by the second control means, all the power received by the power receiving unit is transmitted to the power transmitting unit, and the device battery is charged by the second control means. and changing means for changing the distribution ratio so that all of the power received by the power receiving unit is used for charging the printer battery when charging is completed. A printer according to any of the preceding claims.
JP2021088963A 2021-05-27 2021-05-27 printer Pending JP2022181798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021088963A JP2022181798A (en) 2021-05-27 2021-05-27 printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021088963A JP2022181798A (en) 2021-05-27 2021-05-27 printer

Publications (1)

Publication Number Publication Date
JP2022181798A true JP2022181798A (en) 2022-12-08

Family

ID=84328603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021088963A Pending JP2022181798A (en) 2021-05-27 2021-05-27 printer

Country Status (1)

Country Link
JP (1) JP2022181798A (en)

Similar Documents

Publication Publication Date Title
US10559985B2 (en) Wireless power transfer system, control method of wireless power transfer system, wireless power transmitting apparatus, control method of wireless power transmitting apparatus, and storage medium
EP2430724B1 (en) Power-supplying device, control method for the same, and power-supplying system
WO2019142807A1 (en) Wearable device, and battery and power feed system used in said wearable device
JP5548514B2 (en) Charging system
US20110169446A1 (en) Non-contact charging system
US20080211455A1 (en) Rechargeable Power Supply, Battery Device, Contactless Charger System And Method For Charging Rechargeable Battery Cell
US10523061B2 (en) Power receiving device, power feeding device, and electronic apparatus
KR102647156B1 (en) Electronic device and method for wire and wireless charging in electronic device
GB2485898A (en) Inductive charger for a camera
JPH10174300A (en) Battery charging system
CN105322602B (en) The control method of electronic equipment and electronic equipment
JP2008236968A (en) Noncontact power transmitter
WO2017064968A1 (en) Power reception device, electronic apparatus, and power supply system
KR100321945B1 (en) Recharging of electronic devices and rechargeable power supplies with internal charge regulators for controlling the application of charging current
JP2022181798A (en) printer
JP2009303399A (en) Portable printer
EP4213336A1 (en) Wireless charging circuit and device
JP6765923B2 (en) Power receiving device and charge control program
US11043842B2 (en) Control device, power receiving device, electronic device, contactless power transmission system, and control method
US20140239731A1 (en) Electronic apparatus, method for controlling the same, and program
JP7436592B2 (en) Wearable devices and their batteries and power supply systems
JP7148698B2 (en) Wearable device and its battery and power supply system
CN107979122A (en) Power receiving system, Wireless power transmission system and power reception method
JP7129773B2 (en) Printer and its control method
WO2022210505A1 (en) Charging system