Printer, printer control method and program

By providing a communication unit and a search unit in the printer, the mobile antenna communicates with RFID at multiple locations to determine success or failure, solving the problem of insufficiently efficient antenna position determination in the prior art and achieving more efficient RFID communication.

CN113348461BActive Publication Date: 2024-09-27SATO HLDG CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080010675.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-29
Filing Date
2020-02-03
Publication Date
2024-09-27
Estimated Expiration
2040-02-03

AI Technical Summary

Technical Problem

In the existing technology, the antenna position determination based on RFID communication is not efficient enough, and it is difficult to accurately set the optimal communication position.

Method used

A printer is provided, which is equipped with a communication unit and a search unit, communicates with RFID at multiple locations through a mobile antenna, determines success or failure, and determines the best communication location based on the successful location area.

Benefits of technology

It achieves a more efficient determination of the antenna position, improves the communication efficiency between RFID and printer, and adapts to the individual differences of different RFID inserts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113348461B_ABST
    Figure CN113348461B_ABST
Patent Text Reader

Abstract

The present invention relates to a printer, a control method and a program for the printer. The printer prints on a printing medium having an RFID. The printer comprises: a communication unit that communicates with the RFID; and a search unit that moves the communication unit relative to the RFID and searches for a position that can communicate with the RFID. The search unit determines whether the communication between the RFID and the communication unit is successful at multiple positions relative to the RFID, and determines the communication position between the RFID and the communication unit based on an area including multiple positions determined to have successful communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a printer, a method for controlling the printer, and a program. Background Art

[0002] RFID (Radio Frequency Identification) technology, which transmits and receives information from an IC chip on which identification information is written, is used in various fields. JP2003-296669A discloses a printer that writes information to an RFID element in a non-contact manner and prints on label paper with an RFID element built in.

[0003] In the related art, the antenna position is determined based on the first position and the last position at which communication with the RFID is successful, so there are cases where the optimal antenna position cannot be determined efficiently. Summary of the invention

[0004] The present invention has been made in view of such technical problems, and an object of the present invention is to more efficiently determine an optimal antenna position.

[0005] According to one form of the present invention, there is provided a printer which prints on a printing medium having an RFID, the printer comprising: a communication unit which communicates with the RFID; and a search unit which moves the communication unit relative to the position of the RFID and searches for a position capable of communicating with the RFID, the search unit determining whether communication between the RFID and the communication unit is successful at a plurality of positions relative to the RFID, and determining a communication position between the RFID and the communication unit based on an area including a plurality of positions determined as having successful communication.

[0006] According to a printer according to one aspect of the present invention, it is possible to more efficiently determine an optimal antenna position. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 This is a schematic diagram of the structure of a printer according to an embodiment of the present invention.

[0008] Figure 2 This is a control block diagram of a printer according to an embodiment of the present invention.

[0009] Figure 3 is a top view of the print media.

[0010] Figure 4 It is a simplified illustration of the movable mechanism.

[0011] Figure 5 is a flow chart of a process performed by the controller.

[0012] Figure 6This is an illustration of the menu screen.

[0013] Figure 7 This is a flowchart of the optimal point search process.

[0014] Figure 8 This is an illustration of the start screen.

[0015] Fig. 9 This is an illustration of the search result display screen.

[0016] Fig.10 is a flowchart of the search process.

[0017] Fig.11 This is a diagram for explaining the search points in the quick mode.

[0018] Fig.12 This is a diagram to explain the search points in the detailed mode.

[0019] Fig.13 This is an explanatory diagram of another example of the search point in the detailed mode.

[0020] Fig.14 This is an explanatory diagram of another example of the search point in the detailed mode.

[0021] Fig.15 This is a flowchart of the optimal point determination process.

[0022] Fig.16 This is an explanatory diagram showing the acquisition of success / failure information at a focus point.

[0023] Fig.17 This is a flowchart of another embodiment of the optimal point determination process.

[0024] Fig.18 It is an explanatory diagram showing a successful point group in another embodiment. DETAILED DESCRIPTION

[0025] Hereinafter, a printer 1 according to an embodiment of the present invention will be described in detail with reference to the drawings. Figure 1 It is a schematic diagram of the structure of the printer 1 according to the embodiment of the present invention.

[0026] The printer 1 is a thermal transfer printer that performs printing by heating an ink ribbon R and transferring ink of the ink ribbon R to a print medium M. The print medium M is, for example, a continuous body ML in which a plurality of labels are temporarily fixed continuously at predetermined intervals to a belt-shaped paper carrier and wound into a roll.

[0027] The print medium M is configured as an RFID medium in which an RFID inlet 110 having an IC chip C and an antenna A conforming to RFID standards is incorporated. The printer 1 can also print on a print medium without the IC chip C and the antenna A.

[0028] The printer 1 prints variable information such as price, barcode, other product information, and management information related to goods or services on the print area of ​​the print medium M as needed, and writes information corresponding to the variable information to the RFID inlet 110 as electronic data.

[0029] In this embodiment, as an example of the print medium M, a label having an adhesive on the back and capable of being attached to an object with the adhesive is described, but the invention is not limited thereto and may also be a component such as a sign or a wristband that is fixed to an object using a fixing component.

[0030] like Figure 1 As shown, the printer 1 includes, for example, a printing mechanism 10, a tape supply shaft 20, a tape winding shaft 30, a medium supply shaft 40, a communication unit 50, a movable mechanism 200, an upstream position detection sensor 71, a downstream position detection sensor 72, and a controller 60 as a control unit.

[0031] The printing mechanism 10 includes a head unit 11 and a platen roller 12 , and performs printing on a printing medium M and conveying a continuous body ML and an ink ribbon R. As shown in FIG.

[0032] The head unit 11 holds the thermal head 13 in a state where the heating element of the thermal head 13 is exposed from the lower surface. The platen roller 12 is arranged just below the thermal head 13 and constitutes a printing unit 15 that prints on the printing medium M together with the thermal head 13.

[0033] The head unit 11 is supported by the support shaft 14 so as to be able to Figure 1 The head unit 11 can be moved to a head open position where the thermal head 13 is separated from the platen roller 12, and a head closed position where the thermal head 13 is in contact with the platen roller 12. Figure 1 , the head unit 11 is in the head-closed position.

[0034] The tape supply shaft 20 holds the ink ribbon R supplied to the printing unit 15 in a roll shape. The ink ribbon R supplied from the tape supply shaft 20 to the printing unit 15 is sandwiched between the thermal head 13 and the platen roller 12 .

[0035] The medium supply shaft 40 holds the continuous body ML supplied to the printing unit 15 in a roll shape. The continuous body ML supplied from the medium supply shaft 40 to the printing unit 15 is sandwiched between the thermal head 13 and the platen roller 12 together with the ink ribbon R.

[0036] When the heating element of the thermal head 13 is energized while the printing medium M and the ink ribbon R are sandwiched between the thermal head 13 and the platen roller 12, the ink of the ink ribbon R is transferred to the printing medium M by the heat of the heating element, thereby printing is performed on the printing medium M. In addition, when the platen roller 12 is rotated forward by the platen drive motor (not shown), the continuous body ML and the ink ribbon R are conveyed to the downstream side.

[0037] When the ribbon take-up shaft 30 is rotated by being coupled to the gear of the platen drive motor, the used ink ribbon R is taken up around its outer circumference. When the head unit 11 is at the head open position, only the ink ribbon R can be fed by rotating the ribbon take-up shaft 30 .

[0038] The following describes a ribbon transfer printer 1 based on a thermal head 13, but is not limited to this. For example, it may also be a printer using a thermal color development method. For the thermal color development method, the print medium M is thermal paper, and is heated by the thermal head 13, thereby printing on the print medium M.

[0039] The upstream position detection sensor 71 includes a transmission type photoelectric sensor and a reflection type photoelectric sensor. On the continuous body ML, alignment marks for position detection are printed at predetermined intervals (pitch) corresponding to the printing medium M. The reflection type photoelectric sensor detects the relative position of the printing medium M with respect to the printing unit 15 by detecting the alignment marks. The transmission type photoelectric sensor detects the relative position of the printing medium M with respect to the printing unit 15 by detecting the gap (gap) between the printing medium M and the printing medium M in the continuous body ML.

[0040] The downstream position detection sensor 72 includes a transmission type photoelectric sensor and a reflection type photoelectric sensor, and detects the front end position of the continuous body ML.

[0041] The upstream position detection sensor 71 and the downstream position detection sensor 72 determine the relative position with respect to the position of the printing unit 15, more specifically, the position where the thermal head 13 prints on the printing medium M and the platen roller 12 and the thermal head 13 clamp the continuous body ML. The upstream position detection sensor 71 and the downstream position detection sensor 72 can detect the relative position of the printing medium M with respect to the printing unit 15 by detecting the position of the printing medium M. The registration marks for position detection printed at a predetermined interval (pitch) on the continuous body ML and the printing medium M and the gap between the printing medium M in the continuous body ML serve as a reference for setting the position (print start position) at which printing starts on the printing medium M.

[0042] Print instruction data from an external computer, detection signals from the upstream position detection sensor 71 and the downstream position detection sensor 72, etc. are input to the controller 60 via the input / output interface. In addition, the controller 60 controls the energization of the heating element of the thermal head 13, the energization of each driving motor, the energization of the communication unit 50, and the communication (reading and writing) with the IC chip C provided in the RFID insert 110 of the printing medium M.

[0043] like Figure 1 As shown, the controller 60 performs printing processing in a state where the position of the print medium M to be printed later is aligned with the print start position when printing. The print start position is set based on the position of the registration mark of the continuous body ML.

[0044] The communication unit 50 has an antenna that transmits a signal to the IC chip C of the RFID inlet 110 and receives a response to the signal. The printer 1 includes a movable mechanism 200 that moves the antenna, and the relative position of the antenna to the RFID inlet 110 is movable.

[0045] Figure 2 It is a block diagram of the structure of the controller 60 of this embodiment.

[0046] The controller 60 is configured to include, for example, a CPU (central processing unit) 51, a ROM (read only memory) 52, a RAM (random access memory) 53, a conveyance control circuit 54, a print control circuit 55, a paper detection circuit 57, an IO port 59, and a power supply unit 61. These components are connected to each other via a bus 65 and are configured to be able to transmit and receive various data to each other.

[0047] The CPU 51 is a computer that controls the entire controller 60 and causes each unit to perform required processing and control by executing the program stored in the ROM 52. The CPU 51 implements the functions of each unit by executing the program stored in the ROM 52. The various programs executed by the CPU 51 may be programs stored in a non-temporary recording medium such as a CD-ROM or a non-volatile memory.

[0048] The ROM 52 stores programs read out and executed by the CPU 51. The RAM 53 stores various information required for processing executed by the CPU 51, print data required for printing, print formats, registration information, and the like.

[0049] The conveyance control circuit 54 controls the driving motor for driving the platen roller 12 based on the instruction signal from the CPU 51, and controls the rotation / stop of the platen roller 12. Thus, the conveyance of the continuous body ML in the paper conveyance path is controlled.

[0050] The print control circuit 55 generates a print signal corresponding to print data such as characters, graphics, and barcodes to be printed supplied from the CPU 51 , and supplies the generated print signal to the thermal head 13 , thereby performing printing on the print medium M.

[0051] The paper detection circuit 57 detects the detection parts such as the registration mark and the gap of the continuous body ML of the paper conveying path based on the information obtained by the upstream position detection sensor 71 and the downstream position detection sensor 72, and transmits the information to the CPU 51. The CPU 51 controls the conveyance of the continuous body ML and the ink ribbon R by the conveyance control circuit 54 based on the information from the paper detection circuit 57, and controls the timing of printing by the thermal head 13 to perform printing at an appropriate position of the printing medium M.

[0052] The IO port 59 is connected to the display unit 28 and the input unit 27, and outputs display data supplied from the CPU 51 to the display unit 28. In addition, the IO port 59 transmits an operation signal corresponding to an operation performed by the user on the input unit 27 to the CPU 51. In addition, the IO port 59 sends and receives information with the communication unit 50, and communicates (reads and writes) with the IC chip C of the RFID inlet 110.

[0053] The display unit 28 is constituted by, for example, a liquid crystal display. The input unit 27 is constituted by a touch panel, buttons, a DIP-SW, a flash memory interface, a wireless / wired communication interface, and the like included in the display unit 28 .

[0054] The power supply unit 61 monitors the pressing operation of the power switch, and switches on and off the power supply to each unit based on the operation of the power switch, thereby turning the power of the printer 1 on and off.

[0055] The communication unit 50 includes, for example, an antenna 151 and a communication controller 152. The antenna 151 outputs a radio wave signal based on the control of the communication controller 152 and receives a response to the signal, thereby communicating with the RFID insert 110 of the print medium M. The communication controller 152 controls the power supply to the antenna 151 based on an instruction from the controller 60.

[0056] The antenna 151 is configured to be movable in the surface direction of the print medium M (the conveying direction of the print medium M and the direction parallel to the conveying direction) by the movable mechanism 200. Thus, the antenna 151 can be moved to a position corresponding to the position of the RFID inlet 110 of the print medium M at the printing start position.

[0057] Next, the printing medium M will be described. Figure 3 This is a plan view for explaining a continuous body ML including a printing medium M.

[0058] The continuous body ML is composed of, for example, a belt-shaped carrier paper 107 and a plurality of label sheets (printing media M) temporarily fixed to the carrier paper 107 .

[0059] On the back side of the paper carrier 107, a registration mark 109 for position detection is printed in advance at a position corresponding to the leading end on the downstream side in the conveyance direction of the print medium M. A gap 120 is provided between the print media M adjacent to each other.

[0060] The registration mark 109 is printed in a predetermined rectangular shape with a darker color (eg, black) than the paper mount 107. The upstream position detection sensor 71 detects the position of the registration mark 109 by using the fact that the registration mark 109 is darker than the paper mount 107, thereby setting the printing start position.

[0061] The gap 120 has a higher transmittance than the portion where the print medium M exists because it is only as thick as the paper carrier 107. The upstream position detection sensor 71 and the downstream position detection sensor 72 use the fact that the gap 120 has a higher transmittance to detect the position of the gap 120, thereby setting the printing start position.

[0062] For example, Figure 3 As shown, an RFID inlet 110 is provided near the center of the print medium M in the conveying direction.

[0063] The RFID inlet 110 includes, for example, an IC chip C and an antenna A. The IC chip C of the RFID inlet 110 receives a signal output from the antenna 151 of the communication unit 50 via the antenna A to start operating, and outputs a response to the signal via the antenna A.

[0064] Figure 4 It is an explanatory diagram showing the configuration of the antenna 151 and the movable mechanism 200 of the communication unit 50 according to the present embodiment.

[0065] The movable mechanism 200 includes an X-axis moving part 201X and a Y-axis moving part 201Y, each of which is composed of a stepping motor and a ball screw, etc., which are respectively provided in the conveying direction of the print medium M (hereinafter also referred to as the "X-axis direction") and the direction orthogonal to the conveying direction (hereinafter also referred to as the "Y-axis direction").

[0066] The movable mechanism 200 can move the antenna 151 to an arbitrary position on the printing medium M by driving the stepping motors of the X-axis moving portion 201X and the Y-axis moving portion 201Y respectively based on an instruction from the controller 60 .

[0067] As an example, the X-axis moving part 201X of the movable mechanism 200 is configured to be able to move 25 steps at 1 mm intervals in the X-axis direction, and the Y-axis moving part 201Y is configured to be able to move 29 steps at 1 mm intervals in the Y-axis direction. The antenna 151 can move to each point in a grid of 25×29 steps within a preset search range, for example.

[0068] Next, the operation of the printer 1 configured as above will be described. The printer 1 of this embodiment reads and writes data recorded on the RFID inlet 110 of the print medium M, and prints on the print medium M.

[0069] The position of the RFID insert 110 on the printing medium M may be different due to differences in the manufacturing factories of the continuous body ML, the specifications of the manufacturers, etc. In contrast, by adjusting the position of the antenna 151 by the movable mechanism 200, the position of the antenna 151 can correspond to the position of the RFID insert 110 when the printing medium M is at the printing start position.

[0070] Conventionally, the movable mechanism 200 is manually moved to a position where communication is possible by inputting an instruction value to the movable mechanism 200 while observing the communication state with the RFID inlet 110. In this method, the antenna 151 needs to be moved when the continuous body ML of the printing medium M is replaced. In addition, there is a case where the antenna 151 is not set to the optimal communication position even if the communication between the antenna 151 and the RFID inlet 110 is successful.

[0071] In this embodiment, the configuration is as follows: based on the success or failure of the communication with the RFID insert 110 of the printing medium M, the "communication position" which is the optimal point of the antenna 151 is searched, and the antenna 151 is moved to the "communication position" obtained based on the search result. In addition, the optimal point shows the communication position of the antenna 151 estimated to be the best relative to the RFID insert 110 of the printing medium M at the printing start position, and is determined by the processing described below.

[0072] Figure 5 1 is a flowchart showing the processing executed by the controller 60 of the present embodiment. First, the controller 60 displays a menu screen on the display unit 28 (see Figure 6 ) and wait for the user's input (step S10). When the controller 60 detects that the user has input an instruction via the input unit 27, the process proceeds to step S20.

[0073] In step S20, the controller 60 determines whether Figure 6In the displayed menu screen, whether "new search" is selected by the user. If "new search" is selected, the process proceeds to step S50. Otherwise, the process proceeds to step S30.

[0074] In step S30, the controller 60 determines whether Figure 6 In the displayed menu screen, it is determined whether the user has selected "past history information". If "past history information" has been selected, the process proceeds to step S50. Otherwise, the process proceeds to step S40.

[0075] The past history information refers to information related to the optimal point determined in the past by the optimal point search process (for example, the type of tag, the type of RFID insert, the coordinates of the optimal point, the radio wave output strength of the antenna, etc.), which can be read from the recording area and reused. For example, when the continuum ML is changed to another type and then returned to the original continuum ML, the optimal point search process can be shortened by reusing the information related to the optimal point in the printing medium M of the original continuum ML.

[0076] In step S40, the controller 60 determines whether Figure 6 In the menu screen shown, it is checked whether the user has selected a distribution file (signage model information). If the distribution file has been selected, the process proceeds to step S50. Otherwise, the process returns to step S10 and the process is repeated.

[0077] The distribution file is provided with information related to the optimal point (e.g., the type of label, the type of RFID insert, the coordinates of the optimal point (X-axis position, Y-axis position), the radio wave output strength of the antenna (write strength, read strength), etc.) as label model information related to the RFID insert 110 of the printing medium M of the continuum ML when the continuum ML is shipped from the factory. The user stores the distribution file in the storage area of ​​the printer 1 through a memory card, wireless communication, etc., and obtains the information related to the optimal point from the distribution file, thereby shortening the optimal point search process.

[0078] When a new search is selected in step S20, when past history information is selected in step S30, and when a distribution file is selected in step S40, the process moves to step S50, and an optimal point search process is performed to search for the optimal point of the RFID insert 110 of the antenna 151 relative to the print medium M. The details of the optimal point search process will be described later. Figure 7 describe.

[0079] After the optimal point search process in step S50, the controller 60 obtains the optimal point of the antenna 151 as the "communication position". At this time, the radio wave output strength of the antenna 151 at the optimal point is also obtained. The controller 60 associates the obtained "communication position" with the "radio wave output strength" and temporarily stores them in the storage area of ​​the RAM 53 (step S60).

[0080] Next, the process proceeds to step S70, and the controller 60 moves the antenna 151 to the "communication position" that is the optimal point through the movable mechanism 200. At this time, the radio wave output strength output by the antenna 151 may also be set.

[0081] By this process, the antenna 151 is moved to the optimum point, so that the position of the antenna 151 can be set to the position most suitable for communication with the RFID inlet 110 .

[0082] Figure 6 The menu screen displayed on the display unit 28 in step S10 is shown. The menu screen includes, for example, a new search key for selecting "new search", a past history information key for selecting "past history information", a distribution file key for selecting "distribution file", and information on the currently set antenna 151. In addition, the new search key has a selection key for setting the search mode to the quick mode or the detailed mode. For the search mode, Figure 7 is described in.

[0083] Figure 7 is a flowchart of the optimal point search process of this embodiment, showing Figure 6 The details of the process of step S50 are shown in FIG.

[0084] When a new search is selected by the user, the search unit executes the process of this flowchart. The search unit is a virtual structure that executes the process of searching for the optimal point by having the controller 60 read a program stored in the ROM 52 or the like.

[0085] First, the search unit causes the display unit 28 to display a start screen (see Figure 8 ), the above-mentioned start screen displays the current position of the antenna 151, the radio wave output strength, etc. (step S110).

[0086] The search unit determines whether the start key of the start screen is operated by the user (step S120). If the start key is not operated, the process proceeds to step S190, and the controller 60 determines whether the cancel key of the start screen is operated by the user.

[0087] When the cancel key is pressed, the process of this flowchart ends and the process returns to Figure 5 If the cancel key is not operated, the process returns to step S110 and the process is repeated.

[0088] When the input unit 27 detects that the start key has been operated in step S120, the search unit moves to step S130, moves the antenna 151 to a predetermined position through the movable mechanism 200, and performs a search process to determine whether the communication with the RFID inlet 110 is successful or not. The details of the search process are described in Fig.10 The flowchart is shown in FIG.

[0089] The printer 1 of this embodiment has two modes as search modes, namely, "fast mode (first mode)" and "detailed mode (second mode)". "Fast mode" is a mode in which the number of search points is reduced (made scattered) to perform processing at a higher speed (in a short time). "Detailed mode" is a mode in which a more detailed search is performed by increasing the number of search points as much as possible (made dense) while taking more time than the fast mode.

[0090] Through the above Figure 6 The menu screen displays, and the user selects which mode to use for searching.

[0091] Next, the process proceeds to step S140, where the search unit performs an optimal point determination process to determine the optimal point for the RFID inlet 110 based on the processing result of step S130. Fig.10 The flowchart is shown in FIG.

[0092] After the optimum point determination process, the process moves to step S150, and the search unit displays the result of the optimum point determination process, that is, the position of the optimum point and the radio wave output intensity at the optimum point, on the search result display screen (refer to Fig. 9 ).

[0093] Next, the search unit determines whether the user has operated the re-search key on the search result display screen (step S160). If the re-search key has not been operated, the process moves to step S170, and the controller 60 determines whether the user has operated the end key on the search result display screen. If the end key has not been operated, the process returns to step S160.

[0094] When the end key is pressed, the process of this flowchart ends and the process returns to Figure 5 Flowchart of the process.

[0095] Figure 8 The start screen displayed on the display unit 28 in step S110 is shown. The start screen shows, for example, the current position (X axis, Y axis) of the antenna 151, the size of the RFID insert 110, and the radio wave output strength of the signal output by the antenna 151. The radio wave output strength is preset with a default value (recommended value), but an increase and decrease key is provided so that the radio wave output strength can be changed by the user. The start screen has, for example, a cancel key and a start key.

[0096] Fig. 9 Indicated in Figure 7 The search result display screen displayed on the display unit 28 in step S150.

[0097] The search result display screen shows, for example, the optimal position of the antenna 151, the inherent information of the RFID insert 110, the radio wave output signal of the antenna 151, and the radio wave strength (RSSI value) of the RFID insert 110. The RSSI value is shown, for example, by a bar graph, and the color of the graph changes according to the strength of the signal. The search result display screen has, for example, an end button and a re-search button.

[0098] The user refers to the search result display screen and, if necessary, performs another search. For example, if the RSSI value is determined to be higher or lower than the desired value, the user can operate the re-search key to return to the previous search result. Figure 8 start screen and manually change the radio wave output strength of antenna 151.

[0099] In addition, it can also be constructed as: Fig. 9 The search result display screen shown displays information at a search point on the display unit 28 in real time every time a determination is made as to whether communication at a search point is successful in the process described below.

[0100] Fig.10 yes Figure 7 Flowchart of the search process of step S130.

[0101] The search unit performs initialization (step S210) after transferring the information such as the success or failure of the search point and the radio wave output strength stored in the current storage area to the area storing the past history information. Here, the search unit moves the antenna 151 to the initial position through the movable mechanism 200. The initial position can be set to the starting point of the X axis and the center of the Y axis (for example, Fig.11 , Fig.12 Search point D).

[0102] Next, the process moves to step S220, where the search unit attempts to communicate with the RFID insert 110 at the current search point (the first time is the initial position), and determines whether the communication is successful or not. If the communication with the RFID insert 110 is successful, the radio wave output strength of the antenna 151 at the current search point and the radio wave strength (RSSI value) received from the RFID insert 110 are obtained, and the coordinate position of the search point, the success or failure of the communication, the radio wave output strength, and the RSSI value are recorded in the recording area of ​​the RAM 53.

[0103] Next, the process proceeds to step S230, where the search unit moves the antenna 151 in the X-axis direction (eg, Fig.11 In the detailed mode, the intervals between search points can be set smaller, and in the fast mode, the intervals between search points can be set larger than in the detailed mode.

[0104] Next, the process proceeds to step S240, where the search unit determines whether the search point in the X-axis direction has reached the terminal. If the search point in the X-axis direction has reached the terminal, the process proceeds to step S250, where the search unit moves the antenna 151 in the Y-axis direction (for example, Fig.11 In addition, when the search has been completed, for example, the search point can be moved to an adjacent search point ( Fig.11 .

[0105] Next, the process moves to step S260, where the search unit determines whether the determination of the success or failure of communication at all search points in the search range preset for the printing medium M has been completed. That is, the search unit determines whether the determination of the success or failure of communication at the search points preset in the Y-axis direction and the X-axis direction has been completed. If it is determined that it has not been completed, the process returns to step S220, for example, the search points are moved in the X-axis direction to perform determinations one by one.

[0106] When the determination of the success or failure of the communication at all the search points is completed, the processing of this flowchart is terminated and the process returns to Figure 8 Flowchart of the process.

[0107] The search unit performs a search process for determining whether the communication between the RFID inlet 110 and the antenna 151 is successful or not at a plurality of search points in a search range preset for the print medium M.

[0108] Fig.11 is an explanatory diagram showing an example of success or failure of communication at a search point in the quick mode, Fig.12 This is an explanatory diagram showing an example of the success or failure of communication at a search point in the detailed mode. In the diagram, X indicates a search point where communication failed (failure point), and ○ indicates a search point where communication succeeded (success point).

[0109] exist Fig.11 In the fast mode shown in FIG. 1 , for example, within a search range preset for the print medium M, a total of 35 search points, 7 points in the X-axis direction and 5 points in the Y-axis direction, can be set in a grid pattern. Fig.12 In the detailed mode shown, for example, within a search range preset for the print medium M, search points of 300 points in total, 20 points in the X-axis direction and 15 points in the Y-axis direction, can be set in a grid pattern.

[0110] In the fast mode, the search processing can be performed quickly by increasing the intervals between search points and arranging fewer (scattered) search points. On the other hand, in the detailed mode, the search point accuracy can be improved by decreasing the intervals between search points and arranging more (dense) search points.

[0111] exist Fig.11 , Fig.12 In the example, the search starts from the search point D at the initial position, and moves from the start end to the end end along the X-axis direction as shown by arrow E. When reaching the end end of the X-axis, the search moves to the adjacent search point in the Y-axis direction as shown by arrow F. When returning from the end end toward the start end along the X-axis direction, as shown by arrow G, when reaching the start end of the X-axis, the search skips the initial position in the Y-axis direction and moves to an adjacent search point, and enters the start end from the end end along the X-axis direction.

[0112] In this way, for example, the search unit can grasp the success or failure of communication at each search point on a two-dimensional plane by moving the antenna 151 in a spiral manner in the X-axis direction and the Y-axis direction from the initial position (spiral type).

[0113] In addition, the search action of the search point is not limited to Fig.11 and Fig.12 Example shown. Fig.13 and Fig.14 It is an explanatory diagram showing another example of the search operation of the search point.

[0114] For example Fig.13 As shown, it can also be constructed as follows: the initial position is set to the end of the X-axis and the Y-axis (search point Q), the search is performed while moving from the search point Q toward the X-axis direction, and after moving from the end of the X-axis to the adjacent end of the Y-axis, it returns to the X-axis direction and searches again (in a zigzag form).

[0115] In addition, if Fig.14 As shown, the initial position is set to the starting end of the X-axis and the central position of the Y-axis (search point D), and the search is performed while moving from the search point D to the X-axis direction. After the end of the X-axis moves to the side of the Y-axis, it returns to the X-axis direction again, and moves in a vortex-like manner as described above (H area). Next, move upward along the Y-axis, search while moving to the X-axis direction, and return to the X-axis direction again after the end of the X-axis moves to the adjacent end of the Y-axis, and move in a zigzag shape, thereby searching (I area). It can also be constructed as follows: if it reaches the end of the Y-axis, it moves to the area (area J) on the opposite side of the H area, and searches in the same zigzag shape (composite type). In addition, the initial position can also be set to the center part of the X-axis and the Y-axis. In this way, the search unit can change the initial position, combine the above-mentioned multiple search actions, and determine the optimal point.

[0116] In addition, Figure 3 Even when the RFID insert 110 in the print medium M shown in the figure is located close to the front end side or the rear end side of the print medium M, there is a case where the RFID insert 110 cannot be inserted in the print medium M with the above setting. Fig.11 , Fig.12 In this case, the printing medium M can be moved within the search range by feeding it in the conveying direction and feeding it in the reverse direction, and executing Figure 7 The optimal point is determined by performing the processing of S130 to S140.

[0117] Fig.15 yes Figure 7 Flowchart of the optimal point determination process of step S140.

[0118] The optimal point determination process of this embodiment calculates a "score" at each search point based on the communication success / failure information at each search point, and determines the search point with the highest score as the optimal communication position (optimum point) of the antenna 151 relative to the RFID inlet 110 .

[0119] For example, the score is calculated by referring to the communication success / failure information of the search points around each search point and performing the following processing.

[0120] In step S310, the search unit obtains the communication success or failure information of the search points stored in the current storage area and arranges them on a two-dimensional plane (refer to Fig.16 ). The search unit sets, for example, any one of the search points as a “focus point”.

[0121] Next, the process proceeds to step S320, where the search unit determines whether the focus point is a success point. If it is a failure point, the process proceeds to step S450, where "0" is added to the score of the focus point and the score is updated. The process then proceeds to step S390.

[0122] If it is determined to be a successful point in step S320, the search unit moves to step S330 to obtain the success or failure information of the search point adjacent to the focus point. Fig.16 The success / failure information of the search points adjacent to the upper side of the focus point (indicated by a black dot) is shown.

[0123] The search unit proceeds to step S340 to determine whether the adjacent point obtained in step S330 is a successful point. If it is a failed point, the search unit proceeds to step S460 to update the score.

[0124] If it is determined in step S340 that the point is a success, the search unit proceeds to step S350 and adds a positive value (for example, "+1") to the score of the focus point to update the score.

[0125] Next, the search unit moves to step S360, and further selects another adjacent search point relative to the adjacent point selected in step S330. Fig.16 The communication success or failure information of the search point adjacent to the right side of the point of interest shown (next to the lower right side of the adjacent point of interest mentioned above). Fig.16 As shown, the success or failure information is obtained while the search point is moved in a spiral shape with the focus point as the center.

[0126] Next, the search unit determines whether another search point is a point at the "outermost periphery" (step S370). The "outermost periphery" refers to the search point at the outermost side of the set of search points. Fig.16 The upper end or the lower end in the X-axis direction, or the right end or the left end in the Y-axis direction is shown.

[0127] If the other search point is the outermost point, the search unit moves to step S380. If it is not the outermost point, the search unit returns to step S340 and repeatedly determines whether the other search point is a successful point. If it is a failed point, the search unit moves to step S460 and updates the score. That is, the search unit records the number of successful points until the failed point appears. If it is a successful point, the search unit moves to step S350 and adds a positive value (+1) to the score of the focus point.

[0128] When another search point is the outermost point, the search unit moves to step S380, subtracts the score of the focus point (adds a negative value (e.g., "-0.2") to the score) and updates the score. When the focus point is located near the end of the printing medium M, there are fewer successful points around it, so the score is subtracted to control the score of the point closer to the center to be larger.

[0129] Next, the process proceeds to step S390, where the search unit changes the focus point to another search point. Specifically, the search point adjacent to the focus point in the X-axis direction set in step S310 is set as the focus point. If the focus point is the terminal in the X-axis direction, the search point adjacent to the Y-axis direction is set as the focus point.

[0130] Next, the search unit moves to step S400 to determine whether the above-mentioned processing has been performed on all points as the focus point. If the processing of all points has not been completed, the process returns to step S320 and the processing is repeated.

[0131] When the processing as the focus point is performed for all search points, the search unit moves to step S410 and selects the "optimal point" with the highest score from the search points. Here, in the case where there are multiple optimal points with the same score, for example, the optimal point close to the preset initial position is selected. In addition, the point with a high RSSI value can also be selected as the optimal point. In addition, the optimal point closest to the current position of the antenna 151 can also be selected.

[0132] In this way, a search unit having a virtual structure for calculating the optimum point of antenna 151 based on the communication success / failure information at a plurality of search points is constructed.

[0133] In this embodiment, when the printing medium M is considered as a two-dimensional plane, the surrounding search points are selected in a spiral shape for each search point set on the two-dimensional plane and weighted to calculate the score. The score of the search point is a value with a higher weight as the number of successful points around the search point increases. That is, the search point with the highest score, that is, the search point with the largest area occupied by the surrounding successful points, is taken as the optimal point.

[0134] By determining the optimal point in this way, the communication position of the antenna 151 that best communicates with the RFID inlet 110 can be determined.

[0135] In addition, if Fig.15 As shown, the search unit calculates the score by weighting according to whether it is a successful point, but it can also be configured to calculate the optimal point by adding the strength of the RSSI value at the successful point as a weight to the score.

[0136] In this embodiment, the process of setting the optimum point of the antenna 151 may be performed in a printer different from the printer 1 that performs each process. For example, in a factory or service center, the optimum point of the antenna 151 is determined in advance using the continuum ML for setting the optimum point, and is prepared as a distribution file. Figure 6 In the menu screen, as a distribution file, it is stored in the RAM53 of the printer 1 installed at the place of use. When the continuum ML of the same specification is loaded, it can also be used to search for the position of the antenna 151 and keep it set to the optimal point.

[0137] In addition, in step S360 of the optimal point determination process, it does not necessarily need to be a spiral shape, and other search actions can also be performed. For example, it can also be constructed as follows: while moving the Y axis to which the focus point belongs one by one toward the X axis direction, the score is set, and when it reaches the end of the Y axis, it moves to an adjacent Y axis, and repeats this action, or it can also be moved in a rectangular shape in the X-axis and Y-axis directions.

[0138] Fig.17is a flowchart of the optimal point determination process in another embodiment of the present invention. Fig.15 In the embodiment, the optimal point is determined by weighting the search point where the area occupied by the successful point on the two-dimensional plane of the printing medium M is the largest.

[0139] In contrast, Fig.17 In another embodiment shown, a successful point group is extracted by treating the set of successful points as a two-dimensional image, the successful point group with the largest area in the successful point group is selected, and the center point of the selected successful point group is taken as the optimal point.

[0140] exist Fig.17 In the flowchart of , if the optimal point determination process is started, first, in step S510, the search unit obtains the communication success or failure information of all the search points stored in the current storage area and arranges it on a two-dimensional plane.

[0141] Next, the search unit determines whether there are enough success points.

[0142] For example, if there is no adjacent successful point, the successful points are less than 10% of the total search points, etc., which do not meet the pre-set success point criteria, it is determined that there are not enough successful points. In this case, the process moves to step S560, and the search unit displays on the display unit 28 that the optimal point cannot be calculated based on the success or failure information of the current search point, and ends the processing of this flowchart.

[0143] When it is determined that there are enough successful points, the process proceeds to step S530, and the search unit extracts a set of successful points to which there are adjacent successful points as a "successful point group".

[0144] Next, the process proceeds to step S540, where, when there are multiple extracted successful point clusters, the search unit selects the largest successful point cluster. The largest successful point cluster is a successful point cluster with the most successful points, that is, a successful point cluster with the largest area.

[0145] Next, the process proceeds to step S550, where the search unit determines the center coordinates of the selected largest successful point group, more specifically, the center point (center of gravity) when the successful point group is regarded as a two-dimensional plane, as the optimal point. This method can also determine the optimal point from the obtained set of successful points.

[0146] Fig.18 : is a diagram showing a successful point group in another embodiment.

[0147] Fig.18The example shown shows an example of extracting three successful point groups (successful point group S, successful point group T, and successful point group U) as sets of successful points. The search unit selects the successful point group S, which has the largest area. The search unit searches for the center coordinates of the successful point group S and determines the center point as the optimal point.

[0148] As described above, according to the present embodiment, a printer 1 is provided for printing on a printing medium M having an RFID insert 110, and the printer 1 comprises: a communication unit 50 for communicating with the RFID insert 110; and a search unit for moving the communication unit 50 relative to the position of the RFID insert 110 and searching for a position capable of communicating with the RFID insert 110, wherein the search unit is configured to determine whether the communication between the RFID insert 110 and the communication unit 50 is successful at a plurality of positions relative to the RFID insert 110, and to determine the communication position between the RFID insert 110 and the communication unit 50 based on an area including a plurality of positions where the communication is determined to be successful.

[0149] According to this structure, the communication position with the communication unit 50 is determined based on the area including a plurality of positions where communication with the RFID insert 110 is successful, so that the antenna 151 can be set to the most appropriate position for communication with the RFID insert 110 of the printing medium M at the printing start position. Therefore, the optimal communication position with the RFID insert 110 can be efficiently determined according to the type of the RFID insert 110 built into the printing medium M, the individual difference of the printer 1 that prints on the printing medium M, and the like.

[0150] The search unit sets the search point with the most successful points in the surroundings as the communication position in an area including a plurality of positions where communication with the RFID insert 110 is successful. Thus, the optimal communication position with the RFID insert 110 can be efficiently determined according to the type of the RFID insert 110 built into the print medium M, the individual difference of the printer 1 that prints on the print medium M, and the like.

[0151] The search unit moves the antenna 151 of the communication unit 50 in a spiral or rectangular shape from a pre-set position to search for a position capable of communicating with the RFID insert 110. Therefore, the optimal communication position with the RFID insert 110 can be efficiently determined based on the type of the RFID insert 110 built into the print medium M, the individual differences of the printer 1 that prints on the print medium M, etc.

[0152] For the search unit, among multiple positions where communication is successful, the more positions that are determined to be adjacent positions where communication is successful, the greater the weighting, and the communication position between the RFID insert 110 and the communication unit 50 is determined based on the weighting. Therefore, based on the type of RFID insert 110 built into the printing medium M, the individual differences of the printer 1 that prints on the printing medium M, etc., the optimal communication position with the RFID insert 110 can be efficiently determined.

[0153] The search unit stores the determined communication position (optimal point information) between the RFID inlet 110 and the communication unit 50, and uses the stored communication position (the information of the optimal point included in the past history information or the sign model information) to set the communication position of the communication unit 50. Thus, even if the printing medium M is replaced with another type, for example, the optimal communication position with the RFID inlet 110 can be efficiently determined.

[0154] The search unit extracts the area of ​​the region including the multiple positions where communication is successful, and determines the communication position between the RFID insert 110 and the communication unit 50 based on the center coordinates of the region with the largest area. Thus, the optimal point is set from the set of successful points, so that the best communication position with the RFID insert 110 can be efficiently determined.

[0155] Although the embodiment of the present invention has been described above, the above embodiment merely shows one application example of the present invention and is not intended to limit the technical scope of the present invention to the specific configuration of the above embodiment.

[0156] This application claims priority based on Japanese Patent Application No. 2019-068596 filed with the Japan Patent Office on March 29, 2019. All the contents of this application are incorporated herein by reference.

Claims

1. A printer for printing on a printing medium having an RFID, wherein: The printer has: A communication unit, communicating with the RFID; and a search unit that moves the position of the communication unit relative to the RFID in the surface direction of the printing medium and searches for a position where communication with the RFID is possible, The search unit moves the position of the communication unit and determines whether the communication between the communication unit and the RFID is successful or not. The optimal point is determined as the point with the most successful communication locations among the successful communication locations. The determined optimal point is determined as a communication position between the RFID and the communication unit.

2. The printer according to claim 1, wherein: The search unit moves the communication unit in a spiral or rectangular shape from a predetermined position, and determines whether the communication with the RFID is successful or not.

3. The printer according to claim 2, wherein: The search unit determines the optimal point based on a weight that increases as the number of adjacent positions where communication is determined to be successful increases, among the plurality of positions where communication is determined to be successful.

4. The printer according to claim 2, wherein: The search unit extracts an area where positions where communication is successful exist adjacent to each other as a successful point group, and determines the center of the extracted area of ​​the successful point group as the optimal point.

5. The printer according to any one of claims 1 to 3, wherein: The search unit stores the determined communication position between the RFID and the communication unit in advance, and determines the communication position with the communication unit based on the stored communication position.

6. The printer according to claim 4, wherein: The search unit stores the determined communication position between the RFID and the communication unit in advance, and determines the communication position with the communication unit based on the stored communication position.

7. The printer according to claim 4, wherein: The search unit extracts the area of ​​the region of the successful point group, and determines the center of the successful point group with the largest area among the plurality of successful point groups as the optimal point.

8. The printer according to claim 6, wherein: The search unit extracts the area of ​​the region of the successful point group, and determines the center of the successful point group with the largest area among the plurality of successful point groups as the optimal point.

9. A method for controlling a printer, wherein the printer prints on a print medium having an RFID, wherein: The printer comprises: a communication unit for communicating with the RFID; and a searching unit that moves the position of the communication unit relative to the RFID in the surface direction of the printing medium and searches for a position that can communicate with the RFID, The communication unit is moved, and the communication between the communication unit and the RFID is determined to be successful or not. The optimal point is determined as the point with the most successful communication locations among the successful communication locations. The determined optimal point is determined as a communication position between the RFID and the communication unit.

10. A recording medium storing a program executable by a computer of a printer for printing on a print medium having an RFID, wherein: The printer comprises: a communication unit for communicating with the RFID; and a searching unit that moves the position of the communication unit relative to the RFID in the surface direction of the printing medium and searches for a position that can communicate with the RFID, The program causes the computer to execute the following steps: The communication unit is moved, and the communication between the communication unit and the RFID is determined to be successful or not. The optimal point is determined as the point with the most successful communication locations among the successful communication locations. The determined optimal point is determined as a communication position between the RFID and the communication unit.