CN204641086U - A kind of printer control device based on grating encoder and FPGA - Google Patents

A kind of printer control device based on grating encoder and FPGA Download PDF

Info

Publication number
CN204641086U
CN204641086U CN201520294271.2U CN201520294271U CN204641086U CN 204641086 U CN204641086 U CN 204641086U CN 201520294271 U CN201520294271 U CN 201520294271U CN 204641086 U CN204641086 U CN 204641086U
Authority
CN
China
Prior art keywords
grating
printer control
grating encoder
car
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
Application number
CN201520294271.2U
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.)
FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd
Original Assignee
FUJIAN SHIDA COMPUTER EQUIPMENT 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 FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd filed Critical FUJIAN SHIDA COMPUTER EQUIPMENT Co Ltd
Priority to CN201520294271.2U priority Critical patent/CN204641086U/en
Application granted granted Critical
Publication of CN204641086U publication Critical patent/CN204641086U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of printer control device based on grating encoder and FPGA, comprise a printer control unit, word mechanism of car, paper advance mechanism and printhead, described word mechanism of car is along printer engine transverse shifting, described printhead is fixedly connected with word mechanism of car, and described printhead, word mechanism of car and paper advance mechanism are electrically connected with described printer control unit through one drive circuit; Also comprise a grating encoder, the grating scale of described grating encoder is arranged along movement length direction, and described word mechanism of car is fixed on through an installing rack on the read head of described grating encoder; Described grating scale is parallel with described movement, and the output of described grating encoder is electrically connected with described printer control unit through a FPGA module.The beneficial effects of the utility model are: not only can improve printing precision, can carry out printing simultaneously and report an error, and adjustment in time prints the mistake that step-out causes.

Description

A kind of printer control device based on grating encoder and FPGA
Technical field
The utility model relates to printer field, particularly relates to a kind of printer control device based on grating encoder and FPGA.
Background technology
Printer is a kind of typical electromechanical integrated product, and printer completes the printing of word and figure by the common cooperation of mechanical part, electronic unit and corresponding software.Interface is parts important in printer equally, comprises the interface of printer and computer, also comprises interface between mechanical part and automatically controlled part and mechanically operated interface.Modern printer adopts the printing type of dot matrix, both also can print picture by printable character.Impact printer is mainly made up of printhead, word mechanism of car, ribbon unit, paper feed mechanism and control circuit, the control that printhead, paper feed and word garage are walked is comprised, the relation between the printing character library stored in the ROM memory in control circuit is used for controlling being moved by printable character and print needle in control circuit.The effect of word car drives printhead, being moved left and right and drive printhead laterally to move left and right, when clashing into colour band by printhead after arrival assigned address, character being printed off in the relevant position of printing paper by it.
Impact printer relies on not disturbing by foreign object of the high accuracy of word mechanism of car transmission, lasting uniformity, motion process, and once make a fault, will cause the situation that system is out of control.Such as, there is barrier in motion path, it stops or affects the motion of mobile vehicle, and the error etc. of word mechanism of car transmission, causes mobile vehicle cannot arrive by logic control signal the print position preset, or the logic location of current print position is inconsistent with physical location, result is that printing is incorrect, such as, print coincidence, print dislocation etc., for valuable bills, this can cause the generation of invalidated ticket, brings great loss.
Summary of the invention
The purpose of this utility model is for above weak point, provides a kind of printer control device based on grating encoder and FPGA, improves the precision of printer location.
The scheme that the utility model technical solution problem adopts is: a kind of printer control device based on grating encoder and FPGA, comprise a printer control unit, word mechanism of car, paper advance mechanism and printhead, described word mechanism of car is along printer engine transverse shifting, described printhead is fixedly connected with word mechanism of car, and described printhead, word mechanism of car and paper advance mechanism are electrically connected with described printer control unit through one drive circuit; Also comprise a grating encoder, the grating scale of described grating encoder is arranged along movement length direction, and described word mechanism of car is fixed on through an installing rack on the read head of described grating encoder; Described grating scale is parallel with described movement, and the output of described grating encoder is electrically connected with described printer control unit through a FPGA module.
Further, grating scale one end one locating hole of described grating encoder is fixed on the right plate of printer, and the other end is fixed on the left plate of printer through an elastic locking mechanism.
Further, described locating hole is fixed on the right side of the Article 1 grating of described grating scale.
Further, described grating encoder is electrically connected with described FPGA module after a Schmidt trigger shaping.
Further, also comprise one for driving the power module of print job, described power module is electrically connected with described printer control unit and grating encoder.
Compared with prior art, the utility model has following beneficial effect: the displacement of measuring word mechanism of car transverse shifting according to described grating encoding, by the position of grating encoder output word mechanism of car, judge that whether word truck position is accurate according to FPGA module, the positional information of word car is sent it back printer control unit simultaneously, control printhead through printer control unit and enter the arena.The printer control device that the utility model provides, realizes the position of location word mechanism of car.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the utility model patent is further illustrated.
Fig. 1 is the grating encoder mounting structure schematic diagram of the utility model embodiment;
Fig. 2 is the electrical block diagram of the printer control method of the utility model embodiment.
In figure: the grating scale of 1-grating encoder; The read head of 2-grating encoder; 3-word mechanism of car; 4-Article 1 grating; 5-locating hole; 6-elastic locking mechanism; 7-printer right plate; 8-printer left plate.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the utility model is further illustrated.
As shown in Fig. 1 ~ 2, a kind of printer control device based on grating encoder and FPGA, comprise a printer control unit, word mechanism of car 3, paper advance mechanism and printhead, described word mechanism of car 3 is along printer engine transverse shifting, described printhead is fixedly connected with word mechanism of car 3, and described printhead, word mechanism of car 3 and paper advance mechanism are electrically connected with described printer control unit through one drive circuit; Also comprise a grating encoder, the grating scale 1 of described grating encoder is arranged along movement length direction, and described word mechanism of car 3 is fixed on the read head 2 of described grating encoder through an installing rack; The grating scale 2 of described grating encoder is parallel with described movement, and the output of described grating encoder is connected to a FPGA module, and described FPGA module is electrically connected with described printer control unit.
From the foregoing, the beneficial effects of the utility model are: the displacement of measuring word mechanism of car transverse shifting according to described grating encoding, by the position of grating encoder output word mechanism of car 3, judge that whether accurately or word car whether step-out word truck position according to FPGA module, if there is step-out, report an error, carry out the reset of word car, word car comes back to print position after resetting and has continued print out task simultaneously.The printer control device that the utility model provides, not only can improve printing precision, can carry out printing simultaneously and report an error, and adjustment in time prints the mistake that step-out causes.
The printer control device based on grating encoder and FPGA that the utility model provides, described printer control unit is by the motion of drive circuit control word car, the motion of word car produces grating signal and inputs to FPGA module, printer control unit is exported to again after FPGA module process, printer control unit is positioned by the signal exported FPGA module, drives printhead to go out pin.
In the present embodiment, grating scale 2 one end one locating hole 5 of described grating encoder is fixed on the right plate 7 of printer, and the other end is fixed on the left plate 8 of printer through an elastic locking mechanism 6.Described elastic locking mechanism is that elastic washer fitted bolt is locked.
In the present embodiment, described locating hole 5 is fixed on the right side of the Article 1 grating 4 of the grating scale 1 of described grating encoder, and grating scale one end of grating encoder is set to circular hole, is positioned by locating hole and circular hole, ensure the original position printed, and using Article 1 grating 4 as printing initial position.In addition, the grating of the grating scale of grating encoder is made up of the antistatic film material film, and gratings strips part and the adjacent non-grating part of location grating are wide.
In the present embodiment, described grating encoder is electrically connected with described FPGA module after a Schmidt trigger shaping.
In the present embodiment, also comprise a power module, described power module is electrically connected with described printer control unit and grating encoder.
In sum, the printer control device that the utility model provides, realizes the accurate location of word mechanism of car.
The above-listed preferred embodiment that the utility model provides; the purpose of this utility model, technical scheme and advantage are further described; be understood that; the foregoing is only preferred embodiment of the present utility model; not in order to limit the utility model; all within spirit of the present utility model and principle, any amendment done, equivalent replacement, improvement etc., all should be included within protection domain of the present utility model.

Claims (5)

1. the printer control device based on grating encoder and FPGA, comprise a printer control unit, word mechanism of car, paper advance mechanism and printhead, described word mechanism of car is along printer engine transverse shifting, described printhead is fixedly connected with word mechanism of car, and described printhead, word mechanism of car and paper advance mechanism are electrically connected with described printer control unit through one drive circuit; It is characterized in that: also comprise a grating encoder, the grating scale of described grating encoder is arranged along movement length direction, and described word mechanism of car is fixed on through an installing rack on the read head of described grating encoder; Described grating scale is parallel with described movement, and the output of described grating encoder is electrically connected with described printer control unit through a FPGA module.
2. a kind of printer control device based on grating encoder and FPGA according to claim 1, it is characterized in that: grating scale one end one locating hole of described grating encoder is fixed on the right plate of printer, and the other end is fixed on the left plate of printer through an elastic locking mechanism.
3. a kind of printer control device based on grating encoder and FPGA according to claim 2, is characterized in that: described locating hole is fixed on the right side of the Article 1 grating of described grating scale.
4. a kind of printer control device based on grating encoder and FPGA according to claim 1, is characterized in that: described grating encoder is electrically connected with described FPGA module after a Schmidt trigger shaping.
5. a kind of printer control device based on grating encoder and FPGA according to claim 1, it is characterized in that: also comprise one for driving the power module of print job, described power module is electrically connected with described printer control unit and grating encoder.
CN201520294271.2U 2015-05-09 2015-05-09 A kind of printer control device based on grating encoder and FPGA Active CN204641086U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520294271.2U CN204641086U (en) 2015-05-09 2015-05-09 A kind of printer control device based on grating encoder and FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520294271.2U CN204641086U (en) 2015-05-09 2015-05-09 A kind of printer control device based on grating encoder and FPGA

Publications (1)

Publication Number Publication Date
CN204641086U true CN204641086U (en) 2015-09-16

Family

ID=54093861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520294271.2U Active CN204641086U (en) 2015-05-09 2015-05-09 A kind of printer control device based on grating encoder and FPGA

Country Status (1)

Country Link
CN (1) CN204641086U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104802526A (en) * 2015-05-09 2015-07-29 福建实达电脑设备有限公司 Printer control device and printer control method based on grating encoder and FPGA (field programmable gate array)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104802526A (en) * 2015-05-09 2015-07-29 福建实达电脑设备有限公司 Printer control device and printer control method based on grating encoder and FPGA (field programmable gate array)

Similar Documents

Publication Publication Date Title
CN104802526A (en) Printer control device and printer control method based on grating encoder and FPGA (field programmable gate array)
CN201257804Y (en) Printer with recognition function
CN204641086U (en) A kind of printer control device based on grating encoder and FPGA
CN108698422B (en) Method and device for marking electrical components
CN111037092B (en) Code printing equipment
GB1562150A (en) Printer-plotter system for multi-directional printing and plotting
CN113176866B (en) Method, device, equipment and storage medium for processing data of ink-jet printer
CN204020261U (en) A kind of printer location structure based on grating and stepper motor
CA1078771A (en) Means and method for enhancing ribbon lift
CN104129169B (en) Anti-invalidated ticket printer, anti-invalidated ticket print system and method for operating thereof
JP2000238360A (en) Linear encoder strip supported and registered by pin in sequential printing type printer of scan model
JPH0242356B2 (en)
CN109085003A (en) A kind of complete machine Function Test Automation device
CN202582473U (en) Personal computer (PC) open type controller-based measurement system
US3749223A (en) Electronic tabulation control system for recorder
US3715978A (en) Printer hammer mechanism
CN104943416A (en) Trolley and trolley printing method
CN102896905B (en) Printer
CN103753973B (en) Determined distance adjustment device of printing head
US3889592A (en) Computer responsive supplemental printer
US3837462A (en) Printing ribbon indexing system
CN203651190U (en) Ink jet printer and nozzle positioning controller thereof
US2822752A (en) Differential type setting and resetting means
CN211968434U (en) 3D printer buffer stop
IE51401B1 (en) Matrix printer and magnetic head adjustment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant