CN111873649B - Photo printer - Google Patents

Photo printer Download PDF

Info

Publication number
CN111873649B
CN111873649B CN202010614521.1A CN202010614521A CN111873649B CN 111873649 B CN111873649 B CN 111873649B CN 202010614521 A CN202010614521 A CN 202010614521A CN 111873649 B CN111873649 B CN 111873649B
Authority
CN
China
Prior art keywords
motor
control
resistor
paper feeding
driving chip
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
CN202010614521.1A
Other languages
Chinese (zh)
Other versions
CN111873649A (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 CN202010614521.1A priority Critical patent/CN111873649B/en
Publication of CN111873649A publication Critical patent/CN111873649A/en
Application granted granted Critical
Publication of CN111873649B publication Critical patent/CN111873649B/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
    • 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
    • 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

Abstract

The invention discloses a photo printer, which comprises a controller, a control motor, a motor driving chip, a first transmission mechanism, a second transmission mechanism, at least one roller, a paper feeding motor and a heating transfer printing mechanism, wherein the control motor is connected with the motor driving chip; the control motor is in transmission connection with the heating transfer printing mechanism through a first transmission mechanism, and the paper feeding motor is in transmission connection with the roller through a second transmission mechanism; the motor driving chip is connected with the paper feeding motor; the device also comprises a current control circuit; the controller comprises a memory and a processor, the memory, the control motor and the paper feeding motor are all connected with the processor, the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.

Description

Photo printer
The invention relates to a divisional application of Chinese patent application with the application number of CN201811644151.5 and the application name of 'a photo printer, a printing method, a device and a storage medium', which is submitted to Chinese patent office by the applicant on 29.12.2018.
Technical Field
The invention relates to the field of intelligent equipment, in particular to a photo printer.
Background
The photo printer, especially the portable photo printer, can print the people or the beautiful scenery shot by the mobile phone at any time and any place to realize the collection of good memory, and does not need to specially run to a print shop to print the photos.
The printing principle of current portable photo printers, such as canon CP1200 and CP1300, is based on Thermal Dye Sublimation (Thermal Dye Sublimation) printing. In printing, solid pigments (called color roll) of four colors (cyan, magenta, yellow, and black, CMYK for short) are arranged on a drum on which tens of thousands of semiconductor heating elements are mounted, and when the temperature of the heating elements is raised to a certain degree, the solid pigments are directly converted into a gaseous state (a process in which a solid state is changed into a gaseous state without being liquefied is called sublimation, and thus this printer is called a thermal sublimation printer), and then the gas is ejected onto a printing medium. Each semiconductor heating element can adjust 256 temperatures, so that the color proportion and the shade degree can be adjusted, and the true color photo effect of continuous color tones is realized.
Since the dye sublimation printing is based on printing of the CMY three primary colors, the printing must be performed color by color. In order to achieve the effect, the photo printer is composed of 2 motors, one is a control motor used for controlling functions, the control motor enables the gear to act, and the structural state is in different functions by controlling different gear positions, wherein the functions comprise a color band positioning position, a paper feeding state position, a printing position and the like; the other motor is a paper feed motor that directly controls the forward and backward movement of the paper.
The printing process generally includes the following steps:
(1) Feeding paper to the printing start position (structure in paper feeding position)
(2) Print Y (Structure in print position)
(3) Backing the paper to the print start position (configuration in the feed position)
(4) Printing M (Structure in printing position)
(5) Backing the paper to the print start position (configuration in the feed position)
(6) Print C (Structure in print position)
(7) Paper discharge after all printing
Disclosure of Invention
The inventor finds in the process of implementing the present invention that, based on the principle of thermal sublimation printing, after printing of each color data is completed, the motor must be controlled to a paper feed position and then to a print start position; after the printing of the data of a single color is completed, the voltage of the paper feeding motor is normally turned off, the position of the paper can slightly shift due to the energy release (inertia and the like) of the structure, and the printing start position of the next color can shift from the previous color when the paper retreats, so that in order to solve the shift, the photo printer, the printing method, the printing device and the storage medium provided by the embodiment of the invention can avoid the printing ghost image caused by the position shift of the printing paper.
In a first aspect, an embodiment of the present invention provides a photo printer, including a controller, a control motor, a first transmission mechanism, a second transmission mechanism, at least one roller, a paper feed motor, and a heating transfer mechanism; the control motor is in transmission connection with the heating transfer printing mechanism through a first transmission mechanism, and the paper feeding motor is in transmission connection with the roller through a second transmission mechanism; wherein the controller comprises a memory and a processor, the memory, the control motor and the paper feed motor are all connected with the processor, a computer program is stored in the memory, and the computer program can be executed by the processor to realize the following steps:
s1, sending a first rotating instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism;
s2, sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium advances to a printing initial position;
s3, when the printing medium reaches the printing initial position, locking the phase of a paper feeding motor, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through a first transmission mechanism so as to finish printing of current color data;
s4, judging whether all color data are completely printed or not;
if not, locking the phase of the paper feeding motor, and returning to the step S1;
and if so, controlling the paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to the paper discharging position.
Preferably, the color data includes Y color data, M color data, and C color data.
Preferably, the device further comprises a current control circuit; the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.
Preferably, the current control circuit comprises a control switching circuit and a voltage dividing circuit, and a first end of the voltage dividing circuit is connected with a voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
Preferably, the motor driving chip is DRV8824.
Preferably, the control switching circuit comprises a MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube;
the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip;
the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
Preferably, after step S1 and before step S2, the method further includes:
sending a first control instruction to the control switching circuit, so that an input end of the motor driving chip obtains a first voltage, and outputting a first current to the paper feeding motor through the first voltage;
after step S2 and before step S3, the method further includes:
sending a second control instruction to the control switching circuit, so that the input end of the motor driving chip obtains a second voltage, and outputting a second current to the paper feeding motor through the second voltage; wherein the first current is less than the second current.
In a second aspect, an embodiment of the present invention provides a printing method, including:
s1, sending a first rotating instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism;
s2, sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium is made to advance to a printing initial position;
s3, when the printing medium reaches the printing initial position, locking the phase of a paper feeding motor, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through a first transmission mechanism so as to finish printing of current color data;
s4, judging whether all color data are printed completely;
if not, locking the phase of the paper feeding motor, and returning to the step S1;
and if so, controlling the paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to the paper discharging position.
Preferably, the color data includes Y color data, M color data, and C color data.
Preferably, the device further comprises a current control circuit; the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.
Preferably, the current control circuit comprises a control switching circuit and a voltage dividing circuit, and a first end of the voltage dividing circuit is connected with a voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
Preferably, the motor driving chip is DRV8824.
Preferably, the control switching circuit comprises a MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube;
the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip;
the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
Preferably, the steps further comprise:
after the step S1 and before the step S2, sending a first switching instruction to a control switching circuit, so that the control switching circuit is switched from a first current output circuit to a second current output circuit;
after step S2, before step S3, a second switching instruction is sent to the control switching circuit, so that the control switching circuit switches from the second current output circuit to the first current output circuit.
In a third aspect, an embodiment of the present invention provides a printing apparatus, including:
a first rotation instruction sending unit, configured to send a first rotation instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism;
the second rotation instruction sending unit is used for sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium is made to advance to a printing initial position;
the motor phase locking unit is used for locking the phase of a paper feeding motor when the printing medium reaches the printing initial position, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through the first transmission mechanism so as to finish the printing of the current color data;
the judging unit is used for judging whether all the color data are completely printed; if not, locking the phase of the paper feeding motor and returning to the first rotating instruction sending unit; if yes, controlling a paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to a paper discharging position.
Preferably, the color data includes Y color data, M color data, and C color data.
Preferably, the device further comprises a current control circuit; the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.
Preferably, the current control circuit comprises a control switching circuit and a voltage dividing circuit, and a first end of the voltage dividing circuit is connected with a voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
Preferably, the motor driving chip is DRV8824.
Preferably, the control switching circuit comprises a MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube;
the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip;
the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
Preferably, after step S1 and before step S2, the method further includes:
sending a first control instruction to the control switching circuit, so that an input end of the motor driving chip obtains a first voltage, and outputting a first current to the paper feeding motor through the first voltage;
after step S2 and before step S3, the method further includes:
and sending a second control instruction to the control switching circuit, so that the input end of the motor driving chip obtains a second voltage, and outputting a second current to the paper feeding motor through the second voltage.
Preferably, the first current is less than the second current.
In a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the printing method according to the second aspect.
In this embodiment, when the printing medium reaches the printing start position and when the printing of the current color data is completed, the paper feeding motor phase is locked (i.e., the motor voltage at this time is not released when the printing of a first color is completed), so that the paper feeding motor phase is maintained at the last control timing sequence, thereby avoiding that the position of the paper slightly shifts due to energy release (inertia and the like) of the structure, and when the paper is retracted, the printing start position of the next color shifts to some extent from the previous color, ensuring that the printing of the current color data overlaps with the printing position of the next color data, and avoiding shifting to cause printing of a ghost.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used 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 it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a printer according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a printing method provided by an embodiment of the invention.
Fig. 3 is a schematic connection diagram of the voltage divider circuit, the control switch circuit, and the motor driver chip according to an embodiment of the invention.
Fig. 4 is a schematic structural diagram of a printing apparatus according to an embodiment of the present invention.
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.
Referring to fig. 1 and 3, a photo printer according to a first embodiment of the present invention includes a controller, a control motor 1, a first transmission mechanism 3, a second transmission mechanism 4, at least one roller 5, a paper feeding motor 2, and a heating and transferring mechanism 6; wherein, the control motor 1 forms transmission connection with the heating transfer printing mechanism 6 through a first transmission mechanism 3, and the paper feeding motor 2 forms transmission connection with the roller 5 through a second transmission mechanism 4.
In this embodiment, the specific structures of the first transmission mechanism 3 and the second transmission mechanism 4 and the connection manner between the control motor 1 and the paper feeding motor 2 can refer to the existing printer, such as the canon photo printer CP1200 or CP1300, and the description of the invention is omitted here.
In this embodiment, the control motor 1 drives the heating transfer mechanism 6 to move up and down through the first transmission mechanism 3; wherein, the heating transfer printing mechanism consists of a heating head and a radiating fin. The paper feeding motor 2 drives the corresponding roller to rotate through the second transmission mechanism 4, and drives the printing medium to move back and forth.
Specifically, the controller includes a memory and a processor, the memory, the control motor 1 and the paper feed motor 2 are all connected with the processor, the memory stores a computer program, and the computer program can be executed by the processor to realize the following steps:
s1, sending a first rotating instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism.
In this embodiment, after the control motor 1 receives the first rotation instruction, the control motor 1 rotates downward to drive the heating transfer mechanism to move downward and move to the paper feeding position, so as to generate a transport channel for the printing medium to enter the printing starting position through the transport channel.
And S2, sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium advances to a printing initial position.
In this embodiment, after the printing medium enters the paper feeding position, the paper feeding motor 2 receives a second rotation instruction sent by the processor, and the paper feeding motor 2 drives the printing medium to advance to the printing starting position through the conveying channel by the second conveying mechanism 4.
S3, when the printing medium reaches the printing initial position, locking the phase of a paper feeding motor, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through a first transmission mechanism so as to finish printing of current color data;
in this embodiment, the paper feeding motor 2 has a plurality of phases, the paper feeding motor 2 can be rotated by switching the phases, and the paper feeding motor 2 is fixed to one phase by locking the phase of the paper feeding motor 2. Meanwhile, the motor 1 is controlled to rotate upwards to drive the heating transfer mechanism 6 to move upwards and move to the paper feeding position, so that the printing medium cannot retreat during printing. Of course, it should be noted that the paper feeding motor 2 of the present invention is a stepping motor, and in other embodiments of the present invention, the paper feeding motor 2 may also be a paper feeding motor of other types, and the present invention is not limited specifically.
And S4, judging whether all the color data are printed completely.
If not, locking the phase of the paper feeding motor, and returning to the step S1;
if yes, controlling a paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to a paper discharging position.
In this embodiment, the roller is used to drive the printing medium to move forward and backward, the roller may be a rubber roller, the rubber roller is a roller-shaped product made of metal or other materials as a core and rubber coated on the core through vulcanization, and it is needless to say that the roller may also be a steel roller, and the steel roller has the characteristics of high wear resistance and high hardness, and the invention is not limited specifically herein.
In this embodiment, the paper feeding motor phase is locked (i.e. the motor voltage is not released when printing a color) both when the printing medium reaches the printing start position and when printing of the current color data is completed, and the current used to lock the motor phase is the current used during printing, so that the paper feeding motor phase is maintained at the last control timing sequence, and the printing of the current color data is ensured to overlap with the printing position of the next color data, thereby avoiding offset and causing printing ghost.
In a preferred embodiment of the present invention, the color data includes Y color data, M color data, and C color data.
In this embodiment, the photo printer employs a sublimation printing principle, in which pigments of three colors (cyan, magenta, and yellow, CMY for short) are disposed on a ribbon, and when the temperature of a heating element is raised to a certain degree, the pigments are directly converted into a gaseous state and then the gaseous state is ejected onto a printing medium, so that when a photo is printed, three times of entering and exiting of the printing medium are performed, including three times of printing, the first time of printing Y color, the second time of printing M color, and the third time of printing C color. At this time, the color data of the image to be printed is divided into three, Y color data, M color data, and C color data.
In this embodiment, when the current color data is printed, the voltage of the paper feed motor 2 at this time is not released, and the paper feed motor phase 2 is kept at the last control timing sequence, so that the situation of printing ghosts can be effectively avoided, but because the current for locking the paper feed motor 2 phase at this time is the current during printing, the current is large, the current is supplied under the condition that the paper feed motor 2 is not moved, so that the coil of the paper feed motor 2 generates heat, the larger the current is, the more serious the heat is generated, and when the temperature of the paper feed motor exceeds 130 ℃, the irreversible damage is generated on the paper feed motor. Therefore, referring to fig. 3, on the basis of the first embodiment, in a preferred embodiment of the present invention, a current control circuit is further included; the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.
Specifically, the current control circuit comprises a control switching circuit and a voltage dividing circuit, wherein a first end of the voltage dividing circuit is connected with a voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected to the control end of the control switching circuit, so as to output different control signals to the control switching circuit, so that the voltage input end of the motor driving chip obtains different voltages.
Specifically, the control switching circuit: the MOS transistor comprises an MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube; the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip; the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
On the basis of the first embodiment, in a preferred embodiment of the present invention, the steps further include:
after step S1, before step S2, a first switching instruction is sent to the control switching circuit, so that the control switching circuit switches from the first current output circuit to the second current output circuit.
After step S2, before step S3, a second switching instruction is sent to the control switching circuit so that the control switching circuit switches from the second current output circuit to the first current output circuit.
Preferably, the first current is smaller than the second current.
For ease of understanding, the following will be described by way of practical examples:
referring to fig. 3, in the present embodiment, the motor driving chip uses DRV8824 of TI corporation. The motor current design formula of the motor driving chip is as follows:
Figure GDA0003813007620000111
if the motor current needs to be adjusted, the Vref or Rsense can be adjusted,in this embodiment, the motor current is adjusted by adjusting the Vref circuit, but it should be noted that the motor current may be adjusted by adjusting the Rsense circuit in another embodiment of the present invention.
Specifically, 6pin and 9pin of the DRV8824 are Rsense on formula design, the design is 1 ohm, 15pin outputs 3.3V voltage, and 12pin and 13pin are Vref on formula design
(1) The 15pin of the DRV8824 outputs 3.3V voltage, and is connected to GND (signal ground) through external resistors R104 and R106 to form a voltage division circuit, to which 12pin and 13pin of the DRV8824 are connected
(2) The switching circuit, 12pin and 13pin of DRV8824 are Vref, an external resistor R37 is connected to GND (signal ground) through a MOS tube Q4, and the opening and closing of the MOS tube Q4 are controlled by the CPU through a signal RMOTO _ CURRENT _ CTRL.
(3) When a large CURRENT is needed, the CPU controls the RMOTO _ CURRENT _ CTRL output to be low, the switching circuit is closed, at the time, a partial voltage is formed only by R104 and R106, vref =3.3 =2.0V (5.1K/(3.3K ++ 5.1K)), and the design CURRENT is I = 2.0/(5*1) =0.4A =400mA
(4) When a small CURRENT is needed, the CPU controls the output of RMOTO _ CURRENT _ CTRL to be high, then the switching circuit is started, R106 and R37 form a parallel circuit, the voltage dividing resistance is reduced, the size of the resistance after parallel connection is 0.836K ohm, and the voltage is divided for R104 again, vref =3.3 = (0.836K/(3.3K + 0.836K)) =0.667V, and the design CURRENT is I = 0.667/(5*1) =0.133A =133mA.
Referring to fig. 2, a second embodiment of the present invention provides a printing method including:
s1, sending a first rotating instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism;
s2, sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium is made to advance to a printing initial position;
s3, when the printing medium reaches the printing initial position, locking the phase of a paper feeding motor, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through a first transmission mechanism so as to finish printing of current color data;
s4, judging whether all color data are completely printed or not;
if not, locking the phase of the paper feeding motor, and returning to the step S1;
and if so, controlling the paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to the paper discharging position.
Preferably, the color data includes Y color data, M color data, and C color data.
On the basis of the first embodiment, in a preferred embodiment of the present invention, the current control circuit is further included; the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor.
Specifically, the current control circuit comprises a control switching circuit and a voltage dividing circuit, wherein a first end of the voltage dividing circuit is connected with a voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
Specifically, the control switching circuit: the MOS transistor comprises an MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube; the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip; the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
On the basis of the first embodiment, in a preferred embodiment of the present invention, the steps further include:
after step S1, before step S2, a first switching instruction is sent to the control switching circuit, so that the control switching circuit switches from the first current output circuit to the second current output circuit.
After step S2, before step S3, a second switching instruction is sent to the control switching circuit so that the control switching circuit switches from the second current output circuit to the first current output circuit.
Preferably, the first current is smaller than the second current.
Referring to fig. 4, a third embodiment of the present invention provides a printing apparatus including:
a first rotation instruction sending unit, configured to send a first rotation instruction to the control motor, so that the control motor moves the heating transfer mechanism to a paper feeding position through the first transmission mechanism;
the second rotation instruction sending unit is used for sending a second rotation instruction to the paper feeding motor, so that the paper feeding motor drives the corresponding roller to rotate through a second transmission mechanism, and the printing medium is made to advance to a printing initial position;
the motor phase locking unit is used for locking the phase of a paper feeding motor when the printing medium reaches the printing initial position, and simultaneously controlling the control motor to move the heating transfer mechanism to the printing position through the first transmission mechanism so as to finish the printing of the current color data;
the judging unit is used for judging whether all the color data are completely printed; if not, locking the phase of the paper feeding motor and returning to the first rotating instruction sending unit; if so, locking the phase of the paper feeding motor, and controlling the paper feeding motor to drive the corresponding roller to rotate so as to enable the printing medium to advance to the paper discharging position.
Preferably, the color data includes Y color data, M color data, and C color data.
Preferably, the method further comprises the following steps: the first end of the voltage division circuit is connected with the voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
Preferably, the motor driving chip is DRV8824.
Preferably, the control switching circuit comprises a MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube;
the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor and the first end of the fourth resistor and then connected to the input end of the motor driving chip;
the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
Preferably, after step S1 and before step S2, the method further includes:
sending a first control instruction to the control switching circuit, so that an input end of the motor driving chip obtains a first voltage, and outputting a first current to the paper feeding motor through the first voltage;
after step S2 and before step S3, the method further includes:
and sending a second control instruction to the control switching circuit, so that the input end of the motor driving chip obtains a second voltage, and outputting a second current to the paper feeding motor through the second voltage.
Preferably, the first current is less than the second current.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the printing method according to any one of the above embodiments.
Illustratively, 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 invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe 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 is merely an example of a printer and is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the printer may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. 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 programs and/or modules, and the processor may implement the various functions of the printer by running or executing the computer programs and/or modules stored in the memory, as well as by 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 required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, 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 printer integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer-readable storage medium. 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 described above 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.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (3)

1. A photo printer comprises a controller, a control motor, a motor driving chip, a first transmission mechanism, a second transmission mechanism, at least one roller, a paper feeding motor and a heating transfer printing mechanism; the control motor is in transmission connection with the heating transfer printing mechanism through a first transmission mechanism, and the paper feeding motor is in transmission connection with the roller through a second transmission mechanism; the motor driving chip is connected with the paper feeding motor; the device is characterized by also comprising a current control circuit;
the controller comprises a memory and a processor, and the memory, the control motor and the paper feeding motor are all connected with the processor;
the control input end of the current control circuit is connected with the control output end of the processor, and the output end of the current control circuit is connected with the motor driving chip; the processor outputs different control signals to the current control circuit, so that the motor driving chip outputs different currents to the paper feeding motor, and the paper feeding motor rotates or locks the phase of the paper feeding motor;
the current control circuit comprises a control switching circuit and a voltage division circuit, and the first end of the voltage division circuit is connected with the voltage output end of the motor driving chip; the second end of the voltage division circuit is connected with the control switching circuit; the third end of the voltage division circuit is connected with the voltage input end of the motor driving chip; the control output end of the processor is connected with the control end of the control switching circuit, so that different control signals are output to the control switching circuit, and the voltage input end of the motor driving chip obtains different voltages.
2. The photo printer of claim 1, wherein the motor drive chip is DRV8824.
3. The photo printer of claim 1, wherein the control switching circuit includes a MOS transistor and a first resistor; the voltage division circuit comprises a second resistor, a third resistor and a fourth resistor; wherein:
the first end of the first resistor is connected to the S pole of the MOS tube; the S pole of the MOS tube is grounded; the second end of the first resistor is connected to the G pole of the MOS tube;
the first end of the second resistor is connected with the D pole of the MOS tube, and the second end of the second resistor is connected with the first end of the third resistor, the first end of the fourth resistor and the input end of the motor driving chip respectively;
the second end of the third resistor is connected with the voltage output end of the motor driving chip; the second end of the fourth resistor is grounded.
CN202010614521.1A 2018-12-29 2018-12-29 Photo printer Active CN111873649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614521.1A CN111873649B (en) 2018-12-29 2018-12-29 Photo printer

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010614521.1A CN111873649B (en) 2018-12-29 2018-12-29 Photo printer
CN201811644151.5A CN109849534B (en) 2018-12-29 2018-12-29 Photo printer, printing method, printing device and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201811644151.5A Division CN109849534B (en) 2018-12-29 2018-12-29 Photo printer, printing method, printing device and storage medium

Publications (2)

Publication Number Publication Date
CN111873649A CN111873649A (en) 2020-11-03
CN111873649B true CN111873649B (en) 2023-01-10

Family

ID=66893515

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010614521.1A Active CN111873649B (en) 2018-12-29 2018-12-29 Photo printer
CN201811644151.5A Active CN109849534B (en) 2018-12-29 2018-12-29 Photo printer, printing method, printing device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201811644151.5A Active CN109849534B (en) 2018-12-29 2018-12-29 Photo printer, printing method, printing device and storage medium

Country Status (1)

Country Link
CN (2) CN111873649B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111873649B (en) * 2018-12-29 2023-01-10 厦门汉印电子技术有限公司 Photo printer
CN110481174B (en) * 2019-07-11 2022-03-29 厦门汉印电子技术有限公司 Printing control method, printing control device, printer and computer readable storage medium
CN112659190B (en) * 2020-12-17 2022-08-26 天津默纳克电气有限公司 Industrial robot safety protection system

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4030588A (en) * 1972-06-19 1977-06-21 Canon Kabushiki Kaisha Printer
JPS5859876A (en) * 1981-10-07 1983-04-09 Seiko Epson Corp Carriage controller for serial printer using dc motor
CN1026966C (en) * 1988-09-22 1994-12-14 佳能株式会社 Method for recording heat translation and recording instrument for this method
JP2548853B2 (en) * 1990-09-07 1996-10-30 東北リコー株式会社 Thermal printer and printing method using the same
JPH0566843A (en) * 1991-09-10 1993-03-19 Canon Inc Paper sheet carrying device
JP3832799B2 (en) * 1999-12-08 2006-10-11 富士写真フイルム株式会社 Sheet cutting device and printer with cutter
ATE360534T1 (en) * 2000-03-03 2007-05-15 Seiko Epson Corp ENGINE CONTROL APPARATUS AND METHOD
CN100572230C (en) * 2005-08-31 2009-12-23 兄弟工业株式会社 Chopping machine with paper advance mechanism
CN101980178B (en) * 2010-11-01 2012-05-02 福建鑫诺通讯技术有限公司 Time sequence control method for miniature thermal printer driver
CN102452222A (en) * 2010-11-01 2012-05-16 北京威腾电子有限公司 Continuous media ink-jet printer and control panel
CN203381358U (en) * 2013-07-29 2014-01-08 徐胜 Integrated coiled material image-text output equipment with cutting device
JP6506016B2 (en) * 2014-11-28 2019-04-24 理想科学工業株式会社 Paper feeder
JP6476813B2 (en) * 2014-12-11 2019-03-06 株式会社リコー Automatic document feeder, image reading apparatus, image forming apparatus, and image forming system
JP2018022968A (en) * 2016-08-02 2018-02-08 セイコーエプソン株式会社 Printer and control method for the same
CN108032636A (en) * 2017-12-28 2018-05-15 深圳市联云计算机科技有限公司 The miniature stylus printer and its driving method of a kind of linux system
CN111873649B (en) * 2018-12-29 2023-01-10 厦门汉印电子技术有限公司 Photo printer

Also Published As

Publication number Publication date
CN111873649A (en) 2020-11-03
CN109849534B (en) 2021-03-23
CN109849534A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN111873649B (en) Photo printer
EP0325624B1 (en) Energizing heating elements of a thermal printer
CN100450778C (en) Thermal head printer and printing method in thermal head printer
US9352584B2 (en) Printing apparatus, control method therefor, and storage medium storing control program therefor
JPH05507828A (en) High speed thermal printing equipment
JP6302880B2 (en) Thermal printer
EP1266762A2 (en) Method and apparatus for controlling a heating element of a thermal head
JP2016055460A (en) Ink jet head and ink jet printer
US10439532B2 (en) Driving device, printer device, and method thereof
US10828913B2 (en) Printing apparatus, printing method, and printing management apparatus
US10232651B2 (en) Thermal printer with heat controller
US6344867B2 (en) Thermal printing method and thermal printer capable of efficient transfer of data
JP2002086783A (en) Imaging apparatus and its controlling method
US7540588B2 (en) Method for printing data and ink jet printer using the same
EP3697074B1 (en) Color transforms for print job processing
JP5579806B2 (en) Printing device and program
US11227199B2 (en) Print control device, printing method, and print control program
JP5836636B2 (en) Printing apparatus and control method thereof
JP2002086784A (en) Imaging apparatus and its controlling method
US5185618A (en) Method and circuit for preventing irregularities of color printing position in a video color printer
JPH09240095A (en) Line thermal printer
JPS58108178A (en) Pitch variable paper feed mechanism for printer
US6870556B2 (en) Thermal printer and method for transferring dyes on multiple dye blocks onto media
JPS618366A (en) Trans-thermo type color printer
JPS5931180A (en) Transfer type heat sensitive recording apparatus

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