CN104494317B - Apparatus and method for automatically adjusting heating time of thermo-sensitive printer - Google Patents
Apparatus and method for automatically adjusting heating time of thermo-sensitive printer Download PDFInfo
- Publication number
- CN104494317B CN104494317B CN201410699311.1A CN201410699311A CN104494317B CN 104494317 B CN104494317 B CN 104494317B CN 201410699311 A CN201410699311 A CN 201410699311A CN 104494317 B CN104494317 B CN 104494317B
- Authority
- CN
- China
- Prior art keywords
- heating time
- temperature
- thermal head
- heat time
- printer
- 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
Links
Landscapes
- Electronic Switches (AREA)
Abstract
The invention relates to the field of a printer, and especially relates to an apparatus and method for automatically adjusting the heating time of a thermo-sensitive printer. The apparatus comprises an environment temperature acquisition unit and a master control unit. The master control unit, according to acquired environment temperature information and an environment temperature and heating time corresponding relation look-up table, carries out seeking and coupling to obtain the heating time, and a programming logic device, according to heating time signals, outputs heating enabling signals to a thermo-sensitive head. According to the apparatus and method for automatically adjusting the heating time of the thermo-sensitive printer, through real-time acquisition of the temperature of a current working environment and the temperature of the thermo-sensitive head and determination of the printing state of a current printer, the most proper heating time when the thermo-sensitive printer begins printing at a current temperature is obtained, such that the printing effect is improved, and the life of the thermo-sensitive head can be prolonged.
Description
Technical field
The present invention relates to electrocardiograph field, more particularly to a kind of device for automatically adjusting thermal printer heat time heating time and
Method.
Background technology
At present thermal printer is widely used to medical apparatus and instruments such as electrocardiograph etc..Because thermal printer has noise
Low, speed is fast, reliability is high, printable character is clear, miniaturization the advantages of, so also having obtained on medical Instrument field extensively
Using being mainly used in printing detection data, waveform etc..
Thermal printer ultimate principle is that host device processor will need the data is activation for printing to thermal printer, temperature-sensitive
Printer is received and be converted into after data thermal head dot matrix signal, and then controls the temperature responsive unit heating of thermal head, heat
Heat susceptible coating adds thermal discharge corresponding picture and text on quick paper.
The heating means for being adopted using electrocardiogram thermal printer in the industry at present are using fixed heat time heating time, i.e., only to examine
Consider the heat time heating time under normal temperature condition, or the critesistor carried by thermal head selects heat time heating time.So equipment exists
When using under low temperature, hot environment, problem will be produced.
When equipment is used at low ambient temperatures, when thermal head temperature is less than itself minimum operating temperature, when heating first
Because hot spot temperature is relatively low, the problem for causing the picture and text showing for printing initial segment very fuzzy.
When equipment is used at low ambient temperatures, if using room temperature same heat time heating time, now, heat-sensitive paper coating layer touch
Temperature it is just a certain degree of reduce, the picture and text for so printing also accordingly shoal;If thermal head using body from
The critesistor of band carrys out detection temperature, then be only able to detect the temperature of the body of thermal head, it is impossible to detect the ring residing for paper
Border temperature, the heat time heating time for so adjusting out prints effectively, as multiple beats repeatedly only when equipment is just started shooting
Print, the temperature of thermal head body has risen, and has now had obvious difference with the ambient temperature residing for paper, and adjusts
Section thermal head out cannot just meet requirement heat time heating time, and the picture and text for printing also can accordingly shoal, and to doctor inspection is checked
Survey data and also bring many inconvenience.
The control mode of existing thermal printer heat time heating time is divided into following several:1. control heat time heating time fixed:
No matter thermal printer is operated under which kind of pattern and environment, heat time heating time is constant and unadjustable;2. according to thermal printing
The temperature dynamic of fever head piece adjusts the heat time heating time of thermal printer in machine;3. determined according to thermal printer mode of operation
Preliminary heat time heating time, and dynamic regulation is carried out according to fever head piece temperature.More than in 3 kinds of modes, mode 1 is due to when it is heated
Between fix unadjustable, therefore thermal head fever head piece can be caused to cause fever head piece to burn out because temperature is too high.Mode 2,3 is compared with mode
1 has larger improvement, but in the case of ambient conditions severe condition such as low temperature, then occur that just start prints when
Wait and print partially light, in the event of high temperatures, then can cause thermal head superheated, and then shorten the service life of thermal head.It is existing
There is thermal printer adjusting means heat time heating time as shown in Figure 1.
When equipment is used in high temperature environments, using room temperature same heat time heating time, now, temperature-sensitive paper and coating connects thermal head
Tactile temperature also accordingly deepens a certain degree of rising, the picture and text for so printing, due to ambient temperature it is higher, in addition
That the temperature remains within the normal range heat time heating time is constant for thermal head, so prints and the same waveform of room temperature, and the temperature of thermal head becomes higher, more holds
Easily enter overtemperature protection so that the equipment time-write interval shortens.The print procedure of whole hot environment just occurs:Print picture and text mistake
It is deep, occur printing one section of action for entering protection again repeatedly, affect actually used effect, equipment to reduce doctor and check patient
Quantity, have impact on working doctor efficiency.
And in electrocardio field, it will usually carry out calibration voltage detection and the frequency response test of electrocardiograph.Especially
The frequency response test of electrocardiograph, the testing standard is that the frequency range that electrocardiograph wave filter is arranged is tested such as
0.05 arrives 150Hz, when the signal frequency of test is more than 75hz, it is easy to occur because the overcurrent protection of thermal head working power occurs
Print disconnection phenomenon.Generally all it is that the load capacity for improving thermal head working power improves thermal head to solve the problem
Working power output, do so increased hardware cost, while the printing may still be occurred because of the discreteness of thermal head
Intermittent problem.
To sum up, immature due to conventional art, the heat time heating time of thermal printer is for the change of ambient temperature
Adjusted accordingly, under causing low temperature environment, printing picture and text are fuzzy, unintelligible, affect doctor to check detection data;In high temperature
Under environment, printing picture and text are deeper, and thermal head temperature is too high, comparatively fast into overtemperature protection, affect doctor to check patient using equipment
Quantity, affect doctor work efficiency.
The content of the invention
To overcome drawbacks described above, the purpose of the present invention is to provide a kind of to automatically adjust thermal printer heat time heating time
Device and method.
A kind of device for automatically adjusting thermal printer heat time heating time, the device is arranged on thermal printer, including:
Temperature collection unit, for carrying out Real-time Collection to ambient temperature ambient temperature information is obtained;
Main control unit, the master control is alone in the current print state of printer is judged, if printer is not currently in beating
Print state, then gather ambient temperature information and default ambient temperature and heat time heating time pair according to the temperature collection unit
Should be related to that look-up table makes a look up, matches and obtained for the first heat time heating time;And export first heat time heating time signal.
Further comprise, thermal head temperature collecting cell, for carrying out Real-time Collection to thermal head temperature temperature-sensitive is obtained
Head temperature information;If main control unit judges printer currently in print state, the main control unit is according to the thermal head
The thermal head temperature information of temperature collecting cell collection contrasted with default thermal head temperature predetermined threshold value, match and obtain the
Two heat time heating times;And export second heat time heating time signal.
Further also include, thermal head VRM Voltage Regulator Module, for thermal printer thermal head running voltage
Adjust and export;Points statistic unit is printed, for counting to printing points;The main control unit adds to the needs for counting
The printing point value of heat is judged, if print point value prints threshold value of counting less than default, keeps thermal head work electricity
Pressure is constant and exports for the 4th heat time heating time;If print point value prints points threshold value more than default, the work of thermal head is adjusted
Make voltage, and the 3rd heat time heating time was calculated according to the running voltage after adjustment.
Specifically, include the 4th heat time heating time, if thermal printer is not at print state, during this 4th heating
Between be the first heat time heating time;If thermal printer is in print state, and thermal head temperature is without departing from overtemperature protection temperature value,
Then now the 4th heat time heating time was the second heat time heating time.
Specifically, the second heat time heating time of the signal includes, when judging that thermal head temperature exceeds default overtemperature protection temperature
Output during angle value stops heating signal;Output contrast, matching when thermal head temperature is without departing from overtemperature protection temperature value is obtained
Second heat time heating time signal.
A kind of method for automatically adjusting thermal printer heat time heating time, comprises the steps:
I. collection ambient temperature;
II. judge the current print state of printer;
. if printer is not currently in print state, and according to the temperature collection unit environment temperature is gathered
Degree information makes a look up with built-in ambient temperature with corresponding relation look-up table heat time heating time, match and obtained for the first heat time heating time;
And export first heat time heating time signal.
Further, in the stepAlso comprise the steps:
If A. printer is currently at print state, thermal head temperature is gathered;
B. thermal head temperature contrasted with built-in thermal head temperature predetermined threshold value, matched when obtaining the second heating
Between;And export second heat time heating time signal.
Further, in the stepAlso comprise the steps afterwards:
A. the printing points to needing heating carry out statistics and obtain printing point value;
B. the printing point value for if desired heating is less than default to be judged to the printing point value of the needs heating of statistics
Printing points threshold value when, then keep former heat time heating time and thermal head running voltage it is constant and export the 4th heat time heating time signal;
C. when the printing point value for if desired heating is more than points threshold value is printed, then the running voltage of thermal head is adjusted, and
3rd heat time heating time was calculated according to present operating voltage, and exports the 3rd heating time signal.
Specifically, include the 4th heat time heating time, if thermal printer is not at print state, during this 4th heating
Between be the first heat time heating time;If thermal printer is in print state, and thermal head temperature is without departing from overtemperature protection temperature value,
Then now the 4th heat time heating time was the second heat time heating time.
Specifically, the second heat time heating time of the signal includes, when judging that thermal head temperature exceeds default overtemperature protection temperature
Output during angle value stops heating signal;Output contrast, matching when thermal head temperature is without departing from overtemperature protection temperature value is obtained
Second heat time heating time signal.
A kind of device and method for automatically adjusting thermal printer heat time heating time of the present invention, by work at present ring
The temperature in border carries out Real-time Collection, and the judgement to current printer print state, so as to draw Current Temperatures under thermal printing
Optimal heat time heating time when machine starts to print.The present invention temperature current in view of thermal head is depended primarily on heat time heating time,
Just when start, due to the impact of ambient temperature(The impact of too low or too high temperature)Thermal printing paper can be caused to heat
Sensitivity changes, and just replaces the temperature of thermal head during start using ambient temperature, solves severe in ambient conditions
In the case of condition such as low temperature, then occur that just start prints partially light when printing, in the event of high temperatures, then can cause
Thermal head superheated, and then shorten the problem of the service life of thermal head.
Description of the drawings
For ease of explanation, the present invention is described in detail by following preferred embodiments and accompanying drawing.
Fig. 1 is existing adjusting means principle schematic thermal printer heat time heating time;
Fig. 2 is adjusting means principle schematic thermal printer heat time heating time of the present invention;
Fig. 3 is that adjusting means thermal printer heat time heating time of the present invention is embodied as schematic diagram;
Fig. 4 is control method flow chart thermal printer heat time heating time of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
The present invention is applied to medical instruments field, the special printing suitable for electrocardiogram report.
A kind of device for automatically adjusting thermal printer heat time heating time of the present invention, the device is arranged on thermal printer 7,
It is determined that during thermal printer 7 heat time heating time, depend primarily on thermal head current temperature heat time heating time, it is contemplated that
When just start, due to the impact of ambient temperature(The impact of too low or too high temperature)Thermal printing paper can be caused to add
Heat sensitivity changes, and thermal printer 7 now replaces the temperature of thermal head using ambient temperature.The device includes:
Temperature collection unit 1, the temperature collection unit 1 is connected with main control unit 3, for ambient temperature
It is acquired and the ambient temperature information of collection is sent to into main control unit 3.
Main control unit 3, the main control unit 3 is provided with ambient temperature with corresponding relation look-up table heat time heating time;For sentencing
The current print state of disconnected printer 7, if printer 7 is not currently in print state, according to the temperature collection list
Unit 1 gathers ambient temperature information and makes a look up with default ambient temperature and corresponding relation look-up table heat time heating time, matches and obtain
First heat time heating time.
Main control unit 3 according to contrast, matching the first heat time heating time for obtaining export first heat time heating time signal.
PLD 4, for the control of thermal printer 7 heat time heating time and heating signal output, according to master
Signal output heating heat time heating time that control unit 3 sends enables signal to thermal head.
As a kind of a kind of preferred version of the device for automatically adjusting thermal printer heat time heating time of the present invention, such as Fig. 2 institutes
Show, the device includes:
Thermal head temperature collecting cell 6, the thermal head temperature collecting cell 6 is connected with main control unit 3, for temperature-sensitive
Head temperature carries out Real-time Collection and the thermal head temperature information of collection is sent to into main control unit 3, in case thermal head is overheated causing
Thermal head is damaged and on fire.
Temperature collection unit 1, the temperature collection unit 1 is connected with main control unit 3, for ambient temperature
It is acquired and the ambient temperature information of collection is sent to into main control unit 3.
Main control unit 3, the main control unit 3 includes:
Also include, print points statistic unit, the printing points statistic unit is connected with main control unit 3, for fighting each other
Print points are counted and the printing point value of statistics are sent to into main control unit 3.
The main control unit 3 is used to judge the current print state of printer 7, if printer 7 is not currently in printing shape
State, then gather ambient temperature information corresponding with default ambient temperature and heat time heating time according to the temperature collection unit 1
Relation look-up table makes a look up, match and obtained for the first heat time heating time;And export first heat time heating time signal.If printer 7 is current
In print state, then judge thermal head temperature whether beyond default overtemperature protection temperature value;If thermal head temperature exceeded
The output of Thermal protection temperature value stops heating signal;If thermal head temperature is without departing from overtemperature protection temperature value, according to the temperature-sensitive
The thermal head temperature information of the head collection of temperature collecting cell 6 is contrasted, matched with default thermal head temperature predetermined threshold value
To the second heat time heating time, and export second heat time heating time signal.
Further, the main control unit to statistics needs heating printing point value judge, when need heating
Print point value less than it is default print points threshold value N1 when, obtain the 4th heat time heating time TH4.4th heat time heating time of the TH4,
If now thermal printer is not at print state, this 4th heat time heating time TH4 be first heat time heating time TH1, same to intermittent fever
Quick head running voltage keeps constant;If now thermal printer is in print state, and thermal head temperature is without departing from overtemperature protection
Temperature value, then now the 4th heat time heating time TH4 be second heat time heating time TH2, while thermal head running voltage keep it is constant.If beating
Print point value prints points threshold value more than default, then adjust the running voltage of thermal head, and according to the running voltage after regulation
It was calculated for the 3rd heat time heating time;And the running voltage after adjusting and the 3rd heating time signal.
PLD 4, the control and heating signal output to thermal printer 7 heat time heating time, according to master control list
Signal output heating heat time heating time that unit 3 sends enables signal to thermal head.
Thermal head VRM Voltage Regulator Module 5, the thermal head VRM Voltage Regulator Module 5 is used for the thermal head work of thermal printer 7
Make the regulation and output of voltage.
Also include user interface section 2, the user interface section 2 is used to realize the startup to thermal printer, stops
And the setting of the mode of operation of thermal printer 7.
The thermal head power supply of general thermal printer is realized using DC-DC power source, set inside usual DC-DC power source
Over-current protection point and overtemperature protection point are equipped with, the overcurrent protection of DC-DC module can be triggered in overload, cause output voltage
Closing is that thermal head running voltage is closed, and then causes thermal printer to heat, and occurs printing and interrupts or disconnection phenomenon.When
When thermal printer needs the points of heating simultaneously more, the electric current that it needs is larger, therefore easilys lead to thermal head work electricity
There is overcurrent protection in source, causes to print interrupted.Therefore by counting to the points that thermal printer is heated, when thermal head needs
When the quantity of information of heating is more, by the voltage for adjusting thermal head working power, load current is reduced, such that it is able to avoid temperature-sensitive
Printer causes to print interrupted because of thermal head working power overcurrent protection.Simultaneously while thermal head running voltage is adjusted, root
The heat time heating time of thermal head is adjusted according to the running voltage of current thermal printer, it is to avoid thermal head at higher operating voltages compared with
Work long hours, such that it is able to extend the service life of thermal head.By the statistics to heating points, by adjusting thermal head
Running voltage and working time, the problem can very easily be solved with low cost.
As shown in figure 3, thermal head running voltage adjustment module 5 includes power MOS pipe, DC-DC module.Thermal head work electricity
Pressure is provided by DC-DC module 10, and conventional DC-DC module 10 has excessively stream and overtemperature protection.Main control unit 3 passes through metal-oxide-semiconductor 8
To realize the regulation to thermal head running voltage, to reach the purpose of overcurrent protection.It is often the case that being set by divider resistance
Surely the output voltage of DC-DC power source is exported;Increase a resistance and the series connection of metal-oxide-semiconductor 8 in DC-DC power source feedback output end
Ground realization and the parallel connection of original feedback resistance, in normal print, metal-oxide-semiconductor disconnects, when the printing point value for needing to heat exceedes in advance
If print points threshold value N1, MCU realizes that feedback output end resistance R2 is in parallel with resistance R3 by opening metal-oxide-semiconductor, leads to
Cross the regulation to feedback output end resistance sizes, and then realize the ratio of output voltage divider resistance, so as to realize to thermal head
The regulation of running voltage.Wherein the range of accommodation of thermal head running voltage is electric in strict accordance with the work of the thermal head of thermal printer 7
Pressure scope setting, PLD 4 according to the current thermal head running voltage of condition adjudgement of current I/O, and according to master
Signal heat time heating time of the control input of unit 3, exports current thermal head voltage and corresponding heat time heating time.
The working method of the present embodiment is:
Temperature collection and process and set initial heating time.
User arranges the mode of operation of thermal printer 7 and starts thermal printer 7 by user interface 2, and ambient temperature is adopted
Collection unit 1 gathers ambient temperature T1 of the working environment of current thermal printer 7, and main control unit 3 is read current by ADC interface
Ambient temperature information.Main control unit 3 obtains preliminary first heat time heating time of TH1 according to the ambient temperature information for collecting.It is somebody's turn to do
To first heat time heating time TH1 concrete mode be that temperature information to collecting quantifies, sort out, coding, and according to interior
The ambient temperature put and corresponding relation look-up table heat time heating time, obtain preliminary first heat time heating time of TH1.
During just starting to print and print, need to send in real time the information for needing to print to printer.Right
During needing the data volume for printing to be counted, adjustment heat time heating time in real time is needed.The current temperature-sensitive of main control unit 3 pairs is beaten
The working condition of print machine 7 judged, that is, judge that the heating of current PLD 4 enables the state of signal.If printer
Be not currently in print state, then by first heat time heating time signal TH1 send to PLD 4, programmable logic device
Part 4 enables signal and is printed to thermal head according to the first heat time heating time of the first heating of signal output.
Gather thermal head temperature T2 if printer is in print state, main control unit 3 according to current environmental temperature T1 and
Thermal head temperature T2, is quantified, and is sorted out, coding, and according to built-in according to current environmental temperature T1 and thermal head temperature T2
With corresponding relation look-up table heat time heating time, the second heat time heating time for determining thermal printer 7 is TH2.
Second heat time heating time, TH2, specifically included:Second heat time heating time of the signal includes, when judging thermal head temperature
Beyond default overtemperature protection temperature value when output stop heating signal;When thermal head temperature is without departing from overtemperature protection temperature value
Output contrast, matching obtain second heat time heating time signal.By being processed thermal head temperature T2 and judged whether T2 surpasses
Go out default overtemperature protection temperature value TP, when thermal head temperature T2 that thermal head temperature collecting cell 6 is collected exceedes overheated guarantor
During shield temperature value TP, main control unit 3 turns off the output that metal-oxide-semiconductor 9 closes DC-DC module 10 by I/O, so as to cut off thermal head
Power supply, while thermal head is set to 0 heat time heating time by PLD 4.
Further, main control unit 3 sends the information for needing to print by data wire heat sensitive printer 7, prints points
Statistic unit is connected with main control unit 3, is counted and the printing point value of statistics is sent to into main control unit to printing points
3.And be handled as follows to printing point value:Printing needs the printing heated points to be counted in the points row of statistic unit 1,
Judged according to the quantity of information that current MCU is sent to thermal printer 7, when the points for needing to heat in the data for sending are less than
It is default print points threshold value N1 when, obtain the 4th heat time heating time TH4.4th heat time heating time of the TH4, if now thermal printing
Machine is not at print state, then this 4th heat time heating time of TH4 be first heat time heating time TH1, while thermal head running voltage protect
Hold constant;If now thermal printer is in print state, and thermal head temperature without departing from overtemperature protection temperature value, then now the
Four heat time heating time TH4 be second heat time heating time TH2, while thermal head running voltage keep it is constant.
When printing points threshold value N1 of the points for needing to heat in the data for sending more than or equal to setting, main control unit
3 running voltages that thermal head is adjusted by the unlatching of I/O control metal-oxide-semiconductors 8, while PLD 4 adds according to second
Hot time signal TH2 and the current thermal head running voltage control signal for determining, arranging thermal printer 7 the 3rd is heat time heating time
TH3.PLD 4 exports heat time heating time and begins to warm up.
The present invention specific implementation method be:A kind of method for automatically adjusting thermal printer heat time heating time is provided, including
Following steps:
Collection ambient temperature;
Judge the current print state of printer;
If printer is not currently in print state, ambient temperature information is gathered according to the temperature collection unit
Make a look up with corresponding relation look-up table heat time heating time with built-in ambient temperature, match obtain first heat time heating time TH1;And it is defeated
Go out first heat time heating time signal;
Signal is enabled according to signal output heating heat time heating time to be printed to thermal head.
As a kind of a kind of preferred version of the method for automatically adjusting thermal printer heat time heating time of the present invention, such as Fig. 4 institutes
Show, the method includes:
Collection ambient temperature;Ambient temperature is quantified, is sorted out, coding;
Judge the current print state of printer;
If printer is not currently in print state, ambient temperature information is gathered according to the temperature collection unit
Make a look up with corresponding relation look-up table heat time heating time with built-in ambient temperature, match obtain first heat time heating time TH1;And it is defeated
Go out first heat time heating time signal.
If printer is currently at print state, thermal head temperature is gathered;By quantifying to thermal head temperature, return
Class, coding and contrasted according to built-in thermal head temperature predetermined threshold value, match obtain first heat time heating time TH2;And export
Second heat time heating time signal.Second heat time heating time of the signal includes, when judging that thermal head temperature exceeds default overtemperature protection
Output during temperature value stops heating signal;Output contrast, matching when thermal head temperature is without departing from overtemperature protection temperature value is obtained
Second heat time heating time signal.
Further, the printing points to needing heating carry out statistics and obtain printing point value;And the needs to counting add
The printing point value of heat is judged;
When the points for needing to heat in the data for sending are less than default printing points threshold value N1, when obtaining the 4th heating
Between TH4.4th heat time heating time of the TH4, if now thermal printer is not at print state, this 4th heat time heating time TH4
As first heat time heating time TH1, while thermal head running voltage keep it is constant;If now thermal printer is in print state,
And thermal head temperature is without departing from overtemperature protection temperature value, then now the 4th heat time heating time TH4 be second heat time heating time TH2, while
Thermal head running voltage keeps constant.If desired when the printing point value for heating is more than or equal to points threshold value N1 is printed, then adjust
Section thermal head running voltage, and according to present operating voltage be calculated the 3rd heat time heating time TH3;And export adjust after work
Make voltage and the 3rd heating time signal.
Signal is enabled according to signal output heating heat time heating time to be printed to thermal head.
Specifically, first heat time heating time it is of course possible to by experience value list such as by experiment statisticses mode and other
Known manner is obtained, and it is as follows that the present invention provides a kind of determination method of the first heat time heating time of TH1:
The principle of heating of thermal printer 7 is exactly the temperature-sensitive that thermal head fever head piece heats correspondence heat-sensitive paper by generating heat
Coating come realize print.Therefore thermal printer 7 heats energy needed for a point and can be stated with following formula:
(1)
Wherein E is the energy required for thermal printer one point of heating;For the sensitivity coefficient of thermal printing paper, its master
It is relevant with the sensitivity of heat susceptible coating on heat-sensitive paper, a constant is considered as here,Value be typically larger than be equal to
1;The energy that a point needs is heated for the thermal printer in 25 DEG C of room temperature that thermal printer specifications are provided.For
Thermal printer temperature coefficient;For the temperature value for collecting.Wherein,,Correspondence thermal printing is can be found in etc. parameter
Machine specifications.
Simultaneously as the principle of heating of thermal printer 7 is that thermal printing paper is carried out by thermal head fever head piece
Heating, fever head piece equivalent resistance is represented with R.Therefore according to the equivalent resistance model of fever head piece, its catabiotic formula:
(2)
In formula (2), E is to heat the energy that a point needs;R is the internal resistance of thermal printer fever head piece, specifically
Specification refers to thermal printer specifications;I is thermal printer fever head piece operating current;For thermal printer thermal head
Running voltage;For thermal printer heat time heating time.
Can be obtained by formula (1) and formula (2):Thermal printer heat time heating timeFor:
(3)
Formula (3) is thermal printer heat time heating time and thermal head temperature and the relation of thermal head running voltage.Consider
Just during start, the sensitivity coefficient of thermal printing paper such as can change at the impact of factor under low temperature or high-temperature condition environment, therefore
Thermal printer 7 replaces thermal head temperature using ambient temperature when just start is printed.After machine starts normal print, adopt
Thermal head temperature is replacing ambient temperature.According to above-mentioned formula, and according to the running voltage of current thermal printer, can calculate
Go out initial first heat time heating time of a TH1.
I.e. (4)
Second heat time heating time is it is of course possible to square as known in by the modes such as experiment statisticses and other by experience value list
Formula is obtained, and it is as follows that the present invention provides a kind of determination method of the second heat time heating time of TH2:
Can be obtained according to formula (3) and (4),
(5)
3rd heat time heating time is it is of course possible to square as known in by the modes such as experiment statisticses and other by experience value list
Formula is obtained, and it is as follows that the present invention provides a kind of determination mode of the 3rd heat time heating time of TH3:
Main control unit 3 calculates work at present electricity according to the thermal head running voltage after adjustment by formula (3) and (5)
Depress corresponding thermal printer 7 heat time heating time of TH3.
(6)
In formula (6)For current thermal head running voltage,For the running voltage of thermal head before adjustment.Due to
For a steady state value, so when thermal head TH3 heat time heating time on the basis of TH2 withIncrease and reduce.
Specific implementation process is as follows:Before printing starts, temperature collection unit 1 first gathers current thermal printer 7
Operating ambient temperature T1, ambient temperature value T1 for collecting is stored in internal memory, and according to the ambient temperature value from previously according to
Initial first heat time heating time of TH1 is obtained in ambient temperature and the look-up table that heat time heating time, mapping relations were set up.
Main control unit 3 then judged the working condition of current thermal printer 7, main control unit 3 if not printing
Be set for TH1, while needing the printing heated points to unite in 3 pairs of 1 rows of main control unit the heat time heating time of thermal printer first
Meter, when the points N for if desired heating is more than default printing points threshold value N1 arranged in the software of main control unit 3, main control unit 3 leads to
Crossing I/O mouths drives metal-oxide-semiconductor to be adjusted thermal head running voltage, and according to current thermal head running voltage and thermal head temperature
Determine thermal printer 7 the 3rd heat time heating time TH3.If need data volume N for heating to be less than over-current protection point N1 in 1 row,
Main control unit 3 does not then adjust the running voltage of thermal head, while the heat time heating time of thermal printer 7 is TH1;
Main control unit 3 then starts to gather the temperature value T2 of current thermal head if current thermal printer is printed,
Main control unit 3 is contrasted current thermal head temperature T2 with the overtemperature protection temperature value TP of setting, if thermal head temperature T2 is high
In overtemperature protection temperature value TP, then main control unit 3 exports stopping heating signal to PLD 4 by I/O, while main
The control shut-off metal-oxide-semiconductor 9 of unit 3 arranges thermal head running voltage for 0.If thermal head temperature T2 is less than overtemperature protection temperature value TP,
Main control unit 3 is TH2 according to ambient temperature and thermal head temperature setting thermal printer heat time heating time, while main control unit 3 pairs 1
The data volume for heating is needed to be counted in row, the points N for if desired heating is protected more than the excessively stream arranged in the software of main control unit 3
During shield point N1, main control unit 3 drives metal-oxide-semiconductor to be adjusted thermal head running voltage by I/O mouths, and according to current thermal head
Running voltage and thermal head temperature determine TH3 heat time heating time of thermal printer 7.If needing data volume N for heating to be less than in 1 row
During over-current protection point N1, main control unit 3 does not then adjust the running voltage of thermal head, while the heat time heating time of thermal printer 7
TH2。
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
God and interior made any modification of principle, equivalent and improvement etc., should be included in the interior of protection scope of the present invention.
Claims (10)
1. a kind of device for automatically adjusting thermal printer heat time heating time, the device is arranged on thermal printer, and its feature exists
In, including:
Temperature collection unit, for carrying out Real-time Collection to ambient temperature ambient temperature information is obtained;
Main control unit, the main control unit is used to judge the current print state of printer, if printer is not currently in printing
State, then gather ambient temperature information corresponding with default ambient temperature and heat time heating time according to the temperature collection unit
Relation look-up table makes a look up, match and obtained for the first heat time heating time;And export first heat time heating time signal;
Points statistic unit is printed, for counting to printing points, the main control unit needs beating for heating to statistics
Print point value is judged.
2. the device of thermal printer heat time heating time is automatically adjusted as claimed in claim 1, it is characterised in that also include, heat
Quick head temperature collecting cell, for carrying out Real-time Collection to thermal head temperature thermal head temperature information is obtained;Main control unit judges
If printer is currently in print state, the thermal head that the main control unit is gathered according to the thermal head temperature collecting cell
Temperature information contrasted with default thermal head temperature predetermined threshold value, match and obtained for the second heat time heating time;And export second plus
Hot time signal.
3. the device of thermal printer heat time heating time is automatically adjusted as claimed in claim 1 or 2, it is characterised in that also included,
Thermal head VRM Voltage Regulator Module, for regulation and output to thermal printer thermal head running voltage;If it is little to print point value
Points threshold value is printed in default, is then kept thermal head running voltage constant and was exported for the 4th heat time heating time;If printing point value
Points threshold value is printed more than default, then adjusts the running voltage of thermal head, and be calculated according to the running voltage after adjustment
3rd heat time heating time.
4. the device of thermal printer heat time heating time is automatically adjusted as claimed in claim 3, it is characterised in that the described 4th adds
The hot time includes, if thermal printer is not at print state, this 4th heat time heating time was for the first heat time heating time;If temperature-sensitive
Printer is in print state, and thermal head temperature without departing from overtemperature protection temperature value, then now the 4th heat time heating time was second
Heat time heating time.
5. the device of thermal printer heat time heating time is automatically adjusted as claimed in claim 2, it is characterised in that described second adds
Hot time signal includes that the output when judging that thermal head temperature exceeds default overtemperature protection temperature value stops heating signal;When
Thermal head temperature without departing from during overtemperature protection temperature value output contrast, matching obtain second heat time heating time signal.
6. a kind of method for automatically adjusting thermal printer heat time heating time, it is characterised in that comprise the steps:
I. collection ambient temperature;
II. judge the current print state of printer;
If iii. printer is not currently in print state, during according to the ambient temperature with default ambient temperature and heating
Between corresponding relation look-up table make a look up, match and obtained for the first heat time heating time;And export first heat time heating time signal;
Iv. the printing points to needing heating carry out statistics and obtain printing point value, and the print point of the needs heating to statistics
Numerical value is judged.
7. the method for automatically adjusting thermal printer heat time heating time as claimed in claim 6, it is characterised in that the step
Iii also comprises the steps:
If A. printer is currently at print state, thermal head temperature is gathered;
B. thermal head temperature contrasted with built-in thermal head temperature predetermined threshold value, match and obtained for the second heat time heating time;And
Export second heat time heating time signal.
8. the method for automatically adjusting thermal printer heat time heating time as claimed in claims 6 or 7, it is characterised in that described
Also comprise the steps after step iii:
A. when the printing point value for if desired heating is less than default printing points threshold value, then former heat time heating time and thermal head are kept
Running voltage it is constant and export the 4th heat time heating time signal;
B. the printing point value for if desired heating more than print points threshold value when, then adjust thermal head running voltage, and according to
Present operating voltage was calculated for the 3rd heat time heating time, and exported the 3rd heating time signal.
9. the method for automatically adjusting thermal printer heat time heating time as claimed in claim 8, it is characterised in that the described 4th adds
The hot time includes, if thermal printer is not at print state, this 4th heat time heating time was for the first heat time heating time;If temperature-sensitive
Printer is in print state, and thermal head temperature without departing from overtemperature protection temperature value, then now the 4th heat time heating time was second
Heat time heating time.
10. the method for automatically adjusting thermal printer heat time heating time as claimed in claim 9, it is characterised in that described second
Heat time heating time, signal included, the output when judging that thermal head temperature exceeds default overtemperature protection temperature value stops heating signal;
When thermal head temperature is without departing from overtemperature protection temperature value output contrast, matching obtain second heat time heating time signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410699311.1A CN104494317B (en) | 2014-11-27 | 2014-11-27 | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410699311.1A CN104494317B (en) | 2014-11-27 | 2014-11-27 | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104494317A CN104494317A (en) | 2015-04-08 |
CN104494317B true CN104494317B (en) | 2017-05-03 |
Family
ID=52935808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410699311.1A Active CN104494317B (en) | 2014-11-27 | 2014-11-27 | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104494317B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104842668B (en) * | 2015-06-11 | 2017-03-01 | 上海威侃电子材料有限公司 | A kind of print system control method |
CN105082795B (en) * | 2015-08-24 | 2018-08-21 | 福建联迪商用设备有限公司 | Print control program, system and the electronic payment terminal of thermal printer |
CN106864041B (en) * | 2016-12-28 | 2019-06-11 | 虎丘影像(苏州)有限公司 | A kind of temperature control system and method for image printer |
CN107244146B (en) * | 2017-05-31 | 2018-08-24 | 青岛海信智能商用系统股份有限公司 | Thermal printing head temperature-control circuit and thermal printer |
CN109016890B (en) * | 2017-06-09 | 2020-08-07 | 深圳九磊科技有限公司 | Memory, thermal printer and printing control method thereof |
CN107878059B (en) * | 2017-09-22 | 2020-01-31 | 福建联迪商用设备有限公司 | Efficient printing method and storage medium |
CN111332028B (en) * | 2020-03-18 | 2021-07-06 | 厦门汉印电子技术有限公司 | Heating point detection circuit and method of printing head and printer |
CN111483249B (en) * | 2020-05-12 | 2022-02-22 | 深圳市凯沃尔电子有限公司 | Method for heating thermosensitive point according to temperature interval range |
CN111483246B (en) * | 2020-05-12 | 2022-04-08 | 深圳市凯沃尔电子有限公司 | Method for heating thermosensitive point according to temperature interval range and content ratio |
CN111483248B (en) * | 2020-05-12 | 2021-12-28 | 深圳市凯沃尔电子有限公司 | Method for heating thermosensitive point according to temperature interval range and paper feeding speed |
CN111483247B (en) * | 2020-05-12 | 2022-04-08 | 深圳市凯沃尔电子有限公司 | Method for heating thermosensitive point |
CN111873638B (en) * | 2020-06-29 | 2022-07-12 | 厦门汉印电子技术有限公司 | Printing head temperature compensation method and device, printer and storage medium |
CN111959138B (en) * | 2020-08-28 | 2022-07-01 | 深圳市新国都支付技术有限公司 | Printing system and printing method |
CN115071282B (en) * | 2022-07-21 | 2023-02-24 | 上海商米科技集团股份有限公司 | Motor speed control method and device of printer and printer |
CN117021797B (en) * | 2023-10-10 | 2023-12-22 | 珠海趣印科技有限公司 | Thermal printer control method and device, printer and storage medium |
CN117734321B (en) * | 2024-02-21 | 2024-04-30 | 前海联大(深圳)技术有限公司 | Heating control method, device and system of thermal printer |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000218844A (en) * | 1999-02-01 | 2000-08-08 | Star Micronics Co Ltd | Method for controlling temperature of thermal head and thermal processing apparatus |
US7295224B2 (en) * | 2001-08-22 | 2007-11-13 | Polaroid Corporation | Thermal response correction system |
CN1644384A (en) * | 2004-11-05 | 2005-07-27 | 季节 | Heating time controlling method and controller for thermal sensitive printer head |
JP4569600B2 (en) * | 2007-05-15 | 2010-10-27 | 船井電機株式会社 | Image forming apparatus |
US8077192B2 (en) * | 2008-01-07 | 2011-12-13 | Zink Imaging, Inc. | Platen temperature model |
CN101596811A (en) * | 2008-06-03 | 2009-12-09 | 韩燕� | A kind of energy-storing USB thermal sensitive printer |
JP5787541B2 (en) * | 2011-02-10 | 2015-09-30 | キヤノン株式会社 | Printing apparatus, control method thereof, and control program |
CN102649369B (en) * | 2012-05-02 | 2014-07-02 | 青岛海信智能商用系统有限公司 | Portable thermal printer power supply circuit and method |
CN103112254B (en) * | 2013-02-01 | 2015-09-09 | 深圳市理邦精密仪器股份有限公司 | Thermal head heat regulation device, method and thermal printer |
-
2014
- 2014-11-27 CN CN201410699311.1A patent/CN104494317B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104494317A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104494317B (en) | Apparatus and method for automatically adjusting heating time of thermo-sensitive printer | |
CN103112254B (en) | Thermal head heat regulation device, method and thermal printer | |
US7150891B2 (en) | Method for conducting a cooking process with a cooking process probe | |
CN107244146B (en) | Thermal printing head temperature-control circuit and thermal printer | |
WO2005121823A1 (en) | Method for diagnosing status of burn-in apparatus | |
CN106644170B (en) | A kind of thermal resistance trouble-shooter and method | |
US9519017B2 (en) | Circuit integrity detection system for detecting the integrity of a sensing wire in electrically heated textiles | |
CA2390660C (en) | Control system for an automatic clothes dryer | |
WO2015067088A1 (en) | Battery temperature detection apparatus for terminal, terminal, and over-temperature protection method | |
CN108457888A (en) | A kind of server fan fault detection method, apparatus and system | |
CN109209962B (en) | Fan detection chip, fan detection method and fan detection system | |
US9885600B2 (en) | Method and device for diagnosing an auxiliary heating function of an air mass sensor | |
CN107543318A (en) | A kind of heater and its control method | |
CN206371954U (en) | A kind of multi-functional food processor | |
CN108767923A (en) | Terminal and circuit control method | |
CN112303925A (en) | Detection system for detecting zero cold water performance of water heater and control method | |
CN205594482U (en) | Grain drying machine controlling means | |
CN206049016U (en) | UV lamp case early warning protector and shutter UV lamp case | |
CN107035706B (en) | A kind of intelligent fan | |
JP2000184581A (en) | Electronic device and power supply | |
CN107677708A (en) | The method for automatically adjusting gas sensory sensor preheating time | |
CN209088897U (en) | A kind of power amplifier thermal protection circuit | |
CN207408013U (en) | A kind of thermoprobe, power supply connector and electrical heating utensil | |
CN206257036U (en) | The integrated data monitoring assembly of air compressor machine | |
CN208421660U (en) | Temperature monitoring circuit for host computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |