CN113320302B - Printer, motor adaptive driving method and device thereof, and readable storage medium - Google Patents

Printer, motor adaptive driving method and device thereof, and readable storage medium Download PDF

Info

Publication number
CN113320302B
CN113320302B CN202110485990.2A CN202110485990A CN113320302B CN 113320302 B CN113320302 B CN 113320302B CN 202110485990 A CN202110485990 A CN 202110485990A CN 113320302 B CN113320302 B CN 113320302B
Authority
CN
China
Prior art keywords
printing
motor
sensor
printer
channel
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
CN202110485990.2A
Other languages
Chinese (zh)
Other versions
CN113320302A (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 CN202110485990.2A priority Critical patent/CN113320302B/en
Publication of CN113320302A publication Critical patent/CN113320302A/en
Application granted granted Critical
Publication of CN113320302B publication Critical patent/CN113320302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • 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
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/0095Detecting means for copy material, e.g. for detecting or sensing presence of copy material or its leading or trailing end
    • 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

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a printer, a motor self-adaptive driving method, a device and a storage medium thereof, wherein the method comprises the following steps: when the printing medium is detected to be placed in the printing channel, controlling a motor of the printer to drive a roller positioned in a printing area to rotate in a first driving mode; after judging that the printing medium passes through the printing area, controlling a motor of the printer to drive a roller positioned in the printing area to rotate in a second driving mode; and the torque output by the first driving mode is larger than the torque output by the second driving mode. The invention can obviously improve the printing quality by switching between the two driving modes, reduce the noise generated by the printer work, and simultaneously avoid the motor from being in a high-temperature state continuously, thereby improving the energy utilization rate and the service life of the motor.

Description

Printer, motor adaptive driving method and device thereof, and readable storage medium
Technical Field
The present invention relates to the field of printing technologies, and in particular, to a printer, a motor adaptive driving method and apparatus thereof, and a readable storage medium.
Background
Printers are one of the output devices of computers, and various types of printers have been developed along with development of printing technology, providing great convenience for life, work and study of people.
In general, printers have a printing path for accommodating a printing medium, in which a printing head and rollers for conveying the printing medium are disposed, and the rollers are in driving connection with a stepping motor and are rotated by the stepping motor, so that the printing medium is moved in the printing path.
Disclosure of Invention
The inventors have found that in the practice of the present invention, in existing printers, the stepper motor is typically driven in only one mode, such as in only a full step (1-1 mode) or in only a small subdivision (1-N mode).
The full-step driving can provide larger torque force to ensure normal printing and printing medium transmission, but the printing effect is not clear enough, larger temperature rise can be generated, and the overall utilization rate of the motor is not high. While the printing effect is finer and clearer than that of the full-step driving, the motor is high in overall utilization rate, but the torque force which can be provided by the motor is smaller, and the printing requirement can not be met in some cases.
In view of the foregoing, it is an object of the present invention to provide a printer and a motor adaptive driving method, apparatus and readable storage medium thereof, which improve the foregoing.
The embodiment of the invention provides a self-adaptive driving method of a printer motor, which comprises the following steps: when the printing medium is detected to be placed in the printing channel, controlling a motor of the printer to drive a roller positioned in a printing area to rotate in a first driving mode;
after judging that the printing medium passes through the printing area, controlling a motor of the printer to drive a roller positioned in the printing area to rotate in a second driving mode; and the torque output by the first driving mode is larger than the torque output by the second driving mode.
Preferably, the printing area is an area formed by a printing head positioned in the printing channel and a roller clamping matched with the printing head; the position of the print medium within the print path is detected by a sensor assembly disposed within the print path.
Preferably, the sensor assembly comprises a first sensor located upstream of the print zone; and judging that the front end of the printing medium passes through the printing area after the first sensor detects the printing medium and the preset time passes.
Preferably, the sensor assembly includes a second sensor and a third sensor disposed at both sides of the printing area, and the second sensor is located upstream of the third sensor in a paper feeding direction; then:
when the second sensor detects the printing medium, judging that the printing medium is placed in a printing channel;
and when the third sensor detects the printing medium, judging that the front end of the printing medium passes through a printing area.
Preferably, the third sensor is disposed at a position close to the printing region.
Preferably, the method further comprises:
judging whether the third sensor detects the printing medium at preset time intervals when the printing medium is detected at the second sensor position;
if so, judging that the front end of the printing medium passes through the printing area;
if not, the torque output by the first driving mode is increased.
The embodiment of the invention also provides a self-adaptive driving device of the printer motor, which comprises:
a first driving unit for controlling a motor of the printer to drive rotation of a roller located in a printing area in a first driving manner when it is detected that a printing medium is set in a printing path;
a second driving unit for controlling a motor of the printer to drive rotation of a roller located in a printing area in a second driving manner after judging that the printing medium passes through the printing area; and the torque output by the first driving mode is larger than the torque output by the second driving mode.
The embodiment of the invention also provides a printer, which comprises a shell provided with a printing channel and a paper inlet, wherein a controller, a motor, an inductor component arranged in the printing channel, a printing head and a roller matched with the printing head are also accommodated in the shell, and a printing area is formed in the printing channel by the printing head and the roller; the controller is electrically connected with the sensor assembly and the motor, and the motor is in transmission connection with the roller so as to drive the roller to rotate and further realize the transmission of the printing medium in the printing channel; the controller is configured to implement the motor adaptive driving method as described above by executing a computer program stored therein.
Preferably, the sensor assembly includes a second sensor and a third sensor disposed at both sides of the printing area, and the second sensor is located upstream of the third sensor in a paper feeding direction.
The embodiment of the invention also provides a computer readable storage medium storing a computer program, the computer program can be executed by the processor to realize the motor adaptive driving method.
In summary, in this embodiment, the motor is driven in the first driving mode in the paper suction state, and is driven in the second driving mode in the printing state, and the torque output by the first driving mode is greater than the torque output by the second driving mode, that is, the motor is driven in the driving mode which is more subdivided than the paper suction state in the printing state. Thus, on one hand, the torque required in the suction paper state is ensured, and on the other hand, the printing fineness and definition required in the printing state are also ensured.
Furthermore, for more finely divided driving modes, the noise generated by the work, the amplitude of the temperature rise of the motor and the power consumption of the motor can be reduced, so that the noise generated by the work of the printer can be obviously reduced by switching between the two driving modes, and meanwhile, the motor is prevented from being in a high-temperature state continuously, so that the energy utilization rate of the motor is improved, and the service life of the motor is prolonged.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a printer motor adaptive driving method according to a first embodiment of the present invention.
FIG. 2 is a diagram of a positional relationship of a sensor assembly and a print zone within a print channel.
FIG. 3 is another diagram of the sensor assembly in the print pass versus the print zone.
Fig. 4 is a schematic structural diagram of a printer motor adaptive driving device according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for adaptively driving a motor of a printer, which is executed by the printer, and in particular, by one or more controllers in the printer, so as to implement the following steps:
s101, when it is detected that the printing medium is set in the printing path, controlling the motor of the printer to drive the rotation of the roller located in the printing area in the first driving manner.
S102, after judging that the printing medium passes through a printing area, controlling a motor of the printer to drive a roller positioned in the printing area to rotate in a second driving mode; and the torque output by the first driving mode is larger than the torque output by the second driving mode.
As shown in fig. 2, in this embodiment, the printer may be a thermal printer, and the working principle thereof is that a semiconductor heating element is mounted on the print head 10, and the print head 10 can print a desired pattern after heating and contacting thermal printing paper. Of course, other types of printers are also possible, and the present invention is not particularly limited.
In this embodiment, in particular, the paper feeding mode of the printer is manual paper feeding, that is, the printer is formed with a printing channel 20, two sides of the printing channel are a paper inlet 21 and a paper outlet 22, and the printhead 10 is disposed in the printing channel 20 and between the paper inlet 21 and the paper outlet 22. When printing is needed, a user puts the printing medium into the printing channel through the paper inlet 21, performs printing operation on the printing medium through the printing head 10 in the printing channel, and then transmits the printing medium out of the paper outlet 22.
In this embodiment, the printer generally further includes a controller (such as a motor driving chip) for driving the motor, a motor, an inductor assembly disposed in the printing channel, and a roller 30 (typically a glue roller) adapted to the print head, and the print head 10 and the roller 30 form a printing area in the printing channel (the range of the printing area may be enlarged or reduced as necessary according to actual needs, for example, according to a preparation process necessary in the printing process); the controller is electrically connected with the sensor assembly and the motor, and the motor is in transmission connection with the roller 30 so as to drive the roller 30 to rotate under the control of the controller and further realize the conveying of the printing medium in the printing channel. In particular, in this embodiment, the motor is a stepper motor, and the sensor assembly is a photoelectric pair or a mechanical sensing device, which is not particularly limited in the present invention.
Taking the sensor assembly as an example of a photoelectric pair, when the printing medium enters the detection range of the photoelectric pair, the photoelectric pair generates voltage change (for a transmission type photoelectric pair, the voltage is smaller, and for a reflection type photoelectric pair, the voltage is larger), the photoelectric pair sends the voltage change to the controller, and then the controller can detect the existence of the printing medium and the position of the printing medium according to the voltage change of the photoelectric pair.
In this embodiment, if the controller detects the printing medium based on feedback of the pair of photo-electric signals, it can know the position of the front end of the printing medium, that is, the position where the pair of photo-electric signals is located.
As shown in fig. 2, in one implementation, the sensor assembly includes a first sensor 40, the first sensor 40 being disposed between the paper inlet 21 and the printhead 10.
In this case, when the user inserts the printing medium into the printing path from the paper inlet 21, the printing medium passes through the first sensor 40, and the controller detects that the printing medium is inserted into the printing path 20 and controls the motor of the printer to drive the roller 30 located in the printing area to rotate in a first driving manner, thereby sucking the printing medium into the printing area. Since the pressure between the print head 10 and the roller 30 is maximized in this state of suction (no printing), the motor needs to overcome the resistance caused by the pressure with a larger torque force, so that the torque output in the first driving mode should be larger.
In this embodiment, after the first sensor 40 detects the print medium, after a preset time, the controller may generally determine that the front end of the print medium has been sucked into the print area, that is, the printer is in a print state at this time, in the print state, the print medium is located between the print head 10 and the roller 30, and the intervention of the print medium reduces the resistance between the print head 10 and the roller 30, so that the normal rotation of the roller 30 can be achieved without an excessive torque force, and thus, the driving mode is switched from the first driving mode to the second driving mode with smaller torque (the second driving mode may also be understood as being a driving mode that is more subdivided than the first driving mode), so that on one hand, the print fineness and definition in the print state are improved, and on the other hand, for the more subdivided driving mode, the noise generated in the operation, the amplitude of the temperature rise of the motor, and the power consumption of the motor can also be significantly reduced, the noise generated in the printing process of the printer can be avoided, and the motor can be further kept in a high temperature state, and the energy utilization rate and the service life of the motor can be further improved.
It should be noted that, in the above embodiment, the preset time may be determined according to the distance between the first sensor 40 and the printhead 10, for example, assuming that the distance between the first sensor 40 and the printhead 10 is L and the time required for the printing medium to travel in the printing channel for L is t, t is set as the preset time. It is of course strictly speaking that the suction is generated by the insertion of the print medium in the vicinity of the roller 30, so that the print medium does not need to travel a distance L to reach or pass the printing area, but t is the time corresponding to the maximum possible travel distance L, which ensures that the print medium must pass the printing area after t has elapsed.
Of course, the preset time may also be an empirical value, and these schemes are all within the scope of the present invention.
As shown in fig. 3, in another implementation, the sensor assembly includes a second sensor 50 and a third sensor 60 disposed at both sides of the printing area, and the second sensor 50 is located upstream of the third sensor 60 in the paper feeding direction; the third sensor 60 is disposed near the print zone. Then:
when the second sensor 50 detects the printing medium, it is judged that the printing medium is set in the printing path 20;
when the third sensor 60 detects the printing medium, it is determined that the leading end of the printing medium passes through the printing area.
In this case, when the user inserts the printing medium into the printing path 20 from the paper inlet 21, the printing medium passes through the second sensor 50, and the controller detects that the printing medium is inserted into the printing path 20 and controls the motor of the printer to drive the roller 30 located in the printing area to rotate in a first driving manner, thereby sucking the printing medium into the printing area. Since the pressure between the print head 10 and the roller 30 is maximized in this state of suction (no printing), the motor needs to overcome the resistance caused by the pressure by using a larger torque force, so that a larger torque is required, and thus the torque output by the first driving mode should be larger.
In this embodiment, since the third sensor 60 is disposed at the other side of the printing area and is close to the printing area, when the third sensor 60 detects the printing medium, it can be determined that the front end of the printing medium is already sucked into the printing area, that is, the printer is in a printing state at this time, in the printing state, the printing medium is located between the printhead 10 and the roller 30, and the intervention of the printing medium reduces the resistance, so that the normal rotation of the roller 30 can be realized without excessively large torque force, and the driving mode is switched from the first driving mode to the second driving mode with smaller torque force (the second driving mode can be understood as the driving mode with finer torque force than the first driving mode), so that on one hand, the printing fineness and definition in the printing state are improved, and on the other hand, for the driving mode with finer segment, the noise generated by the operation temperature rise, the amplitude of the motor and the power consumption of the motor can be reduced, the noise generated in the printing process of the printer can be also obviously reduced, the continuous high temperature state of the motor can be avoided, and the energy utilization rate and the service life of the motor can be further improved.
In order to facilitate an understanding of the invention, some preferred embodiments of the invention are described further below.
In the above embodiment, the driving mode is generally represented by 1-N (n=1, 2,4,8,16, 32), where n=1 represents full-step driving, and the larger the value of N, the more finely divided the driving mode, and the smaller the output torque.
From the above analysis, it is found that the torque output by the first drive mode (denoted by 1-n) is greater than the torque output by the second drive mode (denoted by 1-m), that is, n of the first drive mode is smaller than m of the second drive mode. Of course, the larger the value of n, the better, but it is ensured that it can satisfy the rotation of the driving roller 30.
For this purpose, for another implementation of the above, a preferred embodiment of the present invention further includes the following steps:
when the printing medium is detected at the position of the second sensor 50, judging whether the printing medium is detected by the third sensor 60 at every preset time interval;
if so, judging that the front end of the printing medium passes through the printing area;
if not, the torque output by the first driving mode is increased.
In the present embodiment, detection of the print medium at the position of the second sensor 50 indicates that the print medium has been set into the print path, and if the print medium is not detected at the third sensor 60 over a preset time interval, it indicates that the torque output by the first driving means is insufficient to drive the roller 30 in the paper suction state at this time, and thus it is necessary to increase the torque output by the first driving means, that is, to decrease the value of n. The cycle continues in sequence until the print medium is detected at the third sensor 60.
In this embodiment, the value of n is gradually reduced. For example, when the value of n is 16 at the beginning, the first reduction is to 8, and then to 4, 2, and 1, so that the roller 30 in the suction paper state can be driven with as small torque as possible.
Therefore, according to the embodiment, the torque output by the first driving mode can be adjusted in a self-adaptive manner, so that the work is ensured to be performed under the first driving mode by the minimum torque capable of meeting the driving condition, the noise generated by the work, the temperature rise amplitude of the motor and the power consumption of the motor are further reduced, the noise generated in the printing process of the printer is also remarkably reduced, the motor is prevented from being in a high-temperature state continuously, and the energy utilization rate and the service life of the motor are further improved.
The second embodiment of the present invention also provides a printer motor adaptive driving apparatus, which includes:
a first driving unit 210 for controlling a motor of the printer to drive rotation of a roller located in a printing area in a first driving manner when it is detected that a printing medium is set in a printing path;
a second driving unit 220 for controlling a motor of the printer to drive rotation of a roller located in a printing area in a second driving manner after judging that the printing medium passes through the printing area; and the torque output by the first driving mode is larger than the torque output by the second driving mode.
The third embodiment of the invention also provides a printer, which comprises a shell provided with a printing channel and a paper inlet, wherein a controller, a motor, an inductor component arranged in the printing channel, a printing head and a roller matched with the printing head are also accommodated in the shell, and a printing area is formed in the printing channel by the printing head and the roller; the controller is electrically connected with the sensor assembly and the motor, and the motor is in transmission connection with the roller so as to drive the roller to rotate and further realize the transmission of the printing medium in the printing channel; the controller is configured to implement the motor adaptive driving method as described above by executing a computer program stored therein.
Preferably, the sensor assembly includes a second sensor and a third sensor disposed at both sides of the printing area, and the second sensor is located upstream of the third sensor in a paper feeding direction.
The fourth embodiment of the present invention further provides a computer readable storage medium, in which a computer program is stored, where the computer program can be executed by a processor of a device where the computer readable storage medium is located, so as to implement the above-mentioned photoelectric pair control method.
The computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more elements may be a series of computer program instruction segments capable of performing the specified functions, the instruction segments describing the execution of the computer program in the printer.
The printer may include, but is not limited to, a processor, memory. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a printer and is not limiting of a printer, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the printer may also include input and output devices, network access devices, buses, etc.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the control center of the printer connecting the various parts of the overall printer using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the printer by running or executing the computer program and/or module stored in the memory, and invoking 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 (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the printer integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (4)

1. A printer motor adaptive driving method, comprising:
when the printing medium is detected to be placed in the printing channel, controlling a motor of the printer to drive a roller positioned in a printing area to rotate in a first driving mode; the printing area is an area formed by clamping a printing head positioned in the printing channel and a roller matched with the printing head; the printing device comprises a printing channel, a printing head and a paper inlet and a paper outlet, wherein the paper inlet and the paper outlet are formed in two sides of the printing channel;
after judging that the printing medium passes through the printing area, controlling a motor of the printer to drive a roller positioned in the printing area to rotate in a second driving mode; the torque output by the first driving mode is larger than the torque output by the second driving mode; wherein the position of the printing medium in the printing channel is detected and obtained through an inductor component arranged in the printing channel; the sensor assembly comprises a second sensor and a third sensor which are arranged at two sides of the printing area, and the second sensor is positioned at the upstream of the third sensor along the paper feeding direction; then: when the second sensor detects the printing medium, judging that the printing medium is placed in a printing channel; when the third sensor detects the printing medium, judging that the front end of the printing medium passes through a printing area; further comprises:
judging whether the third sensor detects the printing medium at preset time intervals when the printing medium is detected at the second sensor position;
if so, judging that the front end of the printing medium passes through the printing area;
if not, the torque output by the first driving mode is increased.
2. A printer motor adaptive drive apparatus, comprising:
a first driving unit for controlling a motor of the printer to drive rotation of a roller located in a printing area in a first driving manner when it is detected that a printing medium is set in a printing path; the printing area is an area formed by clamping a printing head positioned in the printing channel and a roller matched with the printing head; the printing device comprises a printing channel, a printing head and a paper inlet and a paper outlet, wherein the paper inlet and the paper outlet are formed in two sides of the printing channel;
a second driving unit for controlling a motor of the printer to drive rotation of a roller located in a printing area in a second driving manner after judging that the printing medium passes through the printing area; the torque output by the first driving mode is larger than the torque output by the second driving mode; wherein the position of the printing medium in the printing channel is detected and obtained through an inductor component arranged in the printing channel; the sensor assembly comprises a second sensor and a third sensor which are arranged at two sides of the printing area, and the second sensor is positioned at the upstream of the third sensor along the paper feeding direction; then: when the second sensor detects the printing medium, judging that the printing medium is placed in a printing channel; when the third sensor detects the printing medium, judging that the front end of the printing medium passes through a printing area; further comprises:
judging whether the third sensor detects the printing medium at preset time intervals when the printing medium is detected at the second sensor position; if so, judging that the front end of the printing medium passes through the printing area; if not, the torque output by the first driving mode is increased.
3. The printer comprises a shell provided with a printing channel and a paper inlet, wherein a controller, a motor, an inductor component, a printing head and a roller matched with the printing head are also accommodated in the shell, and a printing area is formed in the printing channel by the printing head and the roller; the controller is electrically connected with the sensor assembly and the motor, and the motor is in transmission connection with the roller so as to drive the roller to rotate and further realize the transmission of the printing medium in the printing channel; characterized in that the controller is configured to implement the motor adaptive driving method according to claim 1 by executing a computer program stored therein.
4. A computer-readable storage medium storing a computer program executable by a processor of a device in which the computer-readable storage medium is located to implement the motor adaptive driving method according to claim 1.
CN202110485990.2A 2021-04-30 2021-04-30 Printer, motor adaptive driving method and device thereof, and readable storage medium Active CN113320302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110485990.2A CN113320302B (en) 2021-04-30 2021-04-30 Printer, motor adaptive driving method and device thereof, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110485990.2A CN113320302B (en) 2021-04-30 2021-04-30 Printer, motor adaptive driving method and device thereof, and readable storage medium

Publications (2)

Publication Number Publication Date
CN113320302A CN113320302A (en) 2021-08-31
CN113320302B true CN113320302B (en) 2023-07-21

Family

ID=77414187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110485990.2A Active CN113320302B (en) 2021-04-30 2021-04-30 Printer, motor adaptive driving method and device thereof, and readable storage medium

Country Status (1)

Country Link
CN (1) CN113320302B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2610126B2 (en) * 1986-07-01 1997-05-14 沖電気工業 株式会社 Control method of pulse motor for line feed in printer
JPS63112182A (en) * 1986-10-31 1988-05-17 Toshiba Corp Printer device
US5793177A (en) * 1995-09-11 1998-08-11 Hewlett-Packard Company Adaptable media motor feed system for printing mechanisms
JPH1110972A (en) * 1997-06-23 1999-01-19 Canon Inc Image forming system
JP4384345B2 (en) * 2000-10-06 2009-12-16 有限会社エフ・アンド・エフ Printing apparatus and control method thereof
CN101412328A (en) * 2007-10-18 2009-04-22 诚研科技股份有限公司 Means for moving printing medium
JP5556574B2 (en) * 2010-10-19 2014-07-23 セイコーエプソン株式会社 Image recording apparatus and image recording method
US8915567B2 (en) * 2011-11-25 2014-12-23 Seiko Epson Corporation Image recording device, and image recording method
WO2018048404A1 (en) * 2016-09-08 2018-03-15 Hewlett-Packard Development Company, L.P. Print media pick and feed
CN206653755U (en) * 2017-03-21 2017-11-21 东芝泰格有限公司 Thermal printer

Also Published As

Publication number Publication date
CN113320302A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US6604820B1 (en) Ink-jet type image forming device
CN113320302B (en) Printer, motor adaptive driving method and device thereof, and readable storage medium
JP6303590B2 (en) Printing device
JP5122379B2 (en) Portable printer
EP3691236A1 (en) Printing system
JP2011178122A (en) Thermal printer
JP3809772B2 (en) Feed control device, feed control method
JP6977346B2 (en) Image forming system, image forming device, control device, control method, and program
US11082575B2 (en) Document reader and control method that reads document medium during transport
CN111152567B (en) Printing apparatus and control method of printing apparatus
JP2018174484A (en) Reading device, recording device, reading method, and recording method
JP2006281734A (en) Image forming apparatus
JP2018039233A (en) Serial type recording device
JP7453870B2 (en) Media transport device, control method and control program
JPH11138872A (en) Thermal printer
US11722624B2 (en) Control board for driving load of image forming apparatus
JP2013251641A (en) Image reading apparatus
US20220272221A1 (en) Post-processing device and printing device
CN111376329B (en) Cutting apparatus and printing apparatus
US9860402B2 (en) Recording apparatus capable of switching recording speed and non-transitory storage medium storing instructions executable by the same
US6721535B2 (en) Image forming apparatus and method for setting the conveying speed for paper sheets
JP2009073131A (en) Printing device
JP4921650B2 (en) Thermal printer
JP2021104880A (en) Tray oscillation mechanism
JP2000225742A (en) Method for controlling shuttle of dot line printer

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
GR01 Patent grant
GR01 Patent grant