CN111361296B - Power control method and device for printer, printer and storage medium - Google Patents

Power control method and device for printer, printer and storage medium Download PDF

Info

Publication number
CN111361296B
CN111361296B CN202010234675.8A CN202010234675A CN111361296B CN 111361296 B CN111361296 B CN 111361296B CN 202010234675 A CN202010234675 A CN 202010234675A CN 111361296 B CN111361296 B CN 111361296B
Authority
CN
China
Prior art keywords
power
printing
heating
current content
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010234675.8A
Other languages
Chinese (zh)
Other versions
CN111361296A (en
Inventor
邱荣健
其他发明人请求不公开姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Hanyin Electronic Technology Co Ltd
Original Assignee
Xiamen Hanyin Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN202010234675.8A priority Critical patent/CN111361296B/en
Publication of CN111361296A publication Critical patent/CN111361296A/en
Application granted granted Critical
Publication of CN111361296B publication Critical patent/CN111361296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/38Preheating, i.e. heating to a temperature insufficient to cause printing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism

Abstract

The embodiment of the invention provides a printing power control method, a printing power control device, a printer and a storage medium, wherein the method comprises the following steps: acquiring total heating power required by a printing head for printing current content at one time; judging whether the total heating power is greater than the rated power of the adapter or not; when the total heating power is larger than the rated power, acquiring the residual charge capacity of the capacitor on the circuit board; judging whether the residual electric capacity is larger than a preset threshold value or not; when the residual charge capacity is less than or equal to the threshold value, controlling the heating of a preset heating element on the printing head by heating power less than or equal to the rated power so as to print the current content at least twice; and when the residual charge capacity is larger than the threshold value, controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor so as to print the current content at one time. The invention avoids the problem of high cost caused by adopting a high-performance adapter by controlling the printing power.

Description

Power control method and device for printer, printer and storage medium
Technical Field
The invention relates to the technical field of printing power control, in particular to a power control method and device of a printer, the printer and a storage medium.
Background
The printer generally outputs stably at rated power, and because the power is very high during printing operation, if the discharging power of the adapter is insufficient, the printer is shut down due to power protection, so that the requirement on the corresponding power adapter is very high.
The existing printer is limited by high printing power, and often needs to be matched with a high-performance power adapter, so that the hardware cost is high; or the operating power is controlled by reducing the printing speed, but the printing efficiency is not guaranteed when the printing speed is reduced.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a power control method and apparatus for a printer, a printer and a storage medium, so as to solve the problem of high cost caused by high printing power of the printer in the prior art.
The embodiment of the invention provides a printing power control method, which comprises the following steps:
acquiring total heating power required by a printing head for printing current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated;
judging whether the total heating power is greater than the rated power of the adapter or not;
when the total heating power is larger than the rated power, acquiring the residual charge capacity of a capacitor on the circuit board;
judging whether the residual electric storage capacity is larger than a preset threshold value or not;
when the residual charge capacity is less than or equal to the threshold value, controlling the heating of a preset heating element on the printing head by heating power less than or equal to the rated power so as to print the current content at least twice;
and when the residual charge capacity is larger than the threshold value, controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor so as to print the current content at one time.
Preferably, the method further comprises the following steps:
and when the storage capacity is less than or equal to the threshold value, charging the capacitor in the printing process.
Preferably, the initial remaining charge capacity of the capacitor is a maximum charge capacity of the capacitor, and the maximum charge capacity X is obtained by the following equation:
X=0.5*C*U2
wherein C is the capacitance value connected with the two ends of the power supply; u is the system voltage.
Preferably, the total heating power required for the print head to print the current content at a time is obtained by the following formula:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
Preferably, after controlling heating of a plurality of heating elements on the print head with at least the total heating power according to simultaneous power supply of the adapter and the capacitor when the stored electric capacity is greater than the threshold value to print the current content at one time, the method further includes:
updating the remaining capacity of the capacitor;
wherein X is the residual capacity of the capacitor after updating2The residual capacity before heating is X1Then, the following conditions are satisfied:
X2=X1+(P-P1)*T;
wherein, P is the rated power of the adapter; t is the heating time of the heating element.
An embodiment of the present invention further provides a printing power control apparatus, including:
the total heating power acquisition unit is used for acquiring the total heating power required by the printing head for printing the current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated;
the first judgment unit is used for judging whether the total heating power is greater than the rated power of the adapter or not;
the residual electric quantity obtaining unit is used for obtaining the residual electric quantity of the capacitor on the circuit board when the total heating power is larger than the rated power;
a second determination unit configured to determine whether the remaining battery amount is larger than a preset threshold value;
a first printing power control unit for controlling heating of a predetermined heating element on the print head at a heating power equal to or less than the rated power to print the current content divided into at least two times when the remaining charge amount is equal to or less than the threshold value; and
and the second printing power control unit is used for controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor when the residual charge capacity is larger than the threshold value so as to print the current content at one time.
Preferably, the method further comprises the following steps:
and the charging unit is used for charging the capacitor in the printing process when the storage capacity is less than or equal to the threshold value.
Preferably, the total heating power required for the print head to print the current content at a time is obtained by the following formula:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
Embodiments of the present invention also provide a printer, including a controller, and a power supply and a printhead connected to the controller, where the controller is configured to execute a computer program stored therein to implement the printing power control method as described above.
An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor of an apparatus in which the storage medium is located, implements the print power control method as described above.
In the embodiment of the invention, when the total heating power is greater than the rated power of the adapter, the residual electric quantity of the capacitor on the circuit board is obtained to judge the residual electric quantity condition and is compared with the preset threshold value, and when the residual electric quantity is less than the threshold value, the heating of the preset heating element on the printing head is controlled by the heating power less than or equal to the rated power, so that the printing power is reduced to a certain extent. Meanwhile, the capacitor is charged in the printing process, so that when the storage capacity is larger than the threshold value, the total heating power is adopted for heating. Therefore, the adapter only needs to meet the requirement of average heating power, and the problem of high cost caused by the fact that a high-performance adapter has to be adopted for a high-power heating head when the printer works is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a method for controlling printing power according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a printing power control method according to a preferred embodiment of the first embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a printing power control apparatus according to a second embodiment of the present invention.
Icon: 201-total heating power obtaining unit; 202-a first judging unit; 203-residual capacity obtaining unit; 204-a second judging unit; 205-a first print power control unit; 206-a second print power control unit; 207-a charging unit; 208-update unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments, the references to "first \ second" are merely to distinguish similar objects and do not represent a specific ordering for the objects, and it is to be understood that "first \ second" may be interchanged with a specific order or sequence, where permitted. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced in sequences other than those illustrated or described herein.
As shown in fig. 1, a first embodiment of the present invention provides a printing power control method, which can be executed by a printer, specifically, by one or more controllers in the printer, and at least includes the following steps:
s101, acquiring total heating power required by the printing head to print the current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated.
In this embodiment, the printer is provided with a printing medium, a conveying device that conveys the printing medium, a printing head that performs printing, a controller that controls the printing head to move, and a power supply connected to the controller. Wherein the printhead includes a series of selectively actuatable heating elements arranged in an array and selectively actuatable by the controller to present current print content on the print medium.
In this embodiment, the current content is written in advance in a buffer memory of the printer, and the printer controls the driving of the heating element according to the current content. In the printing process, a plurality of heating elements heat simultaneously, and when the number of points needing to be heated is larger, the number of the driven heating elements is larger, so that the total heating power is increased.
In this embodiment, the total heating power required for the printhead to print the current content at once is obtained by the following equation:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
And S102, judging whether the total heating power is greater than the rated power of the adapter.
S103, when the total heating power is larger than the rated power, acquiring the residual charge capacity of the capacitor on the circuit board.
In this embodiment, whether the adapter can satisfy the power load of the current print content is determined by comparing the total heating power with the rated power of the adapter. When the total heating power is less than the rated power, the heating of a plurality of heating elements on the printing head can be controlled at the total heating power so as to print the current content at one time without causing overload of the adapter; when the total heating power is greater than the rated power, it is necessary to control the printing power according to the remaining charge capacity of the capacitor on the circuit board.
In this embodiment, a capacitor is disposed on a circuit board of the controller, and the capacitor can be used for storing electric quantity and releasing electric quantity. When the capacitor on the circuit board is fully charged, the maximum charge capacity X of the capacitor is obtained by the following formula:
X=0.5*C*U2
wherein C is the capacitance value connected with the two ends of the power supply; u is the system voltage.
During printing, the capacitor is constantly charged and discharged, and thus its remaining charge amount varies while floating between 0 and X.
Wherein, after one printing is completed, the calculation formula of the remaining battery capacity is as follows:
X2=X1+(P-P1)*T;
wherein, X2Residual capacity of capacitor after printing, X1The residual charge capacity before printing is shown, and P is the rated power of the adapter; t is the heating time of the heating element.
It can be seen that when the power rating of the adapter is greater than each heating power, the capacitor is in a charged state (but cannot be greater than the maximum charge capacity X) at the time of the current printing, and when the power rating of the adapter is less than each heating power, the capacitor is in a discharged state at the time of the current printing.
And S104, judging whether the residual electric storage capacity is larger than a preset threshold value or not.
And S105, when the residual charge capacity is smaller than or equal to the threshold value, controlling the heating of a preset heating element on the printing head by heating power smaller than or equal to the rated power so as to print the current content at least twice.
In this embodiment, when the remaining charge amount is less than the threshold value, indicating that the remaining charge amount of the capacitor has failed to satisfy the printing load, the printing power is reduced by reducing the number of dots per printing, and the heating of the predetermined heating element on the print head is controlled at the heating power equal to or less than the rated power. Since the total heating power required to print the current content at one time is greater than the rated power, the current content needs to be printed at least twice in divided.
In one specific embodiment, the heating of predetermined heating elements on the printhead is controlled at a heating power equal to the rated power of the adapter tape, e.g., when it takes at least 2 prints of the current content. In the first N heating processes, a part of the dots are printed at the rated power according to the current content, and the printing of the last part of the dots is finished at the residual power (the total heating power-N × the rated power) in the first N +1 printing processes.
In another specific embodiment, the total heating power may be equally divided into a plurality of portions, and one portion of the total heating power is used for printing each time, which are within the protection scope of the present invention and are not described herein again.
In addition, as can be seen from the above, in this case, since the heating power is equal to or less than the rated power each time, the capacitor is in a charged state, that is, the remaining capacity increases to meet the demand for subsequent printing.
And S106, when the stored electric quantity is larger than the threshold value, controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor so as to print the current content at one time.
In this embodiment, when the remaining charge capacity is greater than the threshold, it indicates that the remaining charge capacity of the capacitor is sufficient for the printing load, and at this time, when the printer controls the heating of the plurality of heating elements on the print head with the total heating power, the printing power is not limited, and printing is performed according to the total heating power corresponding to the actual number of dots that needs to be heated according to the current content, so that all the current content is printed at one time.
It can be seen that in this case, since the heating power (equal to the total heating power) is greater than the rated power each time, the capacitor is in a discharged state, i.e., the remaining charge amount is reduced.
However, considering that the situation that the printer continuously prints with power greater than the rated power (the current print content has many black blocks) is less, the remaining charge capacity can be timely supplemented in the next printing in most cases, so that the printing in most cases is finished at one time, that is, by the printing power control method of the embodiment, the adapter of the embodiment does not need to adapt to the maximum printing power of the printer, and the faster printing can be realized on the premise of not increasing the performance requirement of the adapter and the overall cost of the printer by only meeting the requirement of the average heating power.
Referring to fig. 3, a second embodiment of the present invention provides a printing power control apparatus, including:
a total heating power obtaining unit 201, configured to obtain a total heating power required by the print head to print the current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated;
a first judging unit 202, configured to judge whether the total heating power is greater than a rated power of the adapter;
a remaining power acquiring unit 203 for acquiring a remaining power storage amount of the capacitor on the circuit board when the total heating power is greater than the rated power;
a second determination unit 204 configured to determine whether the amount of stored electricity is greater than a preset threshold value;
a first printing power control unit 205 configured to control heating of a predetermined heating element on the print head at a heating power equal to or less than the rated power to print the current content at least twice when the remaining charge amount is equal to or less than the threshold value; and
a second printing power control unit 206, configured to control heating of the plurality of heating elements on the print head at least with the total heating power according to simultaneous power supply of the adapter and the capacitor when the remaining charge amount is greater than the threshold value, so as to print the current content at one time.
Preferably, the method further comprises the following steps:
a charging unit 207 configured to charge the capacitor during printing when the remaining storage amount is equal to or less than the threshold value.
Preferably, the initial remaining charge capacity of the capacitor is a maximum charge capacity of the capacitor, and the maximum charge capacity X is obtained by the following equation:
X=0.5*C*U2
wherein C is the capacitance value connected with the two ends of the power supply; u is the system voltage.
Preferably, the total heating power required for the print head to print the current content at a time is obtained by the following formula:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
Preferably, the printing power control apparatus further includes:
an updating unit 208 for updating the remaining storage amount of the capacitor;
wherein X is the residual capacity of the capacitor after updating2The residual capacity before heating is X1Then, the following conditions are satisfied:
X2=X1+(P-P1)*T;
wherein, P is the rated power of the adapter; t is the heating time of the heating element.
A third embodiment of the present invention provides a printer including a controller configured to execute a computer program stored therein to implement the printing power control method as described above, and a power supply and a printhead connected to the controller.
A fourth embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, which program, when executed by a processor of an apparatus on which the storage medium is located, implements the print power control method as described above.
Illustratively, the computer programs described herein can be partitioned into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the implementation device. For example, the device described in the second embodiment of the present invention.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an APPlication Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the printing method, and various interfaces and lines connecting the various parts throughout the implementation of the document printing method.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the printing method by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the user terminal, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module for realizing the user terminal can be stored in a computer readable storage medium if it is realized in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A printing power control method, characterized by comprising the steps of:
acquiring total heating power required by a printing head for printing current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated;
judging whether the total heating power is greater than the rated power of the adapter or not;
when the total heating power is larger than the rated power, acquiring the residual charge capacity of a capacitor on the circuit board;
judging whether the residual electric storage capacity is larger than a preset threshold value or not;
when the residual charge capacity is less than or equal to the threshold value, controlling the heating of a preset heating element on the printing head by heating power less than or equal to the rated power so as to print the current content at least twice;
and when the residual charge capacity is larger than the threshold value, controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor so as to print the current content at one time.
2. The printing power control method according to claim 1, further comprising:
and when the storage capacity is less than or equal to the threshold value, charging the capacitor in the printing process.
3. The printing power control method according to claim 1, wherein an initial remaining power storage amount of the capacitor is a maximum power storage amount of the capacitor, and the maximum power storage amount X is obtained by the following equation:
X=0.5*C*U2
wherein C is the capacitance value connected with the two ends of the power supply; u is the system voltage.
4. The printing power control method according to claim 1, wherein the total heating power required for the printhead to print the current content at once is obtained by:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
5. The printing power control method according to claim 4, wherein after controlling heating of a plurality of heating elements on the print head with at least the total heating power to print the current content at one time according to simultaneous energization of an adapter and the capacitor when the stored electric power amount is larger than the threshold value, further comprising:
updating the remaining capacity of the capacitor;
wherein X is the residual capacity of the capacitor after updating2The residual capacity before heating is X1Then, the following conditions are satisfied:
X2=X1+(P-P1)*T;
wherein, P is the rated power of the adapter; t is the heating time of the heating element.
6. A printing power control apparatus, characterized by comprising:
the total heating power acquisition unit is used for acquiring the total heating power required by the printing head for printing the current content at one time; wherein the total heating power required by the current content is positively correlated with the number of points that the current content needs to be heated;
the first judgment unit is used for judging whether the total heating power is greater than the rated power of the adapter or not;
the residual electric quantity obtaining unit is used for obtaining the residual electric quantity of the capacitor on the circuit board when the total heating power is larger than the rated power;
a second determination unit configured to determine whether the remaining battery amount is larger than a preset threshold value;
a first printing power control unit for controlling heating of a predetermined heating element on the print head at a heating power equal to or less than the rated power to print the current content divided into at least two times when the remaining charge amount is equal to or less than the threshold value; and
and the second printing power control unit is used for controlling the heating of a plurality of heating elements on the printing head by adopting at least the total heating power according to the simultaneous power supply of the adapter and the capacitor when the residual charge capacity is larger than the threshold value so as to print the current content at one time.
7. The printing power control device according to claim 6, further comprising:
and the charging unit is used for charging the capacitor in the printing process when the storage capacity is less than or equal to the threshold value.
8. The print power control apparatus according to claim 6, wherein the total heating power required for the print head to print the current content at once is obtained by:
P1=(U2/R)*dot
wherein, P1Is the total heating power; u is the system voltage; r is the resistance of the heating element on the printhead; dot is the number of points to be heated of the current content, dot is less than or equal to dpi, and dpi is the maximum printing point number of the printing head.
9. A printer comprising a controller and a power supply, a printhead connected to the controller, wherein the controller is configured to execute a computer program stored therein to implement a print power control method according to any one of claims 1 to 5.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor of an apparatus in which the storage medium is located, implementing the print power control method according to any one of claims 1 to 5.
CN202010234675.8A 2020-03-30 2020-03-30 Power control method and device for printer, printer and storage medium Active CN111361296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234675.8A CN111361296B (en) 2020-03-30 2020-03-30 Power control method and device for printer, printer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234675.8A CN111361296B (en) 2020-03-30 2020-03-30 Power control method and device for printer, printer and storage medium

Publications (2)

Publication Number Publication Date
CN111361296A CN111361296A (en) 2020-07-03
CN111361296B true CN111361296B (en) 2021-03-23

Family

ID=71203015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234675.8A Active CN111361296B (en) 2020-03-30 2020-03-30 Power control method and device for printer, printer and storage medium

Country Status (1)

Country Link
CN (1) CN111361296B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4514738A (en) * 1982-11-22 1985-04-30 Tokyo Shibaura Denki Kabushiki Kaisha Thermal recording system
JPH01204765A (en) * 1988-02-10 1989-08-17 Ricoh Co Ltd Thermal recorder
US4872028A (en) * 1988-03-21 1989-10-03 Hewlett-Packard Company Thermal-ink-jet print system with drop detector for drive pulse optimization
CN108621611A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 The control method and recording medium of printing equipment, printing equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5773270B2 (en) * 2011-12-26 2015-09-02 ブラザー工業株式会社 Printing device
JP7067261B2 (en) * 2018-05-18 2022-05-16 ブラザー工業株式会社 Printing equipment and printing programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4514738A (en) * 1982-11-22 1985-04-30 Tokyo Shibaura Denki Kabushiki Kaisha Thermal recording system
JPH01204765A (en) * 1988-02-10 1989-08-17 Ricoh Co Ltd Thermal recorder
US4872028A (en) * 1988-03-21 1989-10-03 Hewlett-Packard Company Thermal-ink-jet print system with drop detector for drive pulse optimization
CN108621611A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 The control method and recording medium of printing equipment, printing equipment

Also Published As

Publication number Publication date
CN111361296A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN107521236B (en) The control method of printing equipment and printing equipment
EP3101763B1 (en) Terminal, power adapter, and method for processing charging exception
US10326291B2 (en) Quick charging method, power adapter and mobile terminal
EP3101768B1 (en) Power adapter and terminal
CN110442311B (en) Self-adaptive printing method and device and printer
CN111361296B (en) Power control method and device for printer, printer and storage medium
CN112332475A (en) Control method, system, medium and application of battery pack charging current
CN111596869A (en) Printing data typesetting method and device, printer and storage medium
CN113434096A (en) Printer, adapter work control method and device thereof, and readable storage medium
CN115514031A (en) Charging control method and device, computer equipment and storage medium
CN111564857B (en) Parallel battery pack control system, method and device
CN111327087B (en) Electronic equipment and charging method thereof
JP7297494B2 (en) POWER SUPPLY DEVICE, CONTROL METHOD THEREOF, AND IMAGE READING DEVICE
TW201500902A (en) Rack and power controlling method thereof
CN106059013B (en) Method for improving battery endurance and electronic equipment
JP2007160679A (en) Inkjet printer, image forming apparatus and controlling method
JP2011010448A (en) Control unit
CN113370826B (en) Control method, control device and charging system of charging pile
CN104349005B (en) The control method of image forming apparatus and image forming apparatus
CN114498836A (en) Charge/discharge current control method, battery management system, and storage medium
CN110086230B (en) Charging device and charging method
CN115871524A (en) Control method and device for fuel cell module of vehicle and vehicle
CN111596963A (en) Equipment starting time merging method and device and storage medium
CN114643898A (en) Method, device and system for determining battery disconnection and storage medium
CN104657318A (en) Method and device for communicating with host computer terminal and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Qiu Rongjian

Inventor after: Other inventor requests not to publish the name

Inventor before: Request for anonymity

GR01 Patent grant
GR01 Patent grant