Real-time thermal printing apparatus
Technical field
The present invention relates to thermal printing field, particularly, relate to a kind of thermal printing apparatus in real time.
Background technology
Traditional mechanical impact printer volume is large, print speed is slow, noise is large, has exited the stage of printer gradually.Although popular ink-jet, laser printer noise slightly reduce, volume possesses more greatly and not the function of real time print, is difficult to meet some testers as moisture recorder, the demand of Medical Instruments etc.
The principle of thermal printer is, on light color material, (normally paper) is covered with layer of transparent film, becomes dark (be generally black, also have blueness) after film being heated a period of time.Image is by heating, produces chemical reaction and generate in film.This chemical reaction carries out at a certain temperature.High temperature can accelerate this chemical reaction.When temperature is lower than 60 DEG C, film needs through quite long, and the time even reaching several years just can become dark; And when temperature is 200 DEG C, this reflection can complete in a few microsecond.
Thermal printer heats selectively on heat-sensitive paper really allocation, just creates corresponding figure thus.Heating is provided by the little electronic heater of on the printhead contacted with thermo-sensitive material.The form of the heater side's of lining up point or bar carries out logic control by printer, when activated, and the figure that just generation one is corresponding to heated elements on heat-sensitive paper.Control the same logic circuit of heated elements, also control paper feed simultaneously, thus can print off figure on whole label or paper.Heat-sensitive paper constitutes a two-dimentional square formation by thermographic little one by one point, and heat-sensitive paper heats by thermal head the object that corresponding row pixel reaches imaging according to certain sequential under the drive of stepper motor.
The resolution ratio of heat-sensitive paper is very high, and the resolution ratio of conventional heat-sensitive paper is every millimeter of 8 points, and therefore subsidiary factory is suitable for showing and printing fine and smooth Wave data, is widely used in industrial data and traces, the occasions such as record.In addition, thermal printer also has the advantages such as print speed is fast, noise is low, reliability is high, writing is clear, type is small and light, can meet the printing requirement of this occasion, therefore widely uses in fields such as instrument of surveying and mapping, POS consumption terminals
Existing USB technical support bulk transfer and real-time Transmission two kinds of patterns, bulk transfer mode realizes easily, and transmission speed is large, and be widely used in life, common equipment is USB laser printer, scanner etc.But this kind equipment is difficult to the competent occasion high to requirement of real-time, and such as real-time waveform is traced.The real-time Transmission pattern of USB is this type of application design just, and be generally used for equipment for customizing, this kind equipment generally pursues high real-time performance.USB real-time Transmission pattern is divided into again low speed/Full-Speed mode and fast mode, maximum 64 byte every millisecond of transmission speed under low speed/Full-Speed mode, and can reach every 1/8 millisecond of 1024 bytes in high speed mode.Be very suitable for requiring high occasion to real-time performance.Invention 200810166228.2 discloses a kind of energy-storing USB thermal sensitive printer, this invention achieves a kind of thermal printer of USB interface, this USB interface is also powered to printer while providing communication function, in order to solve the problem of USB interface maximum power supply 2.5W deficiency, this invention utilizes USB to capacitance energy storage, is powered to thermal printing head by electric capacity.But the power supply of USB is limited after all, the method can only be used for undersized printer, can not be sent out application by wide.
Summary of the invention
The object of the invention is to, for the problems referred to above, propose a kind of thermal printing apparatus in real time, while utilizing the real-time of USB interface, can be implemented as thermal printing head and sufficient power supply is provided.
For achieving the above object, the technical solution used in the present invention is:
A kind of thermal printing apparatus in real time, comprise printer power source special module, thermal printing head driver module, thermal printing head, stepper motor driver module, stepper motor, microcontroller, sensor driver module, sensor, usb circuit, memory and printer logic power module, described printer power source special module is thermal printing head driver module, thermal printing head and stepper motor driver module provide power supply, described printer logic power module is microcontroller, sensor driver module, sensor, usb circuit and memory provide power supply, described thermal printing head driver module drives thermal printing head work, described stepper motor driver module drives stepper motor running, described thermal printing head driver module, thermal printing head, stepper motor driver module, sensor driver module, sensor, usb circuit and memory are all electrically connected on a microcontroller.
Further, described printer power source special module adopts high power power module.
Further, described printer logic power module adopts lower wattage power supply module.
Further, described controller adopts ARM Cotex-M3 chip.
Further, described stepper motor driver module adopts A3967SLB-T driving chip.
Technical scheme of the present invention provides power supply by the modules arranging printer power source special module and printer logic power module and be respectively in device, thus for thermal printing head provides sufficient power supply while guarantee and usb circuit real-time working.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from description, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write description, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for description, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the system block diagram of the real-time thermal printing apparatus described in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
A kind of thermal printing apparatus in real time as shown in Figure 1, comprise printer power source special module 1, thermal printing head driver module 4, thermal printing head 3, stepper motor driver module 5, stepper motor 6, microcontroller 1, sensor driver module 9, sensor 8, usb circuit 10, memory 11 and printer logic power module 2, printer power source special module 1 is thermal printing head driver module 4, thermal printing head 3 and stepper motor driver module 5 provide power supply, described printer logic power module 2 is microcontroller 7, sensor driver module 9, sensor 8, usb circuit 10 and memory 11 provide power supply, thermal printing head driver module 4 drives thermal printing head 3 to work, stepper motor driver module 5 drives stepper motor 6 to operate thermal printing head driver module 4, thermal printing head 3, stepper motor driver module 5, sensor driver module 9, sensor 8, usb circuit 10 and memory 11 are all connected on microcontroller 7 by wire.
Wherein, printer power source special module adopts high power power module.Printer logic power module adopts lower wattage power supply module.Controller adopts ARM Cotex-M3 chip.Stepper motor driver module adopts A3967SLB-T driving chip.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.