JP7394681B2 - Tablet printing device and tablet manufacturing method - Google Patents

Tablet printing device and tablet manufacturing method Download PDF

Info

Publication number
JP7394681B2
JP7394681B2 JP2020059738A JP2020059738A JP7394681B2 JP 7394681 B2 JP7394681 B2 JP 7394681B2 JP 2020059738 A JP2020059738 A JP 2020059738A JP 2020059738 A JP2020059738 A JP 2020059738A JP 7394681 B2 JP7394681 B2 JP 7394681B2
Authority
JP
Japan
Prior art keywords
tablet
unit
imaging
timing
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020059738A
Other languages
Japanese (ja)
Other versions
JP2021154052A (en
JP2021154052A5 (en
Inventor
哲嗣 谷尾
智之 大野
順介 古水戸
淳平 田中
裕了 ▲配▼島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shibaura Mechatronics Corp
Original Assignee
Shibaura Mechatronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shibaura Mechatronics Corp filed Critical Shibaura Mechatronics Corp
Priority to JP2020059738A priority Critical patent/JP7394681B2/en
Publication of JP2021154052A publication Critical patent/JP2021154052A/en
Publication of JP2021154052A5 publication Critical patent/JP2021154052A5/ja
Application granted granted Critical
Publication of JP7394681B2 publication Critical patent/JP7394681B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Description

本発明の実施形態は、錠剤印刷装置及び錠剤製造方法に関する。 Embodiments of the present invention relate to a tablet printing device and a tablet manufacturing method.

錠剤に文字やマークなどの識別情報(情報の一例)を印刷するため、インクジェットヘッドを用いて印刷を行う技術が知られている。この技術を用いる錠剤印刷装置は、コンベアなどの搬送装置により錠剤を搬送し、搬送装置の上方に配置されたインクジェットヘッドの各ノズルから、インクジェットヘッドの下方を通過する錠剤に向けてインクを吐出し、錠剤に識別情報を印刷する。この錠剤印刷装置では、錠剤の搬送方向において、インクジェットヘッドより上流側に、錠剤の位置や外観を検査する検出部が配置され、検出部の検出情報に基づき、錠剤への印刷の可否が決定され、印刷可の錠剤に対して印刷がなされることがある。 In order to print identification information (an example of information) such as letters and marks on tablets, a printing technique is known that uses an inkjet head. Tablet printing devices using this technology transport tablets using a conveyor or other transport device, and eject ink from each nozzle of an inkjet head placed above the transport device toward the tablets passing below the inkjet head. , printing identification information on the tablet. In this tablet printing device, a detection unit that inspects the position and appearance of the tablet is placed upstream of the inkjet head in the tablet transport direction, and based on the detection information of the detection unit, it is determined whether or not to print on the tablet. , printing may be done on printable tablets.

特開平7-081050号公報Japanese Unexamined Patent Publication No. 7-081050

本発明が解決しようとする課題は、品質の高い印刷を行うことができる錠剤印刷装置及び錠剤製造方法を提供することである。 The problem to be solved by the present invention is to provide a tablet printing device and a tablet manufacturing method that can perform high-quality printing.

本発明の実施形態に係る錠剤印刷装置は、
印刷対象となる錠剤を搬送する搬送部と、
前記搬送部により搬送される前記錠剤の搬送方向の位置を取得する第1の取得部と、
前記第1の取得部より前記錠剤の搬送方向の下流側に設けられ、前記第1の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の上面を撮像する第1の撮像部と、
前記第1の撮像部により得られた前記錠剤の上面を含む画像から、前記搬送部により搬送される前記錠剤の搬送方向の位置を取得する第2の取得部と、
前記第1の撮像部より前記錠剤の搬送方向の下流側に設けられ、前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の側面を撮像する第2の撮像部と、
前記第2の撮像部より前記錠剤の搬送方向の下流側に設けられ、前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤に印刷を行う印刷ヘッドと、
を有する。
The tablet printing device according to the embodiment of the present invention includes:
a transport unit that transports tablets to be printed;
a first acquisition unit that acquires a position in the conveyance direction of the tablet conveyed by the conveyance unit;
The upper surface of the tablet, which is provided downstream of the first acquisition unit in the conveyance direction of the tablet, and is conveyed by the conveyance unit based on the position of the tablet in the conveyance direction acquired by the first acquisition unit. a first imaging unit that images the
a second acquisition unit that acquires the position in the conveyance direction of the tablet conveyed by the conveyance unit from an image including the top surface of the tablet obtained by the first imaging unit;
A side surface of the tablet that is provided downstream of the first imaging unit in the transport direction of the tablet and that is transported by the transport unit based on the position of the tablet in the transport direction that is acquired by the second acquisition unit. a second imaging unit that images the
The second imaging unit is provided downstream of the tablet in the transport direction, and prints on the tablet transported by the transport unit based on the position of the tablet in the transport direction acquired by the second acquisition unit. a print head that performs
has.

本発明の実施形態に係る錠剤製造方法は、
印刷対象となる錠剤を搬送部により搬送する工程と、
前記搬送部により搬送される前記錠剤の搬送方向の位置を第1の取得部により取得する工程と、
前記第1の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の上面を撮像するための第1の撮像タイミングと、前記搬送部により搬送される前記錠剤の側面を撮像するための第2の撮像タイミングを設定部により設定する工程と、
前記設定部により設定された前記第1の撮像タイミングで、前記搬送部により搬送される前記錠剤の上面を第1の撮像部により撮像する工程と、
前記第1の撮像部により得られた前記錠剤の上面を含む画像から、前記搬送部により搬送される前記錠剤の搬送方向の位置を第2の取得部により取得する工程と、
前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記第2の撮像タイミングを補正部により補正する工程と、
前記補正部により補正された前記第2の撮像タイミングで、前記搬送部により搬送される前記錠剤の側面を第2の撮像部により撮像する工程と、
前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤に印刷を行う印刷工程と、
を有し、
前記補正する工程では、前記第2の撮像タイミングを、前記搬送部により搬送される前記錠剤の搬送方向の位置が前記第2の撮像部の撮像領域の前記搬送方向の中心位置に重なるタイミングに補正する。
The tablet manufacturing method according to the embodiment of the present invention includes:
a step of conveying the tablet to be printed by a conveying section;
a step of acquiring, by a first acquisition unit, the position in the conveyance direction of the tablet conveyed by the conveyance unit;
Based on the position of the tablet in the transport direction acquired by the first acquisition unit, a first imaging timing for imaging the top surface of the tablet transported by the transport unit, and a first imaging timing for imaging the top surface of the tablet transported by the transport unit a step of setting a second imaging timing for imaging the side surface of the tablet by a setting unit;
a step of imaging the top surface of the tablet transported by the transporting unit with a first imaging unit at the first imaging timing set by the setting unit;
a step of acquiring, by a second acquisition unit, the position of the tablet in the conveyance direction of the tablet conveyed by the conveyance unit from an image including the top surface of the tablet obtained by the first imaging unit;
Correcting the second imaging timing by a correction unit based on the position of the tablet in the transport direction acquired by the second acquisition unit;
a step of imaging a side surface of the tablet transported by the transport unit with a second imaging unit at the second imaging timing corrected by the correction unit;
a printing step of printing on the tablet conveyed by the conveyance unit based on the position of the tablet in the conveyance direction acquired by the second acquisition unit;
has
In the correcting step, the second imaging timing is corrected to a timing at which a position in the transport direction of the tablet transported by the transport unit overlaps a center position in the transport direction of an imaging area of the second imaging unit. do.

本発明の実施形態によれば、品質の高い印刷を行うことができる。 According to embodiments of the present invention, high quality printing can be performed.

実施の一形態に係る錠剤印刷装置の概略構成を示す図である。1 is a diagram showing a schematic configuration of a tablet printing device according to an embodiment. 実施の一形態に係る錠剤印刷装置の概略構成の一部を示す平面図である。FIG. 1 is a plan view showing a part of the schematic configuration of a tablet printing device according to an embodiment. 実施の一形態に係る第2の撮像部の概略構成を示す図である。FIG. 3 is a diagram showing a schematic configuration of a second imaging unit according to an embodiment. 実施の一形態に係る第2の撮像部により得られる画像を説明するための図である。FIG. 7 is a diagram for explaining an image obtained by a second imaging unit according to an embodiment. 実施の一形態に係るタイミング設定及び補正を説明するための図である。FIG. 3 is a diagram for explaining timing setting and correction according to an embodiment. 実施の一形態に係る印刷処理の流れを示すフローチャートである。3 is a flowchart showing the flow of print processing according to an embodiment. 実施の一形態に係る第2の撮像部により得られる他の画像(錠剤が割線を有する場合)を説明するための図である。FIG. 7 is a diagram for explaining another image (in the case where the tablet has a score line) obtained by the second imaging unit according to an embodiment.

<実施の一形態>
実施の一形態について図面を参照して説明する。
<One form of implementation>
One embodiment will be described with reference to the drawings.

(基本構成)
図1に示すように、実施の一形態に係る錠剤印刷装置1は、供給部10と、搬送部20と、検出部30と、第1の撮像部40と、第2の撮像部50と、印刷部60と、第3の撮像部70と、回収部80と、制御装置90とを備えている。
(Basic configuration)
As shown in FIG. 1, the tablet printing apparatus 1 according to the embodiment includes a supply section 10, a conveyance section 20, a detection section 30, a first imaging section 40, a second imaging section 50, It includes a printing section 60, a third imaging section 70, a collection section 80, and a control device 90.

供給部10は、ホッパ11及びシュータ12を有している。この供給部10は、錠剤Tを搬送部20に供給することが可能に構成されており、搬送部20の一端側に位置付けられている。ホッパ11は、多数の錠剤Tを収容し、収容した錠剤Tをシュータ12に順次供給する。シュータ12は、ホッパ11から供給された錠剤Tを一列に整列させて搬送部20に供給する。供給部10は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。なお、錠剤Tは、平面視で円形状であって、上下面がほぼ平坦な錠剤である。 The supply section 10 has a hopper 11 and a chute 12. The supply section 10 is configured to be able to supply the tablets T to the conveyance section 20, and is positioned at one end side of the conveyance section 20. The hopper 11 accommodates a large number of tablets T, and sequentially supplies the accommodated tablets T to the shooter 12. The shooter 12 arranges the tablets T supplied from the hopper 11 in a line and supplies them to the transport section 20. The supply unit 10 is electrically connected to a control device 90, and its driving is controlled by the control device 90. Note that the tablet T is circular in plan view and has substantially flat upper and lower surfaces.

搬送部20は、搬送ベルト21、駆動プーリ22、複数(図1の例では三つ)の従動プーリ23、モータ(駆動部)24、位置検出器25及び吸引チャンバ(吸引部)26を有している。搬送ベルト21は、無端状のベルトであり、駆動プーリ22及び各従動プーリ23に架け渡されている。駆動プーリ22及び各従動プーリ23は装置本体に回転可能に設けられており、駆動プーリ22はモータ24に連結されている。モータ24は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。位置検出器25は、エンコーダなどの機器であり、モータ24に取り付けられている。この位置検出器25は電気的に制御装置90に接続されており、検出信号を制御装置90に送信する。搬送部20は、モータ24による駆動プーリ22の回転によって各従動プーリ23と共に搬送ベルト21を回転させ、搬送ベルト21上の錠剤Tを図1中の矢印H1の回転方向、すなわち搬送方向H1に搬送する。 The conveyance unit 20 includes a conveyance belt 21, a drive pulley 22, a plurality of (three in the example of FIG. 1) driven pulleys 23, a motor (drive unit) 24, a position detector 25, and a suction chamber (suction unit) 26. ing. The conveyor belt 21 is an endless belt, and is stretched around a drive pulley 22 and each driven pulley 23 . The drive pulley 22 and each driven pulley 23 are rotatably provided in the device body, and the drive pulley 22 is connected to a motor 24. The motor 24 is electrically connected to a control device 90, and its driving is controlled by the control device 90. The position detector 25 is a device such as an encoder, and is attached to the motor 24. This position detector 25 is electrically connected to a control device 90 and transmits a detection signal to the control device 90. The conveyor unit 20 rotates the conveyor belt 21 together with each driven pulley 23 by the rotation of the driving pulley 22 by the motor 24, and conveys the tablets T on the conveyor belt 21 in the rotation direction of arrow H1 in FIG. 1, that is, in the conveyance direction H1. do.

搬送ベルト21には、図2に示すように、円形状の吸引孔21aが複数形成されている。これらの吸引孔21aは、それぞれ錠剤Tを吸着する貫通孔であり、一本の搬送路を形成するように搬送方向H1に沿って一列に並べられている。各吸引孔21aは、吸引チャンバ26(図1参照)に形成された吸引路(図示せず)を介して吸引チャンバ26内に接続されており、吸引チャンバ26により吸引力を得ることが可能になっている。吸引チャンバ26には、ポンプなどの吸気部が吸引管(いずれも図示せず)を介して接続されており、吸気部の作動により吸引チャンバ26内が減圧される。吸引管は、吸引チャンバ26の側面(搬送方向H1と平行な面)の略中央に接続されている。また、吸気部は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。吸引チャンバ26内が減圧されると、搬送ベルト21の各吸引孔21a上に置かれた錠剤Tは吸引チャンバ26により吸引され、搬送ベルト21上に保持される。 As shown in FIG. 2, the conveyor belt 21 is provided with a plurality of circular suction holes 21a. These suction holes 21a are through holes that suck the tablets T, and are arranged in a line along the conveyance direction H1 so as to form one conveyance path. Each suction hole 21a is connected to the suction chamber 26 through a suction path (not shown) formed in the suction chamber 26 (see FIG. 1), and it is possible to obtain suction force from the suction chamber 26. It has become. A suction section such as a pump is connected to the suction chamber 26 via a suction pipe (none of which is shown), and the pressure inside the suction chamber 26 is reduced by the operation of the suction section. The suction tube is connected to approximately the center of the side surface of the suction chamber 26 (a surface parallel to the transport direction H1). Further, the intake section is electrically connected to a control device 90, and its driving is controlled by the control device 90. When the pressure inside the suction chamber 26 is reduced, the tablets T placed on each suction hole 21a of the conveyor belt 21 are suctioned by the suction chamber 26 and held on the conveyor belt 21.

検出部30は、供給部10が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送ベルト21の上方に設けられている。この検出部30は、搬送ベルト21上の錠剤Tを検出し、下流に位置する各装置のトリガーセンサとして機能する。検出部30としては、変位センサや近接センサなどがあり、例えば、変位センサとしては、反射型レーザセンサなど各種のレーザセンサが用いられる。検出部30は制御装置90に電気的に接続されており、制御装置90に検出信号を送信する。 The detection unit 30 is located downstream in the transport direction H1 from the position where the supply unit 10 is provided, and is provided above the transport belt 21. This detection unit 30 detects the tablet T on the conveyor belt 21 and functions as a trigger sensor for each device located downstream. The detection unit 30 includes a displacement sensor, a proximity sensor, and the like. For example, various laser sensors such as a reflective laser sensor are used as the displacement sensor. The detection unit 30 is electrically connected to the control device 90 and transmits a detection signal to the control device 90.

第1の撮像部40は、検出部30が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送ベルト21の上方に設けられている。この第1の撮像部40は、検出部30による検出信号(例えばトリガ信号)に基づき、錠剤Tが第1の撮像部40の直下の撮像位置に到達した第1の撮像タイミングで撮像を行って錠剤Tの上面を含む第1の画像を取得し、取得した第1の画像を制御装置90に送信する。第1の撮像タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置が第1の撮像部40の撮像領域(撮像範囲)の搬送方向H1の中心位置に重なるタイミングである。第1の画像は、錠剤Tの割れ欠け(例えば割れ又は欠け)や汚れ(例えば付着物)、錠剤Tの位置や姿勢不良の把握のために用いられる。第1の撮像部40としては、CCD(電荷結合素子)やCMOS(相補型金属酸化膜半導体)などの撮像素子を有する各種のカメラが用いられる。第1の撮像部40は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。必要に応じて撮像用の照明も設けられる。 The first imaging unit 40 is located downstream in the transport direction H1 from the position where the detection unit 30 is provided, and is provided above the transport belt 21. The first imaging unit 40 performs imaging at a first imaging timing when the tablet T reaches an imaging position directly below the first imaging unit 40 based on a detection signal (for example, a trigger signal) from the detection unit 30. A first image including the top surface of the tablet T is acquired, and the acquired first image is transmitted to the control device 90. The first imaging timing is the timing when the position of the tablet T on the transport belt 21 in the transport direction H1 overlaps with the center position of the imaging area (imaging range) of the first imaging unit 40 in the transport direction H1. The first image is used to understand cracks and chips (for example, cracks or chips) and dirt (for example, deposits) on the tablet T, as well as the position and posture of the tablet T. As the first imaging unit 40, various cameras having an imaging element such as a CCD (charge coupled device) or a CMOS (complementary metal oxide semiconductor) are used. The first imaging unit 40 is electrically connected to a control device 90, and its driving is controlled by the control device 90. Illumination for imaging is also provided if necessary.

第2の撮像部50は、カメラ51及び導光部材52を有している。前述の第1の撮像部40は、搬送部20により搬送される錠剤Tの上面を撮像するが、第2の撮像部50は、搬送部20により搬送される錠剤Tの側面を撮像する。 The second imaging unit 50 includes a camera 51 and a light guide member 52. The first imaging unit 40 described above images the top surface of the tablet T being transported by the transporting unit 20, while the second imaging unit 50 images the side surface of the tablet T being transported by the transporting unit 20.

カメラ51は、第1の撮像部40が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送ベルト21の上方に設けられている。このカメラ51は、検出部30による検出信号(例えばトリガ信号)に基づき、錠剤Tがカメラ51の直下の撮像位置に到達した第2の撮像タイミングで撮像を行って錠剤Tの側面を含む第2の画像を取得し、取得した第2の画像を制御装置90に送信する。第2の撮像タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置がカメラ51の撮像領域の搬送方向H1の中心位置に重なるタイミングである。第2の画像は、錠剤Tの割れ欠け(例えば割れ又は欠け)や汚れ(例えば付着物)などの把握のために用いられる。カメラ51としては、前述の撮像部40と同様、CCDやCMOSなどの撮像素子を有する各種のカメラを用いることが可能である。カメラ51は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。必要に応じて撮像用の照明も設けられている。 The camera 51 is located downstream in the transport direction H1 from the position where the first imaging unit 40 is provided, and is provided above the transport belt 21. This camera 51 performs imaging at a second imaging timing when the tablet T reaches the imaging position directly below the camera 51 based on a detection signal (for example, a trigger signal) from the detection unit 30, and captures a second image including the side surface of the tablet T. , and transmits the obtained second image to the control device 90. The second imaging timing is the timing when the position of the tablet T on the transport belt 21 in the transport direction H1 overlaps with the center position of the imaging area of the camera 51 in the transport direction H1. The second image is used to identify cracks, chips (for example, cracks or chips), stains (for example, deposits), etc. on the tablet T. As the camera 51, it is possible to use various cameras having an image sensor such as a CCD or a CMOS, similar to the above-described image capturing section 40. The camera 51 is electrically connected to a control device 90, and its driving is controlled by the control device 90. Illumination for imaging is also provided as needed.

導光部材52は、図2及び図3に示すように、複数のプリズム52a(図2の例では、六つ)により構成されている。これらのプリズム52aは、カメラ51の下方に位置付けられており、二つずつ互いに平行に対向するように水平面内に環状(リング状)に配置され、カメラ51の直下の撮像位置に到達した錠剤Tの全側面(一周分の外周面)の像をカメラ51の撮像素子に結ぶように形成されている。各プリズム52aによる環の中心位置と、カメラ51の撮像領域の中心位置とは同じ鉛直線上に位置している。 As shown in FIGS. 2 and 3, the light guide member 52 is composed of a plurality of prisms 52a (six in the example of FIG. 2). These prisms 52a are positioned below the camera 51, and are arranged in pairs in a horizontal plane in a ring shape so as to face each other in parallel. It is formed so that an image of all sides (the outer circumferential surface for one circumference) of the camera 51 is focused on the image pickup element of the camera 51. The center position of the ring formed by each prism 52a and the center position of the imaging area of the camera 51 are located on the same vertical line.

錠剤Tの全側面は、図3に示すように、カメラ51により導光部材52を介して撮像される。カメラ51により撮像が行われると、図4に示すように、錠剤Tの全側面を含む画像、すなわち各プリズム52aによる錠剤Tの側面の個々の像が得られる。これらのプリズム52aによる錠剤Tの側面の個々の像は、カメラ51の光軸を囲むように環状に並び、画像の中央の周囲に存在する。なお、図4では、各プリズム52aによる錠剤Tの側面の個々の像と錠剤Tの上面との位置関係の把握のため、錠剤Tの上面を図示している。錠剤Tの側面の個々の像において、符号M1は錠剤Tが搬送ベルト21に接している面に対応する面であり(以降、下面M1という)、符号M2はそのM1の反対面に対応する面である(以降、上面M2という)。なお、導光部材52において、各プリズム52aの個数や配置は、カメラ51が錠剤Tの全側面(一周分の外周面)を撮像することが可能になるように調整されている。 All sides of the tablet T are imaged by a camera 51 through a light guide member 52, as shown in FIG. When imaging is performed by the camera 51, as shown in FIG. 4, an image including all sides of the tablet T, that is, an individual image of the side surface of the tablet T by each prism 52a is obtained. The individual images of the side surfaces of the tablet T formed by these prisms 52a are arranged in a ring shape surrounding the optical axis of the camera 51, and exist around the center of the image. In addition, in FIG. 4, the top surface of the tablet T is illustrated in order to grasp the positional relationship between the individual images of the side surfaces of the tablet T by each prism 52a and the top surface of the tablet T. In each image of the side surface of the tablet T, the symbol M1 is a surface corresponding to the surface where the tablet T is in contact with the conveyor belt 21 (hereinafter referred to as the lower surface M1), and the symbol M2 is a surface corresponding to the opposite surface of M1. (hereinafter referred to as upper surface M2). In addition, in the light guide member 52, the number and arrangement of each prism 52a are adjusted so that the camera 51 can image the entire side surface (outer circumferential surface for one circumference) of the tablet T.

ここで、搬送部20により搬送される多数の錠剤Tのなかには、割れ欠け又は汚れを有する錠剤が含まれることがある。例えば、「割れ欠け」とは、錠剤Tの一部が欠けたり割れたりしており、錠剤Tの一部に凹部がある状態である。このような割れ欠けは、錠剤Tの角に多く生じやすい。また、「汚れ」とは、錠剤Tの一部に付着物がある状態である。図4に示す錠剤Tは、上面の角に割れ欠け又は汚れを有する錠剤である。錠剤Tに割れ欠け又は汚れが存在している場合、その割れ欠けの凹部や汚れの箇所の反射率は錠剤Tにおける他の部分と比べて低くなる。なお、汚れとなる付着物の種類によっては、汚れの箇所の反射率が錠剤Tにおける他の部分と比べて高くなることもある。例えば、図4に示すように、各プリズム52aによる錠剤Tの側面の全ての像のうち三つの像において、上面M2に黒三角(暗い部分)B1が存在している。図4中に示す黒三角は撮像画像に表われた暗い部分を模式的に示したものであり、実際に得られた画像において表われる暗い部分が必ずしも三角形であるわけではない。 Here, the large number of tablets T transported by the transport section 20 may include tablets with cracks, chips, or stains. For example, "cracked or chipped" is a state in which a portion of the tablet T is chipped or broken, and a portion of the tablet T has a recessed portion. Such cracks and chips are likely to occur at the corners of the tablet T. Moreover, "stain" refers to a state in which there is a deposit on a part of the tablet T. The tablet T shown in FIG. 4 has cracks or stains on the corners of the upper surface. When a crack or a stain is present on the tablet T, the reflectance of the concave part of the crack or the stain is lower than that of other parts of the tablet T. Note that depending on the type of deposit that becomes a stain, the reflectance of the stain may be higher than that of other parts of the tablet T. For example, as shown in FIG. 4, a black triangle (dark portion) B1 exists on the upper surface M2 in three of all images of the side surface of the tablet T taken by each prism 52a. The black triangles shown in FIG. 4 schematically represent dark parts that appear in the captured image, and the dark parts that appear in the actually obtained image are not necessarily triangular.

前述の黒三角B1は割れ欠け又は汚れによって生じる。つまり、各プリズム52aによる錠剤Tの側面の個々の像のいずれかに黒三角B1が存在すれば、割れ欠け又は汚れがあることになる。また、上面M2に黒三角B1が存在する場合には(図4参照)、錠剤Tの上面に割れ欠け又は汚れがあることがわかる。一方、下面M1に黒三角B1が存在する場合には、錠剤Tの下面に割れ欠け又は汚れがあることがわかる。なお、割れ欠け又は汚れが錠剤Tにあれば、各プリズム52aによる錠剤Tの側面の全ての像において黒三角B1は少なくとも二つ以上存在する。このため、各プリズム52aによる錠剤Tの側面の全ての像において黒三角B1が一つである場合には、錠剤Tに割れ欠け又は汚れがあるのではなく、その検出を誤検出として判断することも可能である。 The aforementioned black triangle B1 is caused by cracks, chips, or dirt. In other words, if the black triangle B1 is present in any of the individual images of the side surfaces of the tablet T by each prism 52a, it means that there is a crack, a chip, or a stain. Moreover, when the black triangle B1 exists on the upper surface M2 (see FIG. 4), it can be seen that the upper surface of the tablet T has cracks, chips, or stains. On the other hand, if the black triangle B1 is present on the lower surface M1, it can be seen that the lower surface of the tablet T has cracks, chips, or stains. Note that if the tablet T has cracks, chips, or stains, at least two or more black triangles B1 are present in all images of the side surface of the tablet T taken by each prism 52a. Therefore, if there is only one black triangle B1 in all images of the side surface of the tablet T taken by each prism 52a, the detection is determined to be an erroneous detection, rather than the tablet T being cracked or chipped. is also possible.

図1及び図2に戻り、印刷部60は、インクジェットヘッド(印刷ヘッドの一例)61を有しており、インクジェットヘッド61により搬送ベルト21上の錠剤Tに印刷を行う。インクジェットヘッド61は、第2の撮像部50が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送ベルト21の上方に設けられている。このインクジェットヘッド61は、図2に示すように、複数(例えば数百個から数千個)のノズル61aを有しており、ノズル61aが一列に並ぶ方向(ノズル列)が水平面内で搬送方向H1と直交(交差の一例)するように設けられている。インクジェットヘッド61は、圧電素子などの駆動によって各ノズル61aから個別にインクを吐出する。インクジェットヘッド61としては、圧電素子、発熱素子又は磁歪素子などの駆動素子を有する各種のインクジェットヘッドが用いられる。インクジェットヘッド61は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。 Returning to FIGS. 1 and 2, the printing unit 60 has an inkjet head (an example of a print head) 61, and the inkjet head 61 prints on the tablets T on the conveyor belt 21. The inkjet head 61 is positioned downstream in the transport direction H1 from the position where the second imaging unit 50 is provided, and is provided above the transport belt 21. As shown in FIG. 2, this inkjet head 61 has a plurality of nozzles 61a (for example, several hundred to several thousand), and the direction in which the nozzles 61a are lined up (nozzle row) is in the horizontal plane and in the transport direction. It is provided so as to be perpendicular to H1 (an example of crossing). The inkjet head 61 individually discharges ink from each nozzle 61a by driving a piezoelectric element or the like. As the inkjet head 61, various inkjet heads having drive elements such as piezoelectric elements, heating elements, or magnetostrictive elements are used. The inkjet head 61 is electrically connected to a control device 90, and its driving is controlled by the control device 90.

第3の撮像部70は、印刷部60が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送ベルト21の上方に設けられている。この第3の撮像部70は、検出部30による検出信号(例えばトリガ信号)に基づき、錠剤Tが第3の撮像部70の直下の撮像位置に到達した第3の撮像タイミングで撮像を行って錠剤Tの上面を含む第3の画像を取得し、取得した第3の画像を制御装置90に送信する。第3の撮像タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置が第3の撮像部70の撮像領域の搬送方向H1の中心位置に重なるタイミングである。第3の画像は、錠剤Tに印刷された印刷パターンを検査するために用いられる。第3の撮像部70としては、例えば、前述の撮像部40、50と同様、CCDやCMOSなどの撮像素子を有する各種のカメラが用いられる。第3の撮像部70は制御装置90に電気的に接続されており、その駆動が制御装置90により制御される。必要に応じて撮像用の照明も設けられる。 The third imaging unit 70 is located downstream in the transport direction H1 from the position where the printing unit 60 is provided, and is provided above the transport belt 21. The third imaging unit 70 performs imaging at a third imaging timing when the tablet T reaches an imaging position directly below the third imaging unit 70 based on a detection signal (for example, a trigger signal) from the detection unit 30. A third image including the top surface of the tablet T is acquired, and the acquired third image is transmitted to the control device 90. The third imaging timing is the timing when the position of the tablet T on the transport belt 21 in the transport direction H1 overlaps with the center position of the imaging area of the third imaging section 70 in the transport direction H1. The third image is used to inspect the print pattern printed on the tablet T. As the third imaging section 70, for example, like the aforementioned imaging sections 40 and 50, various cameras having an imaging device such as a CCD or a CMOS are used. The third imaging unit 70 is electrically connected to the control device 90, and its driving is controlled by the control device 90. Illumination for imaging is also provided if necessary.

回収部80は、第3の撮像部70が設けられた位置よりも搬送方向H1の下流側に位置付けられ、搬送部20における搬送方向H1の下流側の端部に設けられている。この回収部80は、搬送部20による保持が解除されて落下する錠剤Tを不良品と良品とに分けて回収するように構成されている。例えば、不良品は、割れ欠け又は汚れ有りの未印刷錠、割れ欠け及び汚れ無しの未印刷錠(姿勢不良の未印刷錠)、割れ欠け及び汚れ無しの印刷不合格錠(印刷不良錠)である。良品は、割れ欠け及び汚れ無しの印刷合格錠である。なお、搬送部20は、搬送ベルト21上の個々の錠剤Tが所定の位置、例えば、搬送部20における搬送方向H1の下流側の端部に到達した場合に錠剤Tの保持を解除する。 The recovery unit 80 is located downstream in the transport direction H1 from the position where the third imaging unit 70 is provided, and is provided at the downstream end of the transport unit 20 in the transport direction H1. The collecting section 80 is configured to separate and collect the tablets T that fall after being released from the holding by the conveying section 20 into defective and non-defective tablets. For example, defective products include unprinted tablets with cracks and chips, unprinted tablets with no cracks and stains (unprinted tablets with poor posture), and rejected tablets with cracks and no stains (defective tablets). be. A good product is a tablet that passes printing without any cracks, chips, or stains. Note that the conveyance section 20 releases the holding of the tablets T when each tablet T on the conveyance belt 21 reaches a predetermined position, for example, the downstream end of the conveyance section 20 in the conveyance direction H1.

制御装置90は、制御部91と、処理部92と、記憶部93と、補正部94とを有している。各部は、ハードウエア(例えば電気回路)及びソフトウエアのどちらか一方又は両方により構成されている。制御部91は、例えばマイクロコンピュータであり、各部を集中的に制御する。処理部92は、公知の画像処理技術を用いて画像を処理する。記憶部93は、処理情報や各種プログラムなどを記憶する。制御部91は、記憶部93により記憶された各種情報及び各種プログラムに基づいて供給部10や搬送部20、各撮像部40、50、70、印刷部60などを制御する。また、制御部91は、位置検出器25や検出部30から送信される検出情報(例えば検出信号)などを受信し、処理部92は、各撮像部40、50、70から送信される画像情報などを受信する。 The control device 90 includes a control section 91, a processing section 92, a storage section 93, and a correction section 94. Each part is composed of either or both of hardware (for example, an electric circuit) and software. The control section 91 is, for example, a microcomputer, and centrally controls each section. The processing unit 92 processes images using known image processing techniques. The storage unit 93 stores processing information, various programs, and the like. The control unit 91 controls the supply unit 10, the transport unit 20, each of the imaging units 40, 50, 70, the printing unit 60, etc. based on various information and various programs stored in the storage unit 93. Further, the control unit 91 receives detection information (for example, a detection signal) transmitted from the position detector 25 and the detection unit 30, and the processing unit 92 receives image information transmitted from each of the imaging units 40, 50, and 70. and so on.

制御部91は、位置検出器25から送信された検出情報に基づき、搬送ベルト21の移動量(回転量)や速度などの情報を取得する。また、制御部91は、検出部30から送信された検出情報、すなわち搬送ベルト21上の錠剤Tが検出されたタイミングに基づき、搬送ベルト21において錠剤Tの搬送方向H1(X方向)の位置を把握し、この錠剤位置を示す第1の位置情報(例えばトリガ情報)を生成して記憶部93に保存する。なお、制御部91及び検出部30が、搬送部20により搬送される錠剤Tの搬送方向H1の位置を取得する第1の取得部として機能する。 The control unit 91 acquires information such as the movement amount (rotation amount) and speed of the conveyor belt 21 based on the detection information transmitted from the position detector 25 . Further, the control unit 91 determines the position of the tablet T in the conveying direction H1 (X direction) on the conveying belt 21 based on the detection information transmitted from the detecting unit 30, that is, the timing at which the tablet T on the conveying belt 21 is detected. The first position information (for example, trigger information) indicating this tablet position is generated and stored in the storage unit 93. Note that the control unit 91 and the detection unit 30 function as a first acquisition unit that acquires the position of the tablet T conveyed by the conveyance unit 20 in the conveyance direction H1.

また、制御部91は、記憶部93に保存された第1の位置情報(搬送ベルト21における錠剤Tの搬送方向H1の位置)に基づき、第1の撮像部40の第1の撮像タイミング、第2の撮像部50のカメラ51の第2の撮像タイミング、印刷部60のインクジェットヘッド61の印刷タイミング、第3の撮像部70の第3の撮像タイミングを設定し、それらのタイミングを示すタイミング情報を生成して記憶部93に保存する。印刷タイミングとは、インクジェットヘッド61の直下の印刷位置に到達した錠剤Tに対して印刷を開始するタイミングである。なお、制御部91が、搬送部20により搬送される錠剤Tの上面を撮像するための第1の撮像タイミングと、搬送部20により搬送される錠剤Tの側面を撮像するための第2の撮像タイミングを設定する設定部として機能する。 Further, the control unit 91 controls the first imaging timing of the first imaging unit 40, the first imaging timing of the first imaging unit 40, The second imaging timing of the camera 51 of the second imaging unit 50, the printing timing of the inkjet head 61 of the printing unit 60, and the third imaging timing of the third imaging unit 70 are set, and timing information indicating these timings is set. It is generated and stored in the storage unit 93. The printing timing is the timing at which printing is started on the tablet T that has reached the printing position directly below the inkjet head 61. Note that the control unit 91 controls the first imaging timing for imaging the top surface of the tablet T transported by the transporting unit 20 and the second imaging timing for imaging the side surface of the tablet T transported by the transporting unit 20. It functions as a setting section that sets timing.

例えば、図5に示すように、搬送ベルト21により搬送される錠剤Tが、検出部30の直下の検出位置(例えばレーザ光の照射位置)に到達するタイミングが基準0とされ、第1の撮像部40の撮像領域の中心位置に到達するタイミング(第1の撮像タイミング)が40カウントとされ、第2の撮像部50のカメラ51の撮像領域の中心位置に到達するタイミング(第2の撮像タイミング)が80カウントとされ、印刷部60のインクジェットヘッド61の直下の印刷位置に到達するタイミング(印刷タイミング)が130カウントとされ、第3の撮像部70の撮像領域の中心位置に到達するタイミング(第3の撮像タイミング)が180カウントとされる。そして、それらのタイミングを示す情報が生成されて記憶部93に保存される。 For example, as shown in FIG. 5, the timing at which the tablet T transported by the transport belt 21 reaches the detection position directly below the detection unit 30 (for example, the laser beam irradiation position) is set as reference 0, and the first imaging The timing of reaching the center position of the imaging area of the camera 51 of the second imaging unit 50 (first imaging timing) is 40 counts, and the timing of reaching the center position of the imaging area of the camera 51 of the second imaging unit 50 (second imaging timing) ) is 80 counts, the timing (printing timing) when the printing unit 60 reaches the printing position directly below the inkjet head 61 is 130 counts, and the timing (printing timing) when the printing unit 60 reaches the center position of the imaging area of the third imaging unit 70 ( The third imaging timing) is set to 180 counts. Then, information indicating those timings is generated and stored in the storage unit 93.

処理部92は、第1の撮像部40から送信された画像情報、すなわち画像情報に含まれる第1の画像を解析し、錠剤Tの中心(例えば錠剤重心)を求め、求めた中心に基づいて搬送ベルト21上の錠剤TのX方向、Y方向及びθ方向の位置(図2参照)を把握し、この錠剤位置を示す第2の位置情報を生成して記憶部93に保存する。また、処理部92は、前述の第1の画像の解析時、錠剤Tが割れ欠け又は汚れを有するか否か(割れ欠け又は汚れの有無)を判断し、対象の錠剤Tが割れ欠け又は汚れを有するか否かを示す第1の検査情報を生成して記憶部93に保存する。例えば、処理部92は、錠剤Tの上面の像に対して二値化処理を施し、濃淡分布を把握し、濃度が閾値(予め定めた濃さ)を超えた場合、対象の錠剤Tの上面には、割れ欠け又は汚れを有すると判断する。濃度が閾値以下である場合には、対象の錠剤Tの上面には割れ欠け及び汚れを有さないと判断する。なお、処理部92が、第1の撮像部40により得られた第1の画像から、搬送部20により搬送される錠剤Tの上面状態を把握する把握部(上面把握部)として機能する。 The processing unit 92 analyzes the image information transmitted from the first imaging unit 40, that is, the first image included in the image information, determines the center of the tablet T (for example, the center of gravity of the tablet), and calculates the center of the tablet T based on the determined center. The position of the tablet T on the conveyor belt 21 in the X direction, Y direction, and θ direction (see FIG. 2) is grasped, and second position information indicating this tablet position is generated and stored in the storage unit 93. Furthermore, when analyzing the first image described above, the processing unit 92 determines whether or not the tablet T has cracks or chips (presence or absence of cracks or stains), and determines whether the target tablet T has cracks or chips or stains. The first test information indicating whether or not the test information has the same is generated and stored in the storage unit 93. For example, the processing unit 92 performs a binarization process on the image of the top surface of the tablet T, grasps the density distribution, and if the density exceeds a threshold value (predetermined density), is judged to have cracks, chips, or stains. If the concentration is below the threshold value, it is determined that the upper surface of the target tablet T has no cracks, chips, or stains. Note that the processing unit 92 functions as a grasping unit (top face grasping unit) that grasps the top surface state of the tablet T conveyed by the conveyance unit 20 from the first image obtained by the first imaging unit 40.

さらに、処理部92は、前述の第1の画像の解析時、錠剤Tが姿勢不良を有するか否か(姿勢不良の有無)を判断し、対象の錠剤Tが姿勢不良を有するか否かを示す情報を生成して、この情報も先の第1の検査情報として記憶部93に保存する。なお、処理部92が、第1の撮像部40により得られた第1の画像から、搬送部20により搬送される錠剤Tの搬送方向H1の位置を取得する第2の取得部として機能する。 Furthermore, when analyzing the first image described above, the processing unit 92 determines whether or not the tablet T has a poor posture (presence or absence of a poor posture), and determines whether or not the target tablet T has a poor posture. This information is also stored in the storage unit 93 as the first inspection information. Note that the processing unit 92 functions as a second acquisition unit that acquires the position of the tablet T transported by the transport unit 20 in the transport direction H1 from the first image obtained by the first imaging unit 40.

ここで、前述のX方向及びY方向の位置とは、例えば、第1の撮像部40の撮像領域の中心(基準位置)に対するXY座標系の位置である。また、θ方向の位置とは、例えば、第1の撮像部40の撮像領域のY方向の中心線に対する錠剤Tの回転度合いを示す位置である。このθ方向の位置は、錠剤Tに割線が設けられている場合や錠剤Tが楕円形や長円形、四角形などに成型されている場合など、錠剤Tが方向性を有する形態である場合に検出される。また、錠剤Tの姿勢とは、例えば、搬送ベルト21の吸着面に対する錠剤Tの傾きである。 Here, the above-mentioned positions in the X direction and Y direction are, for example, positions in the XY coordinate system with respect to the center (reference position) of the imaging area of the first imaging unit 40. Further, the position in the θ direction is, for example, a position indicating the degree of rotation of the tablet T with respect to the center line in the Y direction of the imaging area of the first imaging unit 40. This position in the θ direction is detected when the tablet T has a directional shape, such as when the tablet T has a score line or when the tablet T is formed into an oval, oval, or square shape. be done. Further, the attitude of the tablet T is, for example, the inclination of the tablet T with respect to the suction surface of the conveyor belt 21.

また、処理部92は、第2の撮像部50から送信された画像情報、すなわち画像情報に含まれる第2の画像(各プリズム52aによる錠剤Tの側面の個々の像)を解析し、錠剤Tが割れ欠け又は汚れを有するか否か(割れ欠け又は汚れの有無)を判断し、対象の錠剤Tが割れ欠け又は汚れを有するか否かを示す第2の検査情報を生成して記憶部93に保存する。例えば、処理部92は、各プリズム52aによる錠剤Tの側面の個々の像(例えば図4参照)に対して二値化処理を施し、像ごとに濃淡分布を把握し、濃度が閾値(予め定めた濃さ)を超えた場合、対象の錠剤Tが割れ欠け又は汚れを有すると判断する。濃度が閾値以下である場合には、対象の錠剤Tが割れ欠け及び汚れを有さないと判断する。なお、処理部92が、第2の撮像部50により得られた第2の画像から、搬送部20により搬送される錠剤Tの側面状態を把握する把握部(側面把握部)として機能する。 Further, the processing unit 92 analyzes the image information transmitted from the second imaging unit 50, that is, the second image (individual images of the side surfaces of the tablet T by each prism 52a) included in the image information, and The storage unit 93 determines whether or not the tablet T has cracks or stains (presence or absence of cracks or stains), generates second inspection information indicating whether or not the target tablet T has cracks or stains, and generates second inspection information indicating whether or not the target tablet T has cracks or stains. Save to. For example, the processing unit 92 performs a binarization process on each image of the side surface of the tablet T by each prism 52a (for example, see FIG. If the density exceeds 100%, it is determined that the target tablet T has cracks, chips, or stains. If the concentration is below the threshold value, it is determined that the target tablet T has no cracks or stains. Note that the processing section 92 functions as a grasping section (side surface grasping section) that grasps the side surface state of the tablet T transported by the transporting section 20 from the second image obtained by the second imaging section 50.

また、処理部92は、第3の撮像部70から送信された画像情報、すなわち画像情報に含まれる第3の画像を解析し、錠剤Tに印刷された印刷パターン(例えば文字やマーク)の印刷位置や形状、サイズを取得し、この印刷パターンの印刷位置や形状、サイズを示す第3の検査情報を生成して記憶部93に保存する。 Further, the processing unit 92 analyzes the image information transmitted from the third imaging unit 70, that is, the third image included in the image information, and prints the printing pattern (for example, characters or marks) printed on the tablet T. The position, shape, and size are acquired, and third inspection information indicating the print position, shape, and size of this print pattern is generated and stored in the storage unit 93.

ところで、検出部30を用いて、搬送ベルト21により搬送される錠剤Tを検出部30の直下の検出位置(例えばレーザ光の照射位置)で検出し、前述したように、この検出信号(検出タイミング)をトリガ信号として、第1の撮像部40、第2の撮像部50、第3の撮像部70での撮像タイミングを得る場合、品質の高い印刷を錠剤Tに行うためには、特に錠剤Tの側面の画像(第2の画像)を取得する第2の撮像部50において、搬送ベルト21によって搬送される錠剤Tのあらかじめ設定された基準ライン(例えば複数の吸引孔21aが一列に並ぶライン)からのずれ状態を考慮すると好ましい。その理由は次のとおりである。 By the way, the detection unit 30 is used to detect the tablet T conveyed by the conveyor belt 21 at a detection position directly below the detection unit 30 (for example, the laser beam irradiation position), and as described above, this detection signal (detection timing ) as a trigger signal to obtain the imaging timing of the first imaging unit 40, second imaging unit 50, and third imaging unit 70, in order to perform high-quality printing on the tablet T, especially the tablet T In the second imaging unit 50 that acquires a side image (second image) of the tablet T, a preset reference line (for example, a line in which the plurality of suction holes 21a are lined up) of the tablet T conveyed by the conveyor belt 21 is set. This is preferable in consideration of the deviation state. The reason is as follows.

例えば、本実施の一形態で用いた、平面視で円形状の錠剤Tであるとき、搬送ベルト21により搬送される錠剤Tが、基準ラインから搬送方向に水平面内で直交する方向にずれた状態で搬送されると、このずれ状態時の検出部30による検出信号の出力タイミング(検出タイミング)における錠剤Tの搬送方向の位置は、ずれていない時の検出タイミングにおける錠剤Tの搬送方向の位置からずれてしまう。このため、検出タイミングに基づく撮像タイミングで錠剤Tが撮像されても、錠剤Tの搬送方向の中心は各撮像部40、50、70のカメラの撮像領域の搬送方向の中心からずれることがある。 For example, when the tablet T used in this embodiment is circular in plan view, the tablet T transported by the transport belt 21 is deviated from the reference line in a direction perpendicular to the transport direction in a horizontal plane. When the tablet T is conveyed at this time, the position of the tablet T in the conveyance direction at the output timing (detection timing) of the detection signal by the detection unit 30 in this misaligned state is different from the position of the tablet T in the conveyance direction at the detection timing when there is no misalignment. It will shift. Therefore, even if the tablet T is imaged at the imaging timing based on the detection timing, the center of the tablet T in the transport direction may deviate from the center of the imaging area of the camera of each imaging section 40, 50, 70 in the transport direction.

第1の撮像部40、第3の撮像部70のように、錠剤Tの上面を撮像するものであれば、カメラの被写界深度は搬送ベルト21上の錠剤Tの高さ(例えば数mm程度の厚さ)に対応する被写界深度に設定されている。このため、錠剤Tの搬送方向の中心がカメラの撮像領域の搬送方向の中心からずれた状態で錠剤Tの上面が撮像されても、錠剤Tの厚さは一定又はほぼ一定であり、カメラと錠剤Tの上面との撮像距離(カメラと被写体との間の距離)もほぼ変わらない。したがって、カメラのピントは錠剤Tの上面に合い、錠剤Tの上面が撮像されて得られた画像はぼやけない。 If the first imaging unit 40 and the third imaging unit 70 image the top surface of the tablet T, the depth of field of the camera is the height of the tablet T on the conveyor belt 21 (for example, several mm). The depth of field is set to correspond to the thickness of the image. Therefore, even if the top surface of the tablet T is imaged when the center of the tablet T in the transport direction is shifted from the center of the camera's imaging area in the transport direction, the thickness of the tablet T remains constant or almost constant, and the thickness of the tablet T remains constant or almost constant. The imaging distance to the top surface of the tablet T (distance between the camera and the subject) is also almost unchanged. Therefore, the camera focuses on the top surface of the tablet T, and the image obtained by capturing the top surface of the tablet T is not blurred.

これに対し、第2の撮像部50が有するカメラ51のように、錠剤Tの側面を撮像するものである場合、錠剤Tの搬送方向の中心がカメラ51の撮像領域の搬送方向の中心からずれた状態で錠剤の側面が撮像されると、カメラ51と錠剤Tの側面との撮像距離(カメラと被写体との間の距離)が変わる。このため、カメラ51のピントが錠剤Tの側面に合わず、錠剤Tの側面が撮像されて得られた画像がぼやけることになる。例えば、錠剤Tの側面の全体にカメラ51のピントを合わせるためには、カメラ51の被写界深度を錠剤Tの半径に、錠剤Tの予測される位置ずれ量を加えた値(例えば十数~数十mm程度)に対応する被写界深度に設定する必要がある。つまり、錠剤Tの側面を撮像する第2の撮像部50で用いるカメラ51の被写界深度は、錠剤Tの上面を撮像する第1の撮像部40や第3の撮像部70で用いるカメラよりも深く設定することになる。そこで被写界深度を深くするためにF値を大きくすると、シャッター速度を遅くしなければならない。このため、搬送によって移動する錠剤Tの側面の画像を動体ぶれがなく鮮明に得るには限界があり、錠剤Tの割れ欠けや汚れなどの把握を十分に行うことが難しい。 On the other hand, in the case where the camera 51 of the second imaging unit 50 images the side surface of the tablet T, the center of the tablet T in the transport direction is shifted from the center of the imaging area of the camera 51 in the transport direction. When the side surface of the tablet T is imaged in this state, the imaging distance between the camera 51 and the side surface of the tablet T (distance between the camera and the subject) changes. For this reason, the camera 51 does not focus on the side surface of the tablet T, and the obtained image of the side surface of the tablet T becomes blurred. For example, in order to focus the camera 51 on the entire side surface of the tablet T, the depth of field of the camera 51 should be set to the radius of the tablet T plus the predicted positional shift amount of the tablet T (for example, 10 or more). It is necessary to set the depth of field to correspond to a depth of field (approximately several tens of millimeters). In other words, the depth of field of the camera 51 used in the second imaging unit 50 that images the side surface of the tablet T is greater than that of the camera used in the first imaging unit 40 and the third imaging unit 70 that image the top surface of the tablet T. It will also be set in depth. Therefore, if you increase the F number to deepen the depth of field, you will need to slow down the shutter speed. For this reason, there is a limit to obtaining a clear image of the side surface of the tablet T as it moves during transportation without any motion blur, and it is difficult to sufficiently grasp cracks, chips, stains, etc. on the tablet T.

そこで、本実施の一形態では、カメラ51を用いた第2の画像の取得時、カメラ51に対する錠剤Tの位置ずれ量をなくし、カメラ51の被写界深度を浅く、シャッター速度を速くし得るように構成し、動いている錠剤Tの側面を鮮明に撮像することができるようにするものである。以下、具体的に説明する。 Therefore, in this embodiment, when acquiring the second image using the camera 51, the amount of positional deviation of the tablet T with respect to the camera 51 can be eliminated, the depth of field of the camera 51 can be made shallow, and the shutter speed can be made faster. This configuration allows the side surface of the moving tablet T to be clearly imaged. This will be explained in detail below.

補正部94は、記憶部93により記憶された第2の位置情報(搬送ベルト21における錠剤Tの搬送方向H1の位置)に基づき、記憶部93により記憶された第1の位置情報(搬送ベルト21における搬送方向H1の錠剤Tの位置)に基づく各種のタイミング(第2の撮像タイミング、印刷タイミング、第3の撮像タイミング)を補正する。搬送ベルト21により搬送される錠剤Tが検出部30の直下の検出位置(例えばレーザ光の照射位置)に位置すると、搬送ベルト21における錠剤Tの搬送方向H1の位置が把握され、その第1の位置情報に基づいて各種のタイミングが設定されるが、これらのタイミングが第2の位置情報に基づいて補正される。各種のタイミングは時間又は距離(例えば位置検出器25による距離)によって管理される。なお、第2の撮像タイミング以外の印刷タイミングや第3の撮像タイミングを必ずしも補正する必要はないが、印刷精度又は検査精度の向上のため、印刷タイミングや第3の撮像タイミングを補正する方が望ましい。 The correction unit 94 corrects the first position information stored in the storage unit 93 (the position of the tablet T in the transport direction H1 on the transport belt 21) based on the second position information stored in the storage unit 93 (the position of the tablet T in the transport direction H1 on the transport belt 21). Various timings (second imaging timing, printing timing, third imaging timing) are corrected based on the position of the tablet T in the transport direction H1 in . When the tablet T transported by the transport belt 21 is located at the detection position directly below the detection unit 30 (for example, the laser beam irradiation position), the position of the tablet T on the transport belt 21 in the transport direction H1 is grasped, and the first Although various timings are set based on the positional information, these timings are corrected based on the second positional information. Various timings are managed by time or distance (for example, distance determined by the position detector 25). Note that although it is not necessarily necessary to correct the printing timing other than the second imaging timing or the third imaging timing, it is desirable to correct the printing timing or the third imaging timing in order to improve printing accuracy or inspection accuracy. .

先に示した図5において、搬送ベルト21により搬送される錠剤Tが検出部30の直下の検出位置に到達してから、40カウントが経過すると、第1の撮像部40により撮像が行われる。この第1の撮像部40により得られた第1の画像から、搬送ベルト21における錠剤Tの搬送方向H1の位置が45カウントの位置であり、5カウント分先に進んでいることが判明した場合には、第2の撮像部50のカメラ51の第2の撮像タイミングが80から75(=80-5)に補正され、印刷部60のインクジェットヘッド61の印刷タイミングが130から125(=130-5)に補正され、第3の撮像部70の第3の撮像タイミングが180から175(=180-5)に補正される。これにより、搬送部20により搬送される錠剤Tが第2の撮像部50のカメラ51の撮像領域の中心位置に到達したときにカメラ51により錠剤Tの側面を撮像することが可能となり、また、印刷部60のインクジェットヘッド61の直下の印刷位置に到達したときにインクジェットヘッド61により印刷を開始することが可能となり、第3の撮像部70の撮像領域の中心位置に到達したときに第3の撮像部70により錠剤Tの上面を撮像することが可能になる。 In FIG. 5 shown above, when 40 counts have elapsed after the tablet T transported by the transport belt 21 reaches the detection position directly below the detection section 30, the first imaging section 40 captures an image. If it is determined from the first image obtained by the first imaging unit 40 that the position of the tablet T in the transport direction H1 on the transport belt 21 is 45 counts, and that the tablet T has moved forward by 5 counts. , the second imaging timing of the camera 51 of the second imaging unit 50 is corrected from 80 to 75 (=80-5), and the printing timing of the inkjet head 61 of the printing unit 60 is corrected from 130 to 125 (=130-5). 5), and the third imaging timing of the third imaging unit 70 is corrected from 180 to 175 (=180-5). Thereby, when the tablet T transported by the transport unit 20 reaches the center position of the imaging area of the camera 51 of the second imaging unit 50, it becomes possible for the camera 51 to image the side surface of the tablet T, and also, It becomes possible for the inkjet head 61 to start printing when the printing position directly below the inkjet head 61 of the printing unit 60 is reached, and when the center position of the imaging area of the third imaging unit 70 is reached, the third The imaging unit 70 can image the top surface of the tablet T.

制御部91は、記憶部93に保存された第1の検査情報及び第2の検査情報に基づいて錠剤Tに対する印刷条件を設定するか否かを判断し、印刷条件を設定すると判断した場合、記憶部93に保存された第2の位置情報に基づいて、錠剤Tに対する印刷条件を設定する。例えば、制御部91は、第1の検査情報が対象の錠剤Tが姿勢不良を有するという内容であることを判断した場合、あるいは、第1の検査情報または第2の検査情報が、対象の錠剤Tが割れ欠け又は汚れを有するという内容であることを判断した場合、その錠剤Tに対する印刷条件を設定せず、対象の錠剤Tに対する印刷を禁止する。また、制御部91は、第1の検査情報が対象の錠剤Tが姿勢不良を有さないという内容であることを判断し、第1の検査情報と第2の検査情報がともに、対象の錠剤Tが割れ欠け又は汚れを有さないという内容であることを判断した場合、第2の位置情報に含まれる錠剤TのY方向の位置情報や印刷パターンに基づいて、インクジェットヘッド61において対象の錠剤Tの印刷に使用するノズル61aの範囲(使用ノズル範囲)を決定し、また、前述の印刷タイミング(錠剤Tに対して印刷を開始するタイミング)に基づいて、錠剤Tに対する吐出タイミングを決定することで、印刷条件を設定して記憶部93に保存する。なお、錠剤Tが方向性を有する形態である場合、制御部91は、第2の位置情報に含まれる錠剤Tのθ方向の位置情報も用い、錠剤Tのθ方向の位置に対応させて印刷条件を設定する。 The control unit 91 determines whether or not to set the printing conditions for the tablet T based on the first inspection information and the second inspection information stored in the storage unit 93, and when it is determined that the printing conditions are to be set, Printing conditions for the tablet T are set based on the second position information stored in the storage unit 93. For example, when the control unit 91 determines that the first inspection information indicates that the target tablet T has a poor posture, or the first inspection information or the second inspection information If it is determined that the tablet T has cracks, chips, or stains, printing conditions for that tablet T are not set, and printing for the target tablet T is prohibited. Further, the control unit 91 determines that the first inspection information indicates that the target tablet T does not have poor posture, and the control unit 91 determines that the target tablet T does not have a posture defect, and both the first inspection information and the second inspection information When it is determined that T has no cracks, chips, or stains, the inkjet head 61 selects the target tablet based on the Y-direction position information and printing pattern of the tablet T included in the second position information. Determining the range of the nozzle 61a (used nozzle range) used for printing T, and determining the ejection timing for the tablet T based on the above-mentioned printing timing (timing to start printing for the tablet T) Then, print conditions are set and saved in the storage section 93. Note that when the tablet T is in a form with directionality, the control unit 91 also uses the position information of the tablet T in the θ direction included in the second position information, and prints in correspondence with the position of the tablet T in the θ direction. Set conditions.

また、制御部91は、記憶部93に保存された第3の検査情報に基づいて、印刷パターンが錠剤Tの所定位置に所定形状及び所定サイズで印刷されたか否か、すなわち印刷パターンが錠剤Tに正常に印刷されたか否かを判断し(印刷状態検査)、錠剤Tの印刷良否を示す印刷良否情報を生成して記憶部93に保存する。例えば、制御部91は、印刷パターンの印刷位置や形状、サイズ判断において、印刷に使用した印刷パターンを検査用の印刷パターンとして記憶部93に登録しておき、その検査用の印刷パターンと実際の印刷済の錠剤T上の印刷パターン(錠剤Tに印刷された印刷パターン)とを比較し、インクジェットヘッド61により印刷が行われた印刷済の錠剤Tに印刷パターンが正常に印刷されたか否かを判断する。 The control unit 91 also determines whether or not the print pattern is printed at a predetermined position on the tablet T in a predetermined shape and size, based on the third inspection information stored in the storage unit 93. It is determined whether or not the tablet T has been printed normally (printing status inspection), and printing quality information indicating the quality of printing of the tablet T is generated and stored in the storage unit 93. For example, in determining the print position, shape, and size of a print pattern, the control unit 91 registers the print pattern used for printing in the storage unit 93 as a test print pattern, and compares the test print pattern with the actual print pattern. Compare the printing pattern on the printed tablet T (printing pattern printed on the tablet T) to determine whether the printing pattern was correctly printed on the printed tablet T printed by the inkjet head 61. to decide.

ここで、前述の各種情報(例えば、第1の位置情報、タイミング情報、第2の位置情報、第1の検査情報、第2の検査情報、第3の検査情報、印刷良否情報など)は、搬送ベルト21により搬送される錠剤Tごとに生成されて記憶部93に保存されるが、対象の錠剤Tが回収部80により回収されると、例えば、搬送部20における搬送方向H1の下流側の端部から落下して所定時間(例えば数秒)が経過した時点で記憶部93から削除される。ただし、後工程などで必要となる場合には、錠剤Tごとの各種情報を消去せずに残しておくことも可能である。 Here, the aforementioned various information (for example, first position information, timing information, second position information, first inspection information, second inspection information, third inspection information, print quality information, etc.) It is generated for each tablet T transported by the transport belt 21 and stored in the storage unit 93, but when the target tablet T is collected by the collection unit 80, for example, When a predetermined time (for example, several seconds) has elapsed after falling from the edge, it is deleted from the storage unit 93. However, if it is needed in a later process, etc., it is also possible to leave various information for each tablet T without erasing it.

(印刷工程)
次に、前述の錠剤印刷装置1が行う印刷工程(印刷処理)について図6を参照して説明する。印刷に要するデータなどの各種情報(例えば、印刷パターン及びその印刷パターンの錠剤T上での印刷位置などを含む印刷データ、搬送ベルト21の移動速度データなど)は、制御装置90の記憶部93に予め記憶されている。なお、錠剤印刷装置1が印刷処理を開始すると、モータ24は駆動し、搬送ベルト21はモータ24による駆動プーリ22及び従動プーリ23の回転に伴って搬送方向H1に回転する。
(Printing process)
Next, the printing process (printing process) performed by the above-mentioned tablet printing apparatus 1 will be described with reference to FIG. 6. Various information such as data required for printing (for example, print data including a print pattern and the print position of the print pattern on the tablet T, movement speed data of the conveyor belt 21, etc.) is stored in the storage unit 93 of the control device 90. It is stored in advance. Note that when the tablet printing device 1 starts the printing process, the motor 24 is driven, and the conveyor belt 21 rotates in the conveyance direction H1 as the drive pulley 22 and the driven pulley 23 are rotated by the motor 24.

図6に示すように、ステップS1において、搬送ベルト21が搬送方向H1に回転している状態で、錠剤Tがホッパ11からシュータ12に順次供給され、シュータ12により一列に並べられて搬送ベルト21上に一定間隔ではなくランダムに供給され、搬送ベルト21上に供給された錠剤Tは、搬送ベルト21上で一列に並んで所定の移動速度で搬送されていく。 As shown in FIG. 6, in step S1, while the conveyor belt 21 is rotating in the conveyance direction H1, the tablets T are sequentially supplied from the hopper 11 to the chute 12, are arranged in a line by the chute 12, and are placed on the conveyor belt 21. The tablets T are supplied on the conveyor belt 21 at random rather than at regular intervals, and are conveyed in a line on the conveyor belt 21 at a predetermined moving speed.

ステップS2において、搬送ベルト21上の錠剤Tが検出部30によって検出される。詳しくは、搬送ベルト21上の錠剤Tが検出部30の直下の検出位置(例えばレーザ光の照射位置)に到達するタイミングで検出部30により検出され、その錠剤Tが検出されたタイミングに基づき、搬送ベルト21において錠剤Tの搬送方向H1(X方向)の位置が制御部91によって把握される。そして、その錠剤位置を示す第1の位置情報が制御部91により生成され、記憶部93に保存される。 In step S2, the tablet T on the conveyor belt 21 is detected by the detection unit 30. Specifically, the tablet T on the conveyor belt 21 is detected by the detection unit 30 at the timing when it reaches the detection position directly below the detection unit 30 (for example, the laser beam irradiation position), and based on the timing at which the tablet T is detected, The position of the tablet T in the transport direction H1 (X direction) on the transport belt 21 is grasped by the control unit 91. Then, first position information indicating the tablet position is generated by the control unit 91 and stored in the storage unit 93.

ステップS3において、記憶部93に保存された第1の位置情報(搬送ベルト21における錠剤Tの搬送方向H1の位置)に基づき、各種のタイミング(第1の撮像タイミング、第2の撮像タイミング、印刷タイミング、第3の撮像タイミング)が制御部91によって設定される。それらのタイミングを示すタイミング情報が制御部91により生成され、記憶部93に保存される。 In step S3, various timings (first imaging timing, second imaging timing, printing timing (third imaging timing) is set by the control unit 91. Timing information indicating these timings is generated by the control section 91 and stored in the storage section 93.

ステップS4において、搬送ベルト21上の錠剤Tが第1の撮像部40によって撮像される。詳しくは、搬送ベルト21上の錠剤Tが、記憶部93に保存されたタイミング情報に基づき、第1の撮像部40の直下の撮像位置に到達した第1の撮像タイミングで撮像部40によって撮像され、その第1の撮像部40による撮像により得られた第1の画像が制御装置90に送信される。 In step S4, the tablet T on the conveyor belt 21 is imaged by the first imaging section 40. Specifically, the tablet T on the conveyor belt 21 is imaged by the imaging unit 40 at the first imaging timing when the tablet T reaches the imaging position directly below the first imaging unit 40 based on timing information stored in the storage unit 93. , the first image obtained by the first imaging unit 40 is transmitted to the control device 90.

ステップS5において、搬送ベルト21上の錠剤Tの位置、割れ欠け又は汚れ及び姿勢が処理部92により把握される。詳しくは、第1の撮像部40から送信された第1の画像が処理部92により解析され、錠剤Tの第2の位置情報(例えばX方向、Y方向及びθ方向の位置情報)が生成され、記憶部93に保存される。また、前述の画像解析により、錠剤Tが割れ欠け又は汚れを有するか否か、錠剤Tが姿勢不良を有するか否かも処理部92により判断され、第1の検査情報として記憶部93に保存される。 In step S5, the processing unit 92 grasps the position, cracks, chips, dirt, and posture of the tablet T on the conveyor belt 21. Specifically, the first image transmitted from the first imaging unit 40 is analyzed by the processing unit 92, and second position information of the tablet T (for example, position information in the X direction, Y direction, and θ direction) is generated. , are stored in the storage unit 93. Furthermore, through the above-mentioned image analysis, the processing unit 92 determines whether the tablet T has cracks, chips or stains, and whether the tablet T has a poor posture, and stores them in the storage unit 93 as first inspection information. Ru.

ステップS6において、記憶部93に保存された第2の位置情報に基づき、搬送ベルト21上の錠剤Tの搬送方向H1(X方向)の位置ずれが有るか否かが補正部94により判断される。詳しくは、錠剤Tの第2の位置情報に含まれるX方向の位置情報に基づき、第1の画像において、搬送ベルト21における錠剤Tの搬送方向H1の位置と、第1の撮像部40の撮像領域の搬送方向H1の中心位置とのずれ量が補正部94により算出され、そのずれ量が0(ゼロ)であると、錠剤Tの位置ずれが無いと判断され、ずれ量が0でないと、錠剤Tの位置ずれが有ると判断される。搬送ベルト21上の錠剤Tの搬送方向H1の位置ずれが有ると判断されると(YES)、処理はステップS7に進む。一方、搬送ベルト21上の錠剤Tの搬送方向H1の位置ずれが無いと判断されると(NO)、処理はステップS8に進む。 In step S6, based on the second position information stored in the storage unit 93, the correction unit 94 determines whether or not there is a positional shift of the tablet T on the conveyance belt 21 in the conveyance direction H1 (X direction). . Specifically, based on the position information in the X direction included in the second position information of the tablet T, the position of the tablet T in the transport direction H1 on the transport belt 21 and the image taken by the first imaging unit 40 are determined in the first image. The amount of deviation from the center position of the area in the transport direction H1 is calculated by the correction unit 94, and if the amount of deviation is 0 (zero), it is determined that there is no positional deviation of the tablet T, and if the amount of deviation is not 0, It is determined that there is a positional shift of the tablet T. If it is determined that there is a positional shift in the transport direction H1 of the tablet T on the transport belt 21 (YES), the process proceeds to step S7. On the other hand, if it is determined that there is no positional shift in the transport direction H1 of the tablet T on the transport belt 21 (NO), the process proceeds to step S8.

ステップS7において、各種のタイミング(第2の撮像タイミング、印刷タイミング、第3の撮像タイミング)が補正部94により補正される。詳しくは、前述のステップS5において算出されたずれ量に基づき、記憶部93に保存されたタイミング情報、すなわち第2の撮像タイミング、印刷タイミング、第3の撮像タイミングが補正される。つまり、第2の撮像タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置がカメラ51の撮像領域の搬送方向H1の中心位置に重なるタイミング(錠剤Tが第2の撮像部50のカメラ51の直下の撮像位置に到達したタイミング)となるように補正される。また、印刷タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置がインクジェットヘッド61の直下の印刷位置と重なるタイミング(錠剤Tが印刷部60のインクジェットヘッド61の直下の印刷位置に到達したタイミング)となるように補正される。第3の撮像タイミングは、搬送ベルト21における錠剤Tの搬送方向H1の位置が第3の撮像部70の撮像領域の搬送方向H1の中心位置に重なるタイミング(錠剤Tが第3の撮像部70の直下の撮像位置に到達したタイミング)となるように補正される。 In step S7, various timings (second imaging timing, print timing, third imaging timing) are corrected by the correction unit 94. Specifically, the timing information stored in the storage unit 93, that is, the second imaging timing, print timing, and third imaging timing, is corrected based on the shift amount calculated in step S5 described above. In other words, the second imaging timing is the timing when the position of the tablet T in the transport direction H1 on the transport belt 21 overlaps with the center position of the imaging area of the camera 51 in the transport direction H1 (the tablet T is (timing when the image capture position directly below is reached). The printing timing is the timing when the position of the tablet T in the transport direction H1 on the transport belt 21 overlaps the printing position directly below the inkjet head 61 (the timing when the tablet T reaches the printing position directly below the inkjet head 61 of the printing unit 60 ). The third imaging timing is the timing when the position of the tablet T in the transport direction H1 on the transport belt 21 overlaps the center position of the imaging area of the third imaging section 70 in the transport direction H1 (the tablet T is The timing is corrected so that the timing of reaching the imaging position immediately below is corrected.

ステップS8において、搬送ベルト21上の錠剤Tが第2の撮像部50によって撮像される。詳しくは、搬送ベルト21上の錠剤Tが、記憶部93に保存された補正済のタイミング情報に基づき、第2の撮像部50の直下の撮像位置に到達した第2の撮像タイミングで第2の撮像部50によって撮像され、その第2の撮像部50による撮像により得られた第2の画像が制御装置90に送信される。 In step S8, the tablet T on the conveyor belt 21 is imaged by the second imaging section 50. Specifically, the tablet T on the conveyor belt 21 is captured at the second imaging timing when the tablet T on the conveyor belt 21 reaches the imaging position directly below the second imaging unit 50 based on the corrected timing information stored in the storage unit 93. An image is captured by the imaging unit 50, and a second image obtained by the imaging by the second imaging unit 50 is transmitted to the control device 90.

ステップS9において、搬送ベルト21上の錠剤Tの割れ欠け又は汚れが処理部92により把握される。詳しくは、第2の撮像部50から送信された第2の画像が処理部92により解析され、錠剤Tが割れ欠け又は汚れを有するか否かも処理部92により判断され、対象の錠剤Tが割れ欠け又は汚れを有するか否かを示す第2の検査情報が記憶部93に保存される。 In step S9, the processing unit 92 detects cracks, chips, or stains on the tablets T on the conveyor belt 21. Specifically, the second image transmitted from the second imaging section 50 is analyzed by the processing section 92, and the processing section 92 also determines whether or not the tablet T has cracks, chips, or dirt. Second inspection information indicating whether or not there is chipping or staining is stored in the storage unit 93.

ステップS10において、記憶部93に保存された第1の検査情報及び第2の検査情報から、姿勢不良、割れ欠け又は汚れが有るか否かが制御部91により判断される。姿勢不良、割れ欠け及び汚れが無いと判断されると(NO)、処理はステップS11に進み、対象の錠剤Tに対する印刷が許可される。一方、姿勢不良、割れ欠け又は汚れが有ると判断されると(YES)、処理はステップS16に進み、対象の錠剤Tに対する印刷が禁止される。 In step S<b>10 , the control unit 91 determines from the first inspection information and second inspection information stored in the storage unit 93 whether or not there is poor posture, cracks, chips, or stains. If it is determined that there is no poor posture, cracks, chips, or stains (NO), the process proceeds to step S11, and printing on the target tablet T is permitted. On the other hand, if it is determined that there is poor posture, cracking, chipping, or staining (YES), the process proceeds to step S16, and printing on the target tablet T is prohibited.

ステップS11において、記憶部93に保存された第2の位置情報及び印刷パターンに基づいて、印刷条件が制御部91により設定される。詳しくは、記憶部93に保存された第2の位置情報及び印刷パターンに基づいて、錠剤Tに対する印刷条件が制御部91により設定され、記憶部93に保存される。例えば、第2の位置情報に含まれる錠剤TのY方向の位置情報や印刷パターンに基づいて、インクジェットヘッド61において対象の錠剤Tの印刷に使用するノズル61aの範囲が決定され、また、前述の印刷タイミング(錠剤Tに対して印刷を開始するタイミング)に基づいて、錠剤Tに対する吐出タイミングが決定され、印刷条件が設定されて記憶部93に保存される。 In step S11, printing conditions are set by the control unit 91 based on the second position information and the print pattern stored in the storage unit 93. Specifically, the printing conditions for the tablet T are set by the control unit 91 based on the second position information and the printing pattern stored in the storage unit 93, and are stored in the storage unit 93. For example, the range of the nozzle 61a used for printing the target tablet T in the inkjet head 61 is determined based on the Y-direction position information and printing pattern of the tablet T included in the second position information, and Based on the print timing (timing to start printing on the tablet T), the ejection timing for the tablet T is determined, and the printing conditions are set and stored in the storage unit 93.

ステップS12において、記憶部93に保存された印刷条件に基づき、印刷が実行される。つまり、印刷部60のインクジェットヘッド61が所定の印刷パターンで印刷を行うように制御部91により制御される。詳しくは、第2の撮像部50の下方を通過した搬送ベルト21上の錠剤Tは、記憶部93に保存された補正済のタイミング情報に基づき、印刷部60のインクジェットヘッド61の直下の印刷位置に到達した印刷タイミングで、前述の印刷条件に基づいてインクジェットヘッド61によって印刷される。インクジェットヘッド61では、各ノズル61aからインクが適宜吐出され、錠剤Tの上面である被印刷面に印刷パターン(例えばアルファベット、片仮名、番号、記号、図形)が印刷される。この錠剤Tに塗布されたインクは急速に乾燥する。なお、気体あるいは熱による乾燥を行う乾燥部(図示せず)によりインクを乾燥させるようにしてもよい。 In step S12, printing is performed based on the printing conditions stored in the storage section 93. That is, the control unit 91 controls the inkjet head 61 of the printing unit 60 to print in a predetermined printing pattern. Specifically, the tablet T on the conveyor belt 21 that has passed below the second imaging section 50 is moved to a printing position directly below the inkjet head 61 of the printing section 60 based on the corrected timing information stored in the storage section 93. At the printing timing reached, printing is performed by the inkjet head 61 based on the above-mentioned printing conditions. In the inkjet head 61, ink is suitably ejected from each nozzle 61a, and a printing pattern (for example, alphabets, katakana, numbers, symbols, figures) is printed on the printing surface, which is the upper surface of the tablet T. The ink applied to this tablet T dries quickly. Note that the ink may be dried using a drying section (not shown) that performs drying using gas or heat.

ステップS13において、搬送ベルト21上の印刷済の錠剤Tが第3の撮像部70によって撮像される。詳しくは、搬送ベルト21上の印刷済の錠剤Tは、記憶部93に保存された補正済のタイミング情報に基づき、第3の撮像部70の直下の撮像位置に到達した第3の撮像タイミングで第3の撮像部70によって撮像され、その第3の撮像部70による撮像により得られた第3の画像が制御装置90に送信される。 In step S13, the printed tablets T on the conveyor belt 21 are imaged by the third imaging section 70. Specifically, the printed tablets T on the conveyor belt 21 are moved at the third imaging timing when they reach the imaging position directly below the third imaging unit 70 based on the corrected timing information stored in the storage unit 93. An image is captured by the third imaging unit 70, and a third image obtained by the imaging by the third imaging unit 70 is transmitted to the control device 90.

ステップS13において、錠剤Tに印刷された印刷済の印刷パターンに関する情報、すなわち印刷済の印刷パターンの印刷位置や形状、サイズが処理部92により取得される。詳しくは、第3の撮像部70から送信された第3の画像が処理部92により解析され、錠剤Tにおいて印刷済の印刷パターンの印刷位置や形状、サイズを示す第3の検査情報が生成され、記憶部93に保存される。 In step S13, the processing unit 92 acquires information regarding the printed pattern printed on the tablet T, that is, the printing position, shape, and size of the printed pattern. Specifically, the third image transmitted from the third imaging section 70 is analyzed by the processing section 92, and third inspection information indicating the printing position, shape, and size of the printed pattern on the tablet T is generated. , are stored in the storage unit 93.

ステップS15において、記憶部93に保存された第3の検査情報に基づき、印刷状態検査が実行される。詳しくは、記憶部93に保存された前述の印刷位置や形状、サイズに係る第3の検査情報に基づき、印刷パターンが錠剤Tに正常に印刷されたか否かが制御部91により判断され、錠剤Tの印刷良否を示す印刷良否情報が生成されて記憶部93に保存される。例えば、印刷状態検査では、印刷に使用した印刷パターンが検査用の印刷パターンとして記憶部93に保存され、検査用の印刷パターンの所定の印刷位置や形状、サイズに関する良品情報と、記憶部93に保存された実際の印刷済の印刷パターンの印刷位置や形状、サイズに関する第3の検査情報とが比較され、印刷パターンが錠剤Tに正常に印刷されたか否か(合格又は不合格)が判断される。 In step S15, a printing state inspection is performed based on the third inspection information stored in the storage section 93. Specifically, the control unit 91 determines whether or not the printing pattern has been correctly printed on the tablet T based on the above-mentioned third inspection information regarding the printing position, shape, and size stored in the storage unit 93. Printing quality information indicating the quality of printing of T is generated and stored in the storage unit 93. For example, in a print condition inspection, the print pattern used for printing is stored in the storage unit 93 as a print pattern for inspection, and non-defective information regarding the predetermined printing position, shape, and size of the print pattern for inspection is stored in the storage unit 93. The third inspection information regarding the printing position, shape, and size of the saved actual printed printing pattern is compared, and it is determined whether the printing pattern has been correctly printed on the tablet T (pass or fail). Ru.

ステップS16において、錠剤Tが回収部80により回収される。詳しくは、検査後の錠剤Tが搬送ベルト21の移動に伴って搬送ベルト21の下流側の端部に位置すると、搬送ベルト21に保持された状態から解放され、搬送ベルト21から落下して回収部80により回収される。このとき、良品の錠剤(割れ欠け及び汚れ無しの印刷合格錠)Tは、そのまま落下して回収部80により回収されるが、不良品の錠剤(例えば、割れ欠け又は汚れ有りの未印刷錠、割れ欠け及び汚れ無しの未印刷錠、割れ欠け及び汚れ無しの印刷不合格錠)Tは、搬送ベルト21から落下する途中で気体(例えばエア)の吹き付けにより排除される。なお、気体の吹き付けにより排除された錠剤Tは、例えば、回収部80の隣に設けられた他の回収容器(図示せず)によって回収される。 In step S16, the tablet T is collected by the collection unit 80. Specifically, when the tablet T after inspection is located at the downstream end of the conveyor belt 21 as the conveyor belt 21 moves, it is released from being held by the conveyor belt 21, falls from the conveyor belt 21, and is collected. 80. At this time, good tablets (printed tablets with no cracks or stains) T fall as they are and are collected by the collection unit 80, but defective tablets (for example, unprinted tablets with cracks or stains), The unprinted tablets (unprinted tablets with no cracks, chips, or stains) or rejected tablets (printed tablets with no cracks, chips, or stains) are removed by blowing gas (for example, air) while falling from the conveyor belt 21. Note that the tablets T removed by the gas spraying are collected by another collection container (not shown) provided next to the collection unit 80, for example.

このような印刷工程によれば、搬送部20により搬送される錠剤Tの搬送方向H1の位置に基づき、搬送部20により搬送される錠剤Tの上面を撮像するための第1の撮像タイミングと、搬送部20により搬送される錠剤Tの側面を撮像するための第2の撮像タイミングが設定される。設定された第1の撮像タイミングに基づき、搬送部20により搬送される錠剤Tの上面が第1の撮像部40により撮像され、第1の撮像部40により得られた第1の画像から、搬送部20により搬送される錠剤Tの搬送方向H1の位置が取得される。そして、取得された錠剤Tの搬送方向H1の位置に基づいて前述の第2の撮像タイミングが補正され、補正された第2の撮像タイミングで、搬送部20により搬送される錠剤Tの側面が第2の撮像部50により撮像され、第2の撮像部50により得られた第2の画像から錠剤Tの側面の状態(例えば割れ欠けや汚れの有無)が把握される。 According to such a printing process, the first imaging timing for capturing an image of the upper surface of the tablet T transported by the transport unit 20 based on the position of the tablet T transported by the transport unit 20 in the transport direction H1; A second imaging timing for imaging the side surface of the tablet T transported by the transport unit 20 is set. Based on the set first imaging timing, the top surface of the tablet T transported by the transport unit 20 is imaged by the first imaging unit 40, and from the first image obtained by the first imaging unit 40, the top surface of the tablet T transported by the transport unit 20 is The position of the tablet T transported by the unit 20 in the transport direction H1 is acquired. Then, the above-mentioned second imaging timing is corrected based on the acquired position of the tablet T in the transport direction H1, and at the corrected second imaging timing, the side surface of the tablet T transported by the transport unit 20 is The condition of the side surface of the tablet T (for example, whether there are cracks, chips, or stains) can be grasped from the second image obtained by the second image pickup section 50 .

前述の第2の撮像タイミングの補正において、第2の撮像タイミングは、第1の撮像部40による第1の画像(錠剤Tの上面を含む画像)から得られた錠剤Tの搬送方向H1の位置に基づき、搬送部20により搬送される錠剤Tの搬送方向H1の位置が第2の撮像部50の撮像領域の搬送方向H1の中心位置に重なるタイミングになるように補正される。これにより、搬送部20により搬送される錠剤Tは、搬送部20により搬送される錠剤Tの搬送方向H1の位置が第2の撮像部50の撮像領域の搬送方向H1の中心位置に重なるタイミングで、第2の撮像部50により撮像される。このようにして、第2の撮像部50の撮像領域の中心位置に対する錠剤Tの搬送方向H1の位置ずれを無くし、錠剤Tの側面を撮像することができる。したがって、錠剤Tの搬送方向H1の位置ずれ分を考慮せずに、あるいは考慮したとしてもその量は少ないものとして、被写界深度を設定することが可能となり、被写界深度を浅くすることができる。その結果、シャッター速度を速くすることが可能になるので、搬送されて動いている錠剤Tの側面を鮮明に撮像することができる。動いている錠剤Tの側面を鮮明に撮像することができるので、より小さい割れ欠け又は汚れを検出することが可能となり、錠剤Tの側面の検査精度を向上させることができる。また、被写界深度を浅くすることができるため、第2の撮像部50を例えばF値の減少により被写界深度が浅い撮像部とすることが可能になり、F値の増加により被写界深度が深い撮像部に比べ、撮影のために必要とする照明の明るさを抑えることができる。 In the correction of the second imaging timing described above, the second imaging timing is based on the position of the tablet T in the transport direction H1 obtained from the first image (image including the top surface of the tablet T) by the first imaging unit 40. Based on this, the timing is corrected so that the position of the tablet T transported by the transport section 20 in the transport direction H1 overlaps with the center position of the imaging area of the second imaging section 50 in the transport direction H1. As a result, the tablet T transported by the transport section 20 is transported at a timing when the position of the tablet T transported by the transport section 20 in the transport direction H1 overlaps with the center position of the imaging area of the second imaging section 50 in the transport direction H1. , is imaged by the second imaging unit 50. In this way, the side surface of the tablet T can be imaged without any displacement in the transport direction H1 of the tablet T with respect to the center position of the imaging area of the second imaging unit 50. Therefore, it is possible to set the depth of field without considering the positional deviation of the tablet T in the transport direction H1, or even if it is taken into account, the amount is small, and the depth of field can be made shallow. I can do it. As a result, since it becomes possible to increase the shutter speed, it is possible to clearly image the side surface of the tablet T that is being transported and moving. Since the side surface of the moving tablet T can be clearly imaged, smaller cracks, chips or stains can be detected, and the inspection accuracy of the side surface of the tablet T can be improved. In addition, since the depth of field can be made shallow, the second imaging section 50 can be made into an imaging section with a shallow depth of field, for example, by decreasing the F number, and by increasing the F number, it is possible to Compared to an imaging section with a deep depth of field, the brightness of the illumination required for taking pictures can be reduced.

以上説明したように、実施の一形態によれば、第2の撮像部50の撮像領域の中心位置に対する錠剤Tの搬送方向H1の位置ずれを無くし、錠剤Tの側面を撮像することができるから、被写界深度を浅くすることが可能となり、シャッター速度を速くすることができるので、搬送されて動いている錠剤Tの側面を鮮明に撮像することができる。このため、より小さい割れ欠け又は汚れを検出することが可能となり、錠剤Tの側面の検査精度を向上させることができる。検査精度の向上により、例えば、小さい割れ欠けや汚れのある錠剤Tに対しても印刷を禁止して排除する対応が可能となり、品質の高い印刷を行うことが可能となる。 As described above, according to the embodiment, it is possible to eliminate positional deviation in the transport direction H1 of the tablet T with respect to the center position of the imaging area of the second imaging unit 50, and to image the side surface of the tablet T. Since the depth of field can be made shallow and the shutter speed can be made faster, it is possible to clearly image the side surface of the tablet T that is being transported and moving. Therefore, it becomes possible to detect smaller cracks, chips, or stains, and the accuracy of inspecting the side surface of the tablet T can be improved. By improving the inspection accuracy, it becomes possible to prohibit and eliminate printing even for tablets T with small cracks, chips, or stains, for example, making it possible to perform high-quality printing.

なお、錠剤Tとしては、上下面がほぼ平坦な錠剤を用いたが、これに限るものではなく、例えば、割線(凹部)を有する錠剤を用いるようにしてもよい。割線を有する錠剤を用いる場合には、前述の黒三角B1が割れ欠け又は汚れによるものであるか、割線によるものであるかを区別する必要がある。各プリズム52aによる錠剤Tの全側面の像において、黒三角B1が存在する面や位置、個数などは異なる。このため、割線により生じた黒三角B1を認識し、割線の有無、さらに、割線が形成された面や角度を特定することができる。例えば、図7に示すように、黒三角B1が錠剤Tの中心を挟んで対向する二つの位置にそれぞれ存在する場合には、それらの黒三角B1が直線の割線により生じたものであると判断することができる。また、上面M2に黒三角B1が存在する場合には、錠剤Tの上面に割線があることがわかる。一方、黒三角B1が錠剤Tの中心を挟んで対向する二つの位置にそれぞれ存在しない場合には、黒三角B1が直線の割線ではなく、割れ欠け又は汚れにより生じたものであると判断することができる。 Note that although a tablet with substantially flat upper and lower surfaces is used as the tablet T, the present invention is not limited to this, and for example, a tablet having a score line (recessed portion) may be used. When using a tablet with a score line, it is necessary to distinguish whether the black triangle B1 described above is due to cracks, chips or stains, or is due to the score line. In the images of all sides of the tablet T taken by each prism 52a, the faces, positions, and number of black triangles B1 are different. Therefore, it is possible to recognize the black triangle B1 caused by the secant line, identify the presence or absence of the secant line, and further specify the plane and angle on which the secant line is formed. For example, as shown in FIG. 7, if black triangles B1 exist at two positions facing each other across the center of the tablet T, it is determined that these black triangles B1 are created by a straight line dividing line. can do. Moreover, when the black triangle B1 exists on the upper surface M2, it can be seen that there is a score line on the upper surface of the tablet T. On the other hand, if the black triangle B1 does not exist at two positions facing each other across the center of the tablet T, it is determined that the black triangle B1 is not a straight dividing line but is caused by a crack, a chip, or a stain. I can do it.

<他の実施形態>
前述の説明においては、前述の実施の一形態に係る錠剤印刷装置1(錠剤印刷方法)を用いて錠剤Tに印刷を行う。これは、前述の実施の一形態に係る錠剤印刷装置1(錠剤印刷方法)を用いて錠剤Tに印刷を行い、印刷済の錠剤Tを製造すると言い換えることも可能である。すなわち、錠剤印刷装置1を錠剤製造装置に、錠剤印刷方法を錠剤製造方法に言い換えることができる。
<Other embodiments>
In the above description, printing is performed on the tablet T using the tablet printing apparatus 1 (tablet printing method) according to the embodiment described above. This can also be expressed as printing on the tablet T using the tablet printing device 1 (tablet printing method) according to the embodiment described above, and producing a printed tablet T. That is, the tablet printing device 1 can be translated into a tablet manufacturing device, and the tablet printing method can be translated into a tablet manufacturing method.

また、前述の説明においては、第2の撮像部50により錠剤Tの全側面(一周分の外周面)の像を処理に用いることを例示したが、これに限るものではなく、錠剤Tの側面の像と共に錠剤Tの上面の像を処理に用いるようにしてもよい。第2の撮像部50により得られた第2の画像は、錠剤Tの上面の像を含んでいる。この錠剤Tの上面の像から、搬送ベルト21上の錠剤Tの位置情報(錠剤TのX方向、Y方向及びθ方向の位置)を取得し、この位置情報に基づいて印刷部60の印刷タイミングや第3の撮像部70の撮像タイミングを補正するようにしてもよい。また、錠剤Tが割線を有する錠剤である場合には、第2の撮像部50により錠剤Tの全側面の像又は上面の像を処理に用い、割線に基づく複数の黒三角B1(図7参照)から搬送ベルト21上の錠剤Tの位置情報(錠剤TのX方向、Y方向及びθ方向の位置)を取得し、この位置情報に基づいて印刷部60の印刷タイミングや第3の撮像部70の撮像タイミングを補正することも可能である。 Furthermore, in the above description, an example was given in which images of all sides of the tablet T (outer circumferential surface for one circumference) are used for processing by the second imaging unit 50; however, the present invention is not limited to this. The image of the top surface of the tablet T may be used for processing together with the image of the tablet T. The second image obtained by the second imaging unit 50 includes an image of the top surface of the tablet T. The positional information of the tablet T on the conveyor belt 21 (the position of the tablet T in the X direction, Y direction, and θ direction) is obtained from the image of the top surface of the tablet T, and the printing timing of the printing unit 60 is determined based on this positional information. Alternatively, the imaging timing of the third imaging unit 70 may be corrected. In addition, when the tablet T is a tablet having a score line, the image of all sides or the top surface of the tablet T is used for processing by the second imaging unit 50, and a plurality of black triangles B1 based on the score line are formed (see FIG. 7). ), the positional information of the tablet T on the conveyor belt 21 (the position of the tablet T in the X direction, Y direction, and θ direction) is acquired, and based on this positional information, the printing timing of the printing section 60 and the third imaging section 70 are adjusted. It is also possible to correct the imaging timing.

また、前述の説明においては、補正部94が、第2の位置情報に基づき、制御部91が設定した各種のタイミング(第2の撮像タイミング、印刷タイミング、第3の撮像タイミング)を補正することを例示したが、これに限るものではなく、例えば補正部94を設けず、第2の位置情報だけに基づき、各種のタイミングを設定するようにしても良い。 Furthermore, in the above description, the correction unit 94 corrects various timings (second imaging timing, print timing, third imaging timing) set by the control unit 91 based on the second position information. Although this is an example, the present invention is not limited to this. For example, the correction unit 94 may not be provided and various timings may be set based only on the second position information.

また、前述の説明では、第1の撮像部40、第2の撮像部50、第3の撮像部70が、それぞれ静止画用カメラであることを想定し、各カメラの撮像タイミングを中心に説明した。しかしながら、例えば、カメラとしては動画用で、制御部91の指示に基づき、処理部92がカメラからの画像を適宜取り込んで画像処理する場合、上述した撮像タイミングを取り込みタイミングと読み替えればよい。いずれにしても、制御装置90は、制御部91及び検出部30を構成要件とする第1の取得部により取得された錠剤Tの搬送方向の位置に基づき、第1の撮像部40に錠剤Tの上面を撮像させ、処理部92を構成要件とする第2の取得部により取得された錠剤Tの搬送方向の位置、あるいは第1、第2の取得部により取得された錠剤Tの搬送方向の位置に基づき、第2の撮像部50に錠剤Tの側面を撮像させることになる。 Furthermore, in the above description, it is assumed that the first imaging section 40, the second imaging section 50, and the third imaging section 70 are each still image cameras, and the explanation focuses on the imaging timing of each camera. did. However, for example, if the camera is for moving images and the processing unit 92 appropriately captures images from the camera and processes the images based on instructions from the control unit 91, the above-described image capture timing may be read as capture timing. In any case, the control device 90 causes the first imaging section 40 to detect the tablet T based on the position in the transport direction of the tablet T acquired by the first acquisition section which includes the control section 91 and the detection section 30. The position in the transport direction of the tablet T acquired by the second acquisition unit which images the top surface and includes the processing unit 92, or the position in the transport direction of the tablet T acquired by the first and second acquisition units. Based on the position, the second imaging unit 50 is caused to image the side surface of the tablet T.

また、前述の説明においては、導光部材52を設けて錠剤Tの全側面を撮像することを例示したが、これに限るものではなく、例えば、導光部材52を設けずに複数のカメラ51により錠剤Tの全側面を撮像するようにしても良い。 Further, in the above description, the light guide member 52 is provided to capture images of all sides of the tablet T, but the invention is not limited to this. For example, the light guide member 52 is not provided and multiple cameras 51 Alternatively, all sides of the tablet T may be imaged.

また、前述の説明においては、導光部材52として複数のプリズム52aを用いることを例示したが、これに限るものではなく、例えば、ミラーや光ファイバーを用いることも可能である。 Further, in the above description, the use of a plurality of prisms 52a as the light guide member 52 was illustrated, but the present invention is not limited to this, and for example, a mirror or an optical fiber may be used.

また、前述の説明においては、六個のプリズム52aにより導光部材52を構成することを例示したが、これに限るものではなく、プリズム52aの個数は、例えば、三個や四個、五から八個でも良く、奇数や偶数でも良く、限定されるものではない。また、各プリズム52aを六角形の環状に配置しているが、これに限るものではなく、例えば、三角形や四角形、五から八角形などの多角形の環状に配置するようにしても良く、その形状は限定されるものではない。また、導光部材52として一つのプリズム52aを用い、その一つのプリズム52aを円や楕円などの環状に形成するようにしても良い。なお、前述の各プリズム52aを一体化することも可能である。 Further, in the above description, the light guide member 52 is configured by six prisms 52a, but the number is not limited to this, and the number of prisms 52a may be, for example, three, four, five or more. It may be eight, odd or even numbers, and is not limited. Further, although each prism 52a is arranged in a hexagonal ring shape, the present invention is not limited to this. For example, the prisms 52a may be arranged in a polygonal ring shape such as a triangle, a quadrangle, or a pentagon to an octagon. The shape is not limited. Further, one prism 52a may be used as the light guide member 52, and the one prism 52a may be formed in an annular shape such as a circle or an ellipse. Note that it is also possible to integrate the respective prisms 52a described above.

また、前述の説明においては、印刷対象の錠剤Tとして、平面視で円形であり、錠剤Tの上下面が平坦である形状の錠剤を用いることを例示したが、例えば、曲面である形状の錠剤を用いるようにしてもよく、紡錘形状や真円形状、円盤形状、レンズ形状、三角形状、楕円形状の錠剤を用いるようにしても良い。なお、錠剤Tの形状が紡錘形状やレンズ形状である場合など、錠剤厚さは一定ではないが、この場合、第1の撮像部40、第2の撮像部50及び第3の撮像部70は、それぞれ個々のピントが錠剤Tの上面に合う被写界深度を有するものが好ましい。 Furthermore, in the above description, the tablet T to be printed is circular in plan view, and the top and bottom surfaces of the tablet T are flat. Alternatively, spindle-shaped, perfectly circular, disc-shaped, lens-shaped, triangular, or elliptical tablets may be used. Note that the tablet thickness is not constant, such as when the shape of the tablet T is a spindle shape or a lens shape, but in this case, the first imaging section 40, the second imaging section 50, and the third imaging section 70 , each having a depth of field that focuses on the top surface of the tablet T is preferable.

また、前述の説明においては、錠剤Tを一列で搬送することを例示したが、これに限るものではなく、その列数は二列や三列又は四列以上であってもよく、特に限定されるものではなく、搬送ベルト21の本数も二本以上であってもよく、特に限定されるものではない。また、インクジェットヘッド61の個数も二個以上であってもよく、特に限定されるものではない。 Furthermore, in the above description, the tablets T are conveyed in one row, but the number of rows is not limited to this, and may be two, three, or four or more, and is not particularly limited. The number of conveyor belts 21 may be two or more, and is not particularly limited. Furthermore, the number of inkjet heads 61 may be two or more, and is not particularly limited.

また、前述の説明においては、インクジェットヘッド61として、ノズル61aが一列に並ぶ印刷ヘッドを例示したが、これに限るものではなく、例えば、ノズル61aが複数列に並ぶ印刷ヘッドを用いるようにしてもよい。また、水平面内において搬送方向H1と直交する方向にインクジェットヘッド61を複数並べて用いるようにしてもよい。 Further, in the above description, a print head in which the nozzles 61a are arranged in one row is illustrated as an example of the inkjet head 61, but the present invention is not limited to this. For example, a print head in which the nozzles 61a are arranged in multiple rows may be used. good. Alternatively, a plurality of inkjet heads 61 may be used in a horizontal plane in a direction perpendicular to the transport direction H1.

また、前述の説明においては、インクジェットヘッド61をノズル61aが並ぶ方向が水平面内において搬送方向H1と直交する方向になるように設けることを例示したが、これに限るものではなく、例えば、ノズル61aが並ぶ方向が水平面内において搬送方向H1と交差する方向になるように設けるようにしてもよい。 Further, in the above description, the inkjet head 61 is provided so that the direction in which the nozzles 61a are lined up is perpendicular to the transport direction H1 in the horizontal plane, but the invention is not limited to this. For example, the nozzles 61a They may be provided so that the direction in which they are lined up is a direction that intersects the conveyance direction H1 in a horizontal plane.

また、前述の説明においては、錠剤Tの片面を印刷することを例示したが、これに限るものではなく、例えば、搬送部20、検出部30、第1の撮像部40、第2の撮像部50、印刷部60及び第3の撮像部70を一つのユニットし、そのユニットを上下に重ねて配置して、上側の搬送部20で印刷した錠剤Tを反転して下側の搬送部20に受け渡し、錠剤Tの両面を印刷するようにしてもよい。 In addition, in the above description, printing on one side of the tablet T was exemplified, but the invention is not limited to this. 50, the printing section 60 and the third imaging section 70 are made into one unit, and the units are stacked one on top of the other, and the tablet T printed in the upper conveyance section 20 is reversed and transferred to the lower conveyance section 20. Upon delivery, both sides of the tablet T may be printed.

また、前述の説明においては、錠剤Tが搬送ベルト21上に一定間隔ではなくランダムに供給されるとしたが、これに限るものではなく、一定間隔で供給されてもよい。また、前述の説明においては、搬送ベルト21上に形成された吸引孔21aによって錠剤Tが吸引保持されるとしたが、これに限るものではなく、ポケットなどに収容保持され搬送されるようにしてもよく、あるいは、搬送ベルト21上に自重により保持され搬送されるようにしてもよい。 Furthermore, in the above description, the tablets T are supplied on the conveyor belt 21 at random rather than at regular intervals, but the present invention is not limited to this, and they may be supplied at regular intervals. Furthermore, in the above description, the tablets T are sucked and held by the suction holes 21a formed on the conveyor belt 21, but the invention is not limited to this. Alternatively, it may be held on the conveyor belt 21 by its own weight and conveyed.

ここで、前述の錠剤としては、医薬用、飲食用、洗浄用、工業用あるいは芳香用として使用される錠剤を含めることができる。また、錠剤としては、裸錠(素錠)や糖衣錠、フィルムコーティング錠、腸溶錠、ゼラチン被包錠、多層錠、有核錠などがあり、硬カプセルや軟カプセルなど各種のカプセル錠も錠剤に含めることができる。さらに、錠剤の形状としては、円盤形やレンズ形、三角形、楕円形など各種の形状がある。また、印刷対象の錠剤が医薬用や飲食用である場合には、使用するインクとして可食性インクが好適である。この可食性インクとしては、合成色素インク、天然色素インク、染料インク、顔料インクのいずれを使用しても良い。 Here, the above-mentioned tablets can include tablets used for medicine, for eating and drinking, for cleaning, for industrial purposes, and for aromatic purposes. In addition, tablets include plain tablets, sugar-coated tablets, film-coated tablets, enteric-coated tablets, gelatin-encapsulated tablets, multilayer tablets, and dry-coated tablets, as well as various types of capsule tablets such as hard capsules and soft capsules. can be included in Furthermore, tablets can have various shapes such as a disc, a lens, a triangle, and an ellipse. Furthermore, when the tablet to be printed is for pharmaceutical use or food or drink use, edible ink is suitable as the ink to be used. As this edible ink, any of synthetic pigment ink, natural pigment ink, dye ink, and pigment ink may be used.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 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, and changes can be made without departing from the gist of the invention. These embodiments and their modifications are included within the scope and gist of the invention, as well as within the scope of the invention described in the claims and its equivalents.

1 錠剤印刷装置
20 搬送部
30 検出部
40 第1の撮像部
50 第2の撮像部
61 インクジェットヘッド
91 制御部
92 処理部
94 補正部
T 錠剤
1 Tablet printing device 20 Transport section 30 Detection section 40 First imaging section 50 Second imaging section 61 Inkjet head 91 Control section 92 Processing section 94 Correction section T Tablet

Claims (5)

印刷対象となる錠剤を搬送する搬送部と、
前記搬送部により搬送される前記錠剤の搬送方向の位置を取得する第1の取得部と、
前記第1の取得部より前記錠剤の搬送方向の下流側に設けられ、前記第1の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の上面を撮像する第1の撮像部と、
前記第1の撮像部により得られた前記錠剤の上面を含む画像から、前記搬送部により搬送される前記錠剤の搬送方向の位置を取得する第2の取得部と、
前記第1の撮像部より前記錠剤の搬送方向の下流側に設けられ、前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の側面を撮像する第2の撮像部と、
前記第2の撮像部より前記錠剤の搬送方向の下流側に設けられ、前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤に印刷を行う印刷ヘッドと、
を有する錠剤印刷装置。
a transport unit that transports tablets to be printed;
a first acquisition unit that acquires a position in the conveyance direction of the tablet conveyed by the conveyance unit;
The upper surface of the tablet, which is provided downstream of the first acquisition unit in the conveyance direction of the tablet, and is conveyed by the conveyance unit based on the position of the tablet in the conveyance direction acquired by the first acquisition unit. a first imaging unit that images the
a second acquisition unit that acquires the position in the conveyance direction of the tablet conveyed by the conveyance unit from an image including the top surface of the tablet obtained by the first imaging unit;
A side surface of the tablet that is provided downstream of the first imaging unit in the transport direction of the tablet and that is transported by the transport unit based on the position of the tablet in the transport direction that is acquired by the second acquisition unit. a second imaging unit that images the
The second imaging unit is provided downstream of the tablet in the transport direction, and prints on the tablet transported by the transport unit based on the position of the tablet in the transport direction acquired by the second acquisition unit. a print head that performs
Tablet printing device with
前記第1の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の上面を撮像するための第1の撮像タイミングと、前記搬送部により搬送される前記錠剤の側面を撮像するための第2の撮像タイミングと、前記搬送部により搬送される前記錠剤に前記印刷ヘッドにより印刷を行う印刷タイミングと、を設定する設定部と、
前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記第2の撮像タイミングと、前記印刷タイミングを補正する補正部と、
を有し、
前記第2の撮像部は、前記補正部により補正された前記第2の撮像タイミングで、前記搬送部により搬送される前記錠剤の側面を撮像し、前記補正部により補正された前記印刷タイミングで、前記搬送部により搬送される前記錠剤に前記印刷ヘッドによる印刷をする請求項1に記載の錠剤印刷装置。
Based on the position of the tablet in the transport direction acquired by the first acquisition unit, a first imaging timing for imaging the top surface of the tablet transported by the transport unit, and a first imaging timing for imaging the top surface of the tablet transported by the transport unit a setting unit that sets a second imaging timing for imaging a side surface of the tablet and a printing timing for printing by the print head on the tablet transported by the transport unit ;
a correction unit that corrects the second imaging timing and the printing timing based on the position of the tablet in the transport direction acquired by the second acquisition unit;
has
The second imaging unit images the side surface of the tablet transported by the transport unit at the second imaging timing corrected by the correction unit , and at the printing timing corrected by the correction unit, The tablet printing device according to claim 1 , wherein the print head prints on the tablets transported by the transport section .
前記補正部は、前記第2の撮像タイミングを、前記搬送部により搬送される前記錠剤の搬送方向の位置が前記第2の撮像部の撮像領域の前記搬送方向の中心位置に重なるタイミングに補正し、
前記補正部は、前記印刷タイミングを、前記搬送部により搬送される前記錠剤の中心の搬送方向の位置が前記印刷ヘッドの直下に重なるタイミングに補正する請求項2に記載の錠剤印刷装置。
The correction unit corrects the second imaging timing to a timing at which a position in the transport direction of the tablet transported by the transport unit overlaps a center position in the transport direction of an imaging area of the second imaging unit. ,
The tablet printing apparatus according to claim 2 , wherein the correction section corrects the printing timing to a timing at which a position of the center of the tablet transported by the transport section in the transport direction overlaps directly below the print head .
記第2の撮像部により得られた前記錠剤の側面を含む画像から、前記搬送部により搬送される前記錠剤の側面状態を把握する把握部と、
前記把握部により把握された前記錠剤の側面状態が合格であるか否かを判断し、前記錠剤の側面状態が合格であると判断した場合、前記印刷ヘッドに前記印刷を実行させ、前記錠剤の側面状態が不合格であると判断した場合、前記印刷ヘッドに前記印刷を禁止させる制御部と、
を有する請求項1から請求項3のいずれか一項に記載の錠剤印刷装置。
a grasping unit that grasps the state of the side surface of the tablet conveyed by the conveyance unit from an image including the side surface of the tablet obtained by the second imaging unit;
It is determined whether the side condition of the tablet grasped by the grasping unit is acceptable, and when it is determined that the side condition of the tablet is acceptable, the printing head is caused to execute the printing, and the side condition of the tablet is determined to be acceptable. a control unit that causes the print head to prohibit the printing when it is determined that the side surface condition is unacceptable;
The tablet printing device according to any one of claims 1 to 3, having the following.
印刷対象となる錠剤を搬送部により搬送する工程と、
前記搬送部により搬送される前記錠剤の搬送方向の位置を第1の取得部により取得する工程と、
前記第1の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤の上面を撮像するための第1の撮像タイミングと、前記搬送部により搬送される前記錠剤の側面を撮像するための第2の撮像タイミングを設定部により設定する工程と、
前記設定部により設定された前記第1の撮像タイミングで、前記搬送部により搬送される前記錠剤の上面を第1の撮像部により撮像する工程と、
前記第1の撮像部により得られた前記錠剤の上面を含む画像から、前記搬送部により搬送される前記錠剤の搬送方向の位置を第2の取得部により取得する工程と、
前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記第2の撮像タイミングを補正部により補正する工程と、
前記補正部により補正された前記第2の撮像タイミングで、前記搬送部により搬送される前記錠剤の側面を第2の撮像部により撮像する工程と、
前記第2の取得部により取得された前記錠剤の搬送方向の位置に基づき、前記搬送部により搬送される前記錠剤に印刷を行う印刷工程と、
を有し、
前記補正する工程では、前記第2の撮像タイミングを、前記搬送部により搬送される前記錠剤の搬送方向の位置が前記第2の撮像部の撮像領域の前記搬送方向の中心位置に重なるタイミングに補正する錠剤製造方法。
a step of conveying the tablet to be printed by a conveying section;
a step of acquiring, by a first acquisition unit, the position in the conveyance direction of the tablet conveyed by the conveyance unit;
Based on the position of the tablet in the transport direction acquired by the first acquisition unit, a first imaging timing for imaging the top surface of the tablet transported by the transport unit, and a first imaging timing for imaging the top surface of the tablet transported by the transport unit a step of setting a second imaging timing for imaging the side surface of the tablet by a setting unit;
a step of imaging the top surface of the tablet transported by the transporting unit with a first imaging unit at the first imaging timing set by the setting unit;
a step of acquiring, by a second acquisition unit, the position of the tablet in the conveyance direction of the tablet conveyed by the conveyance unit from an image including the top surface of the tablet obtained by the first imaging unit;
Correcting the second imaging timing by a correction unit based on the position of the tablet in the transport direction acquired by the second acquisition unit;
a step of imaging a side surface of the tablet transported by the transport unit with a second imaging unit at the second imaging timing corrected by the correction unit;
a printing step of printing on the tablet conveyed by the conveyance unit based on the position of the tablet in the conveyance direction acquired by the second acquisition unit;
has
In the correcting step, the second imaging timing is corrected to a timing at which a position in the transport direction of the tablet transported by the transport unit overlaps a center position in the transport direction of an imaging area of the second imaging unit. Tablet manufacturing method.
JP2020059738A 2020-03-30 2020-03-30 Tablet printing device and tablet manufacturing method Active JP7394681B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020059738A JP7394681B2 (en) 2020-03-30 2020-03-30 Tablet printing device and tablet manufacturing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020059738A JP7394681B2 (en) 2020-03-30 2020-03-30 Tablet printing device and tablet manufacturing method

Publications (3)

Publication Number Publication Date
JP2021154052A JP2021154052A (en) 2021-10-07
JP2021154052A5 JP2021154052A5 (en) 2023-03-30
JP7394681B2 true JP7394681B2 (en) 2023-12-08

Family

ID=77916328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020059738A Active JP7394681B2 (en) 2020-03-30 2020-03-30 Tablet printing device and tablet manufacturing method

Country Status (1)

Country Link
JP (1) JP7394681B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7402298B2 (en) 2022-01-12 2023-12-20 芝浦メカトロニクス株式会社 Tablet inspection equipment and tablet printing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005241488A (en) 2004-02-27 2005-09-08 Sankyo:Kk Imaging device for photographing direct view face and non-direct view face concurrently, and tablet inspecting imaging system applied with the same
JP2015204943A (en) 2014-04-18 2015-11-19 フロイント産業株式会社 Tablet printer
JP2017136367A (en) 2016-01-29 2017-08-10 芝浦メカトロニクス株式会社 Tablet printing device and tablet manufacturing method
JP2019166199A (en) 2018-03-26 2019-10-03 株式会社Screenホールディングス Printer and printing method
JP2019180705A (en) 2018-04-09 2019-10-24 フロイント産業株式会社 Solid preparation printing machine, and solid preparation printing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005241488A (en) 2004-02-27 2005-09-08 Sankyo:Kk Imaging device for photographing direct view face and non-direct view face concurrently, and tablet inspecting imaging system applied with the same
JP2015204943A (en) 2014-04-18 2015-11-19 フロイント産業株式会社 Tablet printer
JP2017136367A (en) 2016-01-29 2017-08-10 芝浦メカトロニクス株式会社 Tablet printing device and tablet manufacturing method
JP2019166199A (en) 2018-03-26 2019-10-03 株式会社Screenホールディングス Printer and printing method
JP2019180705A (en) 2018-04-09 2019-10-24 フロイント産業株式会社 Solid preparation printing machine, and solid preparation printing method

Also Published As

Publication number Publication date
JP2021154052A (en) 2021-10-07

Similar Documents

Publication Publication Date Title
JP7186265B2 (en) Tablet printing device and tablet manufacturing method
JP6793179B2 (en) Tablet printing device and tablet printing method
JP7002686B2 (en) Tablet printing equipment
JP6466302B2 (en) Tablet printing apparatus and tablet printing method
WO2019187898A1 (en) Printing device and printing method
JP7405663B2 (en) Tablet printing device and tablet printing method
JP6745670B2 (en) Tablet printing device, tablet and tablet manufacturing method
JP7394681B2 (en) Tablet printing device and tablet manufacturing method
JP7106668B2 (en) Tablet printing device and tablet printing method
JP7473525B2 (en) Tablet printing device and tablet printing method
JP7397132B2 (en) Tablet printing device and tablet printing method
TWI836559B (en) Tablet printing device and tablet printing method
JP2020124406A (en) Tablet printing device and tablet printing method
CN115742585A (en) Tablet printing device and tablet printing method
JP2023046679A (en) Tablet printing device and tablet printing method
JP2024021600A (en) Tablet printing device and tablet printing method
JP2007167766A (en) Spherical object-selecting device
JP2021137204A (en) Tablet printing device and table printing method
JP2023014394A (en) Tablet printing device and tablet printing method
JP2020015305A (en) Tablet printing device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20200626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200714

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20200715

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230322

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230322

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231027

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231031

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231128

R150 Certificate of patent or registration of utility model

Ref document number: 7394681

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150