Tablet printing device and tablet printing method

JP2024021600A5Active Publication Date: 2024-10-16SHIBAURA MECHATRONICS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022124546
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-08-04
Publication Date
2024-10-16
Estimated Expiration
2042-08-04

AI Technical Summary

Technical Problem

Existing methods for printing identification information on tablets, such as two-dimensional codes, result in inaccurate inspections, leading to decreased yield rates and incorrect readings, as tablets are misjudged as defective despite being readable.

Method used

A tablet printing device and method that includes a print head, control device, and imaging device to control the printing and inspection process, ensuring that the data read from the printed code matches the original data, thereby improving accuracy.

Benefits of technology

Enhances the accuracy of testing tablets with printed information by preventing misjudgment of tablets as defective due to minor imperfections, thus improving yield and reducing incorrect readings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To make it possible to improve inspection accuracy that inspects a tablet on which information is printed by code.SOLUTION: A tablet printing device includes: a printing head printing on a tablet; a controller 40 controlling the printing head; and an imaging device imaging the tablet printed by the printing head. The controller 40 controls the printing head so as to print a code generated on the basis of original data and determines whether or not data read from the code included in the image obtained by the imaging device matches the original data.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a tablet printing device and a tablet printing method. [Background technology]

[0002] Conventionally, identification information such as characters has been printed on tablets using an inkjet head. By directly printing the identification information on the tablet, the identification information of the tablet can be confirmed even after the tablet is removed from a packaging container such as a PTP (Press Through Pack) sheet.

[0003] However, for example, in the case of tablets to be taken, the amount of information that can be printed on the tablet is limited due to the small size of the tablet. In response to this, if the information to be printed is converted into a code, for example, a two-dimensional code such as a QR code (registered trademark), and the two-dimensional code is printed on the tablet, the amount of information that can be displayed on the tablet can be increased.

[0004] A tablet on which such a two-dimensional code is printed is usually imaged by an imaging device, and the quality of the two-dimensional code printed on the tablet is judged. As a method for judging the quality, for example, pattern matching is performed. Generally, two-dimensional codes have an error correction function, so that the information can be read even if there are some printing defects or dirt.

[0005] However, when inspection by pattern matching is performed, even if there is no problem in reading the information from the two-dimensional code printed on the tablet, the tablet on which the two-dimensional code is printed may be determined to be defective and rejected, resulting in a decrease in yield. Also, even if the tablet on which the two-dimensional code is printed is determined to be a non-defective product in inspection by pattern matching, it is possible that the two-dimensional code reader will read incorrect information from the two-dimensional code printed on the tablet. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2019-58220 A Summary of the Invention [Problem to be solved by the invention]

[0007] The problem to be solved by the present invention is to provide a tablet printing device and a tablet printing method capable of improving the inspection accuracy of tablets on which information is printed in code. [Means for solving the problem]

[0008] A tablet printing device according to an embodiment of the present invention comprises a print head that prints on tablets, a control device that controls the print head, and an imaging device that images the tablets printed by the print head, and the control device controls the print head to print a code generated based on original data and determines whether data read from the code contained in the image obtained by the imaging device matches the original data.

[0009] A tablet printing method according to an embodiment of the present invention includes a control device controlling a print head that prints on a tablet so as to print a code generated based on original data, and determining whether data read from the code contained in an image obtained by an imaging device that images the tablet on which printing has been performed by the print head matches the original data. Effect of the Invention

[0010] According to an embodiment of the present invention, it is possible to improve the inspection accuracy of tablets on which information is printed in code. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a schematic configuration of a tablet printing apparatus according to a first embodiment. [Diagram 2]FIG. 1 is a diagram illustrating an example of a schematic configuration of a printing apparatus according to a first embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a schematic configuration of a control device according to the first embodiment. [Figure 4] FIG. 2 is a diagram for explaining an example of a two-dimensional code according to the first embodiment. [Diagram 5] 5 is a flowchart showing an example of the flow of a printing process according to the first embodiment. [Figure 6] 13 is a diagram for explaining an example of a two-dimensional code and a character string according to the second embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] <First embodiment> The first embodiment will be described with reference to FIGS.

[0013] (Example of tablet printing device configuration) As shown in FIG. 1, the tablet printing device 1 according to the first embodiment includes a supplying device 10, a first printing device 20, a second printing device 50, a collecting device 30, and a control device 40.

[0014] The supply device 10 has a hopper 11, an alignment feeder 12, and a delivery feeder 13. The supply device 10 is positioned at one end side of the first printing device 20 and is configured to be able to supply tablets T, which are printing objects, to the first printing device 20. The hopper 11 stores a large number of tablets T and sequentially supplies the stored tablets T to the alignment feeder 12. The alignment feeder 12 aligns the supplied tablets T in a line and conveys them in a conveying direction A1 (clockwise direction) toward the delivery feeder 13. For example, a belt conveying mechanism or a vibration feeder is used as the alignment feeder 12. The delivery feeder 13 sequentially sucks in and holds each tablet T lined up on the alignment feeder 12 from the upper side of the tablet T, conveys each held tablet T in a line to the first printing device 20, and delivers it to the first printing device 20. For example, a belt conveying mechanism is used as the delivery feeder 13. The belt conveying mechanism of the delivery feeder 13 rotates in a conveying direction A2 (counterclockwise direction). The supply device 10 is electrically connected to the control device 40, and the drive thereof is controlled by the control device 40.

[0015] The first printing device 20 includes a transport unit 21, a detection unit 22, a first imaging unit 23, an inkjet head 24, a second imaging unit 25, and a drying unit 27. The inkjet head 24 is an example of a print head (printing unit), and the second imaging unit 25 is an example of an imaging device.

[0016] The conveying section 21 includes a conveying belt 21a, a driving pulley 21b, a plurality of driven pulleys 21c, a motor 21d, a position detector 21e, and a suction chamber 21f. The conveying belt 21a is an endless belt and is stretched over the driving pulley 21b and each of the driven pulleys 21c. The driving pulley 21b and each of the driven pulleys 21c are rotatably provided on the device body (not shown), and the driving pulley 21b is connected to the motor 21d. The motor 21d is electrically connected to the control device 40, and its driving is controlled by the control device 40. The position detector 21e is a device such as an encoder and is attached to the motor 21d. The position detector 21e is electrically connected to the control device 40, and transmits a detection signal to the control device 40. The conveying unit 21 runs the conveying belt 21a together with each of the driven pulleys 21c by rotation of the driving pulley 21b by the motor 21d, and conveys the tablets T on the conveying belt 21a in a conveying direction A1 (clockwise direction).

[0017] As shown in FIG. 2, a plurality of circular suction holes 21g are formed in the conveyor belt 21a. Each of these suction holes 21g is a through hole that adsorbs the tablet T, and is arranged in a line along the conveying direction A1 to form a single conveying path. Each suction hole 21g is connected to the inside of the suction chamber 21f (see FIG. 1) through a suction path (not shown) formed in the suction chamber 21f, and it is possible to obtain a suction force by the suction chamber 21f. A pump is connected to the suction chamber 21f through a suction pipe (not shown), and the inside of the suction chamber 21f is depressurized by the operation of the pump. The suction pipe is connected to the approximate center of the side surface (plane parallel to the conveying direction A1) of the suction chamber 21f. In addition, the pump is electrically connected to the control device 40, and its drive is controlled by the control device 40. When the inside of the suction chamber 21f is depressurized, the tablet T placed on each suction hole 21g of the conveyor belt 21a is sucked by the suction hole 21g and held on the conveyor belt 21a.

[0018] The detection unit 22 is positioned downstream in the conveying direction A1 from the position where the supply device 10 is provided, and is provided above the conveying path where the suction holes 21g are lined up. This detection unit 22 detects the tablet T that has reached the detection position directly below the detection unit 22 (arrival of the tablet T), i.e., the position of the tablet T on the conveying belt 21a in the conveying direction A1, by projecting and receiving laser light. For example, a displacement sensor is used as the detection unit 22. Also, various types of laser sensors, such as a reflective laser sensor, are used as the displacement sensor. The detection unit 22 is electrically connected to the control device 40, and transmits a detection signal to the control device 40.

[0019] The first imaging unit 23 is positioned downstream in the conveying direction A1 from the position where the detection unit 22 is provided, and is provided above the conveying path where each suction hole 21g is lined up. Based on the position information of the tablet T in the conveying direction A1 detected by the detection unit 22, the first imaging unit 23 performs imaging at the first imaging timing when the tablet T reaches the imaging position directly below the first imaging unit 23, acquires a first image including the upper surface of the tablet T, and transmits the acquired first image to the control device 40. The first image is used to detect the position of the tablet T in the X direction, Y direction, and θ direction (see FIG. 2). As the first imaging unit 23, various cameras having imaging elements such as a CCD (charge-coupled device) or a CMOS (complementary metal oxide semiconductor) are used. The first imaging unit 23 is electrically connected to the control device 40, and its drive is controlled by the control device 40. In addition, illumination for imaging is also provided as necessary.

[0020] Here, the positions of the tablet T in the X and Y directions are, for example, positions in the XY coordinate system relative to the center (reference position) of the imaging area of ​​the first imaging unit 23. The position in the θ direction is, for example, a position indicating the degree of rotation of the tablet T in a horizontal plane along the XY plane of the imaging area of ​​the first imaging unit 23. This position in the θ direction is detected when the tablet T has a shape having directionality, such as when a score line is provided on the tablet T or when the tablet T is molded into an ellipse, oval, triangle, rectangle, or the like. The X and Y directions are positions in the horizontal direction.

[0021] The inkjet head 24 is positioned downstream in the transport direction A1 from the position where the first imaging unit 23 is provided, and is provided above the transport path in which the suction holes 21g are aligned. The inkjet head 24 has a plurality of nozzles 24a (for example, several hundred to several thousand) (see FIG. 2), and is provided so that the direction in which the nozzles 24a are aligned (nozzle row) is perpendicular (one example of intersection) to the transport direction A1 in a horizontal plane. The inkjet head 24 ejects ink from each nozzle 24a individually by the operation of a drive element for each nozzle 24a. As the inkjet head 24, various inkjet type print heads having drive elements such as piezoelectric elements, heat elements, or magnetostrictive elements are used. The inkjet head 24 is electrically connected to a control device 40, and its drive is controlled by the control device 40.

[0022] The second imaging unit 25 is positioned downstream in the conveying direction A1 from the position where the inkjet head 24 is provided, and is provided above the conveying path where each suction hole 21g is lined up. Based on the position information of the tablet T in the conveying direction A1 detected by the detection unit 22, the second imaging unit 25 performs imaging at the second imaging timing when the tablet T reaches the imaging position directly below the second imaging unit 25, acquires a second image including the upper surface of the tablet T, and transmits the acquired second image to the control device 40. The second image is used to inspect the print pattern printed on the tablet T. As with the first imaging unit 23 described above, various cameras having imaging elements such as CCD and CMOS are used as the second imaging unit 25. The second imaging unit 25 is electrically connected to the control device 40, and its drive is controlled by the control device 40. Illumination for imaging is also provided as necessary.

[0023] The drying section 27 is disposed at a position facing the conveyor belt 21a, and is provided, for example, below the conveyor unit 21. The drying section 27 dries the ink applied to each tablet T on the conveyor belt 21a. As the drying section 27, various dryers are used, such as a blower that dries with gas such as air, a heater that dries with radiant heat, or a blower that dries with warm air or hot air using both gas and a heater. The drying section 27 is electrically connected to the control device 40, and its drive is controlled by the control device 40.

[0024] Here, the first printing device 20 and the second printing device 50 are arranged such that the conveying section 21 and the conveying section 51 are partially overlapped vertically, and the tablets T printed by the upper first printing device 20 are transferred to the lower second printing device 50, and both sides of the tablets T are printed. Normally, in order to smoothly transfer the tablets T from the first printing device 20 to the second printing device 50, the conveying speed of the first printing device 20 and the conveying speed of the second printing device 50 are always the same.

[0025] The second printing device 50 has the same structure as the first printing device 20. That is, the second printing device 50 includes a conveying unit 51, a detecting unit 52, a first imaging unit 53, an inkjet head 54, a second imaging unit 55, and a drying unit 57. The conveying unit 51 includes a conveying belt 51a, a driving pulley 51b, a plurality of driven pulleys 51c, a motor 51d, a position detector 51e, and a suction chamber 51f. This conveying unit 51 conveys the tablets T on the conveying belt 51a in the conveying direction A2 (counterclockwise direction). The inkjet head 54 is an example of a print head (printing unit), and the second imaging unit 55 is an example of an imaging device. Note that each element constituting the second printing device 50 has basically the same structure as each element constituting the first printing device 20, and therefore the description thereof will be omitted.

[0026] The recovery device 30 is positioned downstream in the conveying direction A2 from the position where the drying section 57 is provided, and is provided below the conveying section 51. The recovery device 30 has a reusable product recovery section 31, a defective product recovery section 32, and a good product recovery section 33. The recovery device 30 recovers reusable tablets T by the reusable product recovery section 31, recovers defective tablets T by the defective product recovery section 32, and recovers good tablets T by the good product recovery section 33. For example, the reusable products are reusable tablets, and are non-printed tablets that are undamaged and have no foreign matter attached. In addition, the defective products are non-printed tablets that have foreign matter attached, or tablets that have no damage and no foreign matter attached and have failed printing (printed tablets), and the good products are tablets that have no damage and no foreign matter attached and have passed printing (printed tablets). The order of arrangement in the reusable product recovery section 31, the defective product recovery section 32, and the good product recovery section 33 in the conveying direction A2 is not limited to the order shown in FIG. 1, and may be changed as appropriate. The recovery device 30 is electrically connected to the control device 40, and its operation is controlled by the control device 40.

[0027] The reusable item recovery section 31 has a spray nozzle 31a and a recovery box 31b. The defective item recovery section 32 has a spray nozzle 32a and a recovery box 32b. The non-defective item recovery section 33 has a spray nozzle 33a and a recovery box 33b. These spray nozzles 31a, 32a, and 33a basically have the same structure, and the recovery boxes 31b, 32b, and 33b also basically have the same structure. For this reason, the spray nozzle 31a and the recovery box 31b will be described as representatives.

[0028] The injection nozzle 31a and the recovery box 31b are provided at positions facing each other across the conveying path where the suction holes 51g of the conveyor belt 51a are aligned. The injection nozzle 31a is disposed in the suction chamber 51f, and for example, injects gas (e.g., air) toward the conveyor belt 51a to cause the tablets T to fall from the conveyor belt 51a. At this time, the gas injected from the injection nozzle 31a passes through the suction holes 51g of the conveyor belt 51a and hits the tablets T. The injection nozzle 31a is electrically connected to the control device 40, and its drive is controlled by the control device 40. The recovery box 31b is provided directly below the injection nozzle 31a and below the conveyor unit 51. This recovery box 31b receives and stores the tablets T that have fallen from the conveyor belt 51a due to the gas injected from the injection nozzle 31a.

[0029] Here, the tablets T that have passed through the reusable product recovery section 31 and the defective product recovery section 32 are transported with the movement of the conveyor belt 51a, and reach a position near the end of the conveyor belt 51a on the side of each driven pulley 51c. At this position, the suction action no longer works on the tablets T, but gas is sprayed onto the tablets T from above by the injection nozzle 33a, and the tablets T fall from the conveyor belt 51a. Therefore, by providing the injection nozzle 33a, it is possible to reliably cause the tablets T to fall from the conveyor belt 51a. The collection box 33b receives and stores the tablets T that have fallen from the conveyor belt 51a due to the gas sprayed from the injection nozzle 33a.

[0030] The control device 40 controls each part of the tablet printing device 1, such as the supply device 10, the first printing device 20, the second printing device 50, and the recovery device 30, based on various information and various programs. The control device 40 also receives detection data (e.g., detection signals) transmitted from the position detector 21e and the detection unit 22 of the conveying unit 21, and the position detector 51e and the detection unit 52 of the conveying unit 51, and also receives image data transmitted from the first imaging unit 23, the second imaging unit 25, the first imaging unit 53, and the second imaging unit 55. The control device 40 is realized, for example, by an electronic circuit such as an integrated circuit or a computer.

[0031] (Example of control device configuration) Next, an example of the configuration of the control device 40 will be described with reference to FIG.

[0032] 3, the control device 40 includes an image processing unit 41, a storage unit 42, a control unit 43, and a code generating unit 44. An input device 40a and an output device 40b are connected to the control device 40. The input device 40a is realized by, for example, a switch, a touch panel, a keyboard, a mouse, etc. The output device 40b is realized by, for example, a display, a lamp, a meter, etc.

[0033] The image processing unit 41 takes in the first image captured by the first imaging unit 23 or the first imaging unit 53 and the second image captured by the second imaging unit 25 or the second imaging unit 55, and processes the images using a known image processing technique. For example, the image processing unit 41 processes the first image obtained from the first imaging unit 23 to obtain the presence or absence of damage or foreign matter adhering to the tablet T, as well as the positions of the tablet T in the X direction, Y direction, and θ direction. The image processing unit 41 also processes the second image obtained from the second imaging unit 25 to obtain image information of the printing pattern printed on the tablet T. The image processing unit 41 transmits the obtained information on the presence or absence of damage or foreign matter adhering to the tablet T, the position information of each tablet T in the X direction, Y direction, and θ direction, and the image information of the printing pattern printed on each tablet T to the control unit 43.

[0034] The storage unit 42 stores various programs and various information. The storage unit 42 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 42 stores production data (production information), print data related to printing, conveying speed data, and the like. The production data refers to data that changes with the production (manufacturing) of the printed tablets T. An example of the production data is a lot number. The production data may be generated based on information input by the user using the input device 40a, or may be automatically generated by the control unit 43.

[0035] The control unit 43 is, for example, a computer such as a CPU (Central Processing Unit), MCU (Micro Control Unit), or MPU (Micro Processing Unit), and controls each unit. The control unit 43 may be realized, for example, by one or both of hardware and software. For example, the control unit 43 controls the supply device 10, the first printing device 20, the second printing device 50, the collection device 30, the image processing unit 41, the storage unit 42, the code generation unit 44, and the like, based on various information and various programs stored in the storage unit 42. The control unit 43 also receives detection signals and the like transmitted from the position detector 21e and the detection unit 22 of the conveying unit 21, and the position detector 51e and the detection unit 52 of the conveying unit 51.

[0036] The code generating unit 44 generates a two-dimensional code B1 as shown in FIG. 4 based on the lot number (an example of production data) which is the original data. The two-dimensional code B1 includes a plurality of cut-out symbols B1a, B1b, and B1c. In the example of FIG. 4, only the two-dimensional code B1 is printed on the tablet T. The control unit 43 converts the two-dimensional code B1 generated by the code generating unit 44 into a print pattern (e.g., raster data), and controls the inkjet head 54 based on the print pattern to print on the tablet T. The tablet T to be printed is, for example, a size that can be taken, and has a diameter of 5 to 15 mm. The code generating unit 44 may be realized, for example, by one or both of hardware and software.

[0037] Here, the control unit 43 acquires the position of the tablet T in the conveying direction A1 on the conveying belt 21a based on the detection information transmitted from the detection unit 22 in the first printing device 20, i.e., the timing at which the tablet T on the conveying belt 21a was detected, and sets the first imaging timing of the first imaging unit 23, the print start timing of the inkjet head 24, and the second imaging timing of the second imaging unit 25 based on the position information indicating the position of the tablet T in the conveying direction A1, generates timing information indicating those timings, and stores it in the storage unit 42. The print start timing is the timing at which printing is started on the tablet T that has reached the printing position directly below the inkjet head 24. Such processing is similar in the second printing device 50. The control unit 43 can acquire information such as the movement amount (rotation amount) and speed of the conveying belt 21a based on the detection information transmitted from the position detector 21e.

[0038] Furthermore, in the first printing device 20, the control unit 43 sets the printability information for the tablets T for which the result data has been obtained, based on the information on the presence or absence of damage or foreign matter on the tablets T transmitted from the image processing unit 41 (this information is based on the first image). Then, the control unit 43 sets the printing conditions for the tablets T for which the printability has been set, as printing condition information. At this time, the control unit 43 sets the printing conditions for the tablets T for which the position information has been obtained, based on the position information in the X direction, Y direction, and θ direction of the tablets T transmitted from the image processing unit 41 (this information is based on the first image).

[0039] For example, the control unit 43 converts the two-dimensional code B1 generated by the code generation unit 44 into a printing pattern (e.g., raster data), and sets printing conditions for controlling the inkjet head 54 based on the printing pattern. Specifically, the control unit 43 determines the range of the nozzles 24a used to print the target tablet T in the inkjet head 24, i.e., the nozzle range to be used, based on the position information of the tablet T in the Y direction and the printing pattern, and sets printing conditions including the nozzle range to be used and the printing start timing. In addition, when the tablet T has a shape having directionality, the control unit 43 sets printing conditions corresponding to the position of the tablet T in the θ direction based on the position information of the tablet T in the θ direction. As an example, the control unit 43 registers 180 printing patterns in the storage unit 42, in which the orientation of the printing pattern is rotated by 1 degree in the range from 0 degrees to 179 degrees, and sets the printing conditions by selecting a printing pattern with an angle that matches the position of the tablet T in the θ direction from among those printing patterns. Such processing is similar to that in the second printing device 50.

[0040] Furthermore, the control unit 43 determines whether the printing pattern (e.g., the two-dimensional code B1) has been printed in a data-readable manner based on the image information of the printing pattern printed on the tablet T transmitted from the image processing unit 41 in the first printing device 20 (this information is based on the second image), and sets the printing quality information of the tablet T (printing condition inspection). The image of the printing pattern is a second image captured by the second imaging unit 25 (a printing inspection camera arranged downstream of the inkjet head 54). The quality of the printing is determined based on this second image. This type of processing is also performed in the second printing device 50.

[0041] Specifically, the control unit 43 determines whether the two-dimensional code B1 printed on the tablet T in the second image can be read, and whether the read data (information) matches the original data, which is the lot number. If the control unit 43 can read the two-dimensional code B1 printed on the tablet T and the read data matches the lot number, it determines that there is no problem with the print result of the two-dimensional code B1. On the other hand, if the control unit 43 cannot read the two-dimensional code B1 printed on the tablet T or the read data does not match the lot number, it determines that there is a problem with the print result of the two-dimensional code B1.

[0042] Furthermore, the control unit 43 determines the presence or absence of defects such as stains (e.g., black spots) by image processing for the area other than the area where the two-dimensional code B1 is printed, that is, the area outside the two-dimensional code B1. Note that since the area of ​​the two-dimensional code B1 can be specified based on the multiple cut-out symbols B1a, B1b, and B1c included in the two-dimensional code B1, it is sufficient to inspect the presence or absence of stains, etc. only for the specified area other than the area of ​​the two-dimensional code B1.

[0043] Thereafter, if the control unit 43 determines that there is no problem with the printing result of the two-dimensional code B1 and that there are no defects such as dirt in areas other than the two-dimensional code B1, it determines that the printing result of the tablet T is good (passes). On the other hand, if the control unit 43 determines that there is a problem with the printing result of the two-dimensional code B1 or that there are defects such as dirt in areas other than the two-dimensional code B1, it determines that the printing result of the tablet T is bad (fails). Tablets T that are determined to have a bad printing result are discharged by the defective product recovery unit 32 (defective product discharge device).

[0044] The control unit 43 appropriately stores various information (e.g., position information of the tablet T, timing information, printability information, printing condition information, print quality information, etc.) in the storage unit 42. However, when the target tablet T is collected by the collection device 30, for example, when the tablet T falls from the downstream end of the conveying unit 51 in the conveying direction A2 and a predetermined time (e.g., several seconds) has elapsed, the various information is deleted from the storage unit 42. However, if such information is required in a later process, it is possible to leave the various information for each tablet T without deleting it, or to store it in a storage medium (external storage) outside the device. When storing the various information for each tablet T, this information may be linked to the manufacturing date and time, lot number, etc., and stored, so that when a defective product occurs after shipping for the printed tablet T, the cause can be traced back.

[0045] (Printing process) Next, the printing process performed by the above-mentioned tablet printing apparatus 1 will be described with reference to Fig. 5. This printing process also includes an inspection process. Various information such as data required for printing and inspection is stored in the storage unit 42 in advance.

[0046] As shown in Fig. 5, in step S1, when a large number of tablets T to be printed are put into the hopper 11 of the supply device 10, the tablets T start to be sequentially supplied from the hopper 11 to the alignment feeder 12, and are aligned in a line by the alignment feeder 12 and moved. The tablets T moving in a line are sequentially supplied to the conveyor belt 21a of the first printing device 20 by the delivery feeder 13. The conveyor belt 21a rotates in the conveying direction A1 by the rotation of the drive pulley 21b and each driven pulley 21c by the motor 21d. The tablets T supplied onto the conveyor belt 21a at random intervals are aligned in a line on the conveyor belt 21a and conveyed at a predetermined conveying speed.

[0047] In step S2, the tablet T on the conveyor belt 21a is detected by the detection unit 22. More specifically, when the tablet T on the conveyor belt 21a reaches a detection position (e.g., a laser light irradiation position) directly below the detection unit 22, it is detected by the detection unit 22, and based on the timing at which the tablet T is detected, the position of the tablet T in the conveyor belt 21a in the conveying direction A1 is recognized by the control unit 43. Then, position information indicating the position of the tablet T in the conveying direction A1 is generated by the control unit 43 and stored in the memory unit 42.

[0048] In step S3, the tablet T on the conveyor belt 21a is imaged by the first imaging unit 23. More specifically, the tablet T on the conveyor belt 21a is imaged by the first imaging unit 23 at the first imaging timing when the tablet T on the conveyor belt 21a reaches the imaging position directly below the first imaging unit 23, and the first image obtained by imaging by the first imaging unit 23 is transmitted to the control device 40. This first image is processed by the image processing unit 41 of the control device 40. More specifically, the first image is processed by the image processing unit 41, and based on the first image, information on the presence or absence of damage or foreign matter on the tablet T, and position information of the tablet T in the X direction, Y direction, and θ direction are generated and stored in the memory unit 42.

[0049] In step S4, the control unit 43 judges whether printing on the target tablet T is possible based on the information on the presence or absence of damage or foreign matter on the tablet T. If it is judged that printing on the target tablet T is possible (Yes in step S4), the process proceeds to step S5. In addition, based on the position information of the tablet T in the X direction, Y direction, and θ direction, and the printing pattern, the printing conditions including the nozzle range to be used and the printing start timing for the tablet T set as printable (printable tablet T) are set in the memory unit 42. Based on the above-mentioned printing start timing (timing to start printing on the tablet T), the ejection timing for the tablet T (timing to eject ink onto the tablet T) is determined. On the other hand, if it is judged that printing on the target tablet T is not possible (No in step S4), the process proceeds to step S9, and the operation related to printing and inspection on the target tablet T is restricted. In addition, the printing possibility information of the tablet T is appropriately stored in the memory unit 42. In addition, the "restriction" of the operation related to printing and inspection means that at least the processing related to printing and inspection on the target tablet T is not performed.

[0050] In step S5, printing is performed by the inkjet head 24 based on the above printing conditions. That is, the control unit 43 controls the inkjet head 24 to print a predetermined print pattern (e.g., two-dimensional code B1) on the printable tablet T on the conveyor belt 21a. In detail, the printable tablet T on the conveyor belt 21a that has passed under the first imaging unit 23 is printed by the inkjet head 24 based on the above printing conditions at the print start timing when the tablet T reaches the printing position directly below the inkjet head 24. In the inkjet head 24, ink is appropriately ejected from each nozzle 24a, and for example, a two-dimensional code B1 is printed on the printable surface, which is the upper surface of the tablet T.

[0051] In step S6, the printed tablet T on the conveyor belt 21a is imaged by the second imaging unit 25. More specifically, the printed tablet T on the conveyor belt 21a is imaged by the second imaging unit 25 at the second imaging timing when the tablet T reaches the imaging position directly below the second imaging unit 25, and the second image obtained by imaging by the second imaging unit 25 is transmitted to the control device 40. This second image is processed by the image processing unit 41 of the control device 40. More specifically, the second image is processed by the image processing unit 41, and image information of the printing pattern printed on the tablet T is generated and stored in the memory unit 42. The image information is, for example, information including the luminance value (pixel value) for each pixel.

[0052] In addition, in the processing of the second image, in addition to the image information of the printed pattern, for example, the printing position, shape, and size of the printed pattern printed on the tablet T may be acquired by the image processing unit 41 as necessary. For example, the second image transmitted from the second imaging unit 25 may be processed by the image processing unit 41, and information indicating the printing position, shape, and size of the printed pattern printed on the tablet T may be generated and stored in the memory unit 42.

[0053] In step S7, the control unit 43 performs a print condition inspection (pass / fail of the print result) based on the image information of the print pattern printed on the tablet T. In detail, it is determined whether the two-dimensional code B1 printed on the tablet T in the second image can be read, and whether the read data (information) matches the original data, that is, the lot number. Furthermore, it is determined whether there are any defects such as stains (e.g., black spots) in the area other than the area where the two-dimensional code B1 is printed, that is, the area outside the two-dimensional code B1.

[0054] If the two-dimensional code B1 printed on the tablet T can be read and the read data matches the lot number, it is determined that there is no problem with the print result of the two-dimensional code B1. On the other hand, if the two-dimensional code B1 printed on the tablet T cannot be read or the read data does not match the lot number, it is determined that there is a problem with the print result of the two-dimensional code B1. Then, if it is determined that there is no problem with the print result of the two-dimensional code B1 and that there is no defect such as dirt in the area other than the two-dimensional code B1, it is determined that the print result of the tablet T is good (passed) (Yes in step S7), and the process proceeds to step S8. On the other hand, if the control unit 43 determines that there is a problem with the print result of the two-dimensional code B1 or that there is a defect such as dirt in the area other than the two-dimensional code B1, it is determined that the print result of the tablet T is bad (failed) (No in step S7), and the process proceeds to step S9.

[0055] In step S8, the processes of steps S2 to S7 are repeated in the second printing device 50. The tablets T printed in the first printing device 20 are inverted and transferred to the second printing device 50 below, and the processes of steps S2 to S7 are executed in the second printing device 50. This allows double-sided printing on the tablets T, but the two-dimensional code B1 is printed on at least one side of the tablets T. The conveyor belt 51a rotates in the conveying direction A2 by the rotation of the drive pulley 51b and each driven pulley 51c by the motor 51d. Therefore, the tablets T transferred onto the conveyor belt 51a are lined up in a row on the conveyor belt 51a and conveyed at a predetermined conveying speed.

[0056] In step S9, the tablets T on the conveyor belt 51a of the second printing device 50 are collected by the collection device 30. In detail, when the reusable tablets T reach the reusable recovery section 31 with the movement of the conveyor belt 51a, gas is blown onto the tablets T from above by the injection nozzle 31a, and the tablets T fall from the conveyor belt 51a and are stored in the collection box 31b. Similarly, when the defective tablets T reach the defective recovery section 32 with the movement of the conveyor belt 21a, gas is blown onto the tablets T from above by the injection nozzle 32a, and the tablets T fall from the conveyor belt 51a and are stored in the collection box 32b. In addition, when the non-defective tablets T reach a position near the end of the conveyor belt 51a on the side of each driven pulley 51c, the suction action on the tablets T ceases to work, and the injection nozzle 33a blows gas onto the tablets T from above, and the tablets T fall from the conveyor belt 51a and are stored in the collection box 33b. Such control regarding the blowing of gas is executed by the control unit 43 based on various information such as position information of the tablets T, printability information, and print quality information (result information of the print state inspection).

[0057] In step S10, the control unit 43 judges whether printing has been completed. For example, the number of printed tablets T is counted, and when that number reaches a predetermined production number, it is judged that printing has been completed. If it is judged that printing has been completed (Yes in step S10), the process ends. On the other hand, if it is judged that printing has not been completed (No in step S10), the process returns to step S1. Regarding the judgment of printing completion, it may be judged that printing has been completed in response to a user's input operation on the input device 40a, for example, in response to the user pressing a print completion button.

[0058] According to this printing process, the quality of the printing of the two-dimensional code B1 is judged based on whether the data read from the two-dimensional code B1 matches the original data. This makes it possible to prevent tablets T from being judged as defective and ejected even if the dirt on the tablets T is so small that the two-dimensional code B1 can be read or there are printing gaps. This makes it possible to improve the accuracy of inspection of tablets T on which information is printed in code.

[0059] In addition, in printing and inspection of the two-dimensional code B1, depending on the location and degree of printing defects, ink or dirt, even if the product is judged to be good by pattern matching, the read data may differ from the original data. However, according to the first embodiment, such erroneous judgments can be prevented, and the accuracy of inspection of tablets T on which information is printed in code can be improved.

[0060] In addition, by determining only whether the data read out from the two-dimensional code B1 matches the original data and deciding whether the two-dimensional code B1 is printed properly on the tablet T, the accuracy of inspection of the tablet T on which information is printed in code can be improved.

[0061] In addition, when the information printed on the tablet T is information that changes, such as production information such as a lot number, it may be difficult to prepare a template for pattern matching. Usually, in pattern matching, a good tablet T on which a print pattern is printed is prepared, and an image of the good tablet T is stored as a template. Then, a position where the image of the tablet T to be inspected and the template are most similar is searched for. At the most similar position, the image of the tablet T is compared with the template, and it is determined whether the difference in shading is equal to or greater than a predetermined threshold for each pixel, and pixels that are equal to or greater than the threshold are extracted. The print quality is determined based on whether the size of the group of extracted pixels is within a predetermined threshold. In addition, in order to achieve the required inspection accuracy, the user may have to adjust the template. For this reason, when the information printed on the tablet T is information that changes like production information, it is not possible to prepare a template in advance, or the burden on the user for generating the template increases and production efficiency decreases. On the other hand, according to the first embodiment, it is not necessary to prepare a template for the two-dimensional code B1. Therefore, it is possible to realize easier processing than when making a judgment by pattern matching.

[0062] As described above, according to the first embodiment, the tablet printing device 1 includes a print head (e.g., inkjet head 24, 54) that prints on tablets T, a control device 40 that controls the print head, and an imaging device (e.g., second imaging unit 25, 55) that images tablets T printed by the print head. The control device 40 controls the print head to print a two-dimensional code B1 generated based on original data, and determines whether the data read from the two-dimensional code B1 included in the image (e.g., second image) obtained by the imaging device matches the original data. This makes it possible to prevent the tablet T from being judged as defective even if the dirt on the tablet T is so small that the two-dimensional code B1 can be read. Therefore, it is possible to improve the inspection accuracy of inspecting tablets T on which information is printed in code. In addition, in printing and inspection of the two-dimensional code B1, it is possible to prevent the tablet T from being judged as a non-defective product even if the read data differs from the original data depending on the location and degree of printing defects, ink, and dirt. Therefore, it is possible to improve the inspection accuracy of inspecting tablets T on which information is printed in code.

[0063] <Second embodiment> The second embodiment will be described with reference to Fig. 6. In the second embodiment, differences from the first embodiment will be described.

[0064] As shown in FIG. 6, the control unit 43 according to the second embodiment combines the two-dimensional code B1 and the characters (character images) C1, converts them into a print pattern (e.g., raster data), and controls the inkjet head 54 based on the print pattern to print on the tablet T. The characters C1 include, for example, the name of a drug, the content of an active ingredient, the name of a manufacturer, and the logo of the manufacturer (designed or decorated characters or character strings), and also include character strings that combine these. Data (character data) of such characters C1 is, for example, stored in the storage unit 42 in advance. For this reason, the control unit 43 reads out the character data from the storage unit 42, and combines the characters C1 based on the character data with the two-dimensional code B1 generated by the code generation unit 44 to convert them into a print pattern.

[0065] In the inspection process, the control unit 43 judges whether the two-dimensional code B1 printed on the tablet T in the second image can be read, and whether the read data (information) matches the original data, which is the lot number (read inspection). If the control unit 43 can read the two-dimensional code B1 printed on the tablet T and the read data matches the lot number, it judges that there is no problem with the printing result of the two-dimensional code B1. On the other hand, if the two-dimensional code B1 printed on the tablet T cannot be read, or the read data does not match the lot number, it judges that there is a problem with the printing result of the two-dimensional code B1. Such an inspection by reading data is called a "read inspection."

[0066] The control unit 43 also inspects the area other than the area where the two-dimensional code B1 is printed, that is, the area outside the two-dimensional code G1, for quality of printing of the characters C1, etc., and for the presence or absence of dirt, etc. Note that since the area of ​​the two-dimensional code B1 can be identified based on the multiple cut-out symbols B1a, B1b, and B1c contained in the two-dimensional code B1, the identified area of ​​the two-dimensional code B1 can be masked and pattern matching can be performed to inspect the quality of printing of the characters C1, etc., and for the presence or absence of dirt, etc. Such an inspection using pattern matching is called a "pattern matching inspection."

[0067] In the pattern matching test, the control unit 43, for example, registers a printing pattern of the test character C1, etc. in the memory unit 42, and compares the printing pattern of the test character C1, etc. with the printing pattern of the character C1, etc. on the tablet T after actual printing (the printing pattern of the character C1, etc. printed on the tablet T). If the printing pattern of the test character C1, etc. matches the printing pattern of the character C1, etc. printed on the tablet T, it is determined that the printing of the character C1, etc. is good and there is no defect such as dirt. On the other hand, if the printing pattern of the test character C1, etc. does not match the printing pattern of the character C1, etc. printed on the tablet T, it is determined that the printing of the character C1, etc. is poor or there is a defect such as dirt.

[0068] If the control unit 43 determines that there is no problem with the printing result of the two-dimensional code B1, that the printing of the characters C1, etc. is good, and that there are no defects such as stains, it determines that the printing result of the tablet is good (passes). On the other hand, if the control unit 43 determines that there is a problem with the printing result of the two-dimensional code B1, that the printing of the characters C1, etc. is poor, or that there is a defect such as stains in an area other than the two-dimensional code B1, it determines that the printing result of the tablet T is poor (fails). Tablets T that are determined to have a poor printing result are discharged by the defective product recovery unit 32 (defective product discharge device).

[0069] Here, in the case of tablets T of a size that can be ingested, the area that can be printed is small, so the size of the two-dimensional code B1 is also small, and ink adhesion and printing voids are less noticeable. Therefore, by judging the quality of the print based on whether the data read from the two-dimensional code B1 matches the original data, it is possible to prevent minor defects from causing excessive rejection of defective products and reducing the yield.

[0070] Furthermore, since characters C1 and the like are data that are visually inspected by, for example, doctors, pharmacists, patients, etc., any stains or printing omissions are easily noticeable and may lead to misreading. According to the second embodiment, characters C1 and the like are inspected by pattern matching, so visual information can be inspected strictly.

[0071] As described above, according to the second embodiment, the same effects as those of the first embodiment can be obtained. In addition, by performing a readout inspection on the two-dimensional code B1 printed on the tablet T and performing a pattern matching inspection on the characters C1 printed on the tablet T, it is possible to improve the yield while improving the accuracy of the inspection of the tablet T on which information is printed in code.

[0072] <Other embodiments> In the above description, the tablets T are printed using the tablet printing apparatus 1 (tablet printing method) according to the embodiment, but this can also be rephrased as printing on the tablets T using the tablet printing apparatus 1 (tablet printing method) according to the embodiment to manufacture printed tablets T. In other words, the tablet printing apparatus 1 can be rephrased as a tablet manufacturing apparatus, and the tablet printing method can be rephrased as a tablet manufacturing method.

[0073] For example, the control device 40 may be provided with software for generating the two-dimensional code B1, or a generation service may be used via the Internet. Also, the control device 40 may store the two-dimensional code B1 in advance.

[0074] The two-dimensional code B1 is generated from a lot number as an example of production information, but is not limited to this. The production information may be, for example, the name of the production factory, the date and time of production, the identification number of the tablet printing device 1, the expiration date of the tablets T, or a selection of a plurality of such information. The original data from which the two-dimensional code B1 is generated may further include the name of the drug and the name of the manufacturer. The original data may also include a URL (Uniform Resource Locator) that allows access to such information.

[0075] Furthermore, if a change occurs in the original data during the printing process performed by the tablet printing device 1, the code generation unit 44 may regenerate the code and continue printing based on the code. At this time, when the original data is changed, the supply of tablets may be temporarily stopped, and tablets T that have not yet been printed and are on the conveyor belts 21a, 51a at that time may be collected by the reusable product collection unit 31. Furthermore, maintenance of the inkjet heads 24, 54 may be performed at the timing when regeneration of the code becomes necessary.

[0076] In addition, in the above explanation, it was explained that the quality of printing of the two-dimensional code B1 is determined based on whether the data read out from the two-dimensional code B1 matches the original data, but it may also be determined whether the position of the two-dimensional code B1 is printed within a specified area on the tablet T.

[0077] Also, for the two-dimensional code B1, the quality of the print may be judged based on whether the data read from the two-dimensional code B1 matches the original data, and a pattern matching inspection may also be performed. In this case, if both inspections are successful, the product may be judged as non-defective.

[0078] In the above explanation, the two-dimensional code B1 is printed on one side of the tablet T, but the two-dimensional code B1 may be printed on both sides of the tablet T. The same printing pattern may be printed on both sides of the tablet T, for example, the two-dimensional code B1 may be printed on the front side and information such as the character C1 may be printed on the back side. In addition, in the case of a scored tablet having a score line formed on one side, the character C1 or the like may be printed on the front side where the score line is formed, and the two-dimensional code B1 may be printed on the back side where the score line is not formed.

[0079] In the above description, the two-dimensional code B1 is printed on one side of the tablet T, but it is not limited to the two-dimensional code B1, and a barcode (e.g., CODE39, NW-7) or a three-dimensional code printed in color may be printed. That is, the code may be, for example, a two-dimensional code B1, a barcode, or a three-dimensional code. These codes are generated by, for example, the code generation unit 44.

[0080] In addition, in the above description, the tablets T are transported in a single row, but this is not limited to this, and the number of rows may be two or more rows, and is not particularly limited, and the number of conveyor belts 21a (51a) may be two or more, and is not particularly limited. Furthermore, the number of inkjet heads 24 (54) may be two or more, and is not particularly limited.

[0081] In the above description, a print head in which the nozzles 24a (54a) are arranged in a row is used as the inkjet head 24 (54), but the present invention is not limited to this and, for example, a print head in which the nozzles 24a are arranged in multiple rows may be used. Also, a plurality of inkjet heads 24 (54) may be arranged in a direction perpendicular to the transport direction A1 in a horizontal plane.

[0082] In addition, in the above explanation, an example was given of the inkjet head 24 (54) being arranged so that the direction in which the nozzles 24a (54a) are arranged is perpendicular to the transport direction A1 in a horizontal plane, but this is not limited to this. For example, the nozzles 24a (54a) may be arranged so that the direction in which the nozzles 24a (54a) are arranged is diagonally intersecting the transport direction A1 (A2) in a horizontal plane.

[0083] In the above description, the tablets T are supplied randomly, not at regular intervals, onto the conveyor belt 21a (51a), but this is not limiting and the tablets T may be supplied at regular intervals. In the above description, the tablets T are sucked and held by the suction holes 21g (51g) formed on the conveyor belt 21a (51a), but this is not limiting and the tablets T may be accommodated and held in a pocket or the like and conveyed, or may be held by its own weight on the conveyor belt 21a (51a) and conveyed.

[0084] Here, the above-mentioned tablet T can include tablets used for medicine, food, cleaning, industrial or aromatic purposes. In addition, the tablet T can be a plain tablet (plain tablet), a sugar-coated tablet, a film-coated tablet, an enteric-coated tablet, a gelatin-coated tablet, a multi-layered tablet, a dry-coated tablet, etc., and various capsule tablets such as hard capsules and soft capsules can also be included in the tablet T. Furthermore, the shape of the tablet T can be a disk shape, a lens shape, a triangle shape, an oval shape, etc. In addition, when the tablet T to be printed is for medicine or food, an edible ink is preferably used as the ink to be used. As the edible ink, any of a synthetic pigment ink, a natural pigment ink, a dye ink, and a pigment ink can be used.

[0085] Although several embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, and combinations can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0086] 1 Tablet printing equipment 10 Feeding device 11 Hopper 12 Alignment Feeder 13 Delivery Feeder 20 First printing device 21 Conveyor 21a Conveyor belt 21b Drive pulley 21c Driven pulley 21d Motor 21e Position detector 21f Suction chamber 21g suction hole 22 Detection unit 23 First imaging unit 24 Inkjet head 24a Nozzle 25 Second imaging unit 27 Drying section 30 Recovery Device 31 Recyclable Goods Collection Department 31a Injection nozzle 31b Collection Box 32 Defective Product Collection Department 32a Injection nozzle 32b Collection box 33 Good Product Collection Department 33b Collection box 33a Injection nozzle 40 Control device 40a Input device 40b Output device 41 Image processing section 42 Storage section 43 Control Unit 44 Code Generation Section 50 Second printing device 51 Conveyor 51a Conveyor belt 51b Drive pulley 51c Driven pulley 51d Motor 51e Position detector 51f Suction chamber 52 Detection unit 53 First imaging unit 54 Inkjet head 55 Second imaging unit 57 Drying section A1 Transport direction A2 Transport direction B1 2D ​​code B1a Cutting symbol B1b Cutting symbol B1c Cutting Symbol C1 characters T Tablet

Claims

1. A print head for printing on tablets; A control device for controlling the print head; an imaging device that images the tablet on which printing has been performed by the print head; Equipped with The control device includes: Controlling the print head to print a code generated based on the original data; determining whether or not the data read from the code included in the image obtained by the imaging device matches the original data; Tablet printing equipment.

2. The control device has a code generation unit that generates the code. The tablet printing apparatus according to claim 1.

3. The raw data includes production information regarding the tablet. The tablet printing apparatus according to claim 1.

4. the control device controls the print head to print characters based on character data in addition to the code. The tablet printing apparatus according to claim 1.

5. The control device determines whether the characters printed on the tablet match the character data by pattern matching. The tablet printing apparatus according to claim 4.

6. The code is a two-dimensional code, The control device determines an area in which the pattern matching determination is to be performed based on an extracted symbol included in the two-dimensional code. The tablet printing apparatus according to claim 5.

7. The control device determines whether the data read from the code matches the original data, and determines whether the code is printed properly on the tablet. The tablet printing apparatus according to claim 1.

8. The control device determines whether the data read from the code matches the original data, and determines whether the code is printed properly on the tablet. The tablet printing apparatus according to claim 5.

9. The control device, controlling a print head for printing on the tablets to print a code generated based on the original data; determining whether or not data read from the code included in an image obtained by an imaging device that images the tablet on which printing has been performed by the print head matches the original data; A tablet printing method comprising: