WO2015129343A1 - 検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム - Google Patents

検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム Download PDF

Info

Publication number
WO2015129343A1
WO2015129343A1 PCT/JP2015/051503 JP2015051503W WO2015129343A1 WO 2015129343 A1 WO2015129343 A1 WO 2015129343A1 JP 2015051503 W JP2015051503 W JP 2015051503W WO 2015129343 A1 WO2015129343 A1 WO 2015129343A1
Authority
WO
WIPO (PCT)
Prior art keywords
inspection
image
article
articles
overlap
Prior art date
Application number
PCT/JP2015/051503
Other languages
English (en)
French (fr)
Inventor
一平 高橋
Original Assignee
富士フイルム株式会社
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 富士フイルム株式会社 filed Critical 富士フイルム株式会社
Priority to EP15755144.1A priority Critical patent/EP3111912B1/en
Priority to CN201580010918.7A priority patent/CN106061457B/zh
Publication of WO2015129343A1 publication Critical patent/WO2015129343A1/ja
Priority to US15/247,512 priority patent/US10007993B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M7/00Vibration-testing of structures; Shock-testing of structures
    • G01M7/02Vibration-testing by means of a shake table
    • G01M7/025Measuring arrangements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9508Capsules; Tablets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0008Industrial image inspection checking presence/absence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Definitions

  • the present invention relates to an inspection apparatus, an inspection method, and a program for causing a computer to execute the inspection method.
  • a set of multiple items may be packaged for each set, and it may be inspected whether the items are properly contained in each package.
  • a plurality of medicines to be taken at a time are enclosed in one packaging material.
  • the medicine is encapsulated in each packaging material according to the prescription.
  • solid medicines such as capsules and tablets, the number of medicines enclosed in each packaging material, etc. Inspection is performed.
  • the medicine dispensing device described in Patent Document 1 images a plurality of medicines placed on an examination table from a direction in which the examination table is viewed from the front while vibrating an examination table on which a plurality of medicines for one package are placed. Then, a contour extraction process is performed on the obtained image to count the drug.
  • the medicine dispensing device collates the medicine count value with the prescription, and displays a warning on the monitor screen when the medicine count value is different from the prescription.
  • the present invention has been made in view of the above-described circumstances, and provides an inspection apparatus and an inspection method capable of appropriately and efficiently arranging a plurality of articles on an inspection table, and a program for causing a computer to execute the inspection method.
  • the purpose is to do.
  • An inspection table on which an inspection object consisting of a set of a plurality of articles is placed, a vibration unit that vibrates the inspection table, and a first of the inspection object placed on the inspection table along the inspection table Based on the imaging unit that acquires the image of the direction, the inspection object information including the appearance information of each of the articles that constitute the inspection object, and the image of the inspection object in the first direction, the objects in the inspection object overlap each other.
  • An inspection apparatus comprising: a control unit that operates the excitation unit when it is determined whether or not there is an overlap between articles.
  • An inspection method comprising: a first vibration step for vibrating the inspection table when it is determined that the inspection table is present.
  • a plurality of articles can be appropriately and efficiently arranged on the inspection table.
  • FIG. 1 It is a figure showing typically composition of an example of an inspection device for explaining an embodiment of the present invention. It is a figure which shows the functional block of the inspection apparatus of FIG. It is a figure which shows an example of a solid chemical
  • FIG. 1 schematically shows an example of the configuration of an inspection apparatus for explaining an embodiment of the present invention.
  • the inspection apparatus 1 shown in FIG. 1 has a set of a plurality of solid medicines O for one package as the inspection target T in the packaging processing of solid medicines such as capsules and tablets, and has consistency with the prescription of the inspection target T. It is to be inspected.
  • the inspection device 1 includes an inspection table 2, a vibration unit 3, and an imaging unit 4.
  • the inspection table 2 includes a substantially rectangular tray 10 on which a set of a plurality of solid medicines O for one package, which is the inspection target T in the illustrated example, is placed.
  • the tray 10 has at least a pair of opposing side wall portions 10a and 10b that are transparent, and in the illustrated example, the whole is transparent.
  • a plurality of solid medicines O in one package are collected by a pharmacist according to a prescription, for example, and placed on the tray 10.
  • the vibration unit 3 vibrates the inspection table 2.
  • the vibration unit 3 for example, a known conductive vibration generator can be used.
  • the examination table 2 is vibrated by the vibration unit 3, the plurality of solid medicines O placed on the tray 10 are leveled on the tray 10. It will be resolved.
  • the imaging unit 4 includes an imaging device 11, a mirror 12, and an illumination unit 13, and is along the bottom surface of the tray 10 in the direction facing the transparent side wall portions 10 a and 10 b of the tray 10 where the inspection target T is placed.
  • the inspection target T placed on the tray 10 is imaged in the first direction (Y-axis direction) and in the second direction (Z-axis direction) when viewing the bottom surface of the tray 10.
  • “looking straight at the bottom surface of the tray 10” means that the line of sight is parallel to an axis perpendicular to the bottom surface of the tray 10, that is, an axis perpendicular to the surface of the inspection table 2 on which the tray 10 is installed. And the case of crossing within an angle range that can be equated with.
  • the imaging device 11 is arranged with the bottom surface of the tray 10 viewed from the front.
  • the field-of-view range of the imaging device 11 extends to the outside of the tray 10, and the mirror 12 is disposed adjacent to the side wall 10 a outside the tray 10 and is disposed within the field-of-view range of the imaging device 11.
  • the mirror 12 is arranged obliquely with respect to the first direction and the second direction so as to reflect the light image in the first direction of the inspection target T placed on the tray 10 toward the imaging device 11. ing.
  • the image acquired by one imaging using the imaging device 11 includes the image in the first direction of the inspection target T reflected on the mirror 12 in addition to the image in the second direction of the inspection target T. It is.
  • the image in the first direction and the image in the second direction of the inspection target T may be acquired using different imaging devices, but by using the mirror 12, the image in the first direction and the second direction in the inspection target T are used.
  • An image can be acquired by one imaging device 11, and the configuration of the inspection device 1 becomes simple.
  • the illuminating unit 13 is provided adjacent to the side wall 10b outside the tray 10, and is disposed to face the mirror 12 in the first direction with the tray 10 interposed therebetween, and the inspection target T placed on the tray 10 is the first. Illuminate from the opposite side of the mirror 12 in the direction. Therefore, imaging in the first direction of the inspection target T by the imaging device 11 is imaging under backlight, and an image in the first direction of the inspection target T is a silhouette image.
  • the imaging in the first direction of the inspection target T may be imaging under ambient light, but the outline of the inspection target T is emphasized by imaging under backlight. From the viewpoint of acquiring a silhouette image, the illumination unit 13 is preferably a surface emitting type.
  • FIG. 2 shows functional blocks of the inspection apparatus 1.
  • the inspection apparatus 1 includes a control unit 5, and the control unit 5 is mainly configured by a CPU (Central Processing Unit) and includes a storage unit 20 and a determination unit 21.
  • the inspection apparatus 1 is provided with an operation unit 6 that receives a user operation and a display unit 7 that displays an inspection result and the like.
  • the storage unit 20 stores a program executed by the control unit 5.
  • the control unit 5 operates according to a program stored in the storage unit 20 and comprehensively controls each unit of the inspection apparatus 1 including the vibration unit 3 and the imaging unit 4. As a result, the inspection target T is inspected by the inspection apparatus 1.
  • the storage unit 20 stores inspection object information regarding the inspection object T.
  • the test target information is prescription, that is, the drug name and quantity of the solid drug constituting the test target T And it is comprised including the external appearance information for every medicine.
  • the medicine name and quantity included in the examination target information are input by the user via the operation unit 6 according to a prescription, for example.
  • a medicine database holding appearance information of various medicines is stored in the storage unit 20 in advance, and matches the medicine name included in the examination target information from this medicine database. Appearance information of drugs to be collected is collected.
  • the appearance information of each medicine includes information on the height of the medicine when in a stable posture where the position of the center of gravity is lowest, and outline information of the medicine when the medicine is in a stable posture.
  • the surface of the drug may be colored in various colors, and numbers or symbols may be provided on the surface of the drug by imprinting or printing. It may include information such as the color and the number or symbol provided on the surface.
  • the determination unit 21 determines whether or not the solid medicines O overlap in the inspection target T. Determine. In addition, the determination unit 21 determines whether or not the solid medicine O is in an unstable posture in the inspection target T based on the inspection target information of the inspection target T and the image in the second direction of the inspection target T acquired by the imaging unit 4. Determine.
  • control unit 5 Based on the determination result of whether or not the solid drugs O overlap each other and the determination result of the presence or absence of the solid drug O in an unstable posture, the control unit 5 stores the solid drug O included in the inspection target T on the tray 10 of the inspection table 2.
  • the vibration unit 3 is appropriately operated so as to be properly arranged above.
  • 3 and 4 show an example of the solid medicine O, respectively.
  • the solid drug O 1 shown in FIG. 3 is a disk-shaped tablet, and has a stable posture in which the center of gravity is lowest when either one of the substantially flat circular front and back surfaces 30a and 30b is grounded. When the surface 30c is grounded, the posture is unstable.
  • the appearance information of the solid medicine O 1 includes the height h 1 of the medicine when in a stable posture, and when one of the front and back surfaces 30a and 30b is viewed from the front, that is, when the solid medicine is in a stable posture, It includes contour information such as the shape and size (diameter ⁇ 1 ) of the solid drug O 1 when the drug O 1 is viewed from the front.
  • the solid drug O 2 shown in FIG. 4 is a lens-shaped solid drug and has a stable posture in which the center of gravity is lowest when either one of the convex and curved circular front and back surfaces 31a and 31b is grounded. Thus, the posture is unstable when the peripheral surface 31c is grounded.
  • the appearance information of the solid medicine O 2 includes the height h 2 of the medicine when in a stable posture, and when one of the front and back surfaces 31a and 31b is viewed from the front, that is, when the solid medicine O 2 is in a stable posture, Contour information including the shape and size (diameter ⁇ 2 ) of the solid drug O 2 when the drug O 2 is viewed from the front is configured.
  • FIG. 5 to 7 show examples of images of the inspection target T acquired by the imaging unit 4, respectively.
  • FIG. 5 shows a case where there is no overlap between the solid drugs O in the test object T
  • FIGS. 6 and 7 show a case where there is an overlap between the solid drugs O in the test object T. 6 and 7, the group of solid medicines O that overlap each other is surrounded by a broken-line circle.
  • the image of the inspection target T acquired by the imaging unit 4 includes the first direction image (silhouette image) P1 and the second direction image P2 of the inspection target T.
  • the determination unit 21 of the control unit 5 determines the overlap of the solid medicines O in the inspection target T based on the inspection target information of the inspection target T and the image P1 in the first direction of the inspection target T acquired by the imaging unit 4. Determine presence or absence. Specifically, the determination unit 21 detects the maximum value H of the height position from the inspection table 2 (the bottom surface of the tray 10) at the upper end of each solid medicine O that appears in the image P1 in the first direction of the inspection target T. .
  • the determination unit 21 also makes a gray determination that cannot guarantee the determination of no overlap.
  • the determination unit 21 determines the solid medicine O in an unstable posture in the inspection target T based on the inspection target information of the inspection target T and the image P2 in the second direction of the inspection target T acquired by the imaging unit 4. Determine presence or absence. Specifically, the determination unit 21 detects the outline of each solid medicine O that appears in the image P2 in the second direction of the inspection target T. Then, the determination unit 21 performs matching between each detected contour and the contour information of each medicine included in the inspection target information of the inspection target T, and any of the contour information of each medicine included in the inspection target information.
  • FIG. 8 shows an operation flow of the inspection apparatus 1.
  • the inspection target T is imaged by the imaging unit 4 under the control of the control unit 5, and an image in the first direction of the inspection target T is acquired (step S1).
  • an image in the first direction and an image in the second direction of the inspection target T are acquired by one imaging using the imaging device 11 of the imaging unit 4, and this imaging step S1 is performed on the inspection target T. It also serves as a first imaging step for acquiring an image in the first direction and a second imaging step for acquiring an image in the second direction of the inspection target T.
  • Step S2 Based on the inspection object information of the inspection object T and the image in the first direction of the inspection object T acquired in the imaging step S1, the control unit 5 determines whether or not the solid drugs O in the inspection object T overlap each other. (Step S2).
  • the control unit 5 counts the number of repetitions n1 of the first vibration step S3 for one inspection target T (the number of vibrations of the inspection table 2), and the number of repetitions n1 is a predetermined number.
  • the threshold value m1 it is preferable to execute an exception process that escapes from the repetition of the first vibration step S3 and the overlap determination step S2 (step S4).
  • a solid medicine not included in the prescription is included in the inspection target T, and the maximum value H of the height position from the inspection table 2 at the upper end of each solid medicine appears in the image P1 in the first direction of the inspection target T.
  • the exception process can be configured to display on the display unit 7 that the determination of whether or not there is an overlap cannot be guaranteed, alert the user, and end the inspection process of the inspection target T.
  • ⁇ Attitude determination step> based on the outline of each medicine contained in the inspection target information of the inspection target T and the image in the second direction of the inspection target T acquired in the imaging step S1, the control unit 5 causes the instability in the inspection target T.
  • the presence or absence of the solid medicine O in the posture is determined (step S5).
  • Step S6 When it is determined that there is a solid drug O in an unstable posture, the vibration unit 3 is operated under the control of the control unit 5 to eliminate the unstable posture of the solid drug O, and the examination table 2 is vibrated. (Step S6).
  • the control unit 5 counts the number of repetitions n2 of the second vibration step S5 for one inspection target T in the control unit 5, and the number of repetitions n2 exceeds the predetermined number m2. If so, it is preferable that an exception process is performed to escape from the repetition of the second vibration step S5 and the posture determination step S4 (step S7). For example, when a solid medicine not included in the prescription is included in the inspection target T, it is possible to prevent unnecessary vibration of the inspection table 2 from being repeated by this exception processing. In the exception process, for example, it is displayed on the display unit 7 that the determination of the presence / absence of the solid drug O in an unstable posture cannot be guaranteed, alerts the user, and ends the inspection process of the inspection target T. Can be configured.
  • the counting of the solid medicine O may be performed by, for example, detecting the contour of each solid medicine O appearing in the second direction image of the inspection target T and counting the number of detected contours. Since there is no overlap between the solid drugs O, the contours of the solid drugs O detected from the image in the second direction of the inspection target T are independent from each other, and the solid drug O is counted by counting the number of detected contours. Can be counted.
  • the count value of the solid medicine O is compared with the number of medicines included in the examination object information of the examination object T by the control unit 5, and a quantity inspection is performed (step S9).
  • the inspection result is displayed on the display unit 7 under the control of the control unit 5.
  • the gray determination which cannot guarantee the determination of non-overlap is made together, the fact is displayed on the display unit 7 and the user is alerted.
  • each solid medicine O included in the inspection object T is identified by the control unit 5 (step S10). ).
  • the outline of each solid medicine O appearing in the second direction image of the examination target T is detected, and the outline of each medicine included in the examination target information of the examination target T is detected for each detected outline.
  • a matching drug may be determined by matching with information.
  • each medicine included in the examination target information includes information such as the color of the surface of the medicine and the number or symbol provided on the surface
  • these information are also used for identifying the solid medicine O.
  • the number and symbols on the surface of the medicine are typically provided on the surface of the medicine facing upward when in a stable posture, but each solid medicine O included in the test target T is subjected to the posture determination step S5 and the second vibration. Since it has been arranged in a stable posture on the examination table 2 through step S6, the number and symbols on the surface of each solid medicine O are captured from the front by the imaging device 11 of the imaging unit 4 arranged with the examination table 2 facing forward. be able to. Thereby, it becomes possible to recognize the surface numbers and symbols of each solid medicine O more accurately.
  • the solid medicine O By identifying the solid medicine O, it is possible to inspect the number of solid medicines O included in the inspection target T for each type. For example, when there is an excess or deficiency in a certain type of solid medicine O, the type It is possible to quickly correct the number of solid medicines O.
  • the solid medicine O is also identified, but the posture determination step S5 and the second vibration step S6 may be omitted as long as the quantity inspection is limited.
  • the inspection apparatus 1 based on the inspection object information of the inspection object T and the image of the inspection object T in the first direction, the presence or absence of overlapping of the solid medicines O in the inspection object T is determined.
  • the inspection table 2 is vibrated. Thereby, unnecessary vibration of the inspection table 2 can be omitted, and a plurality of solid medicines O included in the inspection object T can be appropriately and efficiently arranged on the inspection table 2, and time required for inspection of the inspection object T Can be shortened.
  • test target T is a set of a plurality of solid medicines O for one package.
  • test target is not limited to a set of a plurality of solid medicines.
  • a set of relatively small machine parts such as nuts may also be packaged for each set, and a set of machine parts for one package can be an inspection target.
  • the inspection object information including the appearance information of each of the articles that constitute the inspection object, and the image of the inspection object in the first direction
  • the objects in the inspection object overlap each other.
  • An inspection apparatus comprising: a control unit that operates the excitation unit when it is determined whether or not there is an overlap between articles.
  • the appearance information includes height information of each article when in a stable posture in which the center of gravity position is lowest, and the control unit is configured to perform the above-described upper end of each article appearing in the image in the first direction.
  • the inspection apparatus according to (1) which is determined to be present. (3) It further includes an illuminating unit that illuminates the inspection target from the side opposite to the imaging unit in the first direction, and the imaging unit is a silhouette of the inspection target as an image of the inspection target in the first direction.
  • the inspection apparatus according to (1) or (2) which acquires an image.
  • the imaging unit further acquires an image of the inspection target placed on the inspection table in the second direction in which the inspection table is viewed from the front, and the control unit determines that there is no overlap between articles.
  • the inspection apparatus according to any one of (1) to (3), wherein the article included in the inspection target is counted based on the image in the second direction of the inspection target.
  • the inspection object information includes information on the number of articles constituting the inspection object, and the control unit includes the number of articles included in the inspection object information and an image of the inspection object in the second direction.
  • the inspection apparatus according to (4), wherein a quantity inspection is performed by comparing the number of articles counted based on the number of articles.
  • the appearance information includes outline information of each article when the article is viewed in a stable posture where the position of the center of gravity is lowest, and the control unit includes the outline information included in the inspection target information.
  • the presence or absence of an article in an unstable posture in the inspection object is determined, and when it is determined that there is an article in an unstable posture, The inspection apparatus according to (4) or (5), wherein the vibration unit is operated. (7) When the control unit determines that there is no overlap between the articles and determines that there is no article in an unstable posture, the appearance of each article included in the inspection target information and the number of the inspection target The inspection apparatus according to (6), wherein each of the articles included in the inspection target is identified based on the images in two directions.
  • the imaging unit is arranged in a field of view of the imaging device and the imaging device arranged with the inspection table facing forward, and directs the optical image of the inspection target in the first direction toward the imaging device.
  • the inspection apparatus according to any one of (4) to (7).
  • An inspection method comprising: a first vibration step for vibrating the inspection table when it is determined that the inspection table is present.
  • the appearance information includes height information of the articles when the center of gravity is in a stable posture where the position of the center of gravity is the lowest, and the overlap determination step is performed on the image in the first direction of the inspection target.
  • H is the maximum value of the height position from the inspection table at the upper end of each article that appears and H max is the maximum value of the height of each article included in the inspection object information.
  • the appearance information includes contour information of each article when the article is viewed in a stable posture where the position of the center of gravity is lowest, and each article included in the inspection target information.
  • a posture determination step for determining the presence or absence of an article in an unstable posture in the inspection target based on the contour of the inspection target and the image in the second direction, and an article in an unstable posture in the posture determination step.
  • each article included in the inspection object information when it is determined in the overlap determination step that there is no overlap between the articles, and in the attitude determination step, it is determined that there is no article in an unstable posture The inspection method according to (13), wherein each of the articles included in the inspection object is identified based on the appearance information of the inspection object and the image in the second direction of the inspection object. (15) The number of repetitions of the first vibration step for one inspection object is counted, and when it is determined in the overlap determination step that the articles overlap each other, the number of repetitions exceeds a predetermined threshold value. If it is, the inspection method according to any one of (10) to (14), further including an exception processing step that escapes from the repetition of the first vibration step and the overlap determination step.
  • the present invention is a case where a set of a plurality of articles such as a plurality of solid medicines and relatively small machine parts such as screws and nuts is packaged for each set, and whether or not the articles are properly contained in each package is checked. Can be used.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

 検査装置1は、複数の固形薬剤Oの集合からなる検査対象Tが置かれる検査台2と、検査台2を加振する加振部3と、検査台2に置かれた検査対象Tの、検査台2に沿う第一方向の画像を取得する撮像部4と、検査対象Tを構成する薬剤の外観情報を含む検査対象情報と検査対象Tの第一方向の画像とに基づき、検査対象Tにおける固形薬剤O同士の重なりの有無を判定し、固形薬剤O同士の重なりが有ると判定した場合に、加振部3を動作させる制御部5と、を備える。

