CN109649014A - Control method, control device, printer and the storage medium of printer - Google Patents

Control method, control device, printer and the storage medium of printer Download PDF

Info

Publication number
CN109649014A
CN109649014A CN201811566890.7A CN201811566890A CN109649014A CN 109649014 A CN109649014 A CN 109649014A CN 201811566890 A CN201811566890 A CN 201811566890A CN 109649014 A CN109649014 A CN 109649014A
Authority
CN
China
Prior art keywords
colour band
printer
control device
status parameter
working status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811566890.7A
Other languages
Chinese (zh)
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.)
Shanghai Hanttu Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shanghai Hanttu Technology Co Ltd
Beijing Xiaomi Mobile Software 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 Shanghai Hanttu Technology Co Ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Shanghai Hanttu Technology Co Ltd
Priority to CN201811566890.7A priority Critical patent/CN109649014A/en
Publication of CN109649014A publication Critical patent/CN109649014A/en
Pending legal-status Critical Current

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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters 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 using thermal heads

Landscapes

  • Electronic Switches (AREA)

Abstract

Present disclose provides a kind of control method of printer, control device, printer and storage mediums.The control method includes: to obtain the working status parameter of printer, and working status parameter includes at least one of the electric current of colour band driving motor, the torque of colour band driving motor, the temperature of roller platen;When at least one of working status parameter is greater than preset threshold corresponding with working status parameter, control printer stops working.Colour band is when blocking, it pulls the revolving speed of the colour band driving motor of colour band rotation that can decline even to stop, the electric current of the colour band driving motor and torque can all increase, the temperature of roller platen can also continue to increase, by obtaining working status parameter, working status parameter includes at least one of the electric current of colour band driving motor, torque, the temperature of roller platen, when the working status parameter of acquisition is greater than corresponding preset threshold, it is considered that colour band is stuck, it is stopped working by controlling printer, to avoid colour band fracture.

Description

Control method, control device, printer and the storage medium of printer
Technical field
This disclosure relates to printer field, in particular to a kind of control method of printer, control device, printer and deposit Storage media.
Background technique
Thermal printer is commonly used to print colored photo.In general, thermal printer includes print head and colour band, color Taking the part contacted with print head can be heated by print head, and the dyestuff on colour band is gaseous state by heat sublimation, and gaseous dyestuff exists Print media (such as photo printing paper) Shi Yuleng is touched to sublimate as solid-state to adhere on the print medium.
In printing, colour band can with print media synchronizing moving, on such colour band different positions can successively with printing Head contact is heated, and different location on the print medium successively adheres to dyestuff and forms pattern.Colour band is in moving process In it sometimes appear that the case where blocking, colour band may be broken after blocking, to influence to use.
Summary of the invention
The embodiment of the present disclosure provides control method, control device, printer and the storage medium of a kind of printer, can Avoid the fracture of colour band.The technical solution is as follows:
In a first aspect, the embodiment of the present disclosure provides a kind of control method of printer, comprising:
The working status parameter of printer is obtained, the working status parameter includes the electric current of colour band driving motor, colour band At least one of the torque of driving motor, the temperature of roller platen;
When at least one of described working status parameter is greater than preset threshold corresponding with the working status parameter, The printer is controlled to stop working.Colour band pulls the revolving speed of the colour band driving motor of colour band rotation that can decline very when blocking To stopping, the electric current of the colour band driving motor and torque can all increase, and the temperature of roller platen can also continue to increase, should by obtaining One of electric current, torque or temperature of roller platen of colour band driving motor, when the working status parameter of acquisition is greater than accordingly Preset threshold when, it is believed that colour band is stuck, by control printer stop working, to avoid colour band fracture.
In a kind of possible implementation of the embodiment of the present disclosure, the control printer stops working, including following At least one of movement:
Control the colour band driving motor stalling of the printer;
The print head for controlling the printer stops heating.There are two types of the originals that may cause colour band fracture after blocking for colour band Cause, one is the torque of colour band driving motor increase, the pulling force that colour band is subject to increases, and colour band is caused to be drawn by colour band driving motor Disconnected, another kind is that colour band can not rotate, and print head persistently heats the same position on colour band, causes to be heated position temperature Height is spent, colour band is blown by print head, and the residue blown falls in printer will affect the normal work of printer, The dyestuff attachment that print head can also result in colour band to the heating of a region of colour band for a long time influences to print on the print head The normal work of head.Colour band driving motor by controlling printer stalls, and can be pulled apart to avoid colour band by colour band driving motor, Stop heating by control print head, can be blown to avoid colour band by print head.
In a kind of possible implementation of the embodiment of the present disclosure, the method also includes:
When the working status parameter is greater than preset threshold corresponding with the working status parameter, alarm signal is issued Breath.When working status parameter is greater than with corresponding preset threshold, alert can make staff learn color as early as possible Band is stuck, and repairs as early as possible to printer convenient for staff.
In a kind of possible implementation of the embodiment of the present disclosure, preset threshold corresponding with the torque meets equation
T=a*A+ (1-a) * B
Wherein, T is preset threshold corresponding with the torque, and torque when A is colour band driving motor stall, B is colour band Torque when driving motor normal rotation, 0 a≤1 <,
Preset threshold corresponding with the electric current meets equation
I=b*C+ (1-b) * D
Wherein, I is preset threshold corresponding with the electric current, and electric current when C is colour band driving motor stall, D is colour band Electric current when driving motor normal rotation, 0 b≤1 <.Since in the printer course of work, colour band is possible to not block completely Extremely, colour band driving motor can also be rotated more slowly, therefore be may insure in this way when colour band is rotated and is obstructed, even if colour band is not It is completely stuck, printer can also be controlled in time and stopped working, colour band is prevented to be broken.
Second aspect, the embodiment of the present disclosure provide a kind of control device of printer, comprising:
Control device, for obtaining the working status parameter of printer, the working status parameter includes colour band driving electricity One of the electric current of machine, the torque of colour band driving motor, the temperature of roller platen, as at least one in the working status parameter When kind is greater than preset threshold corresponding with the working status parameter, controls the printer and stop working.
In a kind of possible implementation of the embodiment of the present disclosure, the control device is configured as when the work shape When at least one of state parameter is greater than preset threshold corresponding with the working status parameter, execute in following movement at least It is a kind of:
Control the colour band driving motor stalling of the printer;
The print head for controlling the printer stops heating.
In a kind of possible implementation of the embodiment of the present disclosure, the control device includes comparator, the comparison Device has the second input terminal for receiving the first input end of input signal and for receiving reference signal, the input letter Number for signal for reacting the working status parameter, the reference signal is identical as the input signal in critical state, The critical state is the state when working status parameter is equal to the preset threshold.The first input end of comparator receives Second input terminal of input signal, comparator receives reference signal, thus can be compared input signal with reference signal, Judge whether colour band is stuck so as to the output signal according to comparator.
In a kind of possible implementation of the embodiment of the present disclosure, the output end of the comparator and the colour band are driven The enabled input terminal of the motor driver of motor connects.By the motor driver of the output end of comparator and colour band driving motor Enabled input terminal connection, when reference signal is greater than the output signal of detector, the signal of the output end output of comparator can be with It is input to motor driver as enable signal, motor driver can control the rotation of colour band driving motor, small in reference signal When the output signal of detector, the signal of the output end output of comparator is flipped, and motor driver controls colour band driving Motor stalls.
In a kind of possible implementation of the embodiment of the present disclosure, the control device further includes controllable switch, described Controllable switch is connected between the print head and print head power supply, the control of the output end of the comparator and the controllable switch End connection processed.The control terminal of the output end of comparator and the controllable switch being connected between print head and print head power supply is connected It connects, when reference signal is greater than the output signal of detector, the signal of the output end output of comparator can be such that controllable switch protects Closed state is held, print head power supply can power for print head, and print head is made to generate heat, and be less than the output of detector in reference signal When signal, the signal of the output end output of comparator is flipped, and controllable switch disconnects, and print head power supply stops being that print head supplies Electricity, print head stop fever.
In a kind of possible implementation of the embodiment of the present disclosure, the control device includes OR circuit and at least two The output end of a comparator, at least two comparators is connected with the input terminal of the OR circuit.As long as in this way There is at least one working status parameter to be greater than the corresponding preset threshold of the working status parameter, so that it may control printer and stop work Make, reliability can be improved.
In a kind of possible implementation of the embodiment of the present disclosure, the output end of the OR circuit and the colour band are driven The enabled input terminal connection of the motor driver of dynamic motor.
In a kind of possible implementation of the embodiment of the present disclosure, the control device further includes controllable switch, described Controllable switch is connected between the print head and print head power supply, the output end of the OR circuit and the controllable switch Control terminal connection.
In a kind of possible implementation of the embodiment of the present disclosure, the control device is also used to when the working condition When parameter is greater than preset threshold corresponding with the working status parameter, alert.
In a kind of possible implementation of the embodiment of the present disclosure, the control device includes processor, the control Device further includes the memory for the instruction that can be performed for storage processor, and the memory is connected to the processor.
In a kind of possible implementation of the embodiment of the present disclosure, the control device further includes detector, for examining The working status parameter of printer is surveyed, the control device is for passing through working status parameter described in the detector acquisition.
The third aspect, the embodiment of the present disclosure provide a kind of printer, including foregoing control device.
Fourth aspect, the embodiment of the present disclosure provide a kind of computer readable storage medium, the computer-readable storage Medium includes at least one instruction, when at least one instruction is executed by processor, executes printing as described in relation to the first aspect The step of control method of machine.
The technical solution bring beneficial effect that the embodiment of the present disclosure provides includes at least: the work by obtaining printer State parameter, wherein working status parameter includes the temperature of the electric current of colour band driving motor, the torque of colour band driving motor, roller platen At least one of degree, when at least one of working status parameter is greater than corresponding preset threshold, it is believed that colour band quilt It blocks, is stopped working by controlling printer, to avoid colour band fracture.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the embodiment of the present disclosure, will make below to required in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present disclosure, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of partial structural diagram of thermal printer;
Fig. 2 is a kind of control method flow chart for printer that the embodiment of the present disclosure provides;
Fig. 3 is a kind of structural schematic diagram of the control device for printer that the embodiment of the present disclosure provides;
Fig. 4 is a kind of circuit diagram of the control device for printer that the embodiment of the present disclosure provides;
Fig. 5 is the circuit diagram of the control device for another printer that the embodiment of the present disclosure provides;
Fig. 6 is a kind of control device block diagram of printer shown according to an exemplary embodiment.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
Fig. 1 is a kind of partial structural diagram of thermal printer.As shown in Figure 1, the thermal printer includes pressure Roller 2, print head 1 and colour band driving motor (not shown) are printed, there is gap between print head 1 and the periphery wall of roller platen 2.Colour band In 3 gap between print head 1 and roller platen 2, print media 7 is located on the periphery wall of roller platen 2.In print procedure, Colour band 3 is moved synchronously with roller platen 2, and wherein arrow a rotation of the roller platen 2 in Fig. 1, colour band driving motor drive 3 edge of colour band Arrow b in Fig. 1 passes through in the gap between print head 1 and roller platen 2, and print head 1 is contacted on colour band 3 with print head 1 Region heated.Colour band 3 and when 7 synchronizing moving of print media, on colour band 3 different positions can successively with print head 1 Contact is heated, and the different location on print media 7 successively adheres to dyestuff and forms pattern.
If the case where colour band 3 blocks, colour band 3 is it is possible that the reason of being broken, colour band 3 is caused to be broken has two Kind, one is the torque of colour band driving motor increase, the pulling force that colour band 3 is subject to increases, and colour band 3 is caused to be drawn by colour band driving motor It is disconnected.Another kind is that colour band 3 can not rotate, and print head 1 persistently heats the same position on colour band 3, causes to be heated position It is excessively high to set temperature, colour band 3 is blown by print head 1.And the dyestuff on colour band 3 may be attached to influence printing on print head 1 First 1 normal work, the clast blown, which is scattered in printer, may also will affect printer normal work.
Fig. 2 is a kind of control method flow chart for printer that the embodiment of the present disclosure provides.As shown in Fig. 2, the controlling party Method includes:
In step s 11, the working status parameter of printer is obtained.
Wherein, working status parameter includes the temperature of the electric current of colour band driving motor, the torque of colour band driving motor, roller platen At least one of degree.
In step s 12, when at least one of working status parameter is greater than default threshold corresponding with working status parameter When value, control printer stops working.When all working state parameter is no more than default threshold corresponding with working status parameter When value, then illustrate that colour band does not block, printer is working properly, can be with return step S11.
Optionally, when executing step S12, at least one of following movement can be executed:
Control the colour band driving motor stalling of printer.
The print head for controlling printer stops heating.
By controlling the colour band driving motor stalling of printer, can be pulled apart to avoid colour band by colour band driving motor, simultaneously Motor can also be avoided to be burned out.Stop heating by control print head, can be blown to avoid colour band by print head, avoid simultaneously Dyestuff on colour band is attached on print head the normal work for influencing print head.
In a kind of possible implementation of the embodiment of the present disclosure, when working status parameter is greater than and working status parameter When corresponding preset threshold, warning message can be sent out.When working status parameter is greater than with corresponding preset threshold, issue Warning message can make staff learn that colour band is stuck, and as early as possible repairs printer convenient for staff as early as possible.
Optionally, warning message may include light information, acoustic information or a combination thereof.
By obtain printer working status parameter, wherein working status parameter include colour band driving motor electric current, At least one of the torque of colour band driving motor, the temperature of roller platen, when at least one of working status parameter is greater than phase When the preset threshold answered, it is believed that colour band is stuck, and is stopped working by controlling printer, to avoid colour band fracture.
Illustratively, preset threshold corresponding with the electric current of colour band driving motor and corresponding with the torque of colour band driving motor Preset threshold can determine in the following way:
Colour band driving motor is detected using detector, detector can be current sensing device (such as electric current pass Sensor), it is also possible to Torque test device (such as torque sensor).By taking Torque test device as an example, after colour band is blocked, Colour band driving motor can not rotate, and measure the torque of colour band driving motor at this time, be denoted as the first torque, can be first turn by this Preset threshold of the square as torque.
Further, it is also possible to rotate colour band driving motor in the case where determining that colour band does not block, measure colour band at this time The torque of driving motor is denoted as the second torque, will be greater than the second torque but is no more than the torque value of the first torque as torque Preset threshold.That is preset threshold T=a*A+ (1-a) * B of torque, the torque (the when wherein A is colour band driving motor stall One torque), the torque (the second torque) when B is colour band driving motor normal rotation, 0 a≤1 <.Due to working in printer In the process, colour band is possible to completely not stuck, and colour band driving motor can also be rotated more slowly, therefore in this way can be into one Step improves reliability, it is ensured that when colour band rotation is obstructed, even if colour band is not completely stuck, can also control printer stopping in time Work, prevents colour band to be broken.
Further, a can be arranged too small for the value of 0.5~0.8, a, then when colour band is rotated by lesser resistance Power may also be considered colour band and be stuck and printer be caused to stop working, if a setting is excessive, only rotate in colour band When be likely to be considered colour band by biggish resistance to be stuck, will increase the risk of colour band fracture.
It is detected using current sensing device, using the available default threshold corresponding with the electric current of similar method Value meets equation
I=b*C+ (1-b) * D
Wherein, I is preset threshold corresponding with the electric current, and electric current when C is colour band driving motor stall, D is colour band Electric current when driving motor normal rotation, 0 b≤1 <.B may be 0.5~0.8.
Preset threshold corresponding with the temperature of roller platen can be set to 80~120 DEG C.Closest to print head on roller platen Regional temperature highest, the temperature of roller platen can be on roller platen closest to the temperature in the region of print head.Printer is just Often when work, the heating temperature of print head is generally at 80~120 DEG C, and roller platen is continuous rotation in normal work, because The temperature of this roller platen is lower than the temperature of print head, if the temperature of roller platen gets too close to the heating temperature of print head, Illustrate that colour band is stuck.
In a kind of possible implementation of the embodiment of the present disclosure, in step s 11, can acquisition printer one Kind working status parameter.Acquired working status parameter can be turn of the electric current of colour band driving motor, colour band driving motor Square, roller platen temperature in any one, in step s 12, when acquired working status parameter be greater than and the work shape When the corresponding preset threshold of state parameter, control printer stops working, and passes through the control that a kind of working status parameter carries out printer System, method are simple.
In other possible implementations of the embodiment of the present disclosure, at two kinds of step S11 also available printer Or three kinds of working status parameters are joined as long as at least one of working status parameter is greater than with the working condition in step s 12 It when the corresponding preset threshold of number, just controls printer and stops working, printer is carried out by two or three of working status parameter Control, preferably colour band can be avoided to be stuck, improve reliability.
Fig. 3 is a kind of structural schematic diagram of the control device for printer that the embodiment of the present disclosure provides.As shown in figure 3, should Control device 100 includes control device 10.
Control device 10 is used to obtain the working status parameter of printer, and working status parameter includes colour band driving motor One of electric current, the torque of colour band driving motor, the temperature of roller platen, when at least one of working status parameter be greater than with When the corresponding preset threshold of working status parameter, control printer stops working.
Control device 10 can control printer according to aforementioned step S12 and stop working.
The embodiment of the present disclosure is by the working status parameter of acquisition printer, and wherein working status parameter includes colour band driving At least one of the electric current of motor, the torque of colour band driving motor, the temperature of roller platen, when in working status parameter at least When one kind being greater than corresponding preset threshold, it is believed that colour band is stuck, and is stopped working by controlling printer, to avoid colour band Fracture.
In a kind of possible implementation of the embodiment of the present disclosure, control device 10, which can be configured as, works as working condition When at least one of parameter is greater than preset threshold corresponding with working status parameter, the colour band driving motor for controlling printer stops Turn, is stopped working with controlling printer.Colour band is after blocking, and the torque of colour band driving motor increases, and the pulling force that colour band is subject to increases Greatly, it may cause colour band to be broken by colour band driving motor, pass through control colour band driving motor stalling, so that it may avoid colour band by color Band driving motor is broken.The case where motor rotation blockage causes motor to burn out is also avoided simultaneously.
In the alternatively possible implementation of the embodiment of the present disclosure, control device 10 be can be configured as when work shape When at least one of state parameter is greater than preset threshold corresponding with working status parameter, the print head for controlling printer stops adding Heat is stopped working with controlling printer.After blocking, print head persistently heats the same position on colour band colour band, leads Cause is heated that position temperature is excessively high, and colour band is blown by print head, and the residue blown falls in printer and will affect and beats The normal work of print machine, the dyestuff that print head can also result in colour band to the region heating of colour band for a long time, which is attached to, to be beaten Print the normal work that print head is influenced on head.Stop heating by control print head, can be blown to avoid colour band by print head.
In the alternatively possible implementation of the embodiment of the present disclosure, control device 10 be can be configured as when work shape When at least one of state parameter is greater than preset threshold corresponding with working status parameter, the colour band driving motor of printer is controlled Stalling, and the print head for controlling printer stops heating.This makes it possible to avoid colour band from being pulled off and colour band is avoided to be blown.
Optionally, which can also include detector 20, and detector 20 is used to detect the working condition of printer Parameter, control device 10 are used to obtain working status parameter by detector 20.Control device 10 is directly obtained by detector 20 Take working status parameter, it is ensured that working status parameter it is accurate.
Illustratively, detector 20 may include in current sensing device, Torque test device and temperature detection device It is at least one.Current sensing device can be used for detecting the electric current of colour band driving motor.Torque test device can be used for detecting The torque of colour band driving motor.Temperature detection device can be used for detecting the temperature of roller platen, and temperature detection device can be along pressure The circumferential direction of print roller is evenly distributed on roller platen, to detect multiple temperature on roller platen circumferencial direction, in multiple temperature Maximum temperature is the temperature of roller platen.
Optionally, control device 10 can be also used for being greater than preset corresponding with working status parameter when working status parameter When threshold value, alert.In this way alarm signal can be issued when working status parameter is greater than with corresponding preset threshold Breath, makes staff learn that colour band is stuck, and as early as possible repairs printer convenient for staff as early as possible.
Warning message can directly be issued by control device 10, can also pass through sending and receiving between alarm by control device 10 Out.Illustratively, alarm may include indicator light, buzzer or a combination thereof.
Fig. 4 is a kind of circuit diagram of the control device for printer that the embodiment of the present disclosure provides.As shown in figure 4, control Device 10 processed may include comparator 11.Comparator 11 has for receiving the first input end of input signal and for receiving Second input terminal of reference signal, reference signal is identical as the input signal in critical state, which is work shape State parameter is equal to state when preset threshold.There are two input terminal and an output end, the outputs of output end to believe for the tool of comparator 11 Number depend on two input terminals input signal between relationship.By taking the signal of two input terminals is voltage signal as an example, when When the current potential of first input end input signal is higher than the current potential of the signal of the second input terminal input, the output end output of comparator is low Level signal, when current potential of the current potential of first input end input signal lower than the signal of the second input terminal input, comparator Output end exports high level signal.The first input end of comparator receives input signal, and the second input terminal of comparator 11 receives Input signal can be thus compared, when comparator 11 is not blocked when colour band blocks and by reference signal with reference signal Different signals can be exported.
The input signal can be provided by detector 20 above-mentioned, working status parameter of the detector 20 in detection printer When, the signal for reacting the working status parameter can be exported.
Illustratively, reference signal can obtain in the following way:
Colour band driving motor 6 is detected using detector 20, detector 20 can be current sensing device (such as electricity Flow sensor), it is also possible to Torque test device (such as torque sensor).By taking Torque test device as an example, colour band is being determined In the case where not blocking, colour band driving motor 6 is rotated, colour band is gradually clutched, drops the revolving speed of colour band driving motor 6 gradually It is low, the torque of test constantly colour band driving motor 6 during gradually clutching colour band, until the torque value measured increases to The preset threshold of torque, using the output signal of Torque test device at this time as reference signal.Detector 20 is current detector When part, then during gradually clutching colour band test constantly colour band driving motor 6 electric current, until the current value measured increases The preset threshold for adding to electric current, using the output signal of current sensing device at this time as reference signal.The determination of preset threshold can Not to be described in detail referring to embodiment above herein.
As shown in figure 4, the output end of comparator 11 can be with the enabled input of the motor driver 5 of colour band driving motor 6 End connection.The output end of comparator 11 is connect with the enabled input terminal of the motor driver 5 of colour band driving motor 6, in benchmark When signal is greater than input signal, the signal of the output end output of comparator 11 can be used as enable signal and be input to motor driver 5, motor driver 5 can control the rotation of colour band driving motor 6.Reference signal be less than input signal when, comparator 11 it is defeated The signal of outlet output is flipped, and motor driver 5 controls colour band driving motor 6 and stops operating.
Optionally, which can also include controllable switch K, and controllable switch K is connected to print head 1 and print head electricity Between source 4, the output end of comparator 11 can also be connect with the control terminal of controllable switch K.By the output end of comparator 11 and company After connecing the control terminal connection of the controllable switch K between print head 1 and print head power supply 4, it is greater than input signal in reference signal When, the signal of the output end output of comparator 11 can be such that controllable switch K is kept closed, and print head power supply 4 can be to beat It prints head 1 to power, print head 1 is made to generate heat.When reference signal is less than input signal, the signal hair of the output end output of comparator 11 Raw overturning, controllable switch K are disconnected, and print head power supply 4 stops being that print head 1 is powered, and print head 1 stops fever.
Illustratively, the controllable switch K being connected between print head 1 and print head power supply 4 can be thyristor.Thyristor Fast response time, it is easy to control.
The output end of comparator 11 may also connect to the central processing unit of printer, by the central processing unit control of printer Printer processed issues the fault message for indicating that colour band blocks, such as is shown on the display screen of printer.
Optionally, which can be set on a printed circuit, to reduce the volume of device, be easily installed.
In the alternatively possible implementation of the embodiment of the present disclosure, control device 10 may include OR circuit and extremely Few two comparators, the output end of at least two comparators are connected with the input terminal of OR circuit.
Fig. 5 is the circuit diagram of the control device for another printer that the embodiment of the present disclosure provides.The control device Including first comparator 111, the second comparator 112 and third comparator 113.Wherein, the first input end of first comparator 111 For receiving the first input signal, the second input terminal of first comparator 111 is for receiving the first reference signal, the second comparator 112 first input end is for receiving the second input signal, and the second input terminal of the second comparator 112 is for receiving the second benchmark Signal, the first input end of third comparator 113 is for receiving third input signal, the second input terminal of third comparator 113 For receiving third reference signal.First input signal is the signal for reacting the electric current of colour band driving motor, the first benchmark Signal is identical as the first input signal in critical state.Second input signal is the torque for reacting colour band driving motor Signal, the second reference signal is identical as the second input signal in critical state.Third input signal is for reaction pressure The signal of the temperature of roller is printed, third reference signal is identical as the third input signal in critical state.First comparator 111 The output end of output end, the output end of the second comparator 112 and third comparator 113 connects with the input terminal of OR circuit 101 It connects, the output end of OR circuit 101 is connect with the control terminal of controllable switch K.The output end of OR circuit 101 can also and colour band The enabled input terminal of the motor driver 5 of driving motor connects.It is somebody's turn to do as long as at least one of working status parameter is greater than in this way The corresponding preset threshold of working status parameter, so that it may control printer and stop working, reliability can be improved.
First input signal can be provided by the first detector 201, and the second input signal can be mentioned by the second detector 202 For third input signal can be provided by third detector 203.
In another embodiment of the disclosure, control device can also only include two comparators.Two comparators It can be any two in first comparator 111, the second comparator 112 and the third comparator 113 in Fig. 5.
Fig. 6 is a kind of control device block diagram of printer shown according to an exemplary embodiment.
Referring to Fig. 6, control device 700 may include processor 702 and the instruction that can be performed for storage processor is deposited Reservoir 701.
Processor 702 is for executing the instruction for being stored in memory 701, to complete all or part of method shown in Fig. 2 Step.Memory 701 is configured as storing various types of data to support the operation in control device 700.These data Example includes the instruction of any application or method for operating on control device 700.Memory 701 can be by any The volatibility or non-volatile memory device or their combination of type realizes, such as static random access memory (SRAM), Electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), may be programmed read-only storage Device (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
In the exemplary embodiment, control device 700 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing method shown in Fig. 2.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 701 of instruction, above-metioned instruction can be executed by the processor 702 of control device 700 to complete the above method.Example Such as, which can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage medium In instruction by control device processor execute when so that control device is able to carry out method shown in Fig. 2.
The embodiment of the present disclosure additionally provides a kind of printer, which includes control device above-mentioned.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (17)

1. a kind of control method of printer characterized by comprising
The working status parameter of printer is obtained, the working status parameter includes the electric current of colour band driving motor, colour band driving At least one of the torque of motor, the temperature of roller platen;
When at least one of described working status parameter is greater than preset threshold corresponding with the working status parameter, control The printer stops working.
2. control method according to claim 1, which is characterized in that the control printer stops working, including following At least one of movement:
Control the colour band driving motor stalling of the printer;
The print head for controlling the printer stops heating.
3. control method according to claim 1, which is characterized in that further include:
When at least one of described working status parameter is greater than preset threshold corresponding with the working status parameter, issue Warning message.
4. described in any item control methods according to claim 1~3, which is characterized in that default threshold corresponding with the torque Value meets equation
T=a*A+ (1-a) * B
Wherein, T is preset threshold corresponding with the torque, torque when A is colour band driving motor stall, and B is colour band driving Torque when motor normal rotation, 0 a≤1 <,
Preset threshold corresponding with the electric current meets equation
I=b*C+ (1-b) * D
Wherein, I is preset threshold corresponding with the electric current, electric current when C is colour band driving motor stall, and D is colour band driving Electric current when motor normal rotation, 0 b≤1 <.
5. a kind of control device of printer characterized by comprising
Control device, for obtaining the working status parameter of printer, the working status parameter includes colour band driving motor One of electric current, the torque of colour band driving motor, the temperature of roller platen, when at least one of described working status parameter is big When preset threshold corresponding with the working status parameter, controls the printer and stop working.
6. control device according to claim 5, which is characterized in that the control device is configured as when the work shape When at least one of state parameter is greater than preset threshold corresponding with the working status parameter, execute in following movement at least It is a kind of:
Control the colour band driving motor stalling of the printer;
The print head for controlling the printer stops heating.
7. control device according to claim 5, which is characterized in that the control device includes comparator, the comparison Device has the second input terminal for receiving the first input end of input signal and for receiving reference signal, the input letter Number for signal for reacting the working status parameter, the reference signal is identical as the input signal in critical state, The critical state is the state when working status parameter is equal to the preset threshold.
8. control device according to claim 7, which is characterized in that the output end of the comparator and the colour band drive The enabled input terminal of the motor driver of motor connects.
9. control device according to claim 7, which is characterized in that the control device further includes controllable switch, described Controllable switch is connected between the print head and print head power supply, the control of the output end of the comparator and the controllable switch End connection processed.
10. control device according to claim 7, which is characterized in that the control device includes OR circuit and at least The output end of two comparators, at least two comparators is connected with the input terminal of the OR circuit.
11. control device according to claim 10, which is characterized in that the output end of the OR circuit and the colour band The enabled input terminal of the motor driver of driving motor connects.
12. control device according to claim 10, which is characterized in that the control device further includes controllable switch, institute It states controllable switch to be connected between the print head and print head power supply, the output end of the OR circuit and the controllable switch Control terminal connection.
13. control device according to claim 5, which is characterized in that the control device is also used to when the work shape When state parameter is greater than preset threshold corresponding with the working status parameter, alert.
14. control device according to claim 5, which is characterized in that the control device includes processor, the control Device further includes the memory for the instruction that can be performed for storage processor, and the memory is connected to the processor.
15. according to the described in any item control devices of claim 5~14, which is characterized in that the control device further includes inspection Device is surveyed, for detecting the working status parameter of printer, the control device is used for by working described in the detector acquisition State parameter.
16. a kind of printer, which is characterized in that including the described in any item control devices of such as claim 5~15.
17. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes at least one finger It enables, when at least one instruction is executed by processor, executes the control such as the described in any item printers of Claims 1 to 4 The step of method.
CN201811566890.7A 2018-12-19 2018-12-19 Control method, control device, printer and the storage medium of printer Pending CN109649014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811566890.7A CN109649014A (en) 2018-12-19 2018-12-19 Control method, control device, printer and the storage medium of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811566890.7A CN109649014A (en) 2018-12-19 2018-12-19 Control method, control device, printer and the storage medium of printer

Publications (1)

Publication Number Publication Date
CN109649014A true CN109649014A (en) 2019-04-19

Family

ID=66115500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811566890.7A Pending CN109649014A (en) 2018-12-19 2018-12-19 Control method, control device, printer and the storage medium of printer

Country Status (1)

Country Link
CN (1) CN109649014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116968458A (en) * 2023-08-01 2023-10-31 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056584A (en) * 1983-09-09 1985-04-02 Tokyo Electric Co Ltd Transfer type thermal printer
JPS62253472A (en) * 1986-04-26 1987-11-05 Toshiba Corp Thermal transfer image-forming device
JPH0872276A (en) * 1994-09-08 1996-03-19 Graphtec Corp Thermal transfer recorder
JP2003177891A (en) * 2001-12-12 2003-06-27 Olympus Optical Co Ltd Print system and digital camera using the same system and printer
CN105291614A (en) * 2014-06-19 2016-02-03 童建兴 Rolling diameter measurement, breakage detecting and tension control method for printing body and colored tape
CN210148950U (en) * 2018-12-19 2020-03-17 北京小米移动软件有限公司 Printer control device and printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056584A (en) * 1983-09-09 1985-04-02 Tokyo Electric Co Ltd Transfer type thermal printer
JPS62253472A (en) * 1986-04-26 1987-11-05 Toshiba Corp Thermal transfer image-forming device
JPH0872276A (en) * 1994-09-08 1996-03-19 Graphtec Corp Thermal transfer recorder
JP2003177891A (en) * 2001-12-12 2003-06-27 Olympus Optical Co Ltd Print system and digital camera using the same system and printer
CN105291614A (en) * 2014-06-19 2016-02-03 童建兴 Rolling diameter measurement, breakage detecting and tension control method for printing body and colored tape
CN210148950U (en) * 2018-12-19 2020-03-17 北京小米移动软件有限公司 Printer control device and printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116968458A (en) * 2023-08-01 2023-10-31 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium
CN116968458B (en) * 2023-08-01 2024-04-02 上海迪凯标识科技有限公司 Control method and device for printer ribbon, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN210148950U (en) Printer control device and printer
CN109649014A (en) Control method, control device, printer and the storage medium of printer
CN106476453B (en) A kind of control method and printer of printer
JP2020521130A (en) Web media length determination
CN108621591B (en) Printing equipment, the control method of printing equipment and storage medium
US20140064766A1 (en) Printing apparatus
JP2012011569A (en) Printer and method of controlling the same
BR112016022364B1 (en) ELECTRIC FOOD PROCESSOR
JP6504865B2 (en) Image forming apparatus, control method of the apparatus, and program
US20230071689A1 (en) Information processing apparatus, non-transitory computer readable medium storing program, and information processing method
US20090219560A1 (en) Image forming apparatus, hardware self-diagnosing method, and hardware self-diagnosing program
JP2685594B2 (en) Magnetic recording / reproducing device
US20240149595A1 (en) Printing apparatus and printing method
JP5077712B2 (en) Thermal flow velocity measuring device, flow velocity measuring method and program for thermal flow velocity measuring device
JP6696871B2 (en) Electronic device with built-in thermal printer, determination method, and program
JP2017087436A (en) Printer
JP2000147940A (en) Image recorder
JPS585772A (en) Temperature detecting circuit for fixing heater
JPS6270886A (en) Heat roll fixing device
TWI272237B (en) Pipeline inspecting device
KR100503807B1 (en) Method and apparatus for sensing input voltage, for image forming device
JPH0557917A (en) Impact head driving device
JP2004240148A (en) Heat fixing device for image forming apparatus
JPH04139479A (en) Image forming device
JP2022144440A (en) 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