[go: up one dir, main page]

CN104044355B - There is printing equipment and the control method thereof of RFID read-write function - Google Patents

There is printing equipment and the control method thereof of RFID read-write function Download PDF

Info

Publication number
CN104044355B
CN104044355B CN201310078671.5A CN201310078671A CN104044355B CN 104044355 B CN104044355 B CN 104044355B CN 201310078671 A CN201310078671 A CN 201310078671A CN 104044355 B CN104044355 B CN 104044355B
Authority
CN
China
Prior art keywords
rfid
read
medium
described rfid
write unit
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
CN201310078671.5A
Other languages
Chinese (zh)
Other versions
CN104044355A (en
Inventor
龙军帅
谷长刚
李雪静
王国凯
董述恂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong New Beiyang Information Technology Co Ltd
Original Assignee
Shandong New Beiyang Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong New Beiyang Information Technology Co Ltd filed Critical Shandong New Beiyang Information Technology Co Ltd
Priority to CN201310078671.5A priority Critical patent/CN104044355B/en
Priority to PCT/CN2014/072972 priority patent/WO2014139370A1/en
Publication of CN104044355A publication Critical patent/CN104044355A/en
Application granted granted Critical
Publication of CN104044355B publication Critical patent/CN104044355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • B41J3/50Mechanisms producing characters by printing and also producing a record by other means, e.g. printer combined with RFID writer

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

The invention discloses a kind of printing equipment with RFID read-write function and control method thereof.Printing equipment includes RFID read-write unit (17), and RFID read-write unit (17) for being written and read operation to RFID medium, and control method includes: obtains print data;Receive start print control command time, start print this print data and control RFID read-write unit (17) RFID medium is written and read operation.By the present invention, solve the problem that the printing equipment in prior art with RFID read-write function is low to the processing speed of RFID medium.

Description

There is printing equipment and the control method thereof of RFID read-write function
Technical field
The present invention relates to printing field and field of radio frequency identification, in particular to a kind of, there is RFID read-write function Printing equipment and control method thereof.
Background technology
Along with the promotion and application of technology of Internet of things, RF identification (Radio Frequency Identification, letter Claiming RFID) technology is the most extensively applied in every field.In RFID technique, by embedding to RFID antenna and RFID chip Enter in the medium such as label or card (hereinafter referred to as RFID medium), send rf data by RFID read-write device, make radio frequency Data store in RFID medium, or read rf data from RFID medium by RFID read-write device, thus realize RFID medium identifies automatically.But, for some RFID medium, such as train ticket, bus ticket, and paste the mark on commodity Sign, RFID chip storage rf data being not only internally embedded by it, in addition it is also necessary to RFID dielectric surface printable character, The visual information such as bar code, figure, so that card holder or commodity purchaser can understand what RFID medium was stored easily Information.
For meeting the demand, the Chinese patent of Application No. CN201010293411.6 discloses a kind of barcode RF mark Sign composite printing device, during printing equipment work, on label paper, first print bar code and other print datas, then by label Paper is transported to RFBD location, writes rf data by radio frequency module for reading and writing, rf data is stored label paper In RFID chip, thus complete the making of a barcode RF label.
Inventor finds, barcode RF label composite printing device of the prior art (hereinafter referred to as has RFID read-write The printing equipment of function), although use a printing equipment can complete RFID dielectric surface print visual information and to RFID media write enters the operation of rf data, but, owing to printing equipment completes to need after visual information prints driving RFID Medium gets to RFBD location to carry out rf data write after moving a segment distance, that is, visual information prints and Rf data write serial performs, and therefore, the printing equipment in prior art with RFID read-write function limits to a certain extent Make the processing speed of individual RFID medium, cause the processing speed of printing equipment to be difficult to the problem improved.
Summary of the invention
A kind of printing equipment with RFID read-write function of offer and control method thereof are provided, with Solution prior art has the problem that the printing equipment of RFID read-write function is low to the processing speed of RFID medium.
To achieve these goals, according to an aspect of the invention, it is provided a kind of there is beating of RFID read-write function The control method that printing equipment is put.Wherein, printing equipment includes RFID read-write unit, and RFID read-write unit is for carrying out RFID medium Read-write operation, the method includes: obtain print data;When receiving the control command starting printing, start and print this printing Data and control RFID read-write unit described RFID medium is written and read operation.
Further, control RFID read-write unit RFID medium is written and read operation to include: print receiving startup Control command time, control RFID read-write unit and RFID medium and carry out data interaction, and judge RFID read-write unit and RFID The data interaction of medium is the most successful;And if RFID read-write unit is successful with the data interaction of RFID medium, then control RFID read-write unit is written and read operation to RFID medium.
Further, control RFID read-write unit RFID medium is written and read operation to include: calculate RFID read-write unit Be written and read RFID medium operating required time and RFID medium can call duration time, wherein, RFID medium can call duration time During referring to carry RFID medium, RFID read-write unit and RFID medium can successfully carry out the time of data interaction;Judge Whether RFID read-write unit is written and read operating the required time to RFID medium can call duration time more than RFID medium;If RFID read-write unit be written and read RFID medium operating the required time more than RFID medium can call duration time, then adjust printing Speed, so that after adjusting print speed, RFID medium can be written and read by call duration time by RFID medium more than RFID read-write unit Time needed for operation;And control RFID read-write unit is written and read operation to RFID medium, and with the printing speed after adjusting Degree continues executing with printing.
Further, printing equipment also includes that printhead, RFID read-write unit include RFID antenna, RFID antenna relative to Symmetrical along the first centerline axis of medium conveying direction, and relative to along the second centerline axis pair being perpendicular to medium conveying direction Claiming, the first centrage overlaps with the width centreline of transfer passage, and the distance between the second centrage and top of form is L2, top of form is the print position of printhead, wherein: before starting print print data, the method also includes: defeated Send RFID medium to top of form, after adjustment print speed, print speed v ' meet: v ' < [f*(L+2*L2-2*L3)]/ (8*s), wherein, f is the communication speed between RFID read-write unit and RFID medium, and s is that RFID read-write unit is to RFID medium Being written and read the length of the rf data writing and/or reading during operation, L is the RFID medium length along medium conveying direction Degree, L3 is the distance between top of form and primary importance, and primary importance is RFID read-write unit with RFID medium first During data interaction success, along the position, forward position of medium conveying direction RFID medium, the unit of f is bps, the unit of s For byte, the unit of L, L2 and L3 is millimeter.
Further, after adjusting print speed, RFID can be situated between by call duration time by RFID medium much larger than RFID read-write unit Matter is written and read operating the required time.
Further, after adjusting print speed, RFID medium can call duration time be that RFID medium is entered by RFID read-write unit More than 3 times of time needed for row read-write operation.
To achieve these goals, according to a further aspect in the invention, it is provided that a kind of have beating of RFID read-write function Printing equipment is put.This printing equipment includes: entrance, is used for receiving RFID medium;Print unit, for performing to beat at RFID dielectric surface Print;RFID read-write unit, for being written and read operation to RFID medium;And control unit, it is used for obtaining print data, is connecing When receiving the control command starting printing, control print unit startup print print data and also control RFID read-write unit to RFID Medium is written and read operation.
Further, control unit is additionally operable to, when receiving the control command starting printing, control RFID read-write unit Carry out data interaction with RFID medium, and judge that RFID read-write unit is the most successful with the data interaction of RFID medium, Yi Ji When determining the data interaction success of RFID read-write unit and RFID medium, control RFID read-write unit and RFID medium is written and read Operation.
Further, control unit is additionally operable to calculate RFID read-write unit when being written and read operating required to RFID medium Between and RFID medium can call duration time;Judge that RFID read-write unit is written and read operating the required time to RFID medium the biggest Can call duration time in RFID medium;Judging that RFID read-write unit is written and read operating the required time and is more than RFID medium RFID medium can call duration time time, adjust print speed so that adjusting after print speed, RFID medium can be more than by call duration time RFID medium is written and read operating the required time by RFID read-write unit;And RFID medium is entered by control RFID read-write unit Row read-write operation, and continue executing with printing with the print speed after adjusting, wherein, RFID medium can refer to conveying by call duration time During RFID medium, RFID read-write unit and RFID medium can successfully carry out the time of data interaction.
Further, print unit also includes that printhead, RFID read-write unit include RFID antenna, RFID antenna relative to It is symmetrical along the first centerline axis of medium conveying direction, and relative to it along the second centrage being perpendicular to medium conveying direction Axial symmetry, and the first centrage overlaps with the width centreline of transfer passage, between the second centrage and top of form Distance be L2, top of form is the print position of printhead, and printing equipment also includes: driver element, is used for driving RFID medium moves in transfer passage, and wherein, before starting print print data, this drive unit drives RFID medium arrives Top of form, control unit is for controlling print speed v after adjusting ' meet: v ' < [f*(L+2*L2-2*L3)]/(8* S), wherein, f is the communication speed between RFID read-write unit and RFID medium, and s is that RFID read-write unit is to described RFID medium Being written and read the length of the rf data writing and/or reading during operation, L is the RFID medium length along medium conveying direction Degree, L3 is the distance between top of form and primary importance, and primary importance is RFID read-write unit with RFID medium first During data interaction success, along the position, forward position of medium conveying direction RFID medium, the unit of f is bps, the unit of s For byte, the unit of L, L2 and L3 is millimeter.
Further, after control unit is used for so that adjusting print speed, RFID medium can be much larger than first by call duration time The transmission time of rf data.
Further, after control unit is used for so that adjusting print speed, RFID medium can call duration time be RFID read-write Unit is written and read operating more than 3 times of the required time to RFID medium.
By the present invention, owing to when receiving the control command starting printing, i.e. starting and print and control RFID read-write Unit is written and read operation to RFID medium, carries out as a result, it is possible to achieve print with rf data read-write, it is not necessary to wait and beating simultaneously Print performs the read-write of rf data again after terminating, solve and have the printing equipment of RFID read-write function in prior art to RFID The problem that the processing speed of medium is low.
Accompanying drawing explanation
The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, and the present invention's is schematic real Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the module composition schematic diagram of printing equipment according to a first embodiment of the present invention;
Fig. 2 is the schematic diagram of RFID medium according to a first embodiment of the present invention;
Fig. 3 is the structure composition schematic diagram of printing equipment according to a first embodiment of the present invention;
Fig. 4 is the distribution signal in transfer passage of the RFID antenna of RFID read-write unit according to an embodiment of the invention Figure;
Fig. 5 is the flow chart of the control method of printing equipment according to a first embodiment of the present invention;
Fig. 6 is the flow chart of the control method of printing equipment according to a second embodiment of the present invention;
Fig. 7 is the flow chart of the control method of printing equipment according to a third embodiment of the present invention;And
When Fig. 8 a to Fig. 8 c is that RFID medium moves in the transfer passage of printing equipment according to an embodiment of the invention The schematic diagram of its change in location.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 is the module composition schematic diagram of printing equipment according to a first embodiment of the present invention.As it is shown in figure 1, print dress Put 100 and include that control unit 11, communication unit 12, nonvolatile memory (in the present invention implements, with flash storage are Example is described) 13, RAM memory 14, print unit 15, driver element 16, RFID read-write unit 17, and sensor unit 18。
Wherein, control unit 11, it is used for controlling each module execution work, such as, communication unit 12 is connect by control unit 11 The print data received processes, and generates the dot array data of the printhead of print unit 15 to be sent to, and control unit 11 controls Print unit 15 performs visual information and prints, and control unit 11 controls driver element 16 and drives RFID medium to move in transfer passage Dynamic, control unit 11 controls RFID read-write unit 17 and RFID medium is carried out rf data read-write operation etc..
Communication unit 12, hands over for performing the data between printing equipment 100 and the main frame being connected with printing equipment 100 Mutually, including Receiving Host send data, to main frame return data.Wherein, the data that main frame sends include control command, printing Data and rf data etc., control command is used for distinguishing print data, rf data, and for character to be printed, Bar code, figure etc. are configured, and such as arrange character to be printed, bar code, the print position of figure, width, height etc.;Print Data are included in the dot array data of figure, the heuristicimal code of character or the coding etc. of bar code that RFID dielectric surface prints;Penetrate Frequency is according to referring to the data in RFID medium to be written to, and RFID medium to be sent to also stores the number in RFID medium According to, these data are for representing the relevant information of ticket, commodity etc., and such as, rf data is for representing the amount of money of ticket, initiateing Ground, destination, the time of departure etc., or for representing the title of commodity, the amount of money, date of manufacture etc..
Flash storage 13, for storing the control program of printing equipment 100, font file, and storage control program Preset parameter required in running, such as, arrives for the detection position of the alignment sensor of storage sensor unit 18 Distance L1 of print position (hereinafter referred to as top of form) of the printhead of print unit 15, top of form to RFID Distance L2 of the centrage of the RFID antenna of read-write cell 17, and determine whether that RFID dielectric overlay is in sensing for storage Predetermined threshold value etc. on the sensor of device unit 18.
RAM memory 14, including receiving relief area 141, print buffer 142 and radio frequency buffering district 143.Wherein, connect Receiving relief area 141 to be used for storing the data that communication unit 12 receives, these data include control command, print data, rf data Deng;Print buffer 142 is for storing the dot array data of the printhead of print unit 15 to be sent to, and dot array data is single for controlling Unit 11 processes generated data, such as, according to the 16 of character to receiving the print data stored in relief area 141 Ary codes searches font file, obtains the dot array data corresponding with this character, or the volume according to bar code from font file Code carries out calculation process and generates dot array data;The radio frequency buffering district 143 rf data in storage RFID medium to be written to, This rf data is to be obtained from receiving relief area 141 in the data stored according to control command by control unit 11.
Print unit 15, for printing visual information at RFID dielectric surface.Print unit 15 includes print head controller 151 and printhead 152, wherein, print head controller 151 is for the control signal output printhead according to control unit 11 output The driving signal of 152;Printhead 152 is visual according to this driving signal printable character, bar code and figure etc. on RFID medium Information.
Driver element 16, is used for driving RFID medium to move in transfer passage.Driver element 16 includes motor driver 161 and motor 162, wherein, motor driver 161 is for the control signal output motor 162 according to control unit 11 output Electric current required for output shaft rotation;The output shaft of motor 162 and the rubber roll transmission of setting in the transfer passage of printing equipment 100 Connect, when the output shaft rotation of motor 162, rubber roll concomitant rotation, thus drive RFID medium to move in transfer passage.
RFID read-write unit 17, for RFID being written and read operation, including to RFID medium send rf data and Rf data is read from RFID medium.RFID read-write unit includes RFID antenna 171 and RFID controller 172, wherein, RFID days Line 171, for by the change of self electric current, produces the electromagnetic wave signal of characteristic frequency, or for according to the electromagnetism received Ripple signal, makes the electric current of self produce change;RFID controller 172 electrically connects with control unit 11, for to be sent to The rf data of RFID medium encodes, and changes according to the electric current in this coding-control RFID antenna 171, thus produces The electromagnetic wave signal of raw characteristic frequency, by launch this electromagnetic wave signal make printing equipment 100 by RFID read-write unit 17 to RFID medium sends rf data, and meanwhile, RFID controller 172 is additionally operable to the electromagnetic wave signal receiving RFID antenna 171 It is decoded, and the rf data generated after decoding is sent to control unit 11, so that printing equipment 100 is read by RFID R/w cell 17 reads rf data from RFID medium.
Sensor unit 18, for detecting RFID medium position in transfer passage.Sensor unit 18 includes into paper Sensor 181 and alignment sensor 182, wherein, enter paper sensor 181 for detecting whether there is RFID medium to be fed to conveying The entry position of passage;Alignment sensor 182 is for detecting whether the forward position along medium conveying direction RFID medium arrives location The detection position of sensor 182.Enter paper sensor 181 and alignment sensor 182 can be photoelectricity transmission sensor or photoelectricity anti- Penetrating sensor, it includes optical generator and optical receiver (not marking in figure), and optical receiver receives the light of optical generator generation also Being translated into the signal of telecommunication, control unit 11 reads the magnitude of voltage of optical receiver, and is compared with predetermined threshold value by this magnitude of voltage Relatively, RFID dielectric overlay can be determined whether on a sensor by the magnitude relationship both judging, thus judge that RFID is situated between Whether matter arrives the detection position of sensor.
In the printing equipment of the present embodiment, after control unit 11 obtains print data, start printing receiving During control command, i.e. control print unit 15 and start the printing to print data and control RFID read-write unit 17 to RFID medium It is written and read operation.Carry out as a result, it is possible to achieve print with rf data read-write, it is not necessary to perform again after waiting end to be printed simultaneously The read-write of rf data.
Fig. 2 is the schematic diagram of RFID medium according to a first embodiment of the present invention.As it can be seen, RFID is situated between in the present embodiment Matter is a kind of rfid card sheet 200, in rfid card sheet 200, is embedded with RFID antenna 21 and RFID chip 22, and RFID antenna 21 is used for Receive the electromagnetic wave signal launched by the RFID antenna 171 of the RFID read-write unit 17 of printing equipment 100, and produce by self The outside electromagnetic signals of energy that obtained of faradic current;RFID chip 22 is for electricity RFID antenna 21 received Magnetostatic wave signal is decoded as rf data, and stores this rf data, and when the rf data that rfid card sheet 200 receives wraps When containing the order reading rf data, RFID chip 22 controls RFID antenna 21 and launches corresponding electromagnetic wave signal to realize RFID Medium sends rf data to RFID read-write unit 17.It addition, RFID chip 22 also stores have rfid card sheet 200 No. ID, No. ID of rfid card sheet 200 is distributed by its production firm, has uniqueness.
As in figure 2 it is shown, when rfid card sheet 200 is admitted to the transfer passage of printing equipment 100, rfid card sheet 200 is along arrow Direction shown in head A carries in transfer passage, and RFID antenna 21 is embedded in rfid card sheet 200, and RFID antenna 21 is the most relative In it along centrage 23 axial symmetry of medium conveying direction, but also relative to it along the centrage being perpendicular to medium conveying direction 24 axial symmetry, and RFID antenna 21 covers most of area of rfid card sheet 200, and therefore, rfid card sheet 200 is printing dress Put time the transfer passage of 100 moves, when the RFID antenna 171 of the RFID read-write unit 17 of printing equipment 100 launches electromagnetic wave When signal generation are radiated the electromagnetic field of certain area, as long as the subregion of rfid card sheet 200 enters into this electromagnetic field Overlay area (the hereinafter referred to as working region of RFID read-write unit), the RFID antenna 21 of rfid card sheet 200 just can receive by The electromagnetic wave signal that the RFID antenna 171 of RFID read-write unit 17 is launched, when RFID antenna 21 receives sufficiently strong electromagnetism During ripple signal, the rf data obtained after RFID chip 22 decoding and the RFID read-write unit 17 of printing equipment 100 are sent Rf data is consistent, and the RFID antenna 21 of rfid card sheet 200 can obtain the electromagnetic energy with sufficient intensity, thus to The sufficiently strong electromagnetic wave signal of emission is to realize sending rf data to RFID read-write unit 17.
Fig. 3 is the structure composition schematic diagram of printing equipment according to a first embodiment of the present invention.As it can be seen, RFID medium It is admitted to direction shown in transfer passage 32 tailing edge arrow B by the entrance 31 of printing equipment 100 carry in transfer passage 32, defeated Sending and be provided with into paper sensor 181 at the entrance 31 of passage 32, in transfer passage 32, the conveying direction along medium sets gradually Having alignment sensor 182, print unit 15 and RFID read-write unit 17, print unit 15 can be thermal printer unit, it is possible to To be the print units such as pin type, ink-jet, laser.In the present embodiment, print unit 15 is thermal printer unit, including be oppositely arranged Printhead 152 and rubber roll 33, during printing, RFID medium passes from therebetween;RFID read-write unit 17 is positioned at print unit 15 Downstream.
Fig. 4 is the RFID antenna 171 of RFID read-write unit 17 distribution schematic diagram in transfer passage 32, as it can be seen, RFID antenna 171 not only with respect to it along the first centrage 41 axial symmetry of medium conveying direction, but also relative to it along hanging down Straight in the second centrage 42 axial symmetry of medium conveying direction, and the first centrage 41 and transfer passage of RFID antenna 171 The width centreline of 32 overlaps, and the second centrage 42 of RFID antenna 171 (i.e. prints initial with the print position of printhead 152 Position) distance between 43 is L2.
The embodiment of the present invention additionally provides the control method of a kind of printing equipment with RFID read-write function, below to this The control method of the printing equipment with RFID read-write function that inventive embodiments provides is introduced, it should be noted that The embodiment of the present invention provide control method in, the object of control can be the embodiment of the present invention provide any one have The printing equipment of RFID read-write function, equally, the printing equipment with RFID read-write function that the embodiment of the present invention provides also may be used The control method provided for the embodiment of the present invention.
Fig. 5 is the flow chart of the control method of printing equipment according to a first embodiment of the present invention.As it is shown in figure 5, the party Method comprises the following steps:
Step S101, obtains print data
Such as, control unit receives the data sent by main frame via communication unit, and these data include print data and control System order, further, these data also include for being written to the rf data in RFID medium.
Step S102, when receiving the control command starting printing, starts print print data and also controls RFID read-write Unit 17 is written and read operation to RFID medium
When receiving the control command starting printing, start the printing to print data, and control RFID read-write simultaneously Unit 17 RFID medium is written and read operation, it is, using the reception of control command as RFID read-write unit 17 to RFID Medium is written and read the trigger condition of operation.
It can be to send rf data to RFID medium to realize RFID medium that RFID medium is written and read operation Rf data write, it is also possible to be read in RFID medium stored written into rf data.
Fig. 6 is the flow chart of the control method of printing equipment according to a second embodiment of the present invention.This embodiment can be made For a kind of preferred implementation of embodiment illustrated in fig. 5, as shown in Figure 6, the method comprises the following steps:
Step S201, resolves the data sent by main frame
Control unit resolves the data sent by main frame that communication unit receives, by the data separation that sent by main frame for beat Printing evidence, control command, and when the packet that main frame sends is containing rf data, obtain rf data.Such as, control unit The data sent by main frame that communication unit receives are stored in the reception relief area of RAM memory, and slow to receiving successively The data rushing in district storage resolve, and obtain control command, and distinguish print data according to control command, control unit to by The print data that reception relief area is obtained carries out processing the dot array data of generation printhead to be sent to and (also referred to as prints number According to), and dot array data is stored in print buffer, meanwhile, when the packet that main frame sends is containing rf data, control single Rf data is distinguished according to control command by unit, and will be sequentially stored in radio frequency and delay from receiving rf data acquired in relief area Rush in district.
Step S202, when receiving the control command starting printing, starts and prints
When comprising the control command starting printing in the control command that communication unit receives, printing is buffered by control unit In district, the dot array data of storage is sent in sequence to printhead, and sends control signal, print head driver to print head controller According to this control signal output drive signal, make printhead at the visually letter such as RFID dielectric surface printing character, bar code, figure Breath, during printhead performs to print, drive unit drives RFID medium moves in transfer passage, and such as, printhead is every Performing the printing of a dot array data, drive unit drives RFID medium is the distance of a mobile least unit in transfer passage (more hereinafter referred to as row).
Step S203, controls RFID read-write unit and carries out data interaction with RFID medium, and judge the data interaction of the two The most successful
While starting visual information printing, control unit starts and carries out data between RFID read-write unit and RFID medium Alternately, concrete methods of realizing is: along with RFID medium moves in transfer passage, control unit is at interval of Preset Time control RFID read-write unit and RFID medium carry out data interaction, and judge that the data interaction of the two is the most successful, such as, and control unit Control RFID read-write unit at interval of Preset Time and send the order of No. ID that reads RFID medium, and detect RFID read-write unit Whether can successfully read No. ID of the transmission of RFID medium.When control unit detects that RFID read-write unit can successfully read During to the ID of RFID medium, it is determined that the data interaction success of RFID read-write unit and RFID medium, otherwise, it is determined that the number of the two According to the most unsuccessful.
Step S204, when judging the data interaction success of RFID read-write unit and RFID medium, controls RFID read-write list Unit is written and read operation to RFID medium
When judging the data interaction success of RFID read-write unit and RFID medium, control unit controls RFID read-write unit RFID medium is written and read operation.Such as, control unit controls RFID read-write unit to RFID medium transmission write radio frequency number According to order, and control the RFID medium to be written to that RFID read-write unit will be stored in the radio frequency buffering district of RAM memory Rf data be sent to RFID medium successively, the RFID controller of RFID read-write unit to write rf data order and want The rf data being written to RFID medium encodes, and RFID controller controls the RFID antenna of RFID read-write unit and launches electromagnetism Ripple signal, is sent to the medium of RFID, with reality by the order of write rf data and the rf data of RFID medium to be written to Now enter rf data to RFID media write;For another example, control unit control RFID read-write unit is penetrated to the transmission reading of RFID medium The order of frequency evidence, the order reading rf data is encoded by the RFID controller of RFID read-write unit, RFID controller Control the RFID antenna electromagnetic signals of RFID read-write unit, the order reading rf data is sent to Jie of RFID Matter, meanwhile, the electromagnetic wave signal that the RFID antenna of RFID read-write unit is received by the RFID controller of RFID read-write unit enters Row decoding, with realize from RFID medium read written into rf data.
In the control method of the present embodiment, printing equipment start visual information print after, control RFID read-write unit with RFID medium carries out data interaction, and judges that the data interaction of the two is the most successful, when the data interaction success of the two, controls RFID read-write unit is written and read operation to RFID medium.By the control method of the present embodiment, printing equipment can realize can The printing of visual information and the read-write operation of rf data are carried out simultaneously, it is not necessary to wait that visual information printing performs radio frequency after terminating again The read-write of data, therefore, compared with prior art, improves the processing speed of individual RFID medium, that is, improve printing dress The processing speed put.
Fig. 7 is the flow chart of the control method of printing equipment according to a third embodiment of the present invention.This embodiment can be made For a kind of preferred implementation of embodiment illustrated in fig. 5, as it is shown in fig. 7, the method comprises the following steps:
Step S301, conveying RFID medium is to top of form
When detect changed to covered state into paper sensor by the state of being uncovered time, control unit judge RFID be situated between Matter is fed to the entry position of transfer passage, and control unit controls drive unit drives RFID medium and moves in transfer passage Dynamic, and the state of detection and location sensor in RFID medium moving process, when alignment sensor is by being uncovered state change During to covered state, control unit judges that, along medium conveying direction, the forward position of RFID medium arrives the detection of alignment sensor Position, control unit controls driver element and continues to drive RFID medium mobile predeterminable range L1 in transfer passage, makes RFID be situated between The forward position of matter arrives top of form, and wherein, predeterminable range L1 is that the detection position of alignment sensor is to top of form Distance.
Step S302, resolves the data sent by main frame
The concrete step that performs is with step S201.
Step S303, when receiving the control command starting printing, starts and prints
When comprising the control command starting printing in the control command that communication unit receives, control unit controls printing list Unit performs printing, and concrete methods of realizing is with reference to step S202, and meanwhile, control unit record RFID medium moves in transfer passage Distance, such as, control unit record RFID medium is the some line number of movement in transfer passage.
Step S304, controls RFID read-write unit and carries out data interaction with RFID medium, and judge the data interaction of the two The most successful
The concrete step that performs is with step S203.
Step S305, when judging the data interaction success of RFID read-write unit and RFID medium, calculates RFID read-write list RFID medium is written and read operate the required time in unit and RFID medium can call duration time
When judging the data interaction success of RFID read-write unit and RFID medium, control unit calculates RFID read-write unit RFID medium is written and read operates the required time and RFID medium can call duration time.Wherein, RFID read-write unit is to RFID Medium is written and read operating the required time, refers to send RFID medium to be written to by RFID read-write unit to RFID medium Rf data and/or from RFID medium read written into rf data required for time, control unit according to RFID read RFID medium is written and read during operation writing by communication speed and RFID read-write unit between r/w cell and RFID medium And/or RFID medium is written and read operating the required time by the length computation RFID read-write unit of the rf data read, than As, the communication speed between RFID read-write unit and RFID medium is f bps, and RFID medium is carried out by RFID read-write unit The a length of s byte of the rf data writing and/or reading during read-write operation, then RFID medium is carried out by RFID read-write unit Time needed for read-write operation be t1(unit be the second) be:
T1=(8*s/f) (formula one)
RFID medium can call duration time, refer to carry during RFID medium, RFID read-write unit 17 and RFID medium Can successfully carry out the time of data interaction, i.e. when RFID read-write unit is with the data interaction success of RFID medium, data interaction Time.Such as, during conveying RFID medium, control unit controls RFID read-write unit and carries out data with RFID medium Alternately, RFID medium sequentially passes through position a1 and position a2, and when reaching position a1, RFID read-write unit is with RFID medium first Data interaction success, between position a1 to position a2, RFID read-write unit and the data interaction of RFID medium all can be successful, After the a2 of position, the data interaction failure of RFID read-write unit and RFID medium, then RFID medium by position a1 to position The time of a2 is that RFID medium can call duration time.Fig. 8 a to Fig. 8 c is that RFID medium is when moving in the transfer passage of printing equipment The schematic diagram of its change in location, as shown in Figure 8 a, when printing beginning, along medium conveying direction, the forward position of RFID medium P is positioned to be beaten Print original position 43, after starting visual information printing, RFID medium P moves along direction shown in arrow B in transfer passage 32, control Unit record RFID medium P distance of movement in transfer passage 32 processed, and control RFID read-write unit and carry out with RFID medium P Data interaction, and judge that the data interaction of the two is the most successful, as shown in Figure 8 b, when the in-position, forward position of RFID medium P When 44, control unit judges RFID read-write unit and RFID medium P data interaction first success, now, if control unit is remembered The displacement of RFID medium P of record be L3(unit be millimeter), i.e. distance between top of form 43 and position 44 is L3, from Fig. 8 b, when RFID read-write unit and RFID medium P data interaction success first, the forward position institute of RFID medium P is in place Putting 44 with the distance L4(unit of the second centrage 42 of RFID antenna 171 is millimeter) be:
L4=(L2-L3) (formula two)
Wherein, L2(unit is millimeter) it is between top of form 43 and the second centrage 42 of RFID antenna 171 Distance.
Due to the RFID antenna 171 of RFID read-write unit relative to it along being perpendicular to the second centrage of medium conveying direction 42 is symmetrical, and therefore, RFID antenna 171 is symmetrical relative to the second centrage 42 along electromagnetic field produced by medium conveying direction.Root Understanding according to this principle, as shown in Figure 8 c, RFID medium P moves in transfer passage, along medium conveying direction, RFID medium P's When distance L5 between tailing edge position 45 and the second centrage 42 of RFID antenna 171 and L4 approximately equal, RFID read-write The data interaction of unit and RFID medium P will be failed, therefore, RFID medium P through the working region of RFID read-write unit, Can be in successful data mutual time at RFID read-write unit and RFID medium P, the displacement L6(unit of RFID medium P is Millimeter) be:
L6=L+L4+L5
Due to
L5≈L4
Therefore
L6 ≈ L+2*L4 (formula three)
Wherein, L(unit is millimeter) it is the RFID medium P length along medium conveying direction, if the printing speed of printing equipment Degree for v mm/second, then RFID medium can call duration time t2(unit be the second) be:
T2=L6/v (formula four)
Formula two, formula three are substituted into formula four, obtain:
T2 ≈ (L+2*L2-2*L3)/v (formula five)
Step S306, it is judged that RFID medium is written and read whether operating the required time more than RFID by RFID read-write unit Medium can call duration time
Control unit judges that RFID medium is written and read operating whether required time t1 is more than by RFID read-write unit RFID medium can call duration time t2, if it is, perform step S307, otherwise, perform step S308.
Step S307, is written and read operating required time adjustment print speed to RFID medium according to RFID read-write unit
When RFID read-write unit be written and read RFID medium operating required time t1 can communicate more than RFID medium time Between t2 time, show when RFID medium moves in transfer passage, can hand over by successful data at RFID read-write unit and RFID medium In mutual time t2, RFID read-write unit can not complete the operation being written and read RFID medium, therefore, in order to avoid for obtaining Time enough is so that RFID read-write unit can complete the operation being written and read RFID medium, and interrupts the conveying of RFID medium And/or print, control unit calculates the RFID read-write unit of gained according to step S305 and is written and read RFID medium operating institute The time t1 needed adjusts print speed, makes the RFID medium after adjustment print speed can be more than RFID read-write unit pair by call duration time RFID medium is written and read operating the required time, it is ensured that can be in call duration time at RFID medium, and RFID read-write unit can be complete The operation that RFID medium is written and read in pairs.From formula four, v=L6/t2, when arrange RFID medium can call duration time with RFID read-write unit be written and read RFID medium operating required time t1 equal time, need print speed v ' (unit is Mm/second) it is adjusted to:
V '=L6/t1 (formula six)
Formula one, formula two, formula three, formula four are substituted into formula six, obtain:
V ' < [f*(L+2*L2-2*L3)]/(8*s)
Therefore, if it is desired that RFID medium can be written and read operation more than RFID read-write unit by call duration time to RFID medium The required time, need print speed v after making adjustment ' meet v ' < [f*(L+2*L2-2*L3)]/(8*s).
Owing to being disturbed by external environment, it is possible that read when RFID read-write unit is written and read operation to RFID medium Write the phenomenon of failure, it is preferable that control unit carries out reserving enough surpluses when print speed adjusts, and makes RFID medium to communicate RFID medium is written and read operating the required time, so that RFID read-write unit is to RFID by the time much larger than RFID read-write unit Rf data read-write can be re-started during the operation failure that medium is written and read, such as, by adjusting print speed, make RFID Medium can be written and read operating 3 times of required time t1 more than RFID read-write unit by call duration time to RFID medium, i.e. arranges V ' < L6/ (3*t1), so that RFID medium can be in call duration time, the operation that RFID medium is written and read by RFID read-write unit Can carry out twice retrying during failure.
Step S308, controls RFID read-write unit and RFID medium is written and read operation, and with the print speed after adjusting Continue executing with printing
Control unit controls RFID read-write unit and RFID medium is written and read operation, and the concrete method that performs is with reference to step S204, meanwhile, control unit controls printing equipment and continues executing with printing according to the print speed after adjusting.
It should be noted that the present embodiment being thought, the print speed of printing equipment and RFID medium move in transfer passage Dynamic speed is identical, in this step, continues executing with printing with the print speed after adjusting and includes: if deposited in print buffer The dot array data of storage is not by Print All, and control unit controls print unit and continues to print with the print speed after adjusting Remaining dot array data in relief area;If the dot array data stored in print buffer is the most all printed, control unit Control driver element to continue to drive RFID medium to move in transfer passage with the print speed after adjusting.
In the control method of the present embodiment, printing equipment judges that RFID read-write unit is written and read operation to RFID medium The required time whether more than RFID medium can call duration time, and judging that RFID medium is written and read by RFID read-write unit Time needed for operation more than RFID medium can call duration time time adjust print speed, do not suspend RFID medium conveying and/or Also ensure that in the case of printing that RFID read-write unit can complete the operation being written and read RFID medium, thus neither affect The processing speed of printing equipment, also improves the RFID read-write unit reliability to the operation that RFID medium is written and read.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (6)

1. having a control method for the printing equipment of RFID read-write function, wherein, described printing equipment includes RFID read-write Unit (17), described RFID read-write unit (17) for being written and read operation to RFID medium, it is characterised in that described method bag Include:
Obtain print data;And
When receiving the control command starting printing, start the described print data of printing and also control described RFID read-write unit (17) described RFID medium is written and read operation,
Wherein, control described RFID read-write unit (17) described RFID medium is written and read operation to include:
When receiving the described control command starting and printing, control described RFID read-write unit (17) and enter with described RFID medium Row data interaction, and judge that described RFID read-write unit (17) is the most successful with the data interaction of described RFID medium;
If described RFID read-write unit (17) and the data interaction success of described RFID medium, calculate described RFID read-write unit (17) be written and read described RFID medium operating required time and described RFID medium can call duration time, wherein, described RFID medium can be during call duration time refers to carry described RFID medium, described RFID read-write unit (17) and described RFID Medium can successfully carry out the time of data interaction;
Judge that described RFID medium is written and read whether operating the required time more than described by described RFID read-write unit (17) RFID medium can call duration time;
If described RFID medium is written and read operating the required time more than described RFID by described RFID read-write unit (17) Medium can call duration time, then adjust print speed so that after adjusting described print speed, described RFID medium can call duration time big It is written and read operating the required time to described RFID medium in described RFID read-write unit (17);And
Control described RFID read-write unit (17) and described RFID medium is written and read operation, and with the described printing speed after adjusting Degree continues executing with printing.
Method the most according to claim 1, it is characterised in that described printing equipment also includes printhead (152), described RFID read-write unit (17) includes RFID antenna (171), and described RFID antenna (171) is relative to along the first of medium conveying direction Centrage (41) axial symmetry, and the second centrage (42) axial symmetry of medium conveying direction it is perpendicular to relative to edge, described first Centrage (41) overlaps with the width centreline of transfer passage, between described second centrage (42) and top of form away from From for L2, described top of form is the print position of described printhead (152), wherein:
Before starting the described print data of printing, described method also includes: carries described RFID medium and initiates to described printing Position,
After adjusting described print speed, described print speed v ' meet:
v’<【f*(L+2*L2-2*L3)】/(8*s)
Wherein, f is the communication speed between described RFID read-write unit (17) and described RFID medium, and s is described RFID read-write Unit (17) is written and read the length of the rf data writing and/or reading during operation to described RFID medium, and L is described RFID medium is along the length of medium conveying direction, and L3 is the distance between described top of form and primary importance (44), institute State primary importance (44) when being described RFID read-write unit (17) with described RFID medium data interaction success first, defeated along medium Sending the position, forward position of RFID medium described in direction, the unit of f is bps, and the unit of s is byte, the list of L, L2 and L3 Position is millimeter.
Method the most according to claim 1, it is characterised in that after adjusting described print speed, described RFID medium can lead to The letter time is more than 3 times that described RFID read-write unit (17) is written and read operating the required time to described RFID medium.
4. a printing equipment with RFID read-write function, it is characterised in that including:
Entrance (31), is used for receiving RFID medium;
Print unit (15), for performing printing at described RFID dielectric surface;
RFID read-write unit (17), for being written and read operation to described RFID medium;And
Control unit (11), is used for obtaining print data, when receiving the control command starting printing, controls described printing list Unit (15) start print described print data and control described RFID read-write unit (17) described RFID medium is written and read behaviour Make,
Wherein, described control unit (11) is additionally operable to, when receiving the described control command starting and printing, control described RFID Read-write cell (17) and described RFID medium carry out data interaction, and judge that described RFID read-write unit (17) is situated between with described RFID The data interaction of matter is the most successful, and is determining that described RFID read-write unit (17) becomes with the data interaction of described RFID medium During merit, calculate described RFID read-write unit (17) and be written and read described RFID medium operating required time and described RFID Jie Matter can call duration time, it is judged that described RFID medium is written and read whether operating the required time by described RFID read-write unit (17) More than described RFID medium can call duration time, judging that described RFID medium is written and read by described RFID read-write unit (17) Time needed for operation more than described RFID medium can call duration time time, adjust print speed so that adjusting described print speed After, described RFID medium can be written and read operating institute by call duration time by described RFID medium more than described RFID read-write unit (17) Need time, and control described RFID read-write unit (17) described RFID medium is written and read operation, and with adjust after Described print speed continues executing with printing, and wherein, described RFID medium can refer to carry the mistake of described RFID medium by call duration time Cheng Zhong, described RFID read-write unit (17) and described RFID medium can successfully carry out the time of data interaction.
Printing equipment the most according to claim 4, it is characterised in that described print unit (15) also includes printhead (152), described RFID read-write unit (17) includes RFID antenna (171), and described RFID antenna (171) is defeated along medium relative to it Send the first centrage (41) axial symmetry in direction, and relative to it along the second centrage (42) axle being perpendicular to medium conveying direction Symmetry, described first centrage (41) overlaps with the width centreline of transfer passage, described second centrage (42) with print Distance between beginning position is L2, and described top of form is the print position of described printhead (152), described printing equipment Also include:
Driver element (16), is used for driving described RFID medium to move in described transfer passage, wherein, described starting printing Before print data, described driver element (16) drives described RFID medium to move to described top of form,
Described control unit (11) is for controlling described print speed v after adjusting ' meet:
v’<【f*(L+2*L2-2*L3)】/(8*s)
Wherein, f is the communication speed between described RFID read-write unit (17) and described RFID medium, and s is described RFID read-write Unit (17) is written and read the length of the rf data writing and/or reading during operation to described RFID medium, and L is described RFID medium is along the length of medium conveying direction, and L3 is the distance between described top of form and primary importance (44), institute State primary importance (44) when being described RFID read-write unit (17) with described RFID medium data interaction success first, defeated along medium Sending the position, forward position of RFID medium described in direction, the unit of f is bps, and the unit of s is byte, the list of L, L2 and L3 Position is millimeter.
Printing equipment the most according to claim 4, it is characterised in that described control unit (11) is used for so that adjusting described After print speed, described RFID medium can call duration time be that described RFID medium is written and read by described RFID read-write unit (17) More than 3 times of time needed for operation.
CN201310078671.5A 2013-03-12 2013-03-12 There is printing equipment and the control method thereof of RFID read-write function Active CN104044355B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310078671.5A CN104044355B (en) 2013-03-12 2013-03-12 There is printing equipment and the control method thereof of RFID read-write function
PCT/CN2014/072972 WO2014139370A1 (en) 2013-03-12 2014-03-06 Printing apparatus having rfid read/write function and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310078671.5A CN104044355B (en) 2013-03-12 2013-03-12 There is printing equipment and the control method thereof of RFID read-write function

Publications (2)

Publication Number Publication Date
CN104044355A CN104044355A (en) 2014-09-17
CN104044355B true CN104044355B (en) 2016-12-28

Family

ID=51497944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310078671.5A Active CN104044355B (en) 2013-03-12 2013-03-12 There is printing equipment and the control method thereof of RFID read-write function

Country Status (2)

Country Link
CN (1) CN104044355B (en)
WO (1) WO2014139370A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12265866B2 (en) 2023-06-27 2025-04-01 Hand Held Products, Inc. Methods and systems for encoding radio frequency identification (RFID) labels

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104924783B (en) * 2015-06-25 2018-05-01 重庆品胜科技有限公司 The method that label machine detects label
CN105751707B (en) * 2015-07-03 2018-05-25 昆山祥维电子科技有限公司 A kind of passive RFID visible card printer
CN106406781A (en) * 2016-11-18 2017-02-15 北京红马科技有限公司 Ticket printing method for reducing paper dependence
CN107618274B (en) * 2017-10-03 2019-03-08 深圳市量必达科技有限公司 A kind of wechat abstract factory printer and method based on RFID reader
CN113650424A (en) * 2020-05-12 2021-11-16 深圳致明兴科技有限公司 Single-label RFID printing equipment and printing method
CN112848696B (en) * 2021-01-05 2022-05-06 重庆打贴匠科技有限公司 Printing device, method and printer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3953389B2 (en) * 2002-08-26 2007-08-08 キヤノンファインテック株式会社 Recording device
JP2006181800A (en) * 2004-12-27 2006-07-13 Toshiba Tec Corp Feed amount measurement program, feed amount measurement method, and printer having RFID read / write function
JP5261990B2 (en) * 2007-06-07 2013-08-14 株式会社リコー Information processing apparatus, information processing method, and program
JP4766125B2 (en) * 2009-02-18 2011-09-07 ブラザー工業株式会社 Image processing device
CN202716562U (en) * 2012-08-21 2013-02-06 上海实甲智能系统有限公司 Label printer possessing ultrahigh frequency RFID read-write function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12265866B2 (en) 2023-06-27 2025-04-01 Hand Held Products, Inc. Methods and systems for encoding radio frequency identification (RFID) labels

Also Published As

Publication number Publication date
WO2014139370A1 (en) 2014-09-18
CN104044355A (en) 2014-09-17

Similar Documents

Publication Publication Date Title
CN104044355B (en) There is printing equipment and the control method thereof of RFID read-write function
US11010571B2 (en) Industrial printer
EP1846839B1 (en) Stand-alone proxy rfid read/write unit for print label encoding
EP0641610B1 (en) Paper object sorting method and apparatus comprising means for erasing printed bar codes
EP3859590B1 (en) Thermal printer with reduced inlay pitch singulation
CN110110561B (en) Data writing device and control method
JP4086052B2 (en) IC tag processing apparatus, processing method, and printer
CN102407680B (en) Printing equipment and control method thereof
JP2012240342A (en) Inkjet recording device and recording method, and recording system
CN104239831B (en) RF label processing methods and RF label processing devices
JP7097247B2 (en) Data writing device and processing method
JP2006062312A (en) Printer
US11880618B2 (en) Printing apparatus
US20240131856A1 (en) Medium issuing device, medium issuing system and medium issuing method
EP4478243A1 (en) Multi-antenna rfid printer
JP4261852B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, RECORDING DEVICE, STORAGE MEDIUM, RECORDING SYSTEM, AND RECORDING MEDIUM ISSUING SYSTEM
JP2010146203A (en) Recording device and method of controlling the same
JP2008302681A (en) Bill issuing device
JP2005254730A (en) Recording device, recording control system and recording control program
JP2006103208A (en) Recording apparatus and method for converting recorded data
JP2006142602A (en) Imaging device/system
JPH11191039A (en) Print controller, communication processing method for print controller and storage medium storing computer readable program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant