Printer, and printer control method

The printing device addresses the issue of reduced printing speed by calculating and controlling transport speed based on the combined current consumption of the recording head and drive motor, ensuring efficient operation.

JP2025151806APending Publication Date: 2025-10-09SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024053396
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-10-09

AI Technical Summary

Technical Problem

Existing printing technologies reduce printing speed by excessively protecting the power supply due to the combined current consumption of the carry motor and recording head, which is not accurately accounted for.

Method used

A printing device that includes a drive motor, transport roller, recording head, first and second calculation units, an addition unit, and a speed control unit to calculate and control the transport speed based on the total current consumption of both the recording head and drive motor.

Benefits of technology

The solution allows for appropriate control of the transport speed, ensuring efficient operation by accurately accounting for the combined current consumption, thereby preventing excessive reduction in printing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025151806000001_ABST
    Figure 2025151806000001_ABST
Patent Text Reader

Abstract

To properly control a conveyance speed.SOLUTION: A printer 1 comprises: a drive motor 152; a carrier roller 153 which is driven by the drive motor 152, and carries a recording medium P; a recording head 151 for printing on the recording medium P; a first calculation part 111 which calculates a first amperage QA that is an amperage consumed by the recording head 151; a second calculation part 112 which calculates a second amperage QB that is an amperage consumed by the drive motor 152; an addition part 113 which calculates an additional amperage QT by adding the first amperage QA and the second amperage QB; and a speed control part 115 which controls a conveyance speed V of the recording medium P on the basis of the additional amperage QT.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a printing device and a method for controlling a printing device. [Background technology]

[0002] Patent document 1 describes a method of calculating the number of print dots for the next line of print data, calculating the amount of current consumption by the head from the number of print dots, selecting a print speed associated with a current consumption threshold value corresponding to the amount of current consumption, and determining this as the print speed to be used. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 2018-51888 Summary of the Invention [Problem to be solved by the invention]

[0004] However, when printing, the printer drives the carry motor at the same time as the head, and the current consumption must also take into account the current consumption of the carry motor. Therefore, the technology described in Patent Document 1 could potentially reduce printing speed by excessively protecting the power supply. [Means for solving the problem]

[0005] One aspect of a printing device that solves the above problem is a printing device that includes a drive motor, a transport roller driven by the drive motor and transporting a recording medium, a recording head that prints on the recording medium, a first calculation unit that calculates a first current amount that is the amount of current consumed by the recording head, a second calculation unit that calculates a second current amount that is the amount of current consumed by the drive motor, an addition unit that adds the first current amount and the second current amount to calculate a total current amount, and a transport speed control unit that controls the transport speed of the recording medium based on the total current amount. [Brief explanation of the drawings]

[0006] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a printer according to an embodiment. [Figure 2] 10 is a diagram showing an example of a first table. [Figure 3] 10 is a diagram showing an example of a second table. [Figure 4] 10 is a flowchart showing an example of processing by a control unit. DETAILED DESCRIPTION OF THE INVENTION

[0007] Hereinafter, this embodiment will be described with reference to the drawings.

[0008] First, the configuration of a printer 1 according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration of a printer 1 according to the first embodiment. As shown in FIG. 1, the printer 1 includes a control unit 11, an operation mechanism 12, a display mechanism 13, a power supply mechanism 14, a printing mechanism 15, and a print medium storage unit 16. The control unit 11 controls the operation of each unit of the printer 1. The operation mechanism 12, the display mechanism 13, the power supply mechanism 14, and the printing mechanism 15 are each configured to be able to communicate with the control unit 11. The printer 1 corresponds to an example of a "printing device."

[0009] The control unit 11 includes a processor 11A such as a CPU (Central Processing Unit) and a memory 11B such as a ROM (Read Only Memory). The memory 11B stores a control program PG.

[0010] The processor 11A may be configured with multiple processors or may be configured with a single processor. The processor 11A may be hardware programmed to implement the functions of each unit described below. That is, the processor 11A may be configured with the control program PG installed as a hardware circuit. In this case, the processor 11A may be configured with, for example, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or the like. In the following description, the processor 11A executes the control program PG to realize various functions of the control unit 11.

[0011] The memory 11B has a nonvolatile storage area that stores programs and data in a nonvolatile manner. The memory 11B may include, for example, a ROM, a hard disk drive (HDD), or a solid state drive (SSD) as the nonvolatile storage area. The memory 11B may also include a volatile storage area that constitutes a work area that temporarily stores programs executed by the processor 11A and data to be processed. The memory 11B may also include, for example, a random access memory (RAM) as the volatile storage area.

[0012] In this embodiment, the processor 11A executes the control program PG to control each part of the printer 1, but this is not limiting. The control unit 11 may include, for example, an ASIC, and the ASIC may execute processing using implemented functions. The control unit 11 may also include, for example, a signal processing circuit, and the signal processing circuit may execute processing by performing signal processing.

[0013] The operation mechanism 12 includes input means such as operation switches and a touch panel provided on the printer 1, detects user operations on the input means, and outputs a detection signal corresponding to the operation to the control unit 11. Based on the input from the operation mechanism 12, the control unit 11 executes processing corresponding to the user operation.

[0014] The display mechanism 13 includes a display panel such as a plurality of LEDs (Light Emitting Diodes) and an LCD (Liquid Crystal Display), and, under the control of the control unit 11, turns on, turns off, and blinks the LEDs in a predetermined manner, displays information on the display panel, and so on.

[0015] The power supply mechanism 14 supplies power to the peripheral device 2 . The peripheral devices 2 include, for example, a barcode scanner, a card reader, and the like. The power supply mechanism 14 includes, for example, a first USB (registered trademark) (Universal Serial Bus) terminal 141, a second USB (registered trademark) terminal 142, a third USB (registered trademark) terminal 143, and a fourth USB (registered trademark) terminal 144. Each of the first USB (registered trademark) terminal 141, the second USB (registered trademark) terminal 142, the third USB (registered trademark) terminal 143, and the fourth USB (registered trademark) terminal 144 supplies power to the peripheral device 2 via a USB (registered trademark) cable.

[0016] The peripheral devices 2 include, for example, a first peripheral device 21, a second peripheral device 22, a third peripheral device 23, and a fourth peripheral device 24. The first USB (registered trademark) terminal 141 is configured to be connectable to, for example, the first peripheral device 21. The second USB (registered trademark) terminal 142 is configured to be connectable to, for example, the second peripheral device 22. The third USB (registered trademark) terminal 143 is configured to be connectable to, for example, the third peripheral device 23. The fourth USB (registered trademark) terminal 144 is configured to be connectable to, for example, the fourth peripheral device 24. The first USB (registered trademark) terminal 141, the second USB (registered trademark) terminal 142, the third USB (registered trademark) terminal 143, and the fourth USB (registered trademark) terminal 144 correspond to examples of "connection terminals." The first peripheral device 21, the second peripheral device 22, the third peripheral device 23, and the fourth peripheral device 24 correspond to an example of "a plurality of peripheral devices."

[0017] The power supply mechanism 14 includes a current sensor SA. The current sensor SA detects a peripheral current value AS, which is the current value of the current supplied from the power supply mechanism 14 to the peripheral device 2. In other words, the peripheral current value AS is the value of the current consumed by the peripheral device 2. The current sensor SA outputs the detected peripheral current value AS to the control unit 11. The current sensor SA corresponds to an example of a "current detection unit."

[0018] In this embodiment, the current sensor SA detects the peripheral current value AS, but this is not limiting. Instead of using the current sensor SA, current consumption values ​​corresponding to each type of peripheral device 2 to be connected may be stored in advance in memory 11B, and the control unit 11 may detect the type of peripheral device 2 connected to the "connection terminal," and acquire the peripheral current value AS from the current consumption values ​​corresponding to each type of peripheral device 2 stored in advance in memory 11B, depending on the type of peripheral device 2 connected to the "connection terminal." This configuration corresponds to an example of a "current detection unit."

[0019] Printing mechanism 15 executes a printing function under the control of control unit 11. Printing mechanism 15 prints characters, images, etc. on a recording medium P such as printing paper under the control of control unit 11. Recording medium P is, for example, thermal paper. The printing mechanism 15 includes a recording head 151, a drive motor 152, and a transport roller 153 as components related to printing.

[0020] The recording head 151 is, for example, a thermal head, that is, in this embodiment, the printer 1 is a thermal printer. The recording head 151 has a plurality of heating elements. The heating elements generate heat when energized. Heat is applied from the recording head 151 to the recording medium P, thereby forming an image on the recording medium P.

[0021] The drive motor 152 drives the transport roller 153. The drive motor 152 is, for example, a DC motor. The transport roller 153 is disposed opposite the recording head 151. With the recording medium P sandwiched between the transport roller 153 and the recording head 151, the recording medium P is transported by the rotation of the transport roller 153.

[0022] The print medium storage unit 16 is configured to be able to store the recording medium P. For example, a roll of long recording medium P is stored in the print medium storage unit 16, and the recording medium P is pulled out from the roll and transported by the drive motor 152 onto a transport path (not shown). The print medium storage unit 16 may also be configured to collect the printed matter, which is the recording medium P, after printing.

[0023] Next, the functional blocks of the control unit 11 of the printer 1 will be described. The control unit 11 includes a first calculation unit 111, a second calculation unit 112, an addition unit 113, a speed determination unit 114, a speed control unit 115, a print data storage unit 116, and a table storage unit 117. When the processor 11A executes the control program PG, the processor 11A functions as the first calculation unit 111, the second calculation unit 112, the addition unit 113, the speed determination unit 114, and the speed control unit 115. When the processor 11A executes the control program PG, the memory 11B functions as the print data storage unit 116 and the table storage unit 117.

[0024] The print data storage unit 116 stores print data DP in advance. The print data DP is transmitted to the recording head 151 by the control unit 11. Then, an image corresponding to the print data DP is formed on the recording medium P by the recording head 151.

[0025] The table storage unit 117 stores a first table TBL1 and a second table TBL2 in advance. The first table TBL1 is a table that associates a peripheral current value AS with one table selected by the speed determination unit 114 from a plurality of tables. The first table TBL1 will be further described with reference to FIG.

[0026] The second table TBL2 is a table that associates a current consumption threshold THA, which is a threshold corresponding to the added current QT, with the target speed VT. The target speed VT is a target value for the transport speed V. The added current QT is calculated by the adder 113. The second table TBL2 will be further described with reference to FIG.

[0027] The first calculation unit 111 calculates a first current amount QA, which is the amount of current consumed by the recording head 151. The first calculation unit 111 calculates the first current amount QA based on the print data DP. The first current amount QA is, for example, the amount of current consumed by the recording head 151 when the recording head 151 prints one line of the print data DP. The first calculation unit 111 calculates the first current amount QA, for example, using the following equation (1). QA=(Vh / (((Rt+Rd) / N)+Rfet))×TE (1)

[0028] Here, voltage value Vh indicates the voltage value of the voltage supplied to the printhead 151. Resistance value Rt indicates the resistance value of each of the multiple heating elements arranged in the printhead 151. Resistance value Rd indicates the resistance value of a driver resistor connected in series with each of the multiple heating elements arranged in the printhead 151. Number N indicates the number of heating elements to be energized among the multiple heating elements arranged in the printhead 151. Resistance value Rfet indicates the resistance value of an FET (Field Effect Transistor) that switches each of the multiple heating elements arranged in the printhead 151 on and off. Time TE indicates the time during which electricity is applied to the multiple heating elements arranged in the printhead 151 when printing one line. The unit of the first current amount QA is, for example, (A×μsec).

[0029] The second calculation unit 112 calculates a second current amount QB, which is the amount of current consumed by the drive motor 152. The second calculation unit 112 calculates the second current amount QB based on, for example, the applied voltage value Vm to the drive motor 152, the on time Dp of PWM (Pulse Width Modulation) control, the rotation speed Nr of the drive motor 152, and the transport time TF, which is the time it takes for the transport roller 153 to transport the recording medium P a transport amount corresponding to one line of the print data DP. The second calculation unit 112 calculates the second current amount QB, for example, using the following equation (2). QB=((Vm×Dp / Dmax-Ke×Nr) / (Rm+Rmd)×Dp / Dmax)×TF (2)

[0030] Here, the time Dmax is the time of one cycle of PWM control. The coefficient Ke is the back electromotive force constant (V / rps) of the drive motor 152. The resistance value Rm is the resistance value of the resistor of the drive motor 152. The resistance value Rmd is the resistance value of the driver resistor of the drive motor 152. The unit of the second current amount QB is, for example, (A×μsec).

[0031] The adder 113 adds the first current amount QA and the second current amount QB to calculate the total current amount QT. That is, the adder 113 calculates the total current amount QT using the following equation (3). QT=QA+QB (3)

[0032] The speed determination unit 114 refers to the first table TBL1 and selects one table from among the multiple tables based on the peripheral current value AS. Then, the speed determination unit 114 refers to the second table TBL2 corresponding to the selected table and determines the conveyance speed V of the recording medium P to be the target speed VT corresponding to the added current amount QT. The processing of the speed determination unit 114 will be further described with reference to FIGS.

[0033] The speed control unit 115 controls the transport speed V of the recording medium P. The speed control unit 115 controls the transport speed V of the recording medium P, for example, based on the added current amount QT. The speed control unit 115 controls the transport speed V of the recording medium P by the transport roller 153 to the target speed VT determined by the speed determination unit 114, for example, by PWM controlling the drive motor 152. The speed control unit 115 corresponds to an example of a "transport speed control unit."

[0034] In this embodiment, a case will be described in which the second calculation unit 112 calculates the second current amount QB, which is the amount of current consumed by the drive motor 152 during the transport time TF, which is the time it takes for the transport roller 153 to transport the recording medium P a distance corresponding to one line of the print data DP, but the embodiment is not limited to this. The second calculation unit 112 may also calculate the average value of the second current amount QB, which is the amount of current consumed by the drive motor 152 during the transport time TF, which is the time it takes for the transport roller 153 to transport the recording medium P a distance corresponding to a predetermined number NP of lines of the print data DP. In this case, the adder 113 adds the first current amount QA and the average value of the second current amount QB to calculate the total current amount QT.

[0035] The predetermined number NP is an integer equal to or greater than 2. The larger the predetermined number NP, the simpler the processing of the second calculation unit 112. The smaller the predetermined number NP, the more accurately the added current amount QT can be calculated. For example, the second calculation unit 112 may determine the predetermined number NP according to the transport speed V of the recording medium P. For example, the second calculation unit 112 may set the predetermined number NP to a larger value as the transport speed V of the recording medium P increases. In this case, the predetermined number NP can be set appropriately.

[0036] Next, the first table TBL1 will be described with reference to FIG. 2. FIG. 2 is a diagram showing an example of the first table TBL1. As shown in FIG. 2, the first table TBL1 associates the peripheral current value AS with a selection table TS, which is a table selected by the speed determination unit 114. For example, if the peripheral current value AS is equal to or less than 1.0 A, the speed determination unit 114 selects table A as the selection table TS. Also, for example, if the peripheral current value AS is greater than 1.0 A and equal to or less than 1.5 A, the speed determination unit 114 selects table B as the selection table TS. Also, for example, if the peripheral current value AS is greater than 1.5 A and equal to or less than 2.0 A, the speed determination unit 114 selects table C as the selection table TS.

[0037] In this embodiment, as shown in Fig. 2, a case will be described in which the speed determination unit 114 has three table options to select from: Table A, Table B, and Table C, but the embodiment is not limited to this. The more table options the speed determination unit 114 has to select from, the more likely the speed determination unit 114 is to set the target speed VT to an appropriate value. The fewer table options the speed determination unit 114 has to select from, the more simplified the processing by the speed determination unit 114 can be.

[0038] Next, the second table TBL2 will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the second table TBL2. 3, the second table TBL2 is a table that associates the target speed VT with the current consumption threshold THA. As the current consumption threshold THA, the following are shown: a current consumption threshold TH1 when the speed determination unit 114 selects table A as the selection table TS; a current consumption threshold TH2 when the speed determination unit 114 selects table B as the selection table TS; and a current consumption threshold TH3 when the speed determination unit 114 selects table C as the selection table TS. The current consumption threshold THA is a threshold for the added current QT.

[0039] The speed determination unit 114 determines the target speed VT, for example, in the following manner. That is, when the speed determination unit 114 selects table B as the selection table TS, the current consumption threshold TH2 is selected as the current consumption threshold THA corresponding to table B. Then, the speed determination unit 114 compares the added current amount QT calculated by the adding unit 113 with the current consumption threshold TH2. Specifically, the speed determination unit 114 selects, from the current consumption thresholds TH2, a current consumption threshold TH2 that is equal to or greater than the added current amount QT and that is closest to the added current amount QT, with reference to Fig. 3. Furthermore, the speed determination unit 114 determines, as the target value of the conveying speed V, the target speed VT corresponding to the selected current consumption threshold TH2 with reference to Fig. 3.

[0040] For example, when the speed determination unit 114 selects table B as the selection table TS and the added current amount QT is "10500 (A×μsec)", the speed determination unit 114 selects "11000 (A×μsec)" from the current consumption amount threshold TH2 with reference to Fig. 3. Then, the speed determination unit 114 determines the target speed VT to be "52 (mm / sec)" corresponding to "11000 (A×μsec)" with reference to Fig. 3.

[0041] For example, when the speed determination unit 114 selects table C as the selection table TS and the added current amount QT is "10500 (A×μsec)", the speed determination unit 114 selects "11500 (A×μsec)" from the current consumption amount threshold TH3 with reference to Fig. 3. Then, the speed determination unit 114 determines the target speed VT to be "41 (mm / sec)" corresponding to "11500 (A×μsec)" with reference to Fig. 3.

[0042] Next, the main processing of the control unit 11 in this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an example of the main processing of the control unit 11. As shown in FIG. 4, in step S101, the control unit 11 acquires the surrounding current value AS from the current sensor SA. Next, in step S103, the speed determination unit 114 refers to the first table TBL1 based on the peripheral current value AS and selects one table from among the plurality of tables. Next, in step S105, the first calculation unit 111 calculates the first current amount QA, which is the amount of current consumed by the recording head 151. The first calculation unit 111 calculates the first current amount QA, for example, using the above formula (1).

[0043] Next, in step S107, the second calculation unit 112 calculates the second current amount QB, which is the amount of current consumed by the drive motor 152. The second calculation unit 112 calculates the second current amount QB, for example, using the above formula (2). Next, in step S109, the adder 113 adds the first current amount QA and the second current amount QB to calculate the total current amount QT. The adder 113 calculates the total current amount QT using, for example, the above formula (3). Next, in step S111, the speed determination unit 114 refers to the second table TBL2 corresponding to one of the tables selected in step S103, and determines the target value of the conveying speed V of the recording medium P to be the target speed VT corresponding to the added current amount QT.

[0044] Next, in step S113, the speed control unit 115 controls the conveying speed V of the recording medium P to the target speed VT. Next, in step S115, the control unit 11 determines whether or not printing of the print data DP has been completed. If the control unit 11 determines that printing of the print data DP is not complete (step S115; NO), the process returns to step S101. If the control unit 11 determines that printing of the print data DP is complete (step S115; YES), the process then ends.

[0045] Step S105 corresponds to an example of a "first calculation step." Step S107 corresponds to an example of a "second calculation step." Step S109 corresponds to an example of an "addition step." Step S113 corresponds to an example of a "transport control step."

[0046] [3. Composition and Effects] As described above with reference to Figures 1 to 4, the printer 1 according to this embodiment includes a drive motor 152, a recording head 151 that prints on a recording medium P, a transport roller 153 that is driven by the drive motor 152 and transports the recording medium P toward the recording head 151, a first calculation unit 111 that calculates a first current amount QA, which is the amount of current consumed by the recording head 151, a second calculation unit 112 that calculates a second current amount QB, which is the amount of current consumed by the drive motor 152, an addition unit 113 that adds the first current amount QA and the second current amount QB to calculate a total current amount QT, and a speed control unit 115 that controls the transport speed V of the recording medium P based on the total current amount QT.

[0047] According to this configuration, the first current amount QA, which is the amount of current consumed by the recording head 151, and the second current amount QB, which is the amount of current consumed by the drive motor 152, are added together to calculate the total current amount QT, and the transport speed V of the recording medium P is controlled based on the total current amount QT. Therefore, the transport speed V can be appropriately controlled.

[0048] Furthermore, in the printer 1 according to this embodiment, the recording head 151 is a thermal head, and the first calculation unit 111 calculates the first current amount QA based on the print data DP.

[0049] According to this configuration, the first current amount QA, which is the amount of current consumed by the thermal head, is calculated based on the print data DP, so that the first current amount QA can be calculated appropriately.

[0050] In addition, the printer 1 according to this embodiment is equipped with USB terminals 141-144 capable of supplying power to multiple peripheral devices 21-24, and a current detection unit that detects a peripheral current value AS, which is the current value consumed by the peripheral devices 21-24 connected to the USB terminals 141-144, and the speed control unit 115 controls the transport speed V based on the added current amount QT and the peripheral current value AS.

[0051] According to this configuration, the transport speed V is controlled based on the added current amount QT and the peripheral current value AS, so that the transport speed V can be controlled appropriately.

[0052] In the printer 1 according to this embodiment, the current detection unit is a current sensor SA.

[0053] According to this configuration, the current sensor SA detects the peripheral current value AS, so that the peripheral current value AS can be detected accurately.

[0054] The printer 1 according to this embodiment also includes a table storage unit 117 that stores multiple tables AC that store the additional current amount QT and the target speed VT in correspondence with each other, and a speed determination unit 114 that selects one table from the multiple tables AC based on the peripheral current value AS and determines the transport speed V to the target speed VT corresponding to the additional current amount QT by referring to the selected table, and a speed control unit 115 that controls the transport speed V to the target speed VT determined by the speed determination unit 114.

[0055] According to this configuration, one table is selected from a plurality of tables AC based on the peripheral current value AS, and the conveying speed V is determined to the target speed VT corresponding to the added current amount QT by referring to the one table, so that the conveying speed V can be determined appropriately.

[0056] Furthermore, in the printer 1 according to this embodiment, the drive motor 152 is a DC motor, and the speed control unit 115 controls the transport speed V by PWM controlling the drive motor 152, and the second calculation unit 112 calculates the second current amount QB based on the applied voltage value Vm to the drive motor 152, the on time Dp of the PWM control, the rotation speed Nr of the drive motor 152, and the transport time TF, which is the time it takes for the transport roller 153 to transport the recording medium P a transport amount corresponding to one line of the print data DP.

[0057] According to this configuration, the second current amount QB, which is the amount of current consumed by the drive motor 152, can be calculated appropriately.

[0058] Furthermore, in the printer 1 according to this embodiment, the second calculation unit 112 calculates the average value of the second current amount QB for a predetermined number NP of lines of the print data DP, and the addition unit 113 adds the first current amount QA and the average value of the second current amount QB to calculate the added current amount QT.

[0059] According to this configuration, by setting the predetermined number NP to an appropriate value, it is possible to reduce the load on the control unit 11 and calculate an appropriate added current amount QT.

[0060] Furthermore, in the printer 1 according to this embodiment, the second calculation unit 112 determines the predetermined number NP according to the transport speed V.

[0061] According to this configuration, the predetermined number NP is determined in accordance with the conveying speed V, so that the predetermined number NP can be set to an appropriate value.

[0062] The control method for the printer 1 according to this embodiment is a control method for the printer 1 that includes a drive motor 152, a transport roller 153 that is driven by the drive motor 152 and transports the recording medium P, and a recording head 151 that prints on the recording medium P, and includes a first calculation step of calculating a first current amount QA, which is the amount of current consumed by the recording head 151, a second calculation step of calculating a second current amount QB, which is the amount of current consumed by the drive motor 152, an addition step of adding the first current amount QA and the second current amount QB to calculate a total current amount QT, and a transport control step of controlling the transport speed V of the recording medium P based on the total current amount QT.

[0063] The control method for the printer 1 according to this embodiment has the same effects as the printer 1 according to this embodiment.

[0064] This embodiment shows one mode, and any modifications and applications are possible without departing from the spirit and scope of the present invention.

[0065] In this embodiment, the "printing device" is a printer 1, but is not limited to this. The "printing device" may also be, for example, a copy machine. The "printing device" may also be, for example, a so-called multifunction device.

[0066] In this embodiment, the case where the drive motor 152 is a DC motor has been described, but the embodiment is not limited to this. The drive motor 152 may also be an AC motor.

[0067] In this embodiment, the recording head 151 is a thermal head, but the embodiment is not limited to this. The recording head 151 may be, for example, a head that ejects ink.

[0068] In this embodiment, the "connection terminal" is a USB (registered trademark) terminal, but the embodiment is not limited to this. Some or all of the "connection terminals" may be, for example, serial terminals. In this case, power is supplied to the peripheral device 2 via a serial cable.

[0069] In this embodiment, a case is described in which the processor 11A included in the printer 1 executes the control program PG stored in the memory 11B, but the embodiment is not limited to this. The control program PG can also be configured as a recording medium on which it is recorded so as to be readable by a computer, or as a transmission medium for transmitting the control program PG. The recording medium may be a magnetic or optical recording medium or a semiconductor memory device, including portable or fixed recording media such as flexible disks, HDDs, CD-ROMs (Compact Disk Read Only Memory), DVDs (Digital Versatile Disks), Blu-ray (registered trademark) Discs, magneto-optical disks, flash memories, and card-type recording media. The recording medium may be a non-volatile storage device such as a RAM, ROM, or HDD that is an internal storage device provided in the printer 1.

[0070] The functions of the control unit 11 of the printer 1 may be realized by one or more processors or semiconductor chips. The control unit 11 may also be configured to further include a co-processor such as an SoC (System-on-a-Chip), MCU (Micro Control Unit), or FPGA. The control unit 11 may perform various controls by using both the CPU and the co-processor in cooperation with each other, or by selectively using one of the two.

[0071] The processing units in the flowchart of FIG. 4 are divided according to the main processing content to make it easier to understand the processing of the control unit 11 of the printer 1, and are not limited by the way in which the processing units are divided or the names of the processing units. The processing units in the flowchart may be divided into more processing units depending on the processing content. One processing unit may also be divided so that it includes more processes. The order of the processing may be changed as appropriate as long as it does not interfere with the intent.

[0072] Each functional unit shown in FIG. 1 indicates a functional configuration, and the specific implementation form is not particularly limited. It is not necessary to implement hardware that corresponds to each functional unit individually; a configuration in which a single processor executes a program to realize the functions of multiple functional units is also possible. Some of the functions realized by software in the above-described embodiment may be implemented by hardware, or some of the functions realized by hardware may be implemented by software. The specific detailed configurations of the other units of the printer 1 may also be changed as desired without departing from the spirit of the invention. [Explanation of symbols]

[0073] 1...printer (printing device), 11...control unit, 11A...processor, 11B...memory, 111...first calculation unit, 112...second calculation unit, 113...addition unit, 114...speed determination unit, 115...speed control unit (conveyance speed control unit), 116...print data storage unit, 117...table storage unit, 14...power supply mechanism, 141...first USB terminal (connection terminal), 142...second USB terminal (connection terminal), 143...third USB terminal (connection terminal), 144...fourth USB terminal (connection terminal), 15...printing mechanism, 151... Recording head, 152...drive motor, 153...conveyor roller, 2...peripheral device, 21...first peripheral device, 22...second peripheral device, 23...third peripheral device, 24...fourth peripheral device, AS...peripheral current value, DP...print data, NP...predetermined number, P...recording medium, PG...control program, QA...first current amount, QB...second current amount, QT...additional current amount, SA...current sensor, TBL1...first table, TBL2...second table, TH1, TH2, TH3, THA...current consumption threshold, V...conveyor speed, VT...target speed.

Claims

1. A drive motor; a transport roller driven by the drive motor to transport a recording medium; a recording head for printing on the recording medium; a first calculation unit that calculates a first current amount that is a current amount consumed by the recording head; a second calculation unit that calculates a second current amount that is the amount of current consumed by the drive motor; an adder that adds the first current amount and the second current amount to calculate a sum current amount; a conveyance speed control unit that controls a conveyance speed of the recording medium based on the added current amount; A printing device comprising:

2. the recording head is a thermal head, the first calculation unit calculates the first current amount based on print data; The printing device of claim 1 .

3. a connection terminal capable of supplying power to a plurality of peripheral devices; a current detection unit that detects a peripheral current value that is a current value consumed by the peripheral device connected to the connection terminal; Equipped with the conveying speed control unit controls the conveying speed based on the added current amount and the peripheral current value. The printing device of claim 1 .

4. The current detection unit is a current sensor. The printing device according to claim 3 .

5. a table storage unit that stores a plurality of tables that store the added current amount and the conveying speed in association with each other; a speed determination unit that selects one table from the plurality of tables based on the peripheral current value, and determines a target speed, which is a target value of the conveying speed, as a conveying speed corresponding to the added current amount by referring to the one table; the conveying speed control unit controls the conveying speed to the target speed determined by the speed determination unit. The printing device according to claim 3 .

6. The drive motor is a DC motor, the conveying speed control unit controls the conveying speed by PWM control of the drive motor, the second calculation unit calculates the second current amount based on a voltage value applied to the drive motor, an on-time of the PWM control, a rotation speed of the drive motor, and a transport time that is a time required for the transport roller to transport the recording medium a transport amount corresponding to one line of print data; The printing device according to any one of claims 1 to 5.

7. the second calculation unit calculates an average value of the second current amount for a predetermined number of lines of the print data, the adder calculates the added current amount by adding the first current amount and an average value of the second current amount. The printing device according to claim 6.

8. The second calculation unit determines the predetermined number in accordance with the conveying speed. The printing device according to claim 7.

9. A drive motor; a transport roller driven by the drive motor to transport a recording medium; a recording head for printing on the recording medium; A method for controlling a printing device, comprising: a first calculation step of calculating a first current amount that is a current amount consumed by the recording head; a second calculation step of calculating a second current amount that is the current amount consumed by the drive motor; an addition step of calculating a total current amount by adding the first current amount and the second current amount; a conveyance control step of controlling a conveyance speed of the recording medium based on the added current amount; A method for controlling a printing device, comprising:

Citation Information

Patent Citations

  • Printing device and control method

    JP2018051888A