Description

検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム
 本発明は、検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラムに関する。
 複数の物品の集合が集合毎に包装され、各包装に物品が適正に入っているか否か検査される場合がある。
 例えば、病院施設や薬局などで行われる調剤業務では、一度に服用すべき複数の薬剤が一つの包材に封入される。この分包処理においては、薬剤が処方に従って過不足なく各包材に封入されていることが要請され、例えばカプセル剤や錠剤などの固形薬剤については、各包材に封入される薬剤の個数などの検査が行われる。
 特許文献1に記載された薬剤払出装置は、一包分の複数の薬剤が置かれた検査台を振動させながら、検査台に置かれた複数の薬剤を、検査台を正視する方向から撮像し、得られた画像に対して輪郭抽出処理を行って薬剤を計数する。そして、この薬剤払出装置は、薬剤の計数値を処方と照合し、薬剤の計数値が処方と異なる場合にモニター画面に警告を表示する。
日本国特開2011-104077号公報
 特許文献1に記載された薬剤払出装置では、薬剤同士の重なりがある場合に、撮像によって得られた画像に表れるそれらの薬剤群の輪郭に生じるくびれが検出され、くびれの数に基づき、群をなす薬剤の個数が導出されている。しかし、薬剤同士の重なり具合によっては薬剤群の輪郭に明確なくびれが生じない場合もあり、そのような場合に計数誤差が生じる虞がある。
 薬剤の計数精度を高めるため、特許文献1に記載された薬剤払出装置では、薬剤の撮像が複数回行われ、得られた複数の画像の各々から薬剤が計数され、そのうちの最大値が薬剤の計数値として決定されている。撮影回数を重ねる程に検査台への加振が長くなり、薬剤同士の重なりが解消される可能性が高まり、薬剤の計数精度も高まる。しかし、一包当たりの検査に要する時間が長くなるため検査効率は低下する。
 本発明は、上述した事情に鑑みなされたものであり、複数の物品を適正かつ効率的に検査台上に配置することができる検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラムを提供することを目的としている。
(1) 複数の物品の集合からなる検査対象が置かれる検査台と、上記検査台を加振する加振部と、上記検査台に置かれた上記検査対象の、上記検査台に沿う第一方向の画像を取得する撮像部と、上記検査対象を構成する上記各物品の外観情報を含む検査対象情報と上記検査対象の上記第一方向の画像とに基づき、上記検査対象における物品同士の重なりの有無を判定し、物品同士の重なりが有ると判定した場合に、上記加振部を動作させる制御部と、を備える検査装置。
(2) 検査台に置かれた複数の物品の集合からなる検査対象の、上記検査台に沿う第一方向の画像を取得する第一撮像ステップと、上記検査対象を構成する上記各物品の外観情報を含む検査対象情報と、上記検査対象の上記第一方向の画像とに基づき、上記検査対象における物品同士の重なりの有無を判定する重なり判定ステップと、上記重なり判定ステップにて物品同士の重なりが有ると判定された場合に、上記検査台を振動させる第一加振ステップと、を備える検査方法。
(3) (2)の検査方法の各ステップをコンピュータに実行させるプログラム。
 本発明によれば、複数の物品を適正かつ効率的に検査台上に配置することができる。
本発明の実施形態を説明するための、検査装置の一例の構成を模式的に示す図である。 図1の検査装置の機能ブロックを示す図である。 固形薬剤の一例を示す図である。 固形薬剤の他の例を示す図である。 図1の検査装置の撮像部によって取得される検査対象の画像の一例を示す図である。 図1の検査装置の撮像部によって取得される検査対象の画像の他の例を示す図である。 図1の検査装置の撮像部によって取得される検査対象の画像の他の例を示す図である。 図1の検査装置の動作フローを示す図である。
 以下、本発明の好適な実施形態について、図面を参照して説明する。
 図1は、本発明の実施形態を説明するための、検査装置の一例の構成を模式的に示す。
 図1に示す検査装置1は、カプセル剤や錠剤などの固形薬剤の分包処理において、一包分の複数の固形薬剤Oの集合を検査対象Tとし、検査対象Tの処方との整合性を検査するものである。この検査装置1は、検査台2と、加振部3と、撮像部4とを備える。
 検査台2は、図示の例では検査対象Tである一包分の複数の固形薬剤Oの集合が置かれる略矩形状のトレイ10を含む。トレイ10は、少なくとも対向する一組の側壁部10a,10bが透明であり、図示の例では全体が透明である。一包分の複数の固形薬剤Oは、例えば処方箋に従い薬剤師によって集められ、トレイ10に置かれる。
 加振部3は、検査台2を加振する。加振部3としては、例えば公知の導電型振動発生機などを用いることができる。加振部3によって検査台2が加振されるのに伴い、トレイ10に置かれた複数の固形薬剤Oは、トレイ10上で均され、固形薬剤O同士の重なりがある場合には重なりが解消される。
 撮像部4は、撮像装置11と、ミラー12と、照明部13とを有し、トレイ10の透明な側壁部10a,10bの対向方向であって検査対象Tが置かれるトレイ10の底面に沿う第一方向(Y軸方向)、及びトレイ10の底面を正視する第二方向(Z軸方向)に、トレイ10に置かれた検査対象Tを撮像する。ここで、「トレイ10の底面を正視する」とは、視線が、トレイ10の底面に垂直な軸つまりはトレイ10が設置される検査台2の面に垂直な軸に対し、この軸に平行となる場合と同視し得る角度範囲内で斜交する場合をも含むものである。
 撮像装置11は、トレイ10の底面を正視して配置されている。撮像装置11の視野範囲はトレイ10の外側に広がっており、ミラー12は、トレイ10の外側で側壁部10aに隣設され、撮像装置11の視野範囲内に配置されている。そして、ミラー12は、トレイ10に置かれた検査対象Tの第一方向の光像を撮像装置11に向けて反射するように、第一方向及び第二方向に対して斜交して配置されている。
 以上の構成において、撮像装置11を用いた一回の撮像によって取得される画像には、検査対象Tの第二方向の画像に加え、ミラー12に映る検査対象Tの第一方向の画像が含まれる。検査対象Tの第一方向の画像及び第二方向の画像を異なる撮像装置を用いて取得してもよいが、ミラー12を用いることにより、検査対象Tの第一方向の画像及び第二方向の画像を一つの撮像装置11によって取得することができ、検査装置1の構成が簡潔なものとなる。
 照明部13は、トレイ10の外側で側壁部10bに隣設され、トレイ10を挟んで第一方向にミラー12と対向して配置されており、トレイ10に置かれた検査対象Tを第一方向にミラー12とは反対側から照明する。よって、撮像装置11による検査対象Tの第一方向の撮像は逆光下での撮像となり、検査対象Tの第一方向の画像はシルエット画像となる。検査対象Tの第一方向の撮像は環境光下での撮像であってもよいが、逆光下での撮像とすることにより、検査対象Tの輪郭が強調される。シルエット画像を取得する観点から、照明部13としては面発光タイプのものが好ましい。
 図2は検査装置1の機能ブロックを示す。
 検査装置1は制御部5を備え、制御部5は、CPU(Central Processing Unit)を主体として構成され、記憶部20と、判定部21とを有する。また、図示の例では、検査装置1には、ユーザー操作を受け付ける操作部6と、検査結果などを表示する表示部7とが設けられている。
 記憶部20は、制御部5にて実行されるプログラムを記憶している。制御部5は、記憶部20に記憶されているプログラムに従って動作し、加振部3及び撮像部4を含む検査装置1の各部を統括的に制御する。それにより、検査装置1による検査対象Tの検査が実施される。
 また、記憶部20は、検査対象Tに関する検査対象情報を記憶する。複数の固形薬剤Oの集合を検査対象Tとして、検査対象Tの処方との整合性を検査する本例において、検査対象情報は、処方、即ち検査対象Tを構成する固形薬剤の薬名及び数量、そして、薬剤毎の外観情報を含んで構成される。
 検査対象情報に含まれる薬名及び数量は、例えば処方箋に従い操作部6を介してユーザーによって入力される。検査対象情報に含まれる薬剤毎の外観情報は、例えば種々の薬剤の外観情報を保持した薬剤データベースが記憶部20に予め記憶されており、この薬剤データベースから検査対象情報に含まれる薬名に合致する薬剤の外観情報が収集される。
 各薬剤の外観情報は、重心位置が最も低くなる安定姿勢にあるときの薬剤の高さ情報、及び安定姿勢にあるときの薬剤を正視した場合における薬剤の輪郭情報を含む。また、薬剤の識別のため、薬剤の表面が種々の色に着色され、また、番号や記号などが刻印又は印刷によって薬剤の表面に設けられる場合があり、各薬剤の外観情報は、薬剤の表面の色や表面に設けられる番号や記号などの情報を含んでいてもよい。
 判定部21は、検査対象Tの検査対象情報と、撮像部4によって取得された検査対象Tの第一方向の画像(シルエット画像)とに基づき、検査対象Tにおける固形薬剤O同士の重なりの有無を判定する。また、判定部21は、検査対象Tの検査対象情報と、撮像部4によって取得された検査対象Tの第二方向の画像とに基づき、検査対象Tにおいて不安定姿勢にある固形薬剤Oの有無を判定する。
 制御部5は、固形薬剤O同士の重なりの有無の判定結果、及び不安定姿勢にある固形薬剤Oの有無の判定結果に基づき、検査対象Tに含まれる固形薬剤Oが検査台2のトレイ10上で適正に配置されるよう、加振部3を適宜動作させる。
 図3及び図4は、固形薬剤Oの一例をそれぞれ示す。
 図3に示す固形薬剤Oは、円盤状の錠剤であり、略平坦な円形状の表裏面30a,30bのいずれか一方の面を接地させた状態で重心が最も低くなる安定姿勢となり、周面30cを接地させた状態では不安定姿勢となる。この固形薬剤Oの外観情報は、安定姿勢にあるときの薬剤の高さhを含み、また表裏面30a,30bのいずれか一方の面を正視した場合、即ち安定姿勢にあるときの固形薬剤Oを正視した場合における固形薬剤Oの形状やサイズ(直径φ)などの輪郭情報を含んで構成される。
 図4に示す固形薬剤Oは、レンズ状の固形薬剤であり、凸状に湾曲した円形状の表裏面31a,31bのいずれか一方の面を接地させた状態で重心が最も低くなる安定姿勢となり、周面31cを接地させた状態では不安定姿勢となる。この固形薬剤Oの外観情報は、安定姿勢にあるときの薬剤の高さhを含み、また表裏面31a,31bのいずれか一方の面を正視した場合、即ち安定姿勢にあるときの固形薬剤Oを正視した場合における固形薬剤Oの形状やサイズ(直径φ)などの輪郭情報を含んで構成される。
 図5から図7は、撮像部4によって取得される検査対象Tの画像の一例をそれぞれ示す。図5は検査対象Tにおいて固形薬剤O同士の重なりが無い場合を示し、図6及び図7は同検査対象Tにおいて固形薬剤O同士の重なりが有る場合を示している。図6及び図7において、互いに重なった固形薬剤Oの群は破線円によって囲まれている。
 上述した通り、撮像部4によって取得される検査対象Tの画像には、検査対象Tの第一方向の画像(シルエット画像)P1、及び第二方向の画像P2が含まれている。
 制御部5の判定部21は、検査対象Tの検査対象情報と、撮像部4によって取得された検査対象Tの第一方向の画像P1とに基づき、検査対象Tにおける固形薬剤O同士の重なりの有無を判定する。具体的には、判定部21は、検査対象Tの第一方向の画像P1に表れる各固形薬剤Oの上端の検査台2(トレイ10の底面)からの高さ位置の最大値Hを検出する。そして、判定部21は、検査対象Tの検査対象情報に含まれる各薬剤の高さhの最大値をhmaxとして、H>hmaxである場合に固形薬剤O同士の重なりが有ると判定し、H=hmaxである場合には固形薬剤O同士の重なりが無いと判定する。
 なお、固形薬剤O同士の重なりがないと判定する場合において、検査対象Tの検査対象情報に含まれる任意の薬剤の高さhについてh×2<hmaxとなる場合、即ち、高さが比較的小さい薬剤同士が重なり、上記の重なり判定によっては重なりの有無を判定できない可能性が存在する場合には、判定部21は、重なり無しの判定を保証し得ないグレー判定を併せて下す。
 また、判定部21は、検査対象Tの検査対象情報と、撮像部4によって取得された検査対象Tの第二方向の画像P2とに基づき、検査対象Tにおいて不安定姿勢にある固形薬剤Oの有無を判定する。具体的には、判定部21は、検査対象Tの第二方向の画像P2に表れる各固形薬剤Oの輪郭を検出する。そして、判定部21は、検出した輪郭の各々と、検査対象Tの検査対象情報に含まれる各薬剤の輪郭情報とのマッチングを行い、検査対象情報に含まれる各薬剤の輪郭情報のいずれにも合致しないものが一つ以上有る場合に不安定姿勢にある固形薬剤Oが有ると判定し、検出した輪郭の全てが検査対象情報に含まれる各薬剤の輪郭情報のいずれかに合致する場合には不安定姿勢にある固形薬剤Oが無いと判定する。
 図8は、検査装置1の動作フローを示す。
<撮像ステップ>
 まず、制御部5による制御のもと撮像部4によって検査対象Tが撮像され、検査対象Tの第一方向の画像が取得される(ステップS1)。なお、本例では、撮像部4の撮像装置11を用いた一回の撮像によって検査対象Tの第一方向の画像及び第二方向の画像が取得され、この撮像ステップS1は、検査対象Tの第一方向の画像を取得する第一撮像ステップと、検査対象Tの第二方向の画像を取得する第二撮像ステップとを兼ねる。
<重なり判定ステップ>
 検査対象Tの検査対象情報と、撮像ステップS1にて取得された検査対象Tの第一方向の画像とに基づき、制御部5によって検査対象Tにおける固形薬剤O同士の重なりの有無が判定される(ステップS2)。
<第一加振ステップ>
 固形薬剤O同士の重なりが有ると判定された場合、固形薬剤O同士の重なりを解消すべく、制御部5による制御のもと加振部3が動作され、検査台2が加振される(ステップS3)。
 ここで、図示の例のように、制御部5は、一つの検査対象Tに対する第一加振ステップS3の繰り返し回数n1(検査台2の加振回数)をカウントし、繰り返し回数n1が所定の閾値m1を超えている場合に、第一加振ステップS3及び重なり判定ステップS2の繰り返しから脱する例外処理を実行するように構成されることが好ましい(ステップS4)。例えば処方にない固形薬剤が検査対象Tに含まれており、この固形薬剤が検査対象Tの第一方向の画像P1に表れる各固形薬剤の上端の検査台2からの高さ位置の最大値Hを与える場合などに、この例外処理によって、検査台2の無用な加振が繰り返されることを防止することができる。例外処理は、例えば重なりの有無の判定を保障し得ない旨を表示部7に表示させてユーザーに対して注意喚起し、検査対象Tの検査処理を終了するように構成することができる。
<姿勢判定ステップ>
 次に、検査対象Tの検査対象情報に含まれる各薬剤の輪郭と、撮像ステップS1にて取得された検査対象Tの第二方向の画像とに基づき、制御部5によって検査対象Tにおいて不安定姿勢にある固形薬剤Oの有無が判定される(ステップS5)。
<第二加振ステップ>
 不安定姿勢にある固形薬剤Oが有ると判定された場合、固形薬剤Oの不安定姿勢を解消すべく、制御部5による制御のもと加振部3が動作され、検査台2が加振される(ステップS6)。
 ここで、図示の例のように、制御部5は、一つの検査対象Tに対する第二加振ステップS5の繰り返し回数n2を制御部5にてカウントし、繰り返し回数n2が所定の回数m2を超えている場合に、第二加振ステップS5及び姿勢判定ステップS4の繰り返しから脱する例外処理を実行するように構成されることが好ましい(ステップS7)。例えば処方にない固形薬剤が検査対象Tに含まれている場合などに、この例外処理によって、検査台2の無用な加振が繰り返されることを防止することができる。例外処理は、例えば不安定姿勢にある固形薬剤Oの有無の判定を保障し得ない旨を表示部7に表示させてユーザーに対して注意喚起し、検査対象Tの検査処理を終了するように構成することができる。
 <計数ステップ>
 固形薬剤O同士の重なりが無いと判定され、不安定姿勢にある固形薬剤Oが無いと判定されると、次いで、検査対象Tの第二方向の画像に基づき、制御部5によって検査対象Tに含まれる固形薬剤Oが計数される(ステップS8)。
 固形薬剤Oの計数は、例えば検査対象Tの第二方向の画像に表れる各固形薬剤Oの輪郭を検出し、検出した輪郭の数を計数すればよい。固形薬剤O同士の重なりが無いことから、検査対象Tの第二方向の画像から検出される各固形薬剤Oの輪郭は互いに独立したものとなり、検出した輪郭の数を計数することによって固形薬剤Oを計数することができる。
 固形薬剤Oの計数値は、制御部5によって検査対象Tの検査対象情報に含まれる薬剤の個数と比較され、数量検査が実施される(ステップS9)。検査結果は、制御部5による制御のもと表示部7に表示される。なお、重なり無しの判定を保証し得ないグレー判定が併せて下されている場合には、その旨が表示部7に表示され、ユーザーに対して注意喚起がなされる。
<識別ステップ>
 更に、本例では、検査対象Tの検査対象情報と、検査対象Tの第二方向の画像とに基づいて、制御部5によって検査対象Tに含まれる各固形薬剤Oが識別される(ステップS10)。
 固形薬剤Oの識別は、例えば検査対象Tの第二方向の画像に表れる各固形薬剤Oの輪郭を検出し、検出した輪郭の各々について、検査対象Tの検査対象情報に含まれる各薬剤の輪郭情報とのマッチングを行って合致する薬剤を決定すればよい。
 また、検査対象情報に含まれる各薬剤の外観情報に、薬剤の表面の色や表面に設けられる番号や記号などの情報が含まれている場合には、固形薬剤Oの識別にこれらの情報も用いることができる。特に薬剤表面の番号や記号は、典型的には安定姿勢にあるときに上を向く薬剤の表面に設けられるが、検査対象Tに含まれる各固形薬剤Oは姿勢判定ステップS5及び第二加振ステップS6を経て検査台2上で安定姿勢に配置されているので、検査台2を正視して配置された撮像部4の撮像装置11によって各固形薬剤Oの表面の番号や記号を正面から捉えることができる。それにより、各固形薬剤Oの表面の番号や記号をより正確に認識することが可能となる。
 固形薬剤Oが識別されることにより、検査対象Tに含まれる固形薬剤Oの種別毎の個数を検査することが可能となり、例えばある種別の固形薬剤Oに過不足があった場合に、その種別の固形薬剤Oの個数の修正を速やかに行うことが可能となる。
 なお、本例では、固形薬剤Oの識別もなされるが、数量検査に限れば、上記の姿勢判定ステップS5及び第二加振ステップS6は省略してもよい。
 以上の検査装置1の動作フローにおいて、検査対象Tの検査対象情報と検査対象Tの第一方向の画像とに基づき、検査対象Tにおける固形薬剤O同士の重なりの有無が判定され、固形薬剤O同士の重なりが有ると判定された場合に検査台2が加振される。それにより、検査台2の無用な加振を省き、検査対象Tに含まれる複数の固形薬剤Oを適正かつ効率的に検査台2上に配置することができ、検査対象Tの検査に要する時間を短縮することが可能となる。
 以上、検査対象Tが一包分の複数の固形薬剤Oの集合であるものとして本発明の実施形態を説明したが、検査対象は複数の固形薬剤の集合に限られるものではなく、例えばビスやナットなどの比較的小さな機械部品の集合もまた集合毎にパッケージングされる場合があり、1パッケージ分の機械部品の集合を検査対象とすることもできる。
 以上、説明したとおり、本明細書には下記事項が開示されている。
(1) 複数の物品の集合からなる検査対象が置かれる検査台と、上記検査台を加振する加振部と、上記検査台に置かれた上記検査対象の、上記検査台に沿う第一方向の画像を取得する撮像部と、上記検査対象を構成する上記各物品の外観情報を含む検査対象情報と上記検査対象の上記第一方向の画像とに基づき、上記検査対象における物品同士の重なりの有無を判定し、物品同士の重なりが有ると判定した場合に、上記加振部を動作させる制御部と、を備える検査装置。
(2) 上記外観情報は、重心位置が最も低くなる安定姿勢にあるときの上記各物品の高さ情報を含み、上記制御部は、上記第一方向の画像に表れる上記各物品の上端の上記検査台のからの高さ位置の最大値をHとし、上記検査対象情報に含まれる上記各物品の高さの最大値をhmaxとして、H>hmaxである場合に、物品同士の重なりが有ると判定する(1)記載の検査装置。
(3) 上記第一方向に上記撮像部とは反対側から上記検査対象を照明する照明部を更に備え、上記撮像部は、上記検査対象の上記第一方向の画像として、上記検査対象のシルエット画像を取得する(1)又は(2)記載の検査装置。
(4) 上記撮像部は、上記検査台に置かれた上記検査対象の、上記検査台を正視する第二方向の画像を更に取得し、上記制御部は、物品同士の重なりが無いと判定した場合に、上記検査対象の上記第二方向の画像に基づき、上記検査対象に含まれる上記物品を計数する(1)から(3)のいずれか一つに記載の検査装置。
(5) 上記検査対象情報は、上記検査対象を構成する物品の個数情報を含み、上記制御部は、上記検査対象情報に含まれる物品の個数と、上記検査対象の上記第二方向の画像に基づいて計数された上記物品の個数とを比較して、数量検査を実施する(4)記載の検査装置。
(6) 上記外観情報は、重心位置が最も低くなる安定姿勢にあるときの上記各物品を正視した場合における上記各物品の輪郭情報を含み、上記制御部は、上記検査対象情報に含まれる上記各物品の輪郭と上記検査対象の上記第二方向の画像とに基づき、上記検査対象において不安定姿勢にある物品の有無を判定し、不安定姿勢にある物品が有ると判定した場合に、上記加振部を動作させる(4)又は(5)記載の検査装置。
(7) 上記制御部は、物品同士の重なりが無いと判定しかつ不安定姿勢の物品が無いと判定した場合に、上記検査対象情報に含まれる上記各物品の外観と上記検査対象の上記第二方向の画像とに基づき、上記検査対象に含まれる上記各物品を識別する(6)記載の検査装置。
(8) 上記撮像部は、上記検査台を正視して配置された撮像装置と、上記撮像装置の視野範囲内に配置され、上記検査対象の上記第一方向の光像を上記撮像装置に向けて反射するミラーと、を有する(4)から(7)のいずれか一つに記載の検査装置。
(9) 上記物品は固形薬剤であって、上記検査対象は一包分の複数の固形薬剤の集合である(1)から(8)のいずれか一つに記載の検査装置。
(10) 検査台に置かれた複数の物品の集合からなる検査対象の、上記検査台に沿う第一方向の画像を取得する第一撮像ステップと、上記検査対象を構成する上記各物品の外観情報を含む検査対象情報と、上記検査対象の上記第一方向の画像とに基づき、上記検査対象における物品同士の重なりの有無を判定する重なり判定ステップと、上記重なり判定ステップにて物品同士の重なりが有ると判定された場合に、上記検査台を振動させる第一加振ステップと、を備える検査方法。
(11) 上記外観情報は、重心位置が最も低くなる安定姿勢にあるときの上記各物品の高さ情報を含むものであり、上記重なり判定ステップは、上記検査対象の上記第一方向の画像に表れる上記各物品の上端の上記検査台のからの高さ位置の最大値をHとし、上記検査対象情報に含まれる上記各物品の高さの最大値をhmaxとして、H>hmaxである場合に、物品同士の重なりが有ると判定する(10)記載の検査方法。
(12) 上記検査台に置かれた上記検査対象の、上記検査台を正視する第二方向の画像を取得する第二撮像ステップと、上記重なり判定ステップにて物品同士の重なりが無いと判定した場合に、上記検査対象の上記第二方向の画像に基づいて上記検査対象に含まれる上記物品を計数する計数ステップと、を更に備える(10)又は(11)記載の検査方法。
(13) 上記外観情報は、重心位置が最も低くなる安定姿勢にあるときの上記各物品を正視した場合における上記各物品の輪郭情報を含むものであり、上記検査対象情報に含まれる上記各物品の輪郭と上記検査対象の上記第二方向の画像とに基づき、上記検査対象において不安定姿勢にある物品の有無を判定する姿勢判定ステップと、上記姿勢判定ステップにて不安定姿勢にある物品が有ると判定された場合に、上記検査台を振動させる第二加振ステップと、を更に備える(12)記載の検査方法。
(14) 上記重なり判定ステップにて物品同士の重なりが無いと判定され、かつ上記姿勢判定ステップにて不安定姿勢の物品が無いと判定された場合に、上記検査対象情報に含まれる上記各物品の外観情報と上記検査対象の上記第二方向の画像とに基づき、上記検査対象に含まれる上記各物品を識別する(13)記載の検査方法。
(15) 一つの上記検査対象に対する上記第一加振ステップの繰り返し回数をカウントし、上記重なり判定ステップにて物品同士の重なりが有ると判定された場合において、上記繰り返し回数が所定の閾値を超えている場合には、上記第一加振ステップ及び上記重なり判定ステップの繰り返しから脱する例外処理ステップを更に備える(10)から(14)のいずれか一つに記載の検査方法。
(16) 一つの上記検査対象に対する上記第二加振ステップの繰り返し回数をカウントし、上記姿勢判定ステップにて不安定姿勢の物品が有ると判定された場合において、上記繰り返し回数が所定の閾値を超えている場合には、上記第二加振ステップ及び上記姿勢判定ステップの繰り返しから脱する例外処理ステップを更に備える(13)又は(14)記載の検査方法。
(17) (10)から(16)のいずれか一つに記載の検査方法の各ステップをコンピュータに実行させるプログラム。
 本発明は、複数の固形薬剤や、ビスやナットなどの比較的小さな機械部品など、複数の物品の集合が集合毎に包装され、各包装に物品が適正に入っているか否か検査される場合に用いることができる。
 以上本発明の実施形態を詳述したがこれはあくまで一例示であり、本発明はその趣旨を逸脱しない範囲において種々変更を加えた態様で実施可能である。本出願は、2014年2月28日出願の日本特許出願(特願2014-038727)に基づくものであり、その内容はここに参照として取り込まれる。
1   検査装置
2   検査台
3   加振部
4   撮像部
5   制御部
6   操作部
7   表示部
10  トレイ
10a 側壁部
10b 側壁部
11  撮像装置
12  ミラー
13  照明部
20  記憶部
21  判定部
O   固形薬剤(物品)
P1  第一方向の画像
P2  第二方向の画像
T   検査対象

Claims (17)

  1.  複数の物品の集合からなる検査対象が置かれる検査台と、
     前記検査台を加振する加振部と、
     前記検査台に置かれた前記検査対象の、前記検査台に沿う第一方向の画像を取得する撮像部と、
     前記検査対象を構成する前記各物品の外観情報を含む検査対象情報と前記検査対象の前記第一方向の画像とに基づき、前記検査対象における物品同士の重なりの有無を判定し、物品同士の重なりが有ると判定した場合に、前記加振部を動作させる制御部と、
     を備える検査装置。
  2.  前記外観情報は、重心位置が最も低くなる安定姿勢にあるときの前記各物品の高さ情報を含み、
     前記制御部は、前記第一方向の画像に表れる前記各物品の上端の前記検査台のからの高さ位置の最大値をHとし、前記検査対象情報に含まれる前記各物品の高さの最大値をhmaxとして、H>hmaxである場合に、物品同士の重なりが有ると判定する請求項1記載の検査装置。
  3.  前記第一方向に前記撮像部とは反対側から前記検査対象を照明する照明部を更に備え、
     前記撮像部は、前記検査対象の前記第一方向の画像として、前記検査対象のシルエット画像を取得する請求項1又は2記載の検査装置。
  4.  前記撮像部は、前記検査台に置かれた前記検査対象の、前記検査台を正視する第二方向の画像を更に取得し、
     前記制御部は、物品同士の重なりが無いと判定した場合に、前記検査対象の前記第二方向の画像に基づき、前記検査対象に含まれる前記物品を計数する請求項1から3のいずれか一項記載の検査装置。
  5.  前記検査対象情報は、前記検査対象を構成する物品の個数情報を含み、
     前記制御部は、前記検査対象情報に含まれる物品の個数と、前記検査対象の前記第二方向の画像に基づいて計数された前記物品の個数とを比較して、数量検査を実施する請求項4記載の検査装置。
  6.  前記外観情報は、重心位置が最も低くなる安定姿勢にあるときの前記各物品を正視した場合における前記各物品の輪郭情報を含み、
     前記制御部は、前記検査対象情報に含まれる前記各物品の輪郭と前記検査対象の前記第二方向の画像とに基づき、前記検査対象において不安定姿勢にある物品の有無を判定し、不安定姿勢にある物品が有ると判定した場合に、前記加振部を動作させる請求項4又は5記載の検査装置。
  7.  前記制御部は、物品同士の重なりが無いと判定しかつ不安定姿勢の物品が無いと判定した場合に、前記検査対象情報に含まれる前記各物品の外観と前記検査対象の前記第二方向の画像とに基づき、前記検査対象に含まれる前記各物品を識別する請求項6記載の検査装置。
  8.  前記撮像部は、
     前記検査台を正視して配置された撮像装置と、
     前記撮像装置の視野範囲内に配置され、前記検査対象の前記第一方向の光像を前記撮像装置に向けて反射するミラーと、を有する請求項4から7のいずれか一項記載の検査装置。
  9.  前記物品は固形薬剤であって、前記検査対象は一包分の複数の固形薬剤の集合である請求項1から8のいずれか一項記載の検査装置。
  10.  検査台に置かれた複数の物品の集合からなる検査対象の、前記検査台に沿う第一方向の画像を取得する第一撮像ステップと、
     前記検査対象を構成する前記各物品の外観情報を含む検査対象情報と、前記検査対象の前記第一方向の画像とに基づき、前記検査対象における物品同士の重なりの有無を判定する重なり判定ステップと、
     前記重なり判定ステップにて物品同士の重なりが有ると判定された場合に、前記検査台を振動させる第一加振ステップと、
     を備える検査方法。
  11.  前記外観情報は、重心位置が最も低くなる安定姿勢にあるときの前記各物品の高さ情報を含むものであり、
     前記重なり判定ステップは、前記検査対象の前記第一方向の画像に表れる前記各物品の上端の前記検査台のからの高さ位置の最大値をHとし、前記検査対象情報に含まれる前記各物品の高さの最大値をhmaxとして、H>hmaxである場合に、物品同士の重なりが有ると判定する請求項10記載の検査方法。
  12.  前記検査台に置かれた前記検査対象の、前記検査台を正視する第二方向の画像を取得する第二撮像ステップと、
     前記重なり判定ステップにて物品同士の重なりが無いと判定した場合に、前記検査対象の前記第二方向の画像に基づいて前記検査対象に含まれる前記物品を計数する計数ステップと、
     を更に備える請求項10又は11記載の検査方法。
  13.  前記外観情報は、重心位置が最も低くなる安定姿勢にあるときの前記各物品を正視した場合における前記各物品の輪郭情報を含むものであり、
     前記検査対象情報に含まれる前記各物品の輪郭と前記検査対象の前記第二方向の画像とに基づき、前記検査対象において不安定姿勢にある物品の有無を判定する姿勢判定ステップと、
     前記姿勢判定ステップにて不安定姿勢にある物品が有ると判定された場合に、前記検査台を振動させる第二加振ステップと、
     を更に備える請求項12記載の検査方法。
  14.  前記重なり判定ステップにて物品同士の重なりが無いと判定され、かつ前記姿勢判定ステップにて不安定姿勢の物品が無いと判定された場合に、前記検査対象情報に含まれる前記各物品の外観情報と前記検査対象の前記第二方向の画像とに基づき、前記検査対象に含まれる前記各物品を識別する請求項13記載の検査方法。
  15.  一つの前記検査対象に対する前記第一加振ステップの繰り返し回数をカウントし、
     前記重なり判定ステップにて物品同士の重なりが有ると判定された場合において、前記繰り返し回数が所定の閾値を超えている場合には、前記第一加振ステップ及び前記重なり判定ステップの繰り返しから脱する例外処理ステップを更に備える請求項10から14のいずれか一項記載の検査方法。
  16.  一つの前記検査対象に対する前記第二加振ステップの繰り返し回数をカウントし、
     前記姿勢判定ステップにて不安定姿勢の物品が有ると判定された場合において、前記繰り返し回数が所定の閾値を超えている場合には、前記第二加振ステップ及び前記姿勢判定ステップの繰り返しから脱する例外処理ステップを更に備える請求項13又は14記載の検査方法。
  17.  請求項10から16のいずれか一項記載の検査方法の各ステップをコンピュータに実行させるプログラム。
PCT/JP2015/051503 2014-02-28 2015-01-21 検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム WO2015129343A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP15755144.1A EP3111912B1 (en) 2014-02-28 2015-01-21 Inspection device and inspection method, and program for causing computer to execute inspection method
CN201580010918.7A CN106061457B (zh) 2014-02-28 2015-01-21 检查装置及检查方法
US15/247,512 US10007993B2 (en) 2014-02-28 2016-08-25 Inspection device, inspection method, and computer readable medium storing program causing computer to perform inspection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-038727 2014-02-28
JP2014038727A JP6167053B2 (ja) 2014-02-28 2014-02-28 検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/247,512 Continuation US10007993B2 (en) 2014-02-28 2016-08-25 Inspection device, inspection method, and computer readable medium storing program causing computer to perform inspection method

Publications (1)

Publication Number Publication Date
WO2015129343A1 true WO2015129343A1 (ja) 2015-09-03

Family

ID=54008672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/051503 WO2015129343A1 (ja) 2014-02-28 2015-01-21 検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム

Country Status (5)

Country Link
US (1) US10007993B2 (ja)
EP (1) EP3111912B1 (ja)
JP (1) JP6167053B2 (ja)
CN (1) CN106061457B (ja)
WO (1) WO2015129343A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10302598B2 (en) 2016-10-24 2019-05-28 General Electric Company Corrosion and crack detection for fastener nuts

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170305589A1 (en) * 2014-09-25 2017-10-26 Yuyama Mfg. Co., Ltd. Inspection assistance system and tablet packaging device
TWI606870B (zh) * 2015-11-04 2017-12-01 澧達科技股份有限公司 電子產品分選系統及分選方法
JP6810632B2 (ja) * 2016-02-18 2021-01-06 芝浦メカトロニクス株式会社 錠剤印刷装置及び錠剤製造方法
WO2018221065A1 (ja) * 2017-05-30 2018-12-06 富士フイルム株式会社 薬剤検査支援装置及び薬剤検査支援方法
EP3777814A4 (en) 2018-03-29 2021-05-26 FUJIFILM Toyama Chemical Co., Ltd. MEDICAL DETERMINATION DEVICE AND MEDICAL DETERMINATION METHOD
CN110562675B (zh) * 2019-09-29 2021-02-19 武汉大学 多源震动盘及零件姿态调整方法
CN111310977A (zh) * 2020-01-20 2020-06-19 重庆亚德科技股份有限公司 基于大数据的药品库存预测系统及方法
JP2021030219A (ja) * 2020-03-18 2021-03-01 株式会社イーアイアイ 物品選別装置および物品選別方法
KR102395797B1 (ko) * 2020-06-02 2022-05-06 재단법인대구경북과학기술원 검출 시스템

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003526395A (ja) * 1998-12-10 2003-09-09 スクリプトプロ エルエルシー ユニット医薬パッケージの自動分配システム
WO2004112685A1 (ja) * 2003-06-19 2004-12-29 Yuyama Mfg. Co., Ltd. 薬剤監査装置
WO2012005004A1 (ja) * 2010-07-09 2012-01-12 パナソニック株式会社 錠剤監査支援方法及び錠剤監査支援装置
JP2013039289A (ja) * 2011-08-18 2013-02-28 Kansai Seiki Kogyo Kk 分包薬剤監査装置
JP2013066533A (ja) * 2011-09-21 2013-04-18 Twin Life Kk 薬剤照合装置
JP2013078420A (ja) * 2011-10-03 2013-05-02 Shuei Denki:Kk 盤状物体裏返し装置
JP2013144101A (ja) * 2011-04-28 2013-07-25 Yuyama Manufacturing Co Ltd 薬剤鑑査装置、及び薬剤分包装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06255755A (ja) * 1993-03-03 1994-09-13 Ntn Corp パーツフィーダ
US6883681B1 (en) 1998-12-10 2005-04-26 Scriptpro Llc Automatic dispensing system for unit medicament packages
JP2001335145A (ja) * 2000-05-25 2001-12-04 Nippon Seiki Co Ltd 物品搬送装置
US7369643B2 (en) * 2002-07-23 2008-05-06 Rapiscan Security Products, Inc. Single boom cargo scanning system
CN101175990B (zh) * 2005-02-23 2011-04-20 松下电工株式会社 粒状物体的检查方法及实施该方法的检查装置
JP5222682B2 (ja) * 2008-09-30 2013-06-26 晋一 直箟 薬剤の撮像記憶装置
JP4755714B2 (ja) * 2009-11-17 2011-08-24 株式会社湯山製作所 薬剤払出装置
CA3000256A1 (en) * 2010-03-09 2011-09-15 Perceptimed, Inc. Medication verification and dispensing
JP4652480B1 (ja) * 2010-07-02 2011-03-16 オオクマ電子株式会社 薬包中の薬剤個数計数装置
JP4699563B1 (ja) * 2010-10-20 2011-06-15 オオクマ電子株式会社 錠剤検査装置
WO2012081261A1 (ja) * 2010-12-17 2012-06-21 パナソニック株式会社 錠剤鑑査装置
CN103492862A (zh) * 2011-07-13 2014-01-01 松下电器产业株式会社 药片检查装置以及药片检查方法
US8556078B1 (en) * 2012-04-11 2013-10-15 Joseph Farco Medicine discriminator

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003526395A (ja) * 1998-12-10 2003-09-09 スクリプトプロ エルエルシー ユニット医薬パッケージの自動分配システム
WO2004112685A1 (ja) * 2003-06-19 2004-12-29 Yuyama Mfg. Co., Ltd. 薬剤監査装置
WO2012005004A1 (ja) * 2010-07-09 2012-01-12 パナソニック株式会社 錠剤監査支援方法及び錠剤監査支援装置
JP2013144101A (ja) * 2011-04-28 2013-07-25 Yuyama Manufacturing Co Ltd 薬剤鑑査装置、及び薬剤分包装置
JP2013039289A (ja) * 2011-08-18 2013-02-28 Kansai Seiki Kogyo Kk 分包薬剤監査装置
JP2013066533A (ja) * 2011-09-21 2013-04-18 Twin Life Kk 薬剤照合装置
JP2013078420A (ja) * 2011-10-03 2013-05-02 Shuei Denki:Kk 盤状物体裏返し装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3111912A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10302598B2 (en) 2016-10-24 2019-05-28 General Electric Company Corrosion and crack detection for fastener nuts

Also Published As

Publication number Publication date
CN106061457A (zh) 2016-10-26
JP2015160088A (ja) 2015-09-07
EP3111912B1 (en) 2021-10-20
CN106061457B (zh) 2019-08-27
JP6167053B2 (ja) 2017-07-19
US10007993B2 (en) 2018-06-26
EP3111912A1 (en) 2017-01-04
US20160364868A1 (en) 2016-12-15
EP3111912A4 (en) 2017-02-22

Similar Documents

Publication Publication Date Title
JP6167053B2 (ja) 検査装置及び検査方法、並びに検査方法をコンピュータに実行させるプログラム
JP7190897B2 (ja) 薬剤調合システムの入力装置のための空気力学的に流線形化されたエンクロージャ
US9904992B2 (en) Packeted drug inspection device and method
JP5916032B2 (ja) 薬剤検査支援装置及び方法
JP6009888B2 (ja) 薬剤検査装置及び方法
JP2022000245A (ja) 薬剤仕分装置
CN103620365B (zh) 眼科镜片的多重辐射检查
JPWO2015145982A1 (ja) 情報処理装置、情報処理システム、情報処理方法およびコンピュータプログラム
US11794935B2 (en) Systems and methods for spill detection
JP5891399B2 (ja) 作業検知システムの設定方法及びそれを用いた作業検知システム
US10762614B2 (en) Inspection apparatus, inspection method and computer program product
JP2017194405A (ja) ガラス成形装置
KR20170011877A (ko) 약제 검사 장치 및 그 약제 검사 방법
JP7203167B2 (ja) 画像取得装置及び画像取得方法
JP6454249B2 (ja) 薬剤監査装置及び方法
JP7310045B1 (ja) 一包化鑑査装置、一包化鑑査プログラムおよび一包化鑑査方法
JP7182668B1 (ja) 薬剤識別システムおよび薬剤識別方法
TWM483255U (zh) 片劑檢查機之六面檢驗機構
EP3855175B1 (en) Detection and characterization of defects in pharmaceutical cylindrical containers
JP6941077B2 (ja) 物品検査システム及びそのプログラム
JP2023165958A (ja) 種類判別装置
JP2018194560A (ja) 作業検知システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15755144

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
REEP Request for entry into the european phase

Ref document number: 2015755144

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015755144

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE