Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7528840B2 - Control System - Google Patents
[go: Go Back, main page]

JP7528840B2 - Control System - Google Patents

Control System Download PDF

Info

Publication number
JP7528840B2
JP7528840B2 JP2021056932A JP2021056932A JP7528840B2 JP 7528840 B2 JP7528840 B2 JP 7528840B2 JP 2021056932 A JP2021056932 A JP 2021056932A JP 2021056932 A JP2021056932 A JP 2021056932A JP 7528840 B2 JP7528840 B2 JP 7528840B2
Authority
JP
Japan
Prior art keywords
drug
tray
medicine
type
imaging
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
JP2021056932A
Other languages
Japanese (ja)
Other versions
JP2022154070A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2021056932A priority Critical patent/JP7528840B2/en
Publication of JP2022154070A publication Critical patent/JP2022154070A/en
Application granted granted Critical
Publication of JP7528840B2 publication Critical patent/JP7528840B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Studio Devices (AREA)

Description

本発明は、制御システムに関する。
The present invention relates to a control system.

近年、鑑別対象の薬剤が撮影されて得られた撮影画像に基づいて薬剤を鑑別する技術が知られている。例えば、鑑別対象の薬剤を撮影する撮影装置が開示されている(例えば、特許文献1参照)。かかる薬剤を鑑別する技術においては、薬剤の撮影制御が薬剤の種別に応じて異なるのが一般的である。例えば、薬剤の種別がバラ薬であるか一包化薬であるかに応じて、薬剤の撮影制御が異なる場合がある。そのため、操作者は、撮影制御が開始される前に鑑別対象の薬剤の種別を選択する操作を入力するのが一般的である。 In recent years, a technology for identifying drugs based on an image obtained by photographing a drug to be identified has been known. For example, an imaging device for photographing a drug to be identified has been disclosed (see, for example, Patent Document 1). In such a technology for identifying drugs, it is common for the imaging control of the drug to differ depending on the type of drug. For example, the imaging control of the drug may differ depending on whether the drug is a loose drug or a packaged drug. For this reason, it is common for an operator to input an operation to select the type of drug to be identified before imaging control is started.

国際公開第2015/152225号International Publication No. 2015/152225

しかしながら、操作者が鑑別対象の薬剤の種別を選択する操作を誤って入力してしまう場合などがあり得る。かかる場合には、操作者が正しい薬剤の種別を選択する操作を入力し直す必要が生じるが、撮影制御が一度始まってしまうと、撮影が終わるまで薬剤の種別を選択する操作を入力できないのが一般的である。そのため、操作者にとって薬剤鑑別システムの利便性が向上しなかった。 However, there may be cases where the operator mistakenly inputs the operation to select the type of drug to be identified. In such cases, the operator needs to re-input the operation to select the correct type of drug, but once imaging control has begun, it is generally not possible to input the operation to select the type of drug until imaging is completed. As a result, the convenience of the drug identification system for the operator has not improved.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、鑑別対象の薬剤の種別に応じて薬剤の撮影制御が異なる薬剤鑑別システムの操作者の利便性を向上させることが可能な技術を提供することにある。 The present invention has been made in consideration of the above problems, and the object of the present invention is to provide a technology that can improve the convenience of the operator of a drug identification system in which drug photography control differs depending on the type of drug to be identified.

上記問題を解決するために、本発明のある観点によれば、撮影装置と制御装置とを有する制御システムであって、前記撮影装置は、薬剤の種別に基づいて前記薬剤の撮影制御を行い、前記薬剤の種別は、前記薬剤がバラ薬であるか一包薬であるかに該当し、前記撮影制御は、前記薬剤の種別がバラ薬である場合には、1箇所において前記薬剤をカメラに撮影させることを含み、前記薬剤の種別が一包薬である場合には、複数箇所において前記薬剤を前記カメラに撮影させることを含み、前記制御装置は、前記撮影装置に対して前記薬剤の種別を出力する出力部と、前記撮影装置によって前記撮影制御が開始された後に前記薬剤の種別を変更する操作を受け付けるための種別変更オブジェクトの表示を制御する制御部と、前記薬剤の種別を変更する操作を受け付ける操作部と、を備え、前記出力部は、前記操作部によって前記薬剤の種別を変更する操作が受け付けられたことに基づいて、前記薬剤の種別が変更されたことを前記撮影装置に出力し、前記撮影装置は、前記薬剤の種別がバラ薬である場合、かつ、前記薬剤の種別が変更されたことが前記出力部から出力された場合には、複数箇所において前記薬剤を前記カメラに撮影させ、前記薬剤の種別が一包薬である場合、かつ、前記薬剤の種別が変更されたことが前記出力部から出力された場合には、1箇所において前記薬剤を前記カメラに撮影させる、制御システムが提供される。
In order to solve the above problem, according to one aspect of the present invention, there is provided a control system having an imaging device and a control device, wherein the imaging device controls imaging of the medicine based on a type of medicine, the type of medicine corresponding to whether the medicine is a loose medicine or a single package medicine, and the imaging control includes, when the type of medicine is a loose medicine, having a camera capture an image of the medicine at one location, and when the type of medicine is a single package medicine, having the camera capture an image of the medicine at a plurality of locations, and the control device includes an output unit that outputs the type of medicine to the imaging device, and a control unit that receives an operation to change the type of medicine after the imaging control is started by the imaging device. A control system is provided which includes a control unit which controls the display of a type change object, and an operation unit which accepts an operation to change the type of the drug, wherein the output unit outputs to the photographing device a notice that the type of the drug has been changed based on the operation to change the type of the drug being accepted by the operation unit, and the photographing device, when the type of the drug is a loose drug and when the output unit has output that the type of the drug has been changed, causes the camera to photograph the drug at multiple locations, and when the type of the drug is a single dose drug and when the output unit has output that the type of the drug has been changed, causes the camera to photograph the drug at one location .

前記撮影制御は、前記薬剤を撮影位置に向けて移動させる動作および前記撮影位置において前記薬剤を前記カメラに撮影させる動作の少なくともいずれか一つを含んでもよい。
The photographing control may include at least one of an operation of moving the medicine toward a photographing position and an operation of causing the camera to photograph the medicine at the photographing position.

前記制御部は、前記撮影制御が開始された後に前記撮影制御を中断する操作を受け付けるための中断操作オブジェクトの表示を制御してもよい。 The control unit may control the display of an interruption operation object for receiving an operation to interrupt the shooting control after the shooting control has been started.

以上説明したように本発明によれば、鑑別対象の薬剤の種別に応じて薬剤の撮影制御が異なる薬剤鑑別システムの操作者の利便性を向上させることが可能な技術が提供される。 As described above, the present invention provides a technology that can improve the convenience of the operator of a drug identification system in which drug imaging control differs depending on the type of drug to be identified.

本発明の第1の実施形態に係る薬剤鑑別システムの構成例を示す図である。1 is a diagram showing an example of the configuration of a drug discrimination system according to a first embodiment of the present invention; 同実施形態に係る薬剤鑑別システムの機能構成例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of the drug discrimination system according to the embodiment. トレイ排出指示画面の例を示す図である。FIG. 13 is a diagram showing an example of a tray ejection instruction screen. 装置筐体の外部に排出されたトレイの上面図である。11 is a top view of the tray ejected outside the device housing. FIG. 撮影開始画面の例を示す図である。FIG. 13 is a diagram showing an example of a shooting start screen. バラ薬が載置されたシャーレの上面図である。FIG. 2 is a top view of a petri dish on which a bulk drug is placed. シャーレがトレイの上に載置された状態を示す上面図である。FIG. 2 is a top view showing a state in which the petri dish is placed on the tray. 一包化薬の外観例を示す図である。FIG. 2 is a diagram showing an example of the appearance of a single-dose medicine package. 一包化薬がトレイの上に載置された状態を示す上面図である。FIG. 2 is a top view showing a state in which a packaged drug is placed on a tray. 装置筐体の外部から内部にトレイが搬送される様子を右側から見た側面図である。13 is a side view seen from the right side showing a state in which a tray is transported from the outside to the inside of the device housing. FIG. 撮影位置の例を示す図である。FIG. 13 is a diagram illustrating an example of a shooting position. 撮影中画面の例を示す図である。FIG. 13 is a diagram showing an example of a screen during shooting. 撮影画像確認画面の例を示す図である。FIG. 13 is a diagram showing an example of a captured image confirmation screen. 同実施形態に係る薬剤鑑別システムの動作例を説明するためのフローチャートである。13 is a flowchart for explaining an example of the operation of the medicine discrimination system according to the embodiment. 撮影開始画面の例を示す図である。FIG. 13 is a diagram showing an example of a shooting start screen. 画像データに基づいて薬剤の種別を認識する手法の例について説明するための図である。11 is a diagram for explaining an example of a method for recognizing the type of medicine based on image data. FIG. 本発明の第3の実施形態に係る薬剤鑑別システムの構成例を示す図である。FIG. 13 is a diagram showing an example of the configuration of a drug identification system according to a third embodiment of the present invention. 同実施形態に係る薬剤鑑別システムの機能構成例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of the drug discrimination system according to the embodiment. タッチセンサに対する操作の意味の例を説明するための図である。11A and 11B are diagrams for explaining examples of the meaning of operations on a touch sensor; 薬剤種別判定ディテクタが設けられたシャーレの上面図である。FIG. 2 is a top view of a petri dish equipped with a drug type detector. タッチセンサに対する操作の意味の例を説明するための図である。11A and 11B are diagrams for explaining examples of the meaning of operations on a touch sensor; 一包化薬が直接載置されたトレイが移動する様子を示す側面図である。FIG. 13 is a side view showing the movement of a tray on which a packaged drug is placed directly. バラ薬がシャーレを介して載置されたトレイが移動する様子を示す側面図である。FIG. 13 is a side view showing the movement of a tray on which the bulk medicine is placed via a petri dish. 本発明の実施形態に係る制御装置の例としての情報処理装置のハードウェア構成を示す図である。FIG. 2 is a diagram illustrating a hardware configuration of an information processing device as an example of a control device according to an embodiment of the present invention.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 The preferred embodiment of the present invention will be described in detail below with reference to the attached drawings. Note that in this specification and the drawings, components having substantially the same functional configuration are designated by the same reference numerals to avoid redundant description.

また、本明細書および図面において、実質的に同一の機能構成を有する複数の構成要素を、同一の符号の後に異なる数字を付して区別する。また、異なる実施形態の類似する構成要素については、同一の符号の後に異なるアルファベットを付して区別する。ただし、実質的に同一の機能構成を有する複数の構成要素等の各々を特に区別する必要がない場合、同一符号のみを付する。 In addition, in this specification and drawings, multiple components having substantially the same functional configuration are distinguished by adding different numbers after the same reference numeral. Similarly, similar components in different embodiments are distinguished by adding different letters after the same reference numeral. However, when there is no particular need to distinguish between multiple components having substantially the same functional configuration, only the same reference numerals are used.

<1.第1の実施形態>
まず、本発明の第1の実施形態について説明する。
1. First embodiment
First, a first embodiment of the present invention will be described.

[1-1.薬剤鑑別システムの構成]
まず、本発明の第1の実施形態に係る薬剤鑑別システムの構成例について説明する。一例として、薬剤鑑別システムは、患者が持参した薬剤(持参薬)を鑑別する持参薬鑑別システムとして機能し得る。例えば、薬剤鑑別システムは、病院または薬局などに設置され得る。また、薬剤鑑別システムは、主に操作者(例えば、薬剤師など)によって操作される。また、薬剤鑑別システムは、薬剤の撮影および鑑別を制御する制御システムとして機能し得る。
[1-1. Configuration of drug identification system]
First, a configuration example of a drug identification system according to a first embodiment of the present invention will be described. As an example, the drug identification system can function as a brought-medicine identification system that identifies drugs brought by patients (brought-in medicines). For example, the drug identification system can be installed in a hospital or a pharmacy. The drug identification system is mainly operated by an operator (e.g., a pharmacist). The drug identification system can also function as a control system that controls the photography and identification of drugs.

図1は、本発明の第1の実施形態に係る薬剤鑑別システムの構成例を示す図である。図1に示されたように、薬剤鑑別システム1は、制御装置10と、撮影装置20とを備える。なお、制御装置10と撮影装置20とは、所定のインタフェースにより接続されている。例えば、インタフェースは、USB(Universal Serial Bus)インタフェースなどであってよい。 Fig. 1 is a diagram showing an example of the configuration of a drug identification system according to a first embodiment of the present invention. As shown in Fig. 1, the drug identification system 1 includes a control device 10 and an imaging device 20. The control device 10 and the imaging device 20 are connected via a predetermined interface. For example, the interface may be a USB (Universal Serial Bus) interface.

制御装置10は、薬剤鑑別システム1の全体を制御するコンピュータである。例えば、制御装置10は、本体部180と、操作部112と、表示部114とを備える。操作部112および表示部114それぞれは、本体部180と接続されている。操作部112および表示部114は、後に説明するGUI(Graphical User Interface)部110(図2)を構成し得る。本体部180は、撮影装置20によって撮影された薬剤の撮影画像に基づいて薬剤の鑑別を行う。 The control device 10 is a computer that controls the entire drug discrimination system 1. For example, the control device 10 includes a main body 180, an operation unit 112, and a display unit 114. The operation unit 112 and the display unit 114 are each connected to the main body 180. The operation unit 112 and the display unit 114 may constitute a GUI (Graphical User Interface) unit 110 (FIG. 2) that will be described later. The main body 180 discriminates drugs based on images of the drugs captured by the imaging device 20.

操作部112は、操作者の操作を受け付ける入力装置によって構成される。ここでは、操作部112がマウスおよびキーボードによって実現される場合を主に想定する。しかし、操作部112は、マウスおよびキーボード以外の入力装置(例えば、タッチパネルなど)によって実現されてもよい。操作部112によって受け付けられた操作者の操作は、本体部180に提供される。なお、図1に示された例では、操作部112は、制御装置10の内部に存在する。しかし、操作部112は、制御装置10の外部に存在してもよい。 The operation unit 112 is configured with an input device that accepts operations by an operator. Here, it is mainly assumed that the operation unit 112 is realized by a mouse and a keyboard. However, the operation unit 112 may be realized by an input device other than a mouse and a keyboard (e.g., a touch panel, etc.). The operation of the operator accepted by the operation unit 112 is provided to the main body unit 180. Note that in the example shown in FIG. 1, the operation unit 112 exists inside the control device 10. However, the operation unit 112 may exist outside the control device 10.

表示部114は、ディスプレイによって構成される。ディスプレイの種類は特に限定されないが、一例として液晶ディスプレイなどであってよい。例えば、表示部114は、本体部180による制御に従って各種情報の表示を行う。表示部114によって表示された各種情報は、操作者によって視認される。なお、図1に示された例では、表示部114は、制御装置10の内部に存在する。しかし、表示部114は、制御装置10の外部に存在してもよい。 The display unit 114 is configured with a display. The type of display is not particularly limited, and may be a liquid crystal display, for example. For example, the display unit 114 displays various information according to the control of the main body unit 180. The various information displayed by the display unit 114 is visually recognized by the operator. In the example shown in FIG. 1, the display unit 114 is present inside the control device 10. However, the display unit 114 may be present outside the control device 10.

撮影装置20は、薬剤(例えば、持参薬)を撮影して撮影画像を得る。例えば、撮影装置20は、箱型の装置筐体220を備える。装置筐体220の前面には、上下方向の中央部にトレイ排出口290が設けられている。撮影装置20は、このトレイ排出口290からトレイを前方に排出することにより、トレイを装置筐体220の外部に露出することが可能であり、前方に排出したトレイを後方に引き戻すことにより、トレイを装置筐体220の内部に収容できるようになっている。 The imaging device 20 photographs medications (e.g., medications brought with the patient) to obtain a photographed image. For example, the imaging device 20 includes a box-shaped device housing 220. A tray discharge port 290 is provided in the center in the vertical direction on the front surface of the device housing 220. The imaging device 20 can expose the tray to the outside of the device housing 220 by discharging the tray forward from this tray discharge port 290, and can store the tray inside the device housing 220 by pulling the tray discharged forward back.

なお、トレイ排出口290には、シャッタ292が設けられている。シャッタ292は、トレイ排出時においては開いた状態となり、トレイ収容時においては閉じた状態となる。 The tray ejection port 290 is provided with a shutter 292. The shutter 292 is open when the tray is ejected and closed when the tray is stored.

[1-2.薬剤鑑別システムの機能構成]
続いて、本発明の第1の実施形態に係る薬剤鑑別システム1の機能構成例について説明する。
[1-2. Functional configuration of the drug identification system]
Next, an example of a functional configuration of the drug discrimination system 1 according to the first embodiment of the present invention will be described.

図2は、本発明の第1の実施形態に係る薬剤鑑別システム1の機能構成例を示す図である。図2に示されたように、薬剤鑑別システム1は、制御装置10と、撮影装置20とを備える。制御装置10は、GUI部110と、鑑別コントローラ120と、装置制御部130と、鑑別部150と、鑑別結果記憶部160と、薬剤データベース170とを備える。上記したように、GUI部110は、操作部112および表示部114を備える。 Figure 2 is a diagram showing an example of the functional configuration of the drug discrimination system 1 according to the first embodiment of the present invention. As shown in Figure 2, the drug discrimination system 1 includes a control device 10 and an imaging device 20. The control device 10 includes a GUI unit 110, a discrimination controller 120, a device control unit 130, a discrimination unit 150, a discrimination result storage unit 160, and a drug database 170. As described above, the GUI unit 110 includes an operation unit 112 and a display unit 114.

鑑別コントローラ120、装置制御部130および鑑別部150は、制御装置10の図示しない制御部によって実現され得る。図示しない制御部は、CPU(Central Processing Unit)などを含み、不揮発性の記憶装置により記憶されているプログラムがCPUによりRAM(Random Access Memory)に展開されて実行されることにより、その機能が実現され得る。このとき、当該プログラムを記録した、コンピュータに読み取り可能な記録媒体も提供され得る。あるいは、図示しない制御部は、専用のハードウェアにより構成されていてもよいし、複数のハードウェアの組み合わせにより構成されてもよい。 The discrimination controller 120, the device control unit 130, and the discrimination unit 150 may be realized by a control unit (not shown) of the control device 10. The control unit (not shown) may include a CPU (Central Processing Unit) and the like, and may realize its functions by the CPU expanding a program stored in a non-volatile storage device into a RAM (Random Access Memory) and executing the program. At this time, a computer-readable recording medium on which the program is recorded may also be provided. Alternatively, the control unit (not shown) may be configured by dedicated hardware, or may be configured by a combination of multiple hardware components.

鑑別結果記憶部160および薬剤データベース170は、図示しない記憶部によって実現され得る。図示しない記憶部は、図示しない制御部を動作させるためのプログラムおよびデータを記憶することが可能な記憶装置である。また、図示しない記憶部は、図示しない制御部の動作の過程で必要となる各種データを一時的に記憶することもできる。例えば、記憶装置は、不揮発性の記憶装置であってよい。 The discrimination result storage unit 160 and the drug database 170 can be realized by a storage unit (not shown). The storage unit (not shown) is a storage device capable of storing programs and data for operating a control unit (not shown). The storage unit (not shown) can also temporarily store various data required in the course of operation of a control unit (not shown). For example, the storage device may be a non-volatile storage device.

ハードウェア制御部210は、撮影装置20の図示しない制御部によって実現され得る。図示しない制御部は、CPUなどを含み、不揮発性の記憶装置により記憶されているプログラムがCPUによりRAMに展開されて実行されることにより、その機能が実現され得る。このとき、当該プログラムを記録した、コンピュータに読み取り可能な記録媒体も提供され得る。あるいは、図示しない制御部は、専用のハードウェアにより構成されていてもよいし、複数のハードウェアの組み合わせにより構成されてもよい。 The hardware control unit 210 may be realized by a control unit (not shown) of the imaging device 20. The control unit (not shown) may include a CPU, and its functions may be realized by the CPU expanding a program stored in a non-volatile storage device into a RAM and executing the program. At this time, a computer-readable recording medium on which the program is recorded may also be provided. Alternatively, the control unit (not shown) may be configured by dedicated hardware, or may be configured by a combination of multiple pieces of hardware.

薬剤データベース170には、複数の薬剤それぞれのデータベース画像(登録画像)があらかじめ格納されている。より詳細には、薬剤データベース170には、表面および裏面それぞれのデータベース画像および特徴(例えば、薬剤の形、色、刻印文字など)が薬剤ごとにあらかじめ登録されている。 Drug database 170 stores database images (registered images) of multiple drugs in advance. More specifically, database images and features (e.g., drug shape, color, engraved text, etc.) of the front and back sides of each drug are registered in advance in drug database 170.

鑑別コントローラ120は、トレイの排出を指示する操作を受け付けるためのトレイ排出指示画面の表示部114による表示を制御する。 The identification controller 120 controls the display of the tray ejection instruction screen by the display unit 114 to accept an instruction to eject the tray.

図3は、トレイ排出指示画面の例を示す図である。図3を参照すると、トレイ排出指示画面G10が示されている。トレイ排出指示画面G10は、トレイの排出を指示する操作を入力するためのトレイ排出指示ボタンG11を含んでいる。鑑別コントローラ120は、操作部112によってトレイ排出指示ボタンG11を選択する操作が操作者から受け付けられると、装置制御部130を介して撮影装置20に対してトレイ排出指示を出力する。撮影装置20において、ハードウェア制御部210は、トレイ排出指示の入力を受け付けると、トレイ排出口290からトレイが排出されるよう制御する。 Figure 3 is a diagram showing an example of a tray ejection instruction screen. Referring to Figure 3, a tray ejection instruction screen G10 is shown. The tray ejection instruction screen G10 includes a tray ejection instruction button G11 for inputting an instruction to eject the tray. When the operation unit 112 accepts an operation from the operator to select the tray ejection instruction button G11, the discrimination controller 120 outputs a tray ejection instruction to the imaging device 20 via the device control unit 130. In the imaging device 20, when the hardware control unit 210 accepts the input of the tray ejection instruction, it controls so that the tray is ejected from the tray ejection port 290.

図4は、装置筐体220の外部に排出されたトレイの上面図である。図4に示されるように、トレイ230は、スライドレール221に取り付けられており、スライドレール221が前後方向にスライドすることに伴って、装置筐体220から排出されたり装置筐体220に収容されたりする。 Figure 4 is a top view of the tray ejected outside the device housing 220. As shown in Figure 4, the tray 230 is attached to the slide rail 221, and is ejected from and stored in the device housing 220 as the slide rail 221 slides in the forward and backward directions.

トレイ230には、受け皿232が設けられている。受け皿232は、透明な材質によって構成されており、受け皿232の上に鑑別対象の薬剤が載置され得る。さらに、トレイ230には、トレイ位置検出ディテクタ231が設けられている。トレイ位置検出ディテクタ231は、後に説明するトレイ位置検出センサ240(図10)によって検出される部位である。例えば、トレイ位置検出センサ240が光センサによって構成される場合、トレイ位置検出ディテクタ231は、遮光する材質によって構成されていればよい。 The tray 230 is provided with a tray 232. The tray 232 is made of a transparent material, and the medicine to be identified can be placed on the tray 232. Furthermore, the tray 230 is provided with a tray position detector 231. The tray position detector 231 is a part that is detected by a tray position sensor 240 (FIG. 10) that will be described later. For example, if the tray position sensor 240 is made of an optical sensor, the tray position detector 231 may be made of a light-blocking material.

鑑別コントローラ120は、撮影開始画面の表示部114による表示を制御する。 The identification controller 120 controls the display of the start shooting screen on the display unit 114.

図5は、撮影開始画面の例を示す図である。図5を参照すると、撮影開始画面G20が示されている。撮影開始画面G20は、薬剤の種別としてバラ薬を選択する操作を受け付けるためのバラ薬選択ボタンG21、および、薬剤の種別として一包化薬を選択する操作を受け付けるための一包化薬選択ボタンG22を含んでいる。操作者は、鑑別対象の薬剤をトレイ230(図4)の上に載置する。以下、図6および図7を参照しながら、バラ薬の載置について説明し、図8および図9を参照しながら一包化薬の載置について説明する。 Figure 5 is a diagram showing an example of the image capture start screen. Referring to Figure 5, image capture start screen G20 is shown. Image capture start screen G20 includes a bulk drug selection button G21 for accepting an operation to select bulk drugs as the type of drug, and a packaged drug selection button G22 for accepting an operation to select packaged drugs as the type of drug. The operator places the drug to be identified on tray 230 (Figure 4). Below, the placement of bulk drugs will be described with reference to Figures 6 and 7, and the placement of packaged drugs will be described with reference to Figures 8 and 9.

図6は、バラ薬が載置されたシャーレの上面図である。図6に示されるように、シャーレ30は、不透明な材質によって構成される不透明材質エリア31と、透明な材質によって構成される透明材質エリア32とを備える。不透明材質エリア31は、透明材質エリア32が取り付け可能に構成されており、シャーレ30の枠を構成する。 Figure 6 is a top view of a petri dish in which a loose drug has been placed. As shown in Figure 6, the petri dish 30 has an opaque material area 31 made of an opaque material and a transparent material area 32 made of a transparent material. The opaque material area 31 is configured so that the transparent material area 32 can be attached, and forms the frame of the petri dish 30.

透明材質エリア32には、カプセル剤載置部材33aおよび33bが設けられており、カプセル剤載置部材33aおよび33bの間にカプセル剤M1を載置可能になっている。これにより、カプセル剤M1が安定してシャーレ30の上に載置され得る。同様に、カプセル剤載置部材33cおよび33dの間にカプセル剤を載置可能になっている。一方、錠剤M2は、転がりにくい形状を有しているため、透明材質エリア32のうちカプセル剤載置部材33a~33dが設けられていないエリアに載置され得る。なお、シャーレ30の上に載置されるカプセル剤M1および錠剤M2それぞれの個数は特に限定されない。 Capsule placement members 33a and 33b are provided in the transparent material area 32, and capsules M1 can be placed between the capsule placement members 33a and 33b. This allows capsules M1 to be stably placed on the petri dish 30. Similarly, capsules can be placed between the capsule placement members 33c and 33d. On the other hand, tablets M2 have a shape that makes them difficult to roll, so they can be placed in an area of the transparent material area 32 where capsule placement members 33a to 33d are not provided. Note that there is no particular limit to the number of capsules M1 and tablets M2 placed on the petri dish 30.

図7は、シャーレ30がトレイ230の上に載置された状態を示す上面図である。図7を参照すると、カプセル剤M1および錠剤M2が載置されたシャーレ30がトレイ230の受け皿232の上に載置されている。このように、鑑別対象の薬剤がバラ薬である場合、鑑別対象の薬剤は、シャーレ30の上に直接載置され、シャーレ30がトレイ230の受け皿232の上に直接載置されることにより、鑑別対象の薬剤がシャーレ30を介してトレイ230の上に載置され得る。 Figure 7 is a top view showing the state in which the petri dish 30 is placed on the tray 230. Referring to Figure 7, the petri dish 30 on which the capsules M1 and tablets M2 are placed is placed on the tray 232 of the tray 230. In this way, when the drug to be differentiated is a bulk drug, the drug to be differentiated is placed directly on the petri dish 30, and the petri dish 30 is placed directly on the tray 232 of the tray 230, so that the drug to be differentiated can be placed on the tray 230 via the petri dish 30.

図8は、一包化薬の外観例を示す図である。図8に示されるように、一包化薬40は、カプセル剤M1および錠剤M2が透明な袋に包まれた状態で扱われる。すなわち、カプセル剤M1および錠剤M2は、透明な袋に包まれた状態で薬剤鑑別システム1によって鑑別され得る。なお、透明な袋に包まれるカプセル剤M1および錠剤M2それぞれの個数は特に限定されない。 Figure 8 is a diagram showing an example of the appearance of a single-packaged drug. As shown in Figure 8, a single-packaged drug 40 is handled in a state in which capsules M1 and tablets M2 are wrapped in a transparent bag. In other words, capsules M1 and tablets M2 can be identified by drug identification system 1 while wrapped in a transparent bag. Note that there is no particular limit to the number of capsules M1 and tablets M2 each wrapped in a transparent bag.

図9は、一包化薬がトレイ230の上に載置された状態を示す上面図である。図9を参照すると、カプセル剤M1および錠剤M2が透明な袋に包まれた状態の一包化薬40がトレイ230の受け皿232の上に直接載置されている。このように、一包化薬40が鑑別される場合には、透明な袋に包まれた状態のまま、カプセル剤M1および錠剤M2が鑑別され得る。 Figure 9 is a top view showing the state in which a single-packaged drug is placed on the tray 230. Referring to Figure 9, the single-packaged drug 40, in which the capsules M1 and tablets M2 are wrapped in a transparent bag, is placed directly on the tray 232 of the tray 230. In this way, when the single-packaged drug 40 is identified, the capsules M1 and tablets M2 can be identified while still wrapped in the transparent bag.

このようにして、装置筐体220の外部に露出されたトレイ230の上に、鑑別対象の薬剤が操作者によって載置され、操作部112によってバラ薬選択ボタンG21(図5)または一包化薬選択ボタンG22(図5)を選択する操作が操作者から受け付けられると、鑑別コントローラ120は、装置制御部130を介して撮影装置20に対して薬剤の種別を含んだ撮影開始指示を出力する出力部として機能する。撮影装置20において、ハードウェア制御部210は、撮影開始指示の入力を受け付けると、トレイ230が装置筐体220の内部に収容されるよう制御する。 In this way, when the operator places the drug to be differentiated on the tray 230 exposed to the outside of the device housing 220 and the operation unit 112 accepts an operation from the operator to select the loose drug selection button G21 (FIG. 5) or the packaged drug selection button G22 (FIG. 5), the differentiation controller 120 functions as an output unit that outputs an imaging start instruction including the type of drug to the imaging device 20 via the device control unit 130. In the imaging device 20, when the hardware control unit 210 accepts input of the imaging start instruction, it controls the tray 230 to be stored inside the device housing 220.

図10は、装置筐体220の外部から内部にトレイ230が搬送される様子を右側から見た側面図である。上記したように、トレイ230は、スライドレール221が後方向にスライドすることに伴って装置筐体220の内部に収容される。装置筐体220の内部には、トレイ230を検出するトレイ位置検出センサ240が設けられている。例えば、トレイ位置検出センサ240は、発光部および受光部によって構成される光センサであり、発光部によって発せられた光がトレイ位置検出ディテクタ231によって遮光され、受光部によって光が検出されなくなることによってトレイ230を検出する。軸242は、トレイ位置検出センサ240の軸を示している。 Figure 10 is a side view from the right side showing the tray 230 being transported from the outside to the inside of the device housing 220. As described above, the tray 230 is accommodated inside the device housing 220 as the slide rail 221 slides rearward. Inside the device housing 220, a tray position detection sensor 240 that detects the tray 230 is provided. For example, the tray position detection sensor 240 is an optical sensor composed of a light-emitting unit and a light-receiving unit, and detects the tray 230 when light emitted by the light-emitting unit is blocked by the tray position detection detector 231 and the light is no longer detected by the light-receiving unit. Axis 242 indicates the axis of the tray position detection sensor 240.

また、装置筐体220の内部には、薬剤を撮影するカメラ250が設けられている。軸252は、カメラ250の光軸を示している。カメラ250は、上側カメラおよび下側カメラを含んでおり、上側カメラおよび下側カメラによってトレイ230の上に載置された薬剤の両面を撮影する。例えば、ハードウェア制御部210は、トレイ位置検出センサ240によってトレイ230が検出された後、トレイ230が所定の距離だけ装置筐体220の内部に搬送された位置を撮影位置とし、トレイ230の上に載置された薬剤が撮影位置において撮影されるように制御する。 In addition, a camera 250 that photographs the medicine is provided inside the device housing 220. Axis 252 indicates the optical axis of the camera 250. The camera 250 includes an upper camera and a lower camera, and the upper camera and lower camera photograph both sides of the medicine placed on the tray 230. For example, after the tray 230 is detected by the tray position detection sensor 240, the hardware control unit 210 sets the position where the tray 230 is transported a predetermined distance into the device housing 220 as the photographing position, and controls so that the medicine placed on the tray 230 is photographed at the photographing position.

ハードウェア制御部210による鑑別対象の薬剤の撮影制御は、薬剤の種別によって異なる。撮影制御は、薬剤を撮影位置に向けて移動させる動作および撮影位置において薬剤をカメラ250に撮影させる動作の少なくともいずれか一つを含む。例えば、薬剤の種別がバラ薬である場合には、装置筐体220の内部の1箇所において薬剤の表面および裏面が撮影される。一方、薬剤の種別が一包化薬である場合には、装置筐体220の内部の3箇所それぞれにおいて薬剤の表面および裏面が撮影される。 The photographing control of the drug to be identified by the hardware control unit 210 varies depending on the type of drug. The photographing control includes at least one of the following: an operation of moving the drug toward the photographing position and an operation of having the camera 250 photograph the drug at the photographing position. For example, if the type of drug is loose medicine, the front and back of the drug are photographed at one location inside the device housing 220. On the other hand, if the type of drug is a packaged drug, the front and back of the drug are photographed at three locations inside the device housing 220.

このように薬剤の種別によって撮影回数が異なるのは、以下に示す理由による。例えば、薬剤の種別が一包化薬である場合、袋の中においてカプセル剤の位置が定まっていないため、カプセル剤の刻印部分が真上または真下を向いていない可能性がある。そのため、薬剤の種別が一包化薬である場合、3箇所から薬剤を撮影することにより刻印部分を撮影できるようにするのが望ましい。なお、撮影箇所は必ずしも3箇所に限定されない。 The reason why the number of photographs taken varies depending on the type of medication is as follows. For example, if the medication is a single-dose medication, the position of the capsule in the bag is not fixed, so there is a possibility that the imprinted part of the capsule is not facing straight up or straight down. Therefore, if the medication is a single-dose medication, it is desirable to photograph the medication from three locations so that the imprinted part can be photographed. Note that the number of locations to be photographed is not necessarily limited to three.

一方、薬剤の種別がバラ薬である場合、操作者は刻印部分を真上に向けてシャーレにカプセル剤を載置することができる。そのため、薬剤の種別がバラ薬である場合、1箇所から薬剤を撮影するだけでも刻印部分が確実に撮影され得る。 On the other hand, if the type of medication is loose medicine, the operator can place the capsule in the petri dish with the engraved part facing directly upwards. Therefore, if the type of medication is loose medicine, the engraved part can be reliably photographed by simply photographing the medication from one location.

図11は、撮影位置の例を示す図である。図11を参照すると、装置筐体220の内部を搬送されるトレイ230-1~230-5を右側から見た側面図が示されている。また、図11を参照すると、装置筐体220、トレイ位置検出センサの軸242、カメラの光軸である軸252が示されている。ここで、トレイ230-1は、装置筐体220から排出されたトレイ230を示している。 Figure 11 is a diagram showing an example of a shooting position. Referring to Figure 11, a side view of trays 230-1 to 230-5 being transported inside the device housing 220 is shown from the right side. Also referring to Figure 11, the device housing 220, axis 242 of the tray position detection sensor, and axis 252 which is the optical axis of the camera are shown. Here, tray 230-1 indicates tray 230 that has been ejected from the device housing 220.

トレイ230-2は、バラ薬の撮影位置まで搬送されたトレイを示している。鑑別対象の薬剤がバラ薬である場合には、トレイ230-2の位置(1箇所)において薬剤が撮影される。一方、トレイ230-3~230-5は、一包化薬の撮影位置まで搬送されたトレイを示している。鑑別対象の薬剤が一包化薬である場合には、トレイ230-3~230-5それぞれの位置(3箇所)において順に薬剤が撮影される。 Tray 230-2 indicates a tray that has been transported to a position for photographing loose medicines. If the medicine to be identified is a loose medicine, the medicine is photographed at the position of tray 230-2 (one location). On the other hand, trays 230-3 to 230-5 indicate trays that have been transported to a position for photographing packaged medicines. If the medicine to be identified is a packaged medicine, the medicine is photographed in turn at the positions of trays 230-3 to 230-5 (three locations).

一方、制御装置10において、鑑別コントローラ120は、撮影装置20における撮影制御が開始された後に、撮影中画面の表示部114による表示を制御する。なお、撮影中画面の表示の制御の開始タイミングは、撮影装置20における撮影制御が開始される前であっても後であってもよい。すなわち、撮影中画面の表示の制御の開始タイミングが、撮影装置20における撮影制御が開始される前であっても、撮影装置20における撮影制御が開始された後にまで引き続き、撮影中画面が表示されるように制御されればよい。 Meanwhile, in the control device 10, the discrimination controller 120 controls the display of the during-shooting screen by the display unit 114 after shooting control in the imaging device 20 has started. The timing to start control of the display of the during-shooting screen may be before or after shooting control in the imaging device 20 has started. In other words, even if the timing to start control of the display of the during-shooting screen is before shooting control in the imaging device 20 has started, it is sufficient that the during-shooting screen continues to be displayed even after shooting control in the imaging device 20 has started.

図12は、撮影中画面の例を示す図である。図12を参照すると、撮影中画面G30が示されている。撮影中画面G30は、鑑別対象の薬剤の種別を変更する操作を受け付けるための種別変更ボタンG31(種別変更オブジェクト)、および、撮影制御を中断する操作を受け付けるための撮影中断ボタンG32(中断操作オブジェクト)を含んでいる。 Fig. 12 is a diagram showing an example of a during-shooting screen. Referring to Fig. 12, a during-shooting screen G30 is shown. The during-shooting screen G30 includes a type change button G31 (type change object) for accepting an operation to change the type of the drug to be identified, and an during-shooting interrupt button G32 (interruption operation object) for accepting an operation to interrupt the shooting control.

鑑別コントローラ120は、操作部112によって種別変更ボタンG31を選択する操作が操作者から受け付けられると、かかる操作が受け付けられたことに基づいて、装置制御部130を介して撮影装置20に対して種別が変更されたことを出力する。撮影装置20において、ハードウェア制御部210は、種別が変更されたことの入力を受け付けると、かかる入力を受け付けたことに基づいて薬剤の種別を変更し、変更後の種別に応じた薬剤の撮影制御を行う。 When the operation of selecting the type change button G31 is received from the operator by the operation unit 112, the differentiation controller 120 outputs to the imaging device 20 via the device control unit 130 that the type has been changed based on the reception of such operation. In the imaging device 20, when the hardware control unit 210 receives input that the type has been changed, it changes the type of the drug based on the reception of such input and controls imaging of the drug according to the changed type.

鑑別コントローラ120は、操作部112によって撮影中断ボタンG32を選択する操作が操作者から受け付けられると、かかる操作が受け付けられたことに基づいて、装置制御部130を介して撮影装置20に対して撮影中断指示を出力する。撮影装置20において、ハードウェア制御部210は、撮影中断指示の入力を受け付けると、かかる入力を受け付けたことに基づいて薬剤の撮影制御を中断し、薬剤をトレイから取り出させるため、トレイ排出口290からトレイが排出されるよう制御する。そして、鑑別コントローラ120は、再び撮影開始画面の表示部114による表示を制御する。 When the operation unit 112 receives an operation from the operator to select the image capture interruption button G32, the identification controller 120 outputs an image capture interruption instruction to the image capture device 20 via the device control unit 130 based on the reception of such operation. In the image capture device 20, when the hardware control unit 210 receives an image capture interruption instruction input, it interrupts image capture control of the medicine based on the reception of such input, and controls the tray to be ejected from the tray ejection port 290 so that the medicine can be removed from the tray. Then, the identification controller 120 again controls the display unit 114 to display the image capture start screen.

種別変更ボタンG31および撮影中断ボタンG32のいずれを選択する操作も入力されなかった場合には、撮影開始画面G20において選択された薬剤の種別に応じた薬剤の撮影制御が行われる。そして、ハードウェア制御部210は、トレイ230が装置筐体220の外部に排出されるように制御するとともに、薬剤が撮影された撮影画像を、装置制御部130を介して鑑別コントローラ120に出力する。鑑別コントローラ120は、薬剤の撮影画像を操作者に確認させるための撮影画像確認画面の表示部114による表示を制御する。 If no operation is input to select either the change type button G31 or the interrupt shooting button G32, shooting control of the drug is performed according to the type of drug selected on the shooting start screen G20. Then, the hardware control unit 210 controls the tray 230 to be discharged to the outside of the device housing 220, and outputs the captured image of the drug to the discrimination controller 120 via the device control unit 130. The discrimination controller 120 controls the display by the display unit 114 of the captured image confirmation screen to allow the operator to confirm the captured image of the drug.

図13は、撮影画像確認画面の例を示す図である。図13を参照すると、撮影画像確認画面G40が示されている。撮影画像確認画面G40は、薬剤の撮影画像G43を含んでいる。さらに、撮影画像確認画面G40は、画像の撮り直しを指示する操作を入力するための再撮影ボタンG41および撮影画像を確定させる操作を入力するための確定ボタンG42を含んでいる。 FIG. 13 is a diagram showing an example of a captured image confirmation screen. Referring to FIG. 13, a captured image confirmation screen G40 is shown. The captured image confirmation screen G40 includes a captured image G43 of a drug. Furthermore, the captured image confirmation screen G40 includes a retake button G41 for inputting an operation to instruct the user to retake an image, and a confirm button G42 for inputting an operation to confirm the captured image.

鑑別コントローラ120は、操作部112によって再撮影ボタンG41を選択する操作が操作者から受け付けられると、再び撮影開始画面の表示部114による表示を制御する。一方、鑑別コントローラ120は、操作部112によって確定ボタンG42を選択する操作が操作者から受け付けられると、薬剤の撮影画像を鑑別部150に出力して鑑別を依頼する。 When the operation unit 112 receives an instruction from the operator to select the re-photograph button G41, the discrimination controller 120 again controls the display unit 114 to display the start of photography screen. On the other hand, when the operation unit 112 receives an instruction from the operator to select the confirm button G42, the discrimination controller 120 outputs the photographed image of the drug to the discrimination unit 150 and requests discrimination.

鑑別部150は、薬剤の撮影画像に基づいて薬剤を鑑別する。鑑別部150は、薬剤データベース170から薬剤ごとのデータベース画像の特徴を取得するとともに、撮影画像の特徴を抽出し、データベース画像と撮影画像との各組み合わせにおける特徴同士の類似度(以下、「類似スコア」とも言う。)を算出する。 The classification unit 150 classifies drugs based on the captured image of the drug. The classification unit 150 acquires the features of the database image for each drug from the drug database 170, extracts the features of the captured image, and calculates the similarity (hereinafter also referred to as the "similarity score") between the features for each combination of the database image and the captured image.

鑑別部150は、撮影画像との類似スコアが高いデータベース画像から順に高い順位を付する。このようにして付された順位は、鑑別対象の薬剤に対する鑑別結果に含まれる。すなわち、鑑別結果には、鑑別対象の薬剤に対応する複数の候補薬剤それぞれのID(薬剤ID)、および、各候補薬剤の類似スコアの順位(例えば、第1候補、第2候補、・・・、第N候補など)が少なくとも含まれ得る。 The discrimination unit 150 assigns a higher rank to the database image having a higher similarity score with the captured image. The rank assigned in this manner is included in the discrimination result for the drug to be discriminated. That is, the discrimination result may include at least the ID (drug ID) of each of the multiple candidate drugs corresponding to the drug to be discriminated, and the similarity score rank of each candidate drug (e.g., first candidate, second candidate, ..., Nth candidate, etc.).

鑑別部150は、このようにして得られた鑑別結果を鑑別コントローラ120に出力する。そして、鑑別コントローラ120は、薬剤の鑑別結果の表示部114による表示を制御する。 The discrimination unit 150 outputs the discrimination results thus obtained to the discrimination controller 120. The discrimination controller 120 then controls the display of the drug discrimination results by the display unit 114.

以上、本発明の第1の実施形態に係る薬剤鑑別システム1の機能構成例について説明した。 The above describes an example of the functional configuration of the drug identification system 1 according to the first embodiment of the present invention.

[1-3.薬剤鑑別システムの動作]
続いて、図14を参照しながら(適宜図1~図13も参照しながら)、本発明の第1の実施形態に係る薬剤鑑別システム1の動作例について説明する。なお、ここでの動作例の説明では、撮影装置20によって撮影された画像を操作者が鑑別対象の画像として採用するまでの手順に着目する。また、以下の動作例において表示部114に表示される各種画面は、薬剤鑑別アプリケーションの機能によって表示され得る。
[1-3. Operation of the drug identification system]
Next, an operation example of the drug discrimination system 1 according to the first embodiment of the present invention will be described with reference to Fig. 14 (and also with reference to Figs. 1 to 13 as appropriate). Note that in the description of the operation example here, attention is focused on the procedure until the operator adopts the image captured by the imaging device 20 as the image to be discriminated. Also, various screens displayed on the display unit 114 in the following operation example can be displayed by the functions of the drug discrimination application.

図14は、本発明の第1の実施形態に係る薬剤鑑別システム1の動作例を説明するためのフローチャートである。図14に示されたように、まず、制御装置10において、鑑別コントローラ120は、トレイの排出を指示する操作を受け付けるためのトレイ排出指示画面G10(図3)の表示部114による表示を制御する(S11)。鑑別コントローラ120は、操作部112によってトレイ排出指示ボタンG11を選択する操作が操作者から受け付けられると、装置制御部130を介して撮影装置20に対してトレイ排出指示を出力する。 Fig. 14 is a flowchart for explaining an example of the operation of the drug discrimination system 1 according to the first embodiment of the present invention. As shown in Fig. 14, first, in the control device 10, the discrimination controller 120 controls the display unit 114 to display a tray discharge instruction screen G10 (Fig. 3) for receiving an instruction to discharge the tray (S11). When the operation unit 112 receives an instruction from the operator to select the tray discharge instruction button G11, the discrimination controller 120 outputs a tray discharge instruction to the imaging device 20 via the device control unit 130.

撮影装置20において、ハードウェア制御部210は、トレイ排出指示の入力を受け付けると、トレイ排出口290からトレイが排出されるよう制御する(S12)。続いて、鑑別コントローラ120は、撮影開始画面G20(図5)の表示部114による表示を制御する(S13)。 In the imaging device 20, when the hardware control unit 210 receives the input of the tray ejection instruction, it controls so that the tray is ejected from the tray ejection port 290 (S12). Next, the discrimination controller 120 controls the display of the imaging start screen G20 (FIG. 5) by the display unit 114 (S13).

操作者は、撮影開始画面G20に表示されている指示に従って、鑑別対象の薬剤をトレイの上に載置する。例えば、鑑別対象の薬剤の種別がバラ薬である場合には、操作者は、シャーレ30(図6)の上に薬剤を載置し、薬剤が載置されたシャーレ30をトレイ230(図7)の受け皿232の上に載置する。一方、鑑別対象の薬剤の種別が一包化薬である場合には、操作者は、一包化薬をトレイ230(図9)の受け皿232の上に直接載置する。 The operator places the drug to be identified on the tray following the instructions displayed on the shooting start screen G20. For example, if the drug to be identified is a loose drug, the operator places the drug on a petri dish 30 (Fig. 6) and places the petri dish 30 with the drug on it on the tray 232 of the tray 230 (Fig. 7). On the other hand, if the drug to be identified is a packaged drug, the operator places the packaged drug directly on the tray 232 of the tray 230 (Fig. 9).

操作者は、鑑別対象の薬剤の種別に応じて、バラ薬選択ボタンG21(図5)、または、一包化薬選択ボタンG22(図5)を選択する操作を操作部112に入力する。操作部112によってバラ薬選択ボタンG21または一包化薬選択ボタンG22を選択する操作が操作者から受け付けられると、鑑別コントローラ120は、装置制御部130を介して撮影装置20に対して薬剤の種別を含んだ撮影開始指示を出力する。 The operator inputs an operation to the operation unit 112 to select the loose drug selection button G21 (FIG. 5) or the packaged drug selection button G22 (FIG. 5) according to the type of drug to be differentiated. When the operation unit 112 accepts an operation to select the loose drug selection button G21 or the packaged drug selection button G22 from the operator, the differentiation controller 120 outputs an image capture start command including the type of drug to the imaging device 20 via the device control unit 130.

さらに、鑑別コントローラ120は、撮影中画面G30(図12)の表示部114による表示を制御する(S14)。撮影中画面G30は、トレイが排出されるまでの間(すなわち、S41が完了するまでの間)、表示され続ける。これによって、操作者は、トレイが排出されるまでの間、撮影中画面G30に含まれる種別変更ボタンG31または撮影中断ボタンG32を選択する操作を入力することによって、鑑別対象の薬剤の種別変更または撮影制御の中断を行わせることが可能である。 Furthermore, the discrimination controller 120 controls the display of the imaging in progress screen G30 (FIG. 12) by the display unit 114 (S14). The imaging in progress screen G30 continues to be displayed until the tray is ejected (i.e., until S41 is completed). This allows the operator to change the type of the drug to be differentiated or interrupt imaging control by inputting an operation to select the type change button G31 or the imaging interruption button G32 included in the imaging in progress screen G30 until the tray is ejected.

撮影装置20において、ハードウェア制御部210は、撮影開始指示の入力を受け付けると、トレイ230が装置筐体220の内部に収容されるよう制御する(S15)。 In the imaging device 20, when the hardware control unit 210 receives an input of an instruction to start imaging, it controls the tray 230 to be stored inside the device housing 220 (S15).

撮影装置20において、ハードウェア制御部210は、撮影開始指示に含まれた薬剤の種別を判定する(S16)。より詳細に、ハードウェア制御部210は、薬剤の種別がバラ薬である場合には(S16において「バラ薬」)、S21に動作を移行させる。一方、ハードウェア制御部210は、薬剤の種別が一包化薬である場合には(S16において「一包化薬」)、S31に動作を移行させる。 In the imaging device 20, the hardware control unit 210 determines the type of medication included in the imaging start instruction (S16). More specifically, if the type of medication is a loose medication ("Bulk Medication" in S16), the hardware control unit 210 transitions the operation to S21. On the other hand, if the type of medication is a packaged medication ("Packaged Medication" in S16), the hardware control unit 210 transitions the operation to S31.

S21に動作が移行すると、ハードウェア制御部210は、薬剤の種別がバラ薬である場合における撮影制御の全体のうち、S22の種別変更判定までに行われる撮影制御(以下、「バラ薬撮影制御1」とも言う。)を行う(S21)。そして、S22に動作が移行される。ここでは、バラ薬撮影制御1が、トレイ230(図11)をトレイ230-2の位置まで移動させる動作を含む場合を想定する。しかし、後にも説明するように、バラ薬撮影制御1が含む動作は、かかる動作に限定されない。 When the operation proceeds to S21, the hardware control unit 210 performs the imaging control (hereinafter also referred to as "Bulk Drug Imaging Control 1") that is performed up until the type change determination in S22, among the entire imaging control when the type of drug is bulk drug (S21). Then, the operation proceeds to S22. Here, it is assumed that bulk drug imaging control 1 includes an operation of moving tray 230 (Figure 11) to the position of tray 230-2. However, as will be explained later, the operations included in bulk drug imaging control 1 are not limited to such operations.

S31に動作が移行すると、ハードウェア制御部210は、薬剤の種別が一包化薬である場合における撮影制御の全体のうち、S32の種別変更判定までに行われる撮影制御(以下、「一包化薬撮影制御1」とも言う。)を行う(S31)。そして、S32に動作が移行される。ここでは、一包化薬撮影制御1が、トレイ230(図11)をトレイ230-3の位置まで移動させる動作、トレイ230-3の位置において薬剤が撮影されるようにカメラを制御する動作、および、トレイ230をトレイ230-4の位置まで移動させる動作を含む場合を想定する。しかし、後にも説明するように、一包化薬撮影制御1が含む動作は、かかる動作に限定されない。 When the operation proceeds to S31, the hardware control unit 210 performs the imaging control (hereinafter also referred to as "single-drug imaging control 1") that is performed up until the type change determination in S32, among the entire imaging control when the type of the drug is a single-drug package (S31). Then, the operation proceeds to S32. Here, it is assumed that the single-drug imaging control 1 includes an operation of moving the tray 230 (FIG. 11) to the position of tray 230-3, an operation of controlling the camera so that the drug is photographed at the position of tray 230-3, and an operation of moving the tray 230 to the position of tray 230-4. However, as will be explained later, the operations included in the single-drug imaging control 1 are not limited to such operations.

S22に動作が移行すると、鑑別コントローラ120は、種別変更判定を行う(S22)。すなわち、鑑別コントローラ120は、操作部112によって種別変更ボタンG31(図12)を選択する操作が操作者から受け付けられた場合(S22において「YES」)、装置制御部130を介して撮影装置20に対して種別が変更されたことを出力する。かかる判定によって種別変更が簡単に行われ得る。撮影装置20において、ハードウェア制御部210は、種別が変更されたことの入力を受け付けると、かかる入力を受け付けたことに基づいて薬剤の種別を変更し、変更後の種別に応じたS31の動作に移行する。 When the operation proceeds to S22, the discrimination controller 120 performs a type change determination (S22). That is, when the discrimination controller 120 receives an operation from the operator to select the type change button G31 (FIG. 12) by the operation unit 112 ("YES" in S22), it outputs to the imaging device 20 via the device control unit 130 that the type has been changed. Such a determination allows the type to be easily changed. In the imaging device 20, when the hardware control unit 210 receives an input that the type has been changed, it changes the type of the drug based on the reception of the input, and proceeds to the operation of S31 according to the changed type.

なお、S31では、一包化薬撮影制御1として、トレイ230(図11)をトレイ230-3の位置まで移動させる動作が行われるが、S21において既にトレイ230がトレイ230-2の位置まで移動している場合は、トレイ230-2の位置からトレイ230-3の位置まで移動させる動作を行う。トレイ230を排出してから撮影開始画面G20(図5)において種別を選択し直す一般的な技術では、装置筐体220の外部に一度排出されたトレイ230をトレイ230-3の位置まで移動させる必要があったことに比べると、処理時間の短縮が期待され得る。 In S31, the tray 230 (FIG. 11) is moved to the position of tray 230-3 as the packaged drug photographing control 1, but if the tray 230 has already been moved to the position of tray 230-2 in S21, the tray 230 is moved from the position of tray 230-2 to the position of tray 230-3. This is expected to reduce processing time compared to the general technology in which the tray 230 is ejected and then the type is reselected on the photographing start screen G20 (FIG. 5), in which the tray 230, once ejected outside the device housing 220, must be moved to the position of tray 230-3.

一方、鑑別コントローラ120は、操作部112によって種別変更ボタンG31(図12)を選択する操作が操作者から受け付けられない場合(S22において「NO」)、S23に動作を移行させる。 On the other hand, if the operation of selecting the type change button G31 (FIG. 12) using the operation unit 112 is not accepted by the operator ("NO" in S22), the discrimination controller 120 transitions the operation to S23.

S32に動作が移行すると、鑑別コントローラ120は、種別変更判定を行う(S32)。すなわち、鑑別コントローラ120は、操作部112によって種別変更ボタンG31(図12)を選択する操作が操作者から受け付けられた場合(S32において「YES」)、装置制御部130を介して撮影装置20に対して種別が変更されたことを出力する。かかる判定によって種別変更が簡単に行われ得る。撮影装置20において、ハードウェア制御部210は、種別が変更されたことの入力を受け付けると、かかる入力を受け付けたことに基づいて薬剤の種別を変更し、変更後の種別に応じたS21の動作に移行する。 When the operation proceeds to S32, the discrimination controller 120 performs a type change determination (S32). That is, when the discrimination controller 120 receives an operation from the operator to select the type change button G31 (FIG. 12) via the operation unit 112 ("YES" in S32), it outputs to the imaging device 20 via the device control unit 130 that the type has been changed. Such a determination allows the type to be easily changed. In the imaging device 20, when the hardware control unit 210 receives an input that the type has been changed, it changes the type of the drug based on the reception of the input, and proceeds to the operation of S21 according to the changed type.

なお、S21では、バラ薬撮影制御1として、トレイ230(図11)をトレイ230-2の位置まで移動させる動作が行われるが、S31において既にトレイ230がトレイ230-4の位置まで移動している場合は、トレイ230-4の位置からトレイ230-2の位置まで移動させる動作を行う。トレイ230を排出してから撮影開始画面G20(図5)において種別を選択し直す一般的な技術では、装置筐体220の外部に一度排出されたトレイ230をトレイ230-2の位置まで移動させる必要があったことに比べると、処理時間の短縮が期待され得る。 In S21, as loose medicine photography control 1, an operation is performed to move tray 230 (FIG. 11) to the position of tray 230-2, but if tray 230 has already moved to the position of tray 230-4 in S31, an operation is performed to move tray 230 from the position of tray 230-4 to the position of tray 230-2. This is expected to reduce processing time compared to the general technology in which tray 230 is ejected and then the type is reselected on photography start screen G20 (FIG. 5), in which tray 230, once ejected outside device housing 220, must be moved to the position of tray 230-2.

一方、鑑別コントローラ120は、操作部112によって種別変更ボタンG31(図12)を選択する操作が操作者から受け付けられない場合(S32において「NO」)、S33に動作を移行させる。 On the other hand, if the discrimination controller 120 does not accept an operation from the operator to select the type change button G31 (FIG. 12) using the operation unit 112 ("NO" in S32), the discrimination controller 120 transitions the operation to S33.

S23に動作が移行すると、鑑別コントローラ120は、撮影中断判定を行う(S23)。すなわち、鑑別コントローラ120は、操作部112によって撮影中断ボタンG32(図12)を選択する操作が操作者から受け付けられた場合(S23において「YES」)、装置制御部130を介して撮影装置20に対して撮影中断指示を出力する。撮影中断は、種別変更と異なり、トレイ230を装置筐体220の外部に排出する。そのため、撮影中断は、トレイ230に載置する薬剤を誤ってしまい薬剤をトレイ230に載置し直したい場合などに好適である。 When the operation proceeds to S23, the discrimination controller 120 performs a determination as to whether or not to suspend imaging (S23). That is, when the discrimination controller 120 receives an operation from the operator to select the imaging suspension button G32 (FIG. 12) via the operation unit 112 ("YES" in S23), it outputs an instruction to suspend imaging to the imaging device 20 via the device control unit 130. Unlike a type change, suspending imaging ejects the tray 230 to the outside of the device housing 220. Therefore, suspending imaging is suitable for cases such as when the wrong medicine is placed on the tray 230 and the medicine needs to be placed on the tray 230 again.

撮影装置20において、ハードウェア制御部210は、撮影中断指示の入力を受け付けた場合、薬剤の撮影制御を中断し、薬剤をトレイから取り出させるため、トレイ排出口290からトレイが排出されるよう制御する(S24)。そして、S13に動作が移行される。 When the hardware control unit 210 of the imaging device 20 receives an input of an instruction to interrupt imaging, it interrupts the imaging control of the medicine and controls the tray to be ejected from the tray ejection port 290 so that the medicine can be removed from the tray (S24). Then, the operation proceeds to S13.

一方、鑑別コントローラ120は、操作部112によって撮影中断ボタンG32(図12)を選択する操作が操作者から受け付けられない場合(S23において「NO」)、S25に動作を移行させる。 On the other hand, if the operation of selecting the shooting interruption button G32 (FIG. 12) is not accepted from the operator via the operation unit 112 ("NO" in S23), the discrimination controller 120 transitions the operation to S25.

S33に動作が移行すると、鑑別コントローラ120は、撮影中断判定を行う(S33)。すなわち、鑑別コントローラ120は、操作部112によって撮影中断ボタンG32(図12)を選択する操作が操作者から受け付けられた場合(S33において「YES」)、装置制御部130を介して撮影装置20に対して撮影中断指示を出力する。 When the operation proceeds to S33, the identification controller 120 performs a shooting interruption determination (S33). That is, when the operation unit 112 receives an operation to select the shooting interruption button G32 (FIG. 12) from the operator ("YES" in S33), the identification controller 120 outputs a shooting interruption instruction to the shooting device 20 via the device control unit 130.

撮影装置20において、ハードウェア制御部210は、撮影中断指示の入力を受け付けた場合、薬剤の撮影制御を中断し、薬剤をトレイから取り出させるため、トレイ排出口290からトレイが排出されるよう制御する(S34)。そして、S13に動作が移行される。 When the hardware control unit 210 of the imaging device 20 receives an input of an instruction to interrupt imaging, it interrupts the imaging control of the medicine and controls the tray to be ejected from the tray ejection port 290 so that the medicine can be removed from the tray (S34). Then, the operation proceeds to S13.

一方、鑑別コントローラ120は、操作部112によって撮影中断ボタンG32(図12)を選択する操作が操作者から受け付けられない場合(S33において「NO」)、S35に動作を移行させる。 On the other hand, if the discrimination controller 120 does not accept an operation from the operator to select the shooting interruption button G32 (Figure 12) via the operation unit 112 ("NO" in S33), the discrimination controller 120 transitions the operation to S35.

S25に動作が移行すると、ハードウェア制御部210は、薬剤の種別がバラ薬である場合における撮影制御の全体のうち、S21のバラ薬撮影制御1の続きから最後までに行われる撮影制御(以下、「バラ薬撮影制御2」とも言う。)を行う(S25)。そして、S41に動作が移行される。ここでは、バラ薬撮影制御2が、S21のバラ薬撮影制御1によってトレイ230-2(図11)の位置に停止しているトレイ230に載置された薬剤が撮影されるようにカメラを制御する動作を含む場合を想定する。しかし、後にも説明するように、バラ薬撮影制御2が含む動作は、かかる動作に限定されない。 When the operation proceeds to S25, the hardware control unit 210 performs the imaging control (hereinafter also referred to as "Bulk Medicine Imaging Control 2") that is performed from the continuation of bulk medicine imaging control 1 of S21 to the end of the entire imaging control when the type of medicine is bulk medicine (S25). Then, the operation proceeds to S41. Here, it is assumed that bulk medicine imaging control 2 includes an operation of controlling the camera so that the medicine placed on tray 230 stopped at the position of tray 230-2 (Figure 11) is imaged by bulk medicine imaging control 1 of S21. However, as will be explained later, the operations included in bulk medicine imaging control 2 are not limited to such operations.

S35に動作が移行すると、ハードウェア制御部210は、薬剤の種別が一包化薬である場合における撮影制御の全体のうち、S31の一包化薬撮影制御1の続きから最後までに行われる撮影制御(以下、「一包化薬撮影制御2」とも言う。)を行う(S35)。そして、S41に動作が移行される。ここでは、一包化薬撮影制御2が、S31の一包化薬撮影制御1によってトレイ230-4(図11)の位置に停止しているトレイ230に載置された薬剤が撮影されるようにカメラを制御する動作、トレイ230をトレイ230-5の位置まで移動させる動作、および、トレイ230-5の位置において薬剤が撮影されるようにカメラを制御する動作を含む場合を想定する。しかし、後にも説明するように、一包化薬撮影制御2が含む動作は、かかる動作に限定されない。 When the operation proceeds to S35, the hardware control unit 210 performs the imaging control (hereinafter also referred to as "single-packaged drug imaging control 2") that is performed from the continuation of S31 single-packaged drug imaging control 1 to the end of the entire imaging control when the type of drug is a single-packaged drug (S35). Then, the operation proceeds to S41. Here, it is assumed that single-packaged drug imaging control 2 includes an operation of controlling the camera so that the drug placed on the tray 230 stopped at the position of tray 230-4 (FIG. 11) by single-packaged drug imaging control 1 of S31 is imaged, an operation of moving the tray 230 to the position of tray 230-5, and an operation of controlling the camera so that the drug is imaged at the position of tray 230-5. However, as will be explained later, the operations included in single-packaged drug imaging control 2 are not limited to these operations.

ハードウェア制御部210は、トレイ230が装置筐体220の外部に排出されるように制御するとともに(S41)、薬剤が撮影された撮影画像を、装置制御部130を介して鑑別コントローラ120に出力する。鑑別コントローラ120は、薬剤の撮影画像を操作者に確認させるための撮影画像確認画面G40(図13)の表示部114による表示を制御する(S42)。操作者は、表示された撮影画像を確認し、撮影画像を鑑別に使う画像として採用する場合には、確定ボタンG42を選択する操作を入力し、画像を取り直させたい場合には、再撮影ボタンG41を選択する操作を入力する。 The hardware control unit 210 controls the tray 230 to be ejected outside the device housing 220 (S41), and outputs the captured image of the drug to the discrimination controller 120 via the device control unit 130. The discrimination controller 120 controls the display unit 114 to display a captured image confirmation screen G40 (FIG. 13) for allowing the operator to confirm the captured image of the drug (S42). The operator confirms the displayed captured image, and if the captured image is to be used for discrimination, inputs an operation to select the confirm button G42, or if the operator wishes to retake the image, inputs an operation to select the retake button G41.

鑑別コントローラ120は、撮り直し判定を行う(S43)。すなわち、鑑別コントローラ120は、操作部112によって再撮影ボタンG41を選択する操作が操作者から受け付けられると、S13に動作を移行させる。一方、鑑別コントローラ120は、操作部112によって確定ボタンG42を選択する操作が操作者から受け付けられると、薬剤の撮影画像を鑑別部150に出力して鑑別を依頼する。 The discrimination controller 120 performs a re-shooting determination (S43). That is, when the discrimination controller 120 receives an operation from the operator to select the re-shoot button G41 via the operation unit 112, the discrimination controller 120 transitions the operation to S13. On the other hand, when the discrimination controller 120 receives an operation from the operator to select the confirm button G42 via the operation unit 112, the discrimination controller 120 outputs the photographed image of the drug to the discrimination unit 150 and requests discrimination.

以上、本発明の第1の実施形態に係る薬剤鑑別システム1の動作例について説明した。 The above describes an example of the operation of the drug identification system 1 according to the first embodiment of the present invention.

[1-3.第1の実施形態の効果]
以上に説明したように、本発明の第1の実施形態に係る薬剤鑑別システム1によれば、操作者は撮影制御の開始後に薬剤の種別を変更したい場合、撮影中画面の種別変更ボタンを押すだけでよい。そのため、薬剤の撮影が完了し、トレイが装置筐体の外部に排出されるのを待った後に撮り直し指示を出し、正しい種別を選択し直すといった操作が必要なくなる。
[1-3. Effects of the first embodiment]
As described above, according to the medicine discrimination system 1 according to the first embodiment of the present invention, when the operator wants to change the medicine type after starting the image capture control, he or she only needs to press the type change button on the image capture screen. Therefore, it is not necessary to perform operations such as issuing an instruction to re-capture the medicine after the image capture of the medicine is completed and waiting for the tray to be discharged outside the device housing, and then reselecting the correct medicine type.

また、本発明の第1の実施形態に係る薬剤鑑別システム1によれば、薬剤の種別の変更のみならずトレイの上に載置された薬剤を置き替えて撮影し直したい場合などには、撮影中断ボタンを押して撮影を中断させることも可能である。これにより、操作者の作業が単純になり、さらに撮影が完了するのを待つ必要がなくなるので作業時間の短縮が期待される。 In addition, with the drug identification system 1 according to the first embodiment of the present invention, when it is necessary not only to change the type of drug but also to replace the drug placed on the tray and retake the image, it is possible to interrupt the image capture by pressing the image capture interruption button. This simplifies the work of the operator, and is expected to reduce the work time because it is no longer necessary to wait for the image capture to be completed.

[1-4.第1の実施形態の変形例]
上記した例では、図14に示されるように、バラ薬撮影制御1(S21)とバラ薬撮影制御2(S25)との間に、種別変更判定(S22)および撮影中断判定(S23)が行われ、一包化薬撮影制御1(S31)と一包化薬撮影制御1(S35)との間に、種別変更判定(S32)および撮影中断判定(S33)が行われる場合について主に説明した。しかし、種別変更判定および撮影中断判定が行われるタイミングは、かかる例に限定されない。
[1-4. Modification of the first embodiment]
In the above example, as shown in Fig. 14, the type change judgment (S22) and the shooting interruption judgment (S23) are made between the loose medicine shooting control 1 (S21) and the loose medicine shooting control 2 (S25), and the type change judgment (S32) and the shooting interruption judgment (S33) are made between the packaged medicine shooting control 1 (S31) and the packaged medicine shooting control 1 (S35). However, the timing of the type change judgment and the shooting interruption judgment is not limited to this example.

例えば、種別変更判定および撮影中断判定は、撮影制御に含まれる段階ごとに行われてもよい。これによって、操作者による種別変更の指示または撮影中断の指示がよりタイムリーに反映され、処理時間の短縮が期待される。 For example, the type change decision and the shooting interruption decision may be made for each stage included in the shooting control. This allows the operator's instruction to change the type or interrupt shooting to be reflected in a more timely manner, which is expected to reduce processing time.

すなわち、薬剤の種別がバラ薬である場合、種別変更判定および撮影中断判定は、トレイ230-2(図11)の位置にトレイ230が移動した後、および、トレイ230-2の位置において薬剤が撮影された後のそれぞれに行われてもよい。 In other words, if the type of medication is loose medication, the decision to change the type and the decision to stop photographing may be made after the tray 230 moves to the position of tray 230-2 (Figure 11) and after the medication is photographed at the position of tray 230-2.

一方、薬剤の種別が一包化薬である場合、種別変更判定および撮影中断判定は、トレイ230-3の位置にトレイ230が移動した後、トレイ230-3の位置において薬剤が撮影された後、トレイ230-4の位置にトレイ230が移動した後、トレイ230-4の位置において薬剤が撮影された後、トレイ230-5の位置にトレイ230が移動した後、および、トレイ230-5の位置において薬剤が撮影された後のそれぞれに行われてもよい。 On the other hand, if the type of medication is a single-dose medication, the type change judgment and the photographing interruption judgment may be made after the tray 230 moves to the position of tray 230-3, after the medication is photographed at the position of tray 230-3, after the tray 230 moves to the position of tray 230-4, after the medication is photographed at the position of tray 230-4, after the tray 230 moves to the position of tray 230-5, and after the medication is photographed at the position of tray 230-5.

あるいは、種別変更判定および撮影中断判定は、撮影制御が終わった後に行われてもよい。 Alternatively, the type change decision and shooting interruption decision may be made after shooting control ends.

以上、本発明の第1の実施形態について説明した。 The above describes the first embodiment of the present invention.

<2.第2の実施形態>
続いて、本発明の第2の実施形態について説明する。本発明の第2の実施形態に係る薬剤鑑別システム1の構成例を示す図として、本発明の第1の実施形態に係る薬剤鑑別システム1の構成例を示す図(図1)を用いる。
2. Second embodiment
Next, a second embodiment of the present invention will be described. As a diagram showing an example of the configuration of a drug discrimination system 1 according to the second embodiment of the present invention, the diagram ( FIG. 1 ) showing an example of the configuration of the drug discrimination system 1 according to the first embodiment of the present invention will be used.

[2-1.薬剤鑑別システムの機能構成]
まず、本発明の第2の実施形態に係る薬剤鑑別システム1の機能構成例について説明する。本発明の第2の実施形態に係る薬剤鑑別システム1の機能構成例を示す図として、本発明の第1の実施形態に係る薬剤鑑別システム1の機能構成例を示す図(図2)を用いる。以下では、本発明の第2の実施形態に係る薬剤鑑別システム1の機能のうち、本発明の第1の実施形態に係る薬剤鑑別システム1の機能と異なる機能について主に説明する。
[2-1. Functional configuration of the drug identification system]
First, an example of the functional configuration of a drug discrimination system 1 according to a second embodiment of the present invention will be described. As a diagram showing an example of the functional configuration of a drug discrimination system 1 according to the second embodiment of the present invention, the diagram ( FIG. 2 ) showing an example of the functional configuration of a drug discrimination system 1 according to the first embodiment of the present invention will be used. Below, of the functions of the drug discrimination system 1 according to the second embodiment of the present invention, functions that are different from the functions of the drug discrimination system 1 according to the first embodiment of the present invention will be mainly described.

本発明の第1の実施形態においては、撮影開始画面G20(図5)においてバラ薬選択ボタンG21および一包化薬選択ボタンG22のいずれが選択されたかに応じて、薬剤の種別が認識される場合を主に説明した。一方、本発明の第2の実施形態においては、薬剤が一包化薬である場合には、薬剤がトレイ230(図9)に直接載置され、薬剤がバラ薬である場合には、薬剤がシャーレ30(図7)を介してトレイ230に直接載置されることに着眼する。 In the first embodiment of the present invention, a case has been mainly described in which the type of drug is recognized depending on whether the loose drug selection button G21 or the packaged drug selection button G22 is selected on the shooting start screen G20 (Fig. 5). On the other hand, in the second embodiment of the present invention, attention is focused on the fact that if the drug is a packaged drug, the drug is placed directly on the tray 230 (Fig. 9), and if the drug is a loose drug, the drug is placed directly on the tray 230 via the petri dish 30 (Fig. 7).

すなわち、ハードウェア制御部210は、所定の検出データに基づいて、鑑別対象の薬剤がトレイ230(図9)に直接載置されているかシャーレ30(図7)を介してトレイ230に載置されているかを認識することにより薬剤の種別を認識する認識部として機能する。これによって、操作者による薬剤の種別を選択する操作の誤りがなくなり、作業の正確性の向上および作業効率の向上が期待される。 That is, the hardware control unit 210 functions as a recognition unit that recognizes the type of drug by recognizing whether the drug to be identified is placed directly on the tray 230 (FIG. 9) or on the tray 230 via a petri dish 30 (FIG. 7) based on predetermined detection data. This eliminates operational errors by the operator when selecting the type of drug, and is expected to improve the accuracy and efficiency of work.

後の変形例において説明するように、検出データとしては様々な種類のデータが使用され得るが、ここでは、検出データとして、カメラ250(図10)によって撮影された画像データが使用される場合を主に想定する。以下では、このような薬剤の種別の認識について詳細に説明する。 As will be explained in a later modified example, various types of data can be used as the detection data, but here we will mainly assume that image data captured by the camera 250 (Figure 10) is used as the detection data. The following describes in detail how to recognize the type of drug.

本発明の第1の実施形態と同様に、鑑別コントローラ120は、トレイ排出指示画面G10(図3)の表示部114による表示を制御し、鑑別コントローラ120は、操作部112によってトレイ排出指示ボタンG11を選択する操作が操作者から受け付けられると、装置制御部130を介して撮影装置20に対してトレイ排出指示を出力する。撮影装置20において、ハードウェア制御部210は、トレイ排出指示の入力を受け付けると、トレイ排出口290からトレイが排出されるよう制御する。 As in the first embodiment of the present invention, the discrimination controller 120 controls the display of the tray ejection instruction screen G10 (FIG. 3) by the display unit 114, and when the discrimination controller 120 receives an operation from the operator to select the tray ejection instruction button G11 by the operation unit 112, it outputs a tray ejection instruction to the imaging device 20 via the device control unit 130. In the imaging device 20, when the hardware control unit 210 receives the input of the tray ejection instruction, it controls the tray to be ejected from the tray ejection port 290.

鑑別コントローラ120は、撮影開始画面の表示部114による表示を制御する。 The identification controller 120 controls the display of the start shooting screen on the display unit 114.

図15は、撮影開始画面の例を示す図である。図15を参照すると、撮影開始画面G50が示されている。本発明の第1の実施形態においては、撮影開始画面G20(図5)にバラ薬選択ボタンG21および一包化薬選択ボタンG22が含まれていたが、本発明の第2の実施形態においては、バラ薬選択ボタンG21および一包化薬選択ボタンG22の代わりに、撮影開始ボタンG51が撮影開始画面G50に含まれている。 Figure 15 is a diagram showing an example of a shooting start screen. Referring to Figure 15, shooting start screen G50 is shown. In the first embodiment of the present invention, the shooting start screen G20 (Figure 5) included a loose medicine selection button G21 and a packaged medicine selection button G22, but in the second embodiment of the present invention, instead of the loose medicine selection button G21 and the packaged medicine selection button G22, a shooting start button G51 is included in the shooting start screen G50.

装置筐体220の外部に露出されたトレイ230の上に、鑑別対象の薬剤が操作者によって載置され、操作部112によって撮影開始ボタンG51を選択する操作が操作者から受け付けられると、鑑別コントローラ120は、装置制御部130を介して撮影装置20に対して撮影開始指示を出力する。このとき、撮影開始指示には、薬剤の種別が含まれていなくてよい。 When the operator places the drug to be identified on the tray 230 exposed to the outside of the device housing 220 and the operation unit 112 accepts an operation from the operator to select the image capture start button G51, the identification controller 120 outputs an image capture start instruction to the image capture device 20 via the device control unit 130. At this time, the image capture start instruction does not need to include the type of drug.

撮影装置20において、ハードウェア制御部210は、撮影開始指示の入力を受け付けると、トレイ230が装置筐体220の内部に収容されるよう制御する。ハードウェア制御部210は、カメラ250(図10)によって撮影可能な位置にトレイ230を移動させ、カメラ250によってトレイ230が撮影されるようにカメラ250を制御する。 In the photographing device 20, when the hardware control unit 210 receives an input of an instruction to start photographing, it controls the tray 230 to be accommodated inside the device housing 220. The hardware control unit 210 moves the tray 230 to a position where the camera 250 (FIG. 10) can photograph the tray 230, and controls the camera 250 so that the tray 230 is photographed by the camera 250.

ハードウェア制御部210は、カメラ250による撮影によって得られた画像データに基づいて、鑑別対象の薬剤がトレイ230(図9)に直接載置されているかシャーレ30(図7)を介してトレイ230に載置されているかを認識することにより薬剤の種別を認識する。以下では、画像データに基づいて薬剤の種別を認識する手法の例について説明する。 The hardware control unit 210 recognizes the type of drug by determining whether the drug to be identified is placed directly on the tray 230 (FIG. 9) or on the tray 230 via a petri dish 30 (FIG. 7) based on image data obtained by photographing with the camera 250. Below, an example of a method for recognizing the type of drug based on image data is described.

図16は、画像データに基づいて薬剤の種別を認識する手法の例について説明するための図である。 Figure 16 is a diagram illustrating an example of a method for recognizing the type of drug based on image data.

鑑別対象の薬剤がバラ薬である場合には、図16に示されるように、トレイ230の受け皿232の上にシャーレ30が載置されるため、透明な材質によって構成された受け皿232のうち、図16において斜線で示されたエリアR1がシャーレ30の不透明材質エリア31によって覆われる。一方、鑑別対象の薬剤が一包化薬である場合には、トレイ230の受け皿232の上に一包化薬が直接載置されるため、図16において斜線で示されたエリアR1の大部分が不透明な材質によって覆われることはない。 When the drug to be identified is a loose drug, as shown in FIG. 16, the petri dish 30 is placed on the receptacle 232 of the tray 230, and the area R1 of the receptacle 232, which is made of a transparent material and is indicated by hatched lines in FIG. 16, is covered by the opaque material area 31 of the petri dish 30. On the other hand, when the drug to be identified is a packaged drug, the packaged drug is placed directly on the receptacle 232 of the tray 230, and most of the area R1 indicated by hatched lines in FIG. 16 is not covered by the opaque material.

そこで、鑑別コントローラ120は、透明な材質によって構成された受け皿232のうち、シャーレ30の不透明材質エリア31によって覆われるエリアR1の位置をあらかじめ把握しておき、画像データにおいてエリアR1が不透明な材質によって覆われているか(例えば、輝度が閾値より低いか否か)を認識することにより、鑑別対象の薬剤の種別がバラ薬であるか一包化薬であるかを認識すればよい。その後、本発明の第1の実施形態と同様に、ハードウェア制御部210によって、薬剤の種別に応じた薬剤の撮影制御が行われる。 The discrimination controller 120 therefore determines in advance the position of area R1 of the tray 232 made of a transparent material that is covered by the opaque material area 31 of the petri dish 30, and recognizes whether area R1 is covered by an opaque material in the image data (e.g., whether the brightness is lower than a threshold value), thereby recognizing whether the type of drug to be discriminated is a loose drug or a packaged drug. Thereafter, as in the first embodiment of the present invention, the hardware control unit 210 controls the imaging of the drug according to the type of drug.

以上、本発明の第2の実施形態に係る薬剤鑑別システム1の機能構成例について説明した。 The above describes an example of the functional configuration of the drug identification system 1 according to the second embodiment of the present invention.

[2-2.薬剤鑑別システムの動作]
続いて、本発明の第2の実施形態に係る薬剤鑑別システム1の動作例について説明する。ここでも、本発明の第1の実施形態に係る薬剤鑑別システム1の動作例の説明に用いた図14を用いて説明する。まず、本発明の第1の実施形態と同様に、図14に示したS11~S12が実行される。鑑別コントローラ120は、撮影開始画面G50(図15)の表示部114による表示を制御する(S13)。
[2-2. Operation of the Drug Identification System]
Next, an example of the operation of the drug discrimination system 1 according to the second embodiment of the present invention will be described. Again, the explanation will be given with reference to FIG. 14 used in the explanation of the example of the operation of the drug discrimination system 1 according to the first embodiment of the present invention. First, S11 to S12 shown in FIG. 14 are executed in the same manner as in the first embodiment of the present invention. The discrimination controller 120 controls the display of the imaging start screen G50 (FIG. 15) by the display unit 114 (S13).

操作者は、撮影開始画面G50に表示されている指示に従って、鑑別対象の薬剤をトレイの上に載置する。操作者は、鑑別対象の薬剤の種別に関わらず、撮影開始ボタンG51を選択する操作を操作部112に入力する。操作部112によって撮影開始ボタンG51を選択する操作が操作者から受け付けられると、鑑別コントローラ120は、装置制御部130を介して撮影装置20に対して撮影開始指示を出力する。 The operator places the drug to be identified on the tray according to the instructions displayed on the imaging start screen G50. Regardless of the type of drug to be identified, the operator inputs an operation to select the imaging start button G51 to the operation unit 112. When the operation unit 112 accepts an operation to select the imaging start button G51 from the operator, the identification controller 120 outputs an imaging start instruction to the imaging device 20 via the device control unit 130.

本発明の第1の実施形態と同様に、図14に示したS14~S15が実行される。 Similar to the first embodiment of the present invention, steps S14 to S15 shown in FIG. 14 are executed.

ハードウェア制御部210は、カメラ250(図10)によって撮影可能な位置にトレイ230を移動させ、カメラ250によってトレイ230が撮影されるようにカメラ250を制御する。ここで、トレイ230を撮影する位置は特に限定されない。例えば、トレイ230を撮影する位置は、バラ薬を撮影する撮影位置であってもよいし、一包化薬を撮影する最初の撮影位置であってもよい。 The hardware control unit 210 moves the tray 230 to a position where the camera 250 (FIG. 10) can capture an image of the tray 230, and controls the camera 250 so that the tray 230 is captured by the camera 250. Here, the position at which the tray 230 is captured is not particularly limited. For example, the position at which the tray 230 is captured may be the capture position for capturing an image of loose medicine, or the initial capture position for capturing an image of a packaged medicine.

ハードウェア制御部210は、画像データに基づいて、鑑別対象の薬剤がトレイ230(図9)に直接載置されているかシャーレ30(図7)を介してトレイ230に載置されているかを認識することにより薬剤の種別を認識する(S16)。一例として、ハードウェア制御部210は、画像データにおいてエリアR1(図16)が不透明な材質によって覆われているかを認識することにより、鑑別対象の薬剤の種別がバラ薬であるか一包化薬であるかを認識する。 The hardware control unit 210 recognizes the type of drug by recognizing whether the drug to be identified is placed directly on the tray 230 (FIG. 9) or on the tray 230 via a petri dish 30 (FIG. 7) based on the image data (S16). As an example, the hardware control unit 210 recognizes whether the type of drug to be identified is a loose drug or a packaged drug by recognizing whether area R1 (FIG. 16) in the image data is covered by an opaque material.

ハードウェア制御部210によって鑑別対象の薬剤の種別がバラ薬であると認識された場合には、S21に動作が移行される。一方、ハードウェア制御部210によって鑑別対象の薬剤の種別が一包化薬であると認識された場合には、S31に動作が移行される。以降の動作は、本発明の第1の実施形態と同様に実行される。 When the hardware control unit 210 recognizes that the type of the drug to be differentiated is a loose drug, the operation proceeds to S21. On the other hand, when the hardware control unit 210 recognizes that the type of the drug to be differentiated is a packaged drug, the operation proceeds to S31. The subsequent operations are performed in the same manner as in the first embodiment of the present invention.

以上、本発明の第2の実施形態に係る薬剤鑑別システム1の動作例について説明した。 The above describes an example of the operation of the drug identification system 1 according to the second embodiment of the present invention.

[2-3.第2の実施形態の効果]
以上に説明したように、鑑別対象の薬剤の種別が薬剤鑑別システム1によって認識される。これによって、操作者による薬剤の種別を選択する操作の誤りがなくなり、作業の正確性の向上および作業効率の向上が期待される。
[2-3. Effects of the second embodiment]
As described above, the type of the medicine to be distinguished is recognized by the medicine distinguishing system 1. This eliminates the possibility of an operator making an error in selecting the type of medicine, and is expected to improve the accuracy and efficiency of the work.

[2-4.第2の実施形態の変形例]
上記した例では、薬剤の種別の認識に使用される検出データの例として画像データが使用される場合について主に説明した。しかし、検出データは、画像データに限定されない。
[2-4. Modification of the second embodiment]
In the above example, the case where image data is used as an example of the detection data used to recognize the type of medicine has been mainly described, but the detection data is not limited to image data.

例えば、検出データは、光センサによって検出されたセンサデータなどであってもよい。このとき、ハードウェア制御部210は、S15(図14)においてトレイ230が装置筐体220の内部に収容されたときに、光センサによって検出されたエリアR1のセンサデータを取得し、センサデータにおいてエリアR1が不透明な材質によって覆われているか(例えば、遮光されているか否か)を認識することにより、鑑別対象の薬剤の種別がバラ薬であるか一包化薬であるかを認識してもよい。 For example, the detection data may be sensor data detected by an optical sensor. In this case, the hardware control unit 210 may acquire sensor data of area R1 detected by an optical sensor when the tray 230 is accommodated inside the device housing 220 in S15 (FIG. 14), and recognize whether area R1 is covered by an opaque material in the sensor data (e.g., whether it is light-shielded or not), thereby recognizing whether the type of drug to be identified is a loose drug or a packaged drug.

なお、トレイ位置検出センサ240が光センサによって構成される場合には、光センサとしてトレイ位置検出センサ240が使用されてもよい。 In addition, if the tray position detection sensor 240 is configured as an optical sensor, the tray position detection sensor 240 may be used as an optical sensor.

あるいは、検出データは、トレイ230に設けた重量センサによって計測された重量データなどであってもよい。このとき、S12(図14)においてトレイ230が装置筐体220の外部に排出されたときに、トレイ230に載置されている物体の重量が重量センサによって計測され、ハードウェア制御部210は、トレイ230に載置されている物体の重量がシャーレ30の重量に該当するか(例えば、閾値を超えるか)否かに応じて、鑑別対象の薬剤の種別がバラ薬であるか一包化薬であるかを認識してもよい。 Alternatively, the detection data may be weight data measured by a weight sensor provided on the tray 230. In this case, when the tray 230 is discharged outside the device housing 220 in S12 (FIG. 14), the weight of the object placed on the tray 230 is measured by the weight sensor, and the hardware control unit 210 may recognize whether the type of drug to be identified is a loose drug or a packaged drug depending on whether the weight of the object placed on the tray 230 corresponds to the weight of the petri dish 30 (e.g., exceeds a threshold value).

なお、ハードウェア制御部210は、シャーレ30の重量が計測され始めてから所定の時間が経過した場合に、自動的にトレイ230を装置筐体220の内部に収容し、薬剤の撮影制御を開始してもよい。これによって、薬剤の種別がバラ薬である場合には、トレイ230にシャーレ30を載置するだけで薬剤の撮影制御が開始するため、操作者が撮影開始ボタンG51を選択する操作を入力する必要がなくなり、さらなる操作の簡略化が可能となる。なお、操作者による薬剤の載置は、S12(図14)でトレイを排出した後、S13において表示した図15のG51が押下されるまでに行われる。重量センサによる計測は、G51が押下された後、S15が開始される段階で実行されてもよい。 The hardware control unit 210 may automatically store the tray 230 inside the device housing 220 and start controlling the imaging of the medicine when a predetermined time has elapsed since the weight of the petri dish 30 began to be measured. As a result, when the type of medicine is a loose medicine, the imaging control of the medicine begins simply by placing the petri dish 30 on the tray 230, eliminating the need for the operator to input the operation to select the imaging start button G51, thereby further simplifying the operation. The operator places the medicine after ejecting the tray in S12 (FIG. 14) and before pressing G51 in FIG. 15 displayed in S13. Measurement by the weight sensor may be performed at the stage when S15 begins after G51 is pressed.

また、上記では、画像データに基づいて薬剤の種別を認識する場合について主に説明した。このとき、ハードウェア制御部210は、薬剤の種別を認識するとともに、画像データに基づいて薬剤が正しく載置されているか否かを判定してもよい。 The above mainly describes the case where the type of drug is recognized based on image data. In this case, the hardware control unit 210 may recognize the type of drug and determine whether the drug is placed correctly based on the image data.

ハードウェア制御部210は、薬剤が正しく載置されていないと判定した場合には、トレイ230を装置筐体220の外部に排出してもよい。そして、鑑別コントローラ120は、薬剤を正しく載置することを促す指示を薬剤鑑別アプリケーションの機能によって表示部114に表示させてもよい。 If the hardware control unit 210 determines that the medicine is not placed correctly, it may eject the tray 230 to the outside of the device housing 220. Then, the discrimination controller 120 may display an instruction to prompt the user to place the medicine correctly on the display unit 114 using the function of the medicine discrimination application.

なお、薬剤が正しく載置されていない状態は、バラ薬撮影用のシャーレ30の上に一包化薬が載置されている状態であってもよいし、トレイ230の上に(シャーレ30を介さずに)直接バラ薬が載置されている状態であってもよい。あるいは、薬剤が正しく載置されていない状態は、カプセル剤載置部材33a(図6)および33bの間、および、カプセル剤載置部材33cおよび33dの間以外の箇所にカプセル剤が載置されている状態であってもよいし、カプセル剤載置部材33a~33dが設けられているエリアに錠剤が載置されている状態であってもよい。 The state in which the medicine is not placed correctly may be a state in which a packaged medicine is placed on the petri dish 30 for photographing loose medicine, or a state in which loose medicine is placed directly on the tray 230 (without going through the petri dish 30). Alternatively, the state in which the medicine is not placed correctly may be a state in which a capsule is placed somewhere other than between capsule placement members 33a (FIG. 6) and 33b, and between capsule placement members 33c and 33d, or a state in which a tablet is placed in the area where capsule placement members 33a to 33d are provided.

また、上記では、図14に示した種別変更判定S22およびS32が行われる場合について主に説明した。しかし、本発明の第2の実施形態においては、薬剤の種別が薬剤鑑別システム1によって行われるため、薬剤の種別が誤って認識されることはなくなり、操作者が薬剤の種別を変更する必要がなくなることが想定される。したがって、図14に示した種別変更判定S22およびS32は行われなくてもよい。 The above mainly describes the case where the type change determinations S22 and S32 shown in FIG. 14 are performed. However, in the second embodiment of the present invention, since the drug type is determined by the drug identification system 1, it is expected that the drug type will not be erroneously recognized and the operator will not need to change the drug type. Therefore, the type change determinations S22 and S32 shown in FIG. 14 do not need to be performed.

以上、本発明の第2の実施形態について説明した。 The above describes the second embodiment of the present invention.

<3.第3の実施形態>
続いて、本発明の第3の実施形態について説明する。
<3. Third embodiment>
Next, a third embodiment of the present invention will be described.

[3-1.薬剤鑑別システムの構成]
まず、本発明の第3の実施形態に係る薬剤鑑別システムの構成例について説明する。以下では、本発明の第3の実施形態に係る薬剤鑑別システムの構成のうち、本発明の第1の実施形態に係る薬剤鑑別システム1と異なる構成について主に説明する。
[3-1. Configuration of drug identification system]
First, a configuration example of a drug discrimination system according to a third embodiment of the present invention will be described. In the following, the configuration of the drug discrimination system according to the third embodiment of the present invention that is different from the drug discrimination system 1 according to the first embodiment of the present invention will be mainly described.

図17は、本発明の第3の実施形態に係る薬剤鑑別システムの構成例を示す図である。図17に示されたように、本発明の第3の実施形態に係る薬剤鑑別システム2は、制御装置10と、撮影装置22とを備える。また、撮影装置22は、タッチセンサ280を備える。なお、図17に示された例では、装置筐体220にタッチセンサ280が設けられているが、タッチセンサ280が設けられる位置は、装置筐体220に限定されない。例えば、タッチセンサ280は、装置筐体220と有線または無線を介して接続されていてもよい。 Fig. 17 is a diagram showing an example of the configuration of a drug discrimination system according to a third embodiment of the present invention. As shown in Fig. 17, a drug discrimination system 2 according to a third embodiment of the present invention includes a control device 10 and an imaging device 22. The imaging device 22 also includes a touch sensor 280. Note that in the example shown in Fig. 17, the touch sensor 280 is provided on the device housing 220, but the position at which the touch sensor 280 is provided is not limited to the device housing 220. For example, the touch sensor 280 may be connected to the device housing 220 via a wire or wirelessly.

[3-2.薬剤鑑別システムの機能構成]
続いて、本発明の第3の実施形態に係る薬剤鑑別システム2の機能構成例について説明する。以下では、本発明の第3の実施形態に係る薬剤鑑別システム2の機能のうち、本発明の第1の実施形態に係る薬剤鑑別システム1に対して追加される機能について主に説明する。
[3-2. Functional configuration of the drug identification system]
Next, an example of a functional configuration of the drug discrimination system 2 according to the third embodiment of the present invention will be described. Among the functions of the drug discrimination system 2 according to the third embodiment of the present invention, the following mainly describes functions that are added to the drug discrimination system 1 according to the first embodiment of the present invention.

図18は、本発明の第3の実施形態に係る薬剤鑑別システム2の機能構成例を示す図である。図18に示されたように、薬剤鑑別システム2は、制御装置10と、撮影装置22とを備える。撮影装置22は、撮影装置20(図2)と比較し、タッチセンサドライバ260を備える。 Fig. 18 is a diagram showing an example of the functional configuration of a drug discrimination system 2 according to a third embodiment of the present invention. As shown in Fig. 18, the drug discrimination system 2 includes a control device 10 and an imaging device 22. Compared to the imaging device 20 (Fig. 2), the imaging device 22 includes a touch sensor driver 260.

タッチセンサドライバ260は、撮影装置22の図示しない制御部によって実現され得る。図示しない制御部は、CPU(Central Processing Unit)などを含み、不揮発性の記憶装置により記憶されているプログラムがCPUによりRAM(Random Access Memory)に展開されて実行されることにより、その機能が実現され得る。このとき、当該プログラムを記録した、コンピュータに読み取り可能な記録媒体も提供され得る。あるいは、図示しない制御部は、専用のハードウェアにより構成されていてもよいし、複数のハードウェアの組み合わせにより構成されてもよい。 The touch sensor driver 260 may be realized by a control unit (not shown) of the imaging device 22. The control unit (not shown) may include a CPU (Central Processing Unit) and the like, and may realize its functions by the CPU expanding a program stored in a non-volatile storage device into a RAM (Random Access Memory) and executing the program. At this time, a computer-readable recording medium on which the program is recorded may also be provided. Alternatively, the control unit (not shown) may be configured by dedicated hardware or a combination of multiple pieces of hardware.

本発明の第1の実施形態と同様に、鑑別コントローラ120は、トレイ排出指示画面G10(図3)の表示部114による表示を制御する。鑑別コントローラ120は、操作部112によってトレイ排出指示ボタンG11を選択する操作が操作者から受け付けられると、装置制御部130を介して撮影装置22に対してトレイ排出指示を出力する。撮影装置22において、ハードウェア制御部210は、トレイ排出指示の入力を受け付けると、トレイ排出口290からトレイ230が排出されるよう制御する。 As in the first embodiment of the present invention, the discrimination controller 120 controls the display of the tray ejection instruction screen G10 (FIG. 3) by the display unit 114. When the discrimination controller 120 receives an operation from the operator to select the tray ejection instruction button G11 by the operation unit 112, it outputs a tray ejection instruction to the imaging device 22 via the device control unit 130. In the imaging device 22, when the hardware control unit 210 receives the input of the tray ejection instruction, it controls the tray 230 to be ejected from the tray ejection port 290.

操作者は、鑑別対象の薬剤をトレイ230の上に載置した後、タッチセンサ280に対して操作を入力する。以下の説明においては、操作者によってタッチセンサ280に入力される操作が、薬剤の種別と、薬剤を継続撮影および継続鑑別するか否かとの双方を指定する操作である場合を主に想定する。しかし、操作者によってタッチセンサ280に入力される操作は、薬剤の種別と、薬剤を継続撮影および継続鑑別するか否かとの一方を指定する操作であってもよい。 After placing the drug to be classified on the tray 230, the operator inputs an operation to the touch sensor 280. In the following description, it is mainly assumed that the operation input by the operator to the touch sensor 280 is an operation to specify both the type of drug and whether or not to continue photographing and classifying the drug. However, the operation input by the operator to the touch sensor 280 may also be an operation to specify either the type of drug or whether or not to continue photographing and classifying the drug.

なお、継続撮影は、トレイ230に現在載置されている薬剤の撮影に引き続いて、次の薬剤(第2の薬剤)を撮影することである。すなわち、次に撮影される薬剤が存在することを継続撮影が有るとも言い、次に撮影される薬剤が存在しないことを継続撮影が無いとも言う。 Continuous photography means photographing the next medication (second medication) following the photography of the medication currently placed on the tray 230. In other words, the presence of continuous photography means that there is a medication to be photographed next, and the absence of a medication to be photographed means that there is no continuous photography.

継続鑑別は、トレイ230に現在載置されている薬剤の鑑別に引き続いて、次の薬剤(第2の薬剤)を鑑別することである。すなわち、次に鑑別される薬剤が存在することを継続鑑別が有るとも言い、次に鑑別される薬剤が存在しないことを継続鑑別が無いとも言う。 Continued sorting refers to sorting the next drug (second drug) following sorting the drug currently placed on the tray 230. In other words, the presence of continued sorting means that there is a drug to be sorted next, and the absence of continued sorting means that there is no drug to be sorted next.

タッチセンサドライバ260は、タッチセンサ280に対する操作者からの入力操作に基づいて、トレイ230に現在載置されている薬剤(第1の薬剤)の種別を認識する認識部として機能する。さらに、タッチセンサドライバ260は、タッチセンサ280に対する操作者からの入力操作に基づいて、継続撮影および継続鑑別の有無を認識する。 The touch sensor driver 260 functions as a recognition unit that recognizes the type of drug (first drug) currently placed on the tray 230 based on an input operation from the operator to the touch sensor 280. Furthermore, the touch sensor driver 260 recognizes whether or not continuous imaging and continuous identification are to be performed based on an input operation from the operator to the touch sensor 280.

図19は、タッチセンサ280に対する操作の意味の例を説明するための図である。図19を参照すると、タッチセンサ280への操作と、タッチセンサ280への操作の意味(すなわち、薬剤の種別、継続撮影および継続鑑別の有無)とが対応付けられている。タッチセンサドライバ260は、図19に示された、タッチセンサ280への操作とタッチセンサ280への操作の意味との対応関係と、タッチセンサ280に対する操作とに基づいて、薬剤の種別と継続撮影および継続鑑別の有無とを認識する。 FIG. 19 is a diagram for explaining an example of the meaning of an operation on the touch sensor 280. Referring to FIG. 19, an operation on the touch sensor 280 corresponds to the meaning of the operation on the touch sensor 280 (i.e., the type of drug, and the presence or absence of continued photography and continued discrimination). The touch sensor driver 260 recognizes the type of drug and the presence or absence of continued photography and continued discrimination based on the correspondence between the operation on the touch sensor 280 and the meaning of the operation on the touch sensor 280 shown in FIG. 19 and the operation on the touch sensor 280.

タッチセンサドライバ260は、認識した薬剤の種別と継続撮影および継続鑑別の有無とをハードウェア制御部210に出力する。その後、ハードウェア制御部210は、トレイ230が装置筐体220の内部に収容されるよう制御する。そして、本発明の第1の実施形態と同様に、ハードウェア制御部210によって、薬剤の種別に応じた薬剤の撮影制御が行われる。 The touch sensor driver 260 outputs the recognized type of drug and whether or not to continue photographing and continue identification to the hardware control unit 210. The hardware control unit 210 then controls the tray 230 to be housed inside the device housing 220. Then, as in the first embodiment of the present invention, the hardware control unit 210 controls photographing of the drug according to the type of drug.

ハードウェア制御部210は、薬剤の撮影制御が終わると、トレイ230が装置筐体220の外部に排出されるように制御するとともに、薬剤が撮影された撮影画像を、装置制御部130を介して鑑別コントローラ120に出力する。鑑別コントローラ120は、薬剤の撮影画像を鑑別部150に出力して鑑別を依頼する。 When the hardware control unit 210 has finished controlling the photographing of the medicine, it controls the tray 230 to be ejected to the outside of the device housing 220, and outputs the photographed image of the medicine to the classification controller 120 via the device control unit 130. The classification controller 120 outputs the photographed image of the medicine to the classification unit 150 and requests classification.

鑑別コントローラ120は、タッチセンサドライバ260によって継続撮影および継続鑑別が無いと認識された場合には、鑑別部150によって鑑別されて得られた鑑別結果の表示部114による表示を制御する。一方、ハードウェア制御部210は、タッチセンサドライバ260によって継続撮影および継続鑑別が有ると認識された場合には、継続撮影および継続鑑別が有ると認識されたことに基づいて、トレイ排出口290からトレイが排出されるよう制御する。 When the touch sensor driver 260 recognizes that there is no continuous shooting or continuous classification, the classification controller 120 controls the display unit 114 to display the classification result obtained by the classification unit 150. On the other hand, when the touch sensor driver 260 recognizes that there is continuous shooting or continuous classification, the hardware control unit 210 controls the tray to be ejected from the tray ejection port 290 based on the recognition that there is continuous shooting or continuous classification.

トレイ排出口290からトレイが排出されると、操作者は、次の薬剤をトレイに載置し、同じようにタッチセンサ280に対して、薬剤の種別と、薬剤を継続撮影および継続鑑別するか否かとの双方を指定する操作を入力する。そして、ハードウェア制御部210によって、次の薬剤の撮影制御が実行される。以降は、薬剤鑑別システム1によって同様の動作が繰り返し実行される。 When the tray is discharged from the tray discharge port 290, the operator places the next drug on the tray and similarly inputs an operation to the touch sensor 280 to specify both the type of drug and whether or not to continue photographing and identifying the drug. Then, the hardware control unit 210 controls the photographing of the next drug. Thereafter, the drug identification system 1 repeatedly executes the same operations.

以上、本発明の第3の実施形態に係る薬剤鑑別システム2の機能構成例について説明した。 The above describes an example of the functional configuration of the drug identification system 2 according to the third embodiment of the present invention.

[3-3.第3の実施形態の効果]
以上に説明したように、本発明の第3の実施形態に係る薬剤鑑別システム2によれば、操作者は、鑑別対象の薬剤の種別を指定する操作を、撮影装置22に設けられたタッチセンサ280に入力することが可能である。そのため、操作者は、撮影装置22のトレイ230に薬剤を載置した後、撮影装置22から制御装置10に戻り、制御装置10の操作部112に薬剤の種別を選択する操作を入力する手間がなくなる。これによって、操作者の利便性が向上するとともに、作業時間の短縮が期待される。
[3-3. Effects of the third embodiment]
As described above, according to the drug discrimination system 2 according to the third embodiment of the present invention, the operator can input an operation to specify the type of drug to be discriminated into the touch sensor 280 provided in the photographing device 22. Therefore, after placing the drug on the tray 230 of the photographing device 22, the operator does not have to go back from the photographing device 22 to the control device 10 and input an operation to select the type of drug into the operation unit 112 of the control device 10. This is expected to improve the convenience for the operator and shorten the working time.

さらに、本発明の第3の実施形態に係る薬剤鑑別システム2によれば、操作者は、継続撮影および継続鑑別の有無を指定する操作を、撮影装置22に設けられたタッチセンサ280に入力することが可能である。そのため、操作者は、撮影装置22のトレイ230に薬剤を載置した後、撮影装置22から制御装置10に戻り、制御装置10の操作部112に継続撮影および継続鑑別の有無を指定する操作を入力する手間がなくなる。これによって、操作者の利便性が向上するとともに、作業時間の短縮が期待される。 Furthermore, according to the drug discrimination system 2 of the third embodiment of the present invention, the operator can input an operation to specify whether or not to perform continuous photographing and continuous discrimination into the touch sensor 280 provided on the photographing device 22. Therefore, after placing the drug on the tray 230 of the photographing device 22, the operator does not have to go back from the photographing device 22 to the control device 10 and input an operation to specify whether or not to perform continuous photographing and continuous discrimination into the operation unit 112 of the control device 10. This is expected to improve the convenience for the operator and shorten the working time.

以上、本発明の第3の実施形態について説明した。 The above describes the third embodiment of the present invention.

<4.第4の実施形態>
続いて、本発明の第4の実施形態について説明する。本発明の第4の実施形態に係る薬剤鑑別システム2の構成例を示す図として、本発明の第3の実施形態に係る薬剤鑑別システム2の構成例を示す図(図17)を用いる。
<4. Fourth embodiment>
Next, a fourth embodiment of the present invention will be described. As a diagram showing an example of the configuration of a drug discrimination system 2 according to the fourth embodiment of the present invention, the diagram ( FIG. 17 ) showing an example of the configuration of a drug discrimination system 2 according to the third embodiment of the present invention will be used.

[4-1.薬剤鑑別システムの機能構成]
まず、本発明の第4の実施形態に係る薬剤鑑別システム2の機能構成例について説明する。本発明の第4の実施形態に係る薬剤鑑別システム2の機能構成例を示す図として、本発明の第3の実施形態に係る薬剤鑑別システム2の機能構成例を示す図(図18)を用いる。以下では、本発明の第4の実施形態に係る薬剤鑑別システム2の機能のうち、本発明の第3の実施形態に係る薬剤鑑別システム2の機能と異なる機能について主に説明する。
[4-1. Functional configuration of the drug identification system]
First, an example of the functional configuration of a drug discrimination system 2 according to a fourth embodiment of the present invention will be described. As a diagram showing an example of the functional configuration of a drug discrimination system 2 according to the fourth embodiment of the present invention, the diagram ( FIG. 18 ) showing an example of the functional configuration of a drug discrimination system 2 according to the third embodiment of the present invention will be used. Below, of the functions of the drug discrimination system 2 according to the fourth embodiment of the present invention, functions that differ from the functions of the drug discrimination system 2 according to the third embodiment of the present invention will be mainly described.

本発明の第3の実施形態においては、タッチセンサドライバ260が、タッチセンサ280に対する操作者からの入力操作に基づいて、トレイ230に現在載置されている薬剤(第1の薬剤)の種別を認識する場合を主に説明した。一方、本発明の第4の実施形態においては、シャーレに設けられた部位(以下、「薬剤種別判定ディテクタ」とも言う。)が検出されるか否かに基づいて、トレイ230に現在載置されている薬剤の種別を認識する。 In the third embodiment of the present invention, a case has been mainly described in which the touch sensor driver 260 recognizes the type of drug (first drug) currently placed on the tray 230 based on an input operation from the operator to the touch sensor 280. On the other hand, in the fourth embodiment of the present invention, the type of drug currently placed on the tray 230 is recognized based on whether or not a part provided on the petri dish (hereinafter also referred to as a "drug type determination detector") is detected.

図20は、薬剤種別判定ディテクタが設けられたシャーレの上面図である。図20を参照すると、シャーレ30に薬剤種別判定ディテクタ233が設けられている。また、トレイ230にはトレイ位置検出ディテクタ231も設けられている。薬剤種別判定ディテクタ233は、トレイ位置検出ディテクタ231と同様に、トレイ位置検出センサ240(図10)によって検出される部位である。例えば、トレイ位置検出センサ240が光センサによって構成される場合、薬剤種別判定ディテクタ233は、遮光する材質によって構成されていればよい。 Figure 20 is a top view of a petri dish provided with a drug type detector. Referring to Figure 20, a drug type detector 233 is provided on the petri dish 30. A tray position detector 231 is also provided on the tray 230. The drug type detector 233 is a part that is detected by the tray position sensor 240 (Figure 10) like the tray position detector 231. For example, if the tray position sensor 240 is configured with an optical sensor, the drug type detector 233 may be configured with a light-blocking material.

トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233それぞれが設けられる位置は限定されない。ただし、トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233は、トレイ位置検出センサ240によって両方が検出されるように、前後方向にずれた位置に設けられているのが望ましい。さらに、トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233は、トレイ位置検出センサ240によって連続的に検出されるように、真上から見て前後方向に間隔を空けずに設けられているのが望ましい。 The positions at which the tray position detector 231 and the drug type detector 233 are provided are not limited. However, it is preferable that the tray position detector 231 and the drug type detector 233 are provided at positions offset in the front-rear direction so that both are detected by the tray position detection sensor 240. Furthermore, it is preferable that the tray position detector 231 and the drug type detector 233 are provided with no gap between them in the front-rear direction when viewed from directly above so that they are continuously detected by the tray position detection sensor 240.

本発明の第3の実施形態と同様に、鑑別コントローラ120は、トレイ排出指示画面G10(図3)の表示部114による表示を制御する。鑑別コントローラ120は、操作部112によってトレイ排出指示ボタンG11を選択する操作が操作者から受け付けられると、装置制御部130を介して撮影装置22に対してトレイ排出指示を出力する。撮影装置22において、ハードウェア制御部210は、トレイ排出指示の入力を受け付けると、トレイ排出口290からトレイが排出されるよう制御する。 As in the third embodiment of the present invention, the discrimination controller 120 controls the display of the tray ejection instruction screen G10 (FIG. 3) by the display unit 114. When the discrimination controller 120 receives an operation from the operator to select the tray ejection instruction button G11 by the operation unit 112, the discrimination controller 120 outputs a tray ejection instruction to the imaging device 22 via the device control unit 130. In the imaging device 22, when the hardware control unit 210 receives the input of the tray ejection instruction, it controls the tray to be ejected from the tray ejection port 290.

操作者は、鑑別対象の薬剤をトレイ230の上に載置した後、タッチセンサ280に対して操作を入力する。本発明の第4の実施形態においては、操作者によってタッチセンサ280に入力される操作が、薬剤を継続撮影および継続鑑別するか否かを指定する操作である。 After placing the medicine to be identified on the tray 230, the operator inputs an operation to the touch sensor 280. In the fourth embodiment of the present invention, the operation input by the operator to the touch sensor 280 is an operation to specify whether or not to continue photographing and identifying the medicine.

タッチセンサドライバ260は、タッチセンサ280に対する操作者からの入力操作に基づいて、継続撮影および継続鑑別の有無を認識する認識部として機能する。 The touch sensor driver 260 functions as a recognition unit that recognizes whether or not to continue photographing and continue classification based on the input operation from the operator to the touch sensor 280.

図21は、タッチセンサ280に対する操作の意味の例を説明するための図である。図21を参照すると、タッチセンサ280への操作と、タッチセンサ280への操作の意味(すなわち、継続撮影および継続鑑別の有無)とが対応付けられている。タッチセンサドライバ260は、図21に示された、タッチセンサ280への操作とタッチセンサ280への操作の意味との対応関係と、タッチセンサ280に対する操作とに基づいて、継続撮影および継続鑑別の有無を認識する。 21 is a diagram for explaining an example of the meaning of an operation on the touch sensor 280. Referring to FIG. 21, an operation on the touch sensor 280 corresponds to the meaning of the operation on the touch sensor 280 (i.e., whether or not continuous shooting and continuous classification are performed). The touch sensor driver 260 recognizes whether or not continuous shooting and continuous classification are performed based on the correspondence between the operation on the touch sensor 280 and the meaning of the operation on the touch sensor 280 shown in FIG. 21 and the operation on the touch sensor 280.

タッチセンサドライバ260は、認識した継続撮影および継続鑑別の有無をハードウェア制御部210に出力する出力部として機能する。その後、ハードウェア制御部210は、トレイ230が装置筐体220の内部に収容されるよう制御する。このトレイ230が装置筐体220の内部に移動しているときに、ハードウェア制御部210は、薬剤種別判定ディテクタ233が検出されたか否かに基づいて、トレイ230に載置された薬剤の種別を認識する認識部として機能する。 The touch sensor driver 260 functions as an output unit that outputs the recognized presence or absence of continued photography and continued identification to the hardware control unit 210. After that, the hardware control unit 210 controls the tray 230 to be accommodated inside the device housing 220. When the tray 230 is moving inside the device housing 220, the hardware control unit 210 functions as a recognition unit that recognizes the type of drug placed on the tray 230 based on whether or not the drug type determination detector 233 has been detected.

図22は、一包化薬が直接載置されたトレイ230が移動する様子を示す側面図である。図22を参照すると、トレイ位置検出ディテクタ231がトレイ230に存在している。一方、一包化薬はトレイ230に直接載置されるため、トレイ230にシャーレ30は載置されておらず、シャーレ30に設けられた薬剤種別判定ディテクタ233はトレイ230とともに移動していない。 Figure 22 is a side view showing the movement of a tray 230 on which a single-dose drug is placed directly. Referring to Figure 22, a tray position detector 231 is present on the tray 230. On the other hand, since a single-dose drug is placed directly on the tray 230, a petri dish 30 is not placed on the tray 230, and a drug type determination detector 233 provided on the petri dish 30 does not move with the tray 230.

かかる場合においては、トレイ位置検出センサ240によって遮光が検出される時間(以下、「トレイ位置検出センサ240がONになる時間」とも言う。)は、時系列データF1に示されるように、トレイ位置検出ディテクタ231の検出時間(より詳細には、トレイ位置検出ディテクタ231の前後方向の幅に対応する時間)となる。したがって、トレイ位置検出センサ240がONになる時間は、比較的短い時間である。 In such a case, the time at which the tray position detection sensor 240 detects the light blocking (hereinafter also referred to as "the time at which the tray position detection sensor 240 turns ON") is the detection time of the tray position detection detector 231 (more specifically, the time corresponding to the front-to-rear width of the tray position detection detector 231), as shown in the time series data F1. Therefore, the time at which the tray position detection sensor 240 turns ON is relatively short.

図23は、バラ薬がシャーレを介して載置されたトレイ230が移動する様子を示す側面図である。図23を参照すると、トレイ位置検出ディテクタ231がトレイ230に存在している。さらに、バラ薬はシャーレを介してトレイ230に載置されるため、シャーレ30に設けられた薬剤種別判定ディテクタ233もトレイ230とともに移動している。 Figure 23 is a side view showing the movement of a tray 230 on which loose medicines are placed via a petri dish. Referring to Figure 23, a tray position detector 231 is present on the tray 230. Furthermore, since loose medicines are placed on the tray 230 via a petri dish, a medicine type determination detector 233 provided on the petri dish 30 also moves together with the tray 230.

かかる場合においては、トレイ位置検出センサ240がONになる時間は、時系列データF2に示されるように、トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233の検出時間(より詳細には、トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233の前後方向の幅の合計に対応する時間)となる。したがって、トレイ位置検出センサ240がONになる時間は、比較的長い時間である。 In such a case, the time when the tray position detection sensor 240 turns ON is the detection time of the tray position detection detector 231 and the drug type determination detector 233 (more specifically, the time corresponding to the sum of the front-to-rear widths of the tray position detection detector 231 and the drug type determination detector 233), as shown in the time series data F2. Therefore, the time when the tray position detection sensor 240 turns ON is relatively long.

ハードウェア制御部210は、トレイ位置検出センサ240がONになる時間が、トレイ位置検出ディテクタ231の検出時間と合致するか、トレイ位置検出ディテクタ231および薬剤種別判定ディテクタ233の検出時間に合致するかに基づいて、薬剤の種別を判定する。 The hardware control unit 210 determines the type of drug based on whether the time when the tray position detection sensor 240 turns ON matches the detection time of the tray position detection detector 231 or matches the detection time of the tray position detection detector 231 and the drug type determination detector 233.

より詳細に、ハードウェア制御部210は、トレイ位置検出センサ240がONになる時間が、トレイ位置検出ディテクタ231の検出時間と合致する場合には、トレイ230に載置された薬剤が一包化薬であると判定する。一方、ハードウェア制御部210は、トレイ位置検出センサ240がONになる時間が、トレイ位置検出ディテクタ231の検出時間および薬剤種別判定ディテクタ233の検出時間の合計に合致する場合には、トレイ230に載置された薬剤がバラ薬であると判定する。 More specifically, if the time when the tray position detection sensor 240 turns ON matches the detection time of the tray position detection detector 231, the hardware control unit 210 determines that the drug placed on the tray 230 is a single-dose drug. On the other hand, if the time when the tray position detection sensor 240 turns ON matches the sum of the detection time of the tray position detection detector 231 and the detection time of the drug type determination detector 233, the hardware control unit 210 determines that the drug placed on the tray 230 is a loose drug.

そして、本発明の第3の実施形態と同様に、ハードウェア制御部210によって、薬剤の種別に応じた薬剤の撮影制御が行われる。以降の動作は、本発明の第3の実施形態と同様に実行される。 Then, as in the third embodiment of the present invention, the hardware control unit 210 controls the imaging of the drug according to the type of drug. The subsequent operations are performed in the same manner as in the third embodiment of the present invention.

以上、本発明の第4の実施形態に係る薬剤鑑別システム2の機能構成例について説明した。 The above describes an example of the functional configuration of the drug identification system 2 according to the fourth embodiment of the present invention.

[4-3.第4の実施形態の効果]
以上に説明したように、本発明の第4の実施形態に係る薬剤鑑別システム2によれば、シャーレに設けられた薬剤種別判定ディテクタ233が検出されるか否かに応じて、トレイに載置された薬剤の種別が薬剤鑑別システム2によって判定される。そのため、操作者は、撮影装置22のトレイ230に薬剤を載置した後、撮影装置22から制御装置10に戻り、制御装置10の操作部112に薬剤の種別を選択する操作を入力する手間がなくなる。これによって、操作者の利便性が向上するとともに、作業時間の短縮が期待される。
[4-3. Effects of the fourth embodiment]
As described above, according to the drug discrimination system 2 according to the fourth embodiment of the present invention, the drug discrimination system 2 determines the type of the drug placed on the tray depending on whether the drug type determination detector 233 provided on the petri dish is detected. Therefore, after placing the drug on the tray 230 of the imaging device 22, the operator does not have to go back from the imaging device 22 to the control device 10 and input an operation to select the type of drug into the operation unit 112 of the control device 10. This is expected to improve the convenience for the operator and shorten the working time.

さらに、本発明の第4の実施形態に係る薬剤鑑別システム2によれば、本発明の第3の実施形態と同様に、操作者は、継続撮影および継続鑑別の有無を指定する操作を、撮影装置22に設けられたタッチセンサ280に入力することが可能である。そのため、操作者は、撮影装置22のトレイ230に薬剤を載置した後、撮影装置22から制御装置10に戻り、制御装置10の操作部112に継続撮影および継続鑑別の有無を指定する操作を入力する手間がなくなる。これによって、操作者の利便性が向上するとともに、作業時間の短縮が期待される。 Furthermore, according to the drug discrimination system 2 of the fourth embodiment of the present invention, as in the third embodiment of the present invention, the operator can input an operation to specify whether or not to continue photographing and continue discrimination into the touch sensor 280 provided on the photographing device 22. Therefore, after placing the drug on the tray 230 of the photographing device 22, the operator does not have to go back from the photographing device 22 to the control device 10 and input an operation to specify whether or not to continue photographing and continue discrimination into the operation unit 112 of the control device 10. This is expected to improve the convenience for the operator and shorten the working time.

<5.ハードウェア構成例>
続いて、本発明の実施形態に係る制御装置10のハードウェア構成例について説明する。以下では、本発明の実施形態に係る制御装置10のハードウェア構成例として、情報処理装置900のハードウェア構成例について説明する。なお、以下に説明する情報処理装置900のハードウェア構成例は、制御装置10のハードウェア構成の一例に過ぎない。したがって、制御装置10のハードウェア構成は、以下に説明する情報処理装置900のハードウェア構成から不要な構成が削除されてもよいし、新たな構成が追加されてもよい。
5. Hardware configuration example
Next, a hardware configuration example of the control device 10 according to the embodiment of the present invention will be described. Below, a hardware configuration example of the information processing device 900 will be described as a hardware configuration example of the control device 10 according to the embodiment of the present invention. Note that the hardware configuration example of the information processing device 900 described below is merely one example of the hardware configuration of the control device 10. Therefore, the hardware configuration of the control device 10 may be such that unnecessary configurations are deleted from the hardware configuration of the information processing device 900 described below, or new configurations may be added.

図24は、本発明の実施形態に係る制御装置10の例としての情報処理装置900のハードウェア構成を示す図である。情報処理装置900は、CPU(Central Processing Unit)901と、ROM(Read Only Memory)902と、RAM(Random Access Memory)903と、ホストバス904と、ブリッジ905と、外部バス906と、インタフェース907と、入力装置908と、出力装置909と、ストレージ装置910と、通信装置911と、を備える。 Fig. 24 is a diagram showing the hardware configuration of an information processing device 900 as an example of a control device 10 according to an embodiment of the present invention. The information processing device 900 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM (Random Access Memory) 903, a host bus 904, a bridge 905, an external bus 906, an interface 907, an input device 908, an output device 909, a storage device 910, and a communication device 911.

CPU901は、演算処理装置および制御装置として機能し、各種プログラムに従って情報処理装置900内の動作全般を制御する。また、CPU901は、マイクロプロセッサであってもよい。ROM902は、CPU901が使用するプログラムや演算パラメータ等を記憶する。RAM903は、CPU901の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を一時記憶する。これらはCPUバス等から構成されるホストバス904により相互に接続されている。 The CPU 901 functions as an arithmetic processing device and control device, and controls the overall operation of the information processing device 900 in accordance with various programs. The CPU 901 may also be a microprocessor. The ROM 902 stores programs and arithmetic parameters used by the CPU 901. The RAM 903 temporarily stores programs used in the execution of the CPU 901 and parameters that change appropriately during the execution. These are interconnected by a host bus 904 consisting of a CPU bus, etc.

ホストバス904は、ブリッジ905を介して、PCI(Peripheral Component Interconnect/Interface)バス等の外部バス906に接続されている。なお、必ずしもホストバス904、ブリッジ905および外部バス906を分離構成する必要はなく、1つのバスにこれらの機能を実装してもよい。 The host bus 904 is connected to an external bus 906, such as a PCI (Peripheral Component Interconnect/Interface) bus, via a bridge 905. Note that the host bus 904, bridge 905, and external bus 906 do not necessarily need to be configured separately, and these functions may be implemented on a single bus.

入力装置908は、マウス、キーボード、タッチパネル、ボタン、マイクロフォン、スイッチおよびレバー等ユーザが情報を入力するための入力手段と、ユーザによる入力に基づいて入力信号を生成し、CPU901に出力する入力制御回路等から構成されている。情報処理装置900を操作するユーザは、この入力装置908を操作することにより、情報処理装置900に対して各種のデータを入力したり処理動作を指示したりすることができる。 The input device 908 is composed of input means for the user to input information, such as a mouse, keyboard, touch panel, button, microphone, switch, and lever, and an input control circuit that generates an input signal based on the user's input and outputs it to the CPU 901. By operating this input device 908, the user who operates the information processing device 900 can input various data to the information processing device 900 and instruct the information processing device 900 to perform processing operations.

出力装置909は、例えば、CRT(Cathode Ray Tube)ディスプレイ装置、液晶ディスプレイ(LCD)装置、OLED(Organic Light Emitting Diode)装置、ランプ等の表示装置およびスピーカ等の音声出力装置を含む。 The output device 909 includes, for example, display devices such as a CRT (Cathode Ray Tube) display device, a Liquid Crystal Display (LCD) device, an OLED (Organic Light Emitting Diode) device, and a lamp, as well as audio output devices such as a speaker.

ストレージ装置910は、データ格納用の装置である。ストレージ装置910は、記憶媒体、記憶媒体にデータを記録する記録装置、記憶媒体からデータを読み出す読出し装置および記憶媒体に記録されたデータを削除する削除装置等を含んでもよい。ストレージ装置910は、例えば、HDD(Hard Disk Drive)で構成される。このストレージ装置910は、ハードディスクを駆動し、CPU901が実行するプログラムや各種データを格納する。 The storage device 910 is a device for storing data. The storage device 910 may include a storage medium, a recording device for recording data on the storage medium, a reading device for reading data from the storage medium, and a deleting device for deleting data recorded on the storage medium. The storage device 910 is, for example, configured with a HDD (Hard Disk Drive). This storage device 910 drives the hard disk and stores the programs executed by the CPU 901 and various data.

通信装置911は、例えば、ネットワークに接続するための通信デバイス等で構成された通信インタフェースである。また、通信装置911は、無線通信または有線通信のどちらに対応してもよい。 The communication device 911 is, for example, a communication interface configured with a communication device for connecting to a network. The communication device 911 may support either wireless communication or wired communication.

以上、本発明の実施形態に係る制御装置10のハードウェア構成例について説明した。 The above describes an example of the hardware configuration of the control device 10 according to an embodiment of the present invention.

<6.まとめ> <6. Summary>

以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。 The above describes in detail preferred embodiments of the present invention with reference to the attached drawings, but the present invention is not limited to such examples. It is clear that a person with ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or revised examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally fall within the technical scope of the present invention.

例えば、上記では、本発明の第1の実施形態から本発明の第4の実施形態までを別々に説明したが、本発明の第1の実施形態から本発明の第4の実施形態までのいずれか二つ以上が適宜に組み合わされて実施されてもよい。例えば、本発明の第1の実施形態または本発明の第2の実施形態に係る薬剤種別判定と、本発明の第3の実施形態または本発明の第4の実施形態に係る継続撮影および継続鑑別の有無の判定とが組み合わされて実施されてもよい。 For example, although the first embodiment to the fourth embodiment of the present invention have been described separately above, any two or more of the first embodiment to the fourth embodiment of the present invention may be implemented in combination as appropriate. For example, the drug type determination according to the first embodiment of the present invention or the second embodiment of the present invention may be implemented in combination with the determination of the presence or absence of continuous imaging and continuous differentiation according to the third embodiment of the present invention or the fourth embodiment of the present invention.

1、2 薬剤鑑別システム
10 制御装置
110 GUI部
112 操作部
114 表示部
120 鑑別コントローラ
130 装置制御部
150 鑑別部
160 鑑別結果記憶部
170 薬剤データベース
180 本体部
20、22 撮影装置
210 ハードウェア制御部
220 装置筐体
230 トレイ
221 スライドレール
231 トレイ位置検出ディテクタ
232 受け皿
233 薬剤種別判定ディテクタ
240 トレイ位置検出センサ
250 カメラ
260 タッチセンサドライバ
280 タッチセンサ
290 トレイ排出口
292 シャッタ
30 シャーレ
31 不透明材質エリア
32 透明材質エリア

REFERENCE SIGNS LIST 1, 2 Drug discrimination system 10 Control device 110 GUI section 112 Operation section 114 Display section 120 Discrimination controller 130 Device control section 150 Discrimination section 160 Discrimination result storage section 170 Drug database 180 Main body section 20, 22 Imaging device 210 Hardware control section 220 Device housing 230 Tray 221 Slide rail 231 Tray position detection detector 232 Receptacle 233 Drug type determination detector 240 Tray position detection sensor 250 Camera 260 Touch sensor driver 280 Touch sensor 290 Tray discharge port 292 Shutter 30 Petri dish 31 Opaque material area 32 Transparent material area

Claims (3)

撮影装置と制御装置とを有する制御システムであって、
前記撮影装置は、
薬剤の種別に基づいて前記薬剤の撮影制御を行い、
前記薬剤の種別は、前記薬剤がバラ薬であるか一包薬であるかに該当し、
前記撮影制御は、前記薬剤の種別がバラ薬である場合には、1箇所において前記薬剤をカメラに撮影させることを含み、前記薬剤の種別が一包薬である場合には、複数箇所において前記薬剤を前記カメラに撮影させることを含み、
前記制御装置は、
前記撮影装置に対して前記薬剤の種別を出力する出力部と、
前記撮影装置によって前記撮影制御が開始された後に前記薬剤の種別を変更する操作を受け付けるための種別変更オブジェクトの表示を制御する制御部と、
前記薬剤の種別を変更する操作を受け付ける操作部と、
を備え、
前記出力部は、前記操作部によって前記薬剤の種別を変更する操作が受け付けられたことに基づいて、前記薬剤の種別が変更されたことを前記撮影装置に出力し、
前記撮影装置は、前記薬剤の種別がバラ薬である場合、かつ、前記薬剤の種別が変更されたことが前記出力部から出力された場合には、複数箇所において前記薬剤を前記カメラに撮影させ、前記薬剤の種別が一包薬である場合、かつ、前記薬剤の種別が変更されたことが前記出力部から出力された場合には、1箇所において前記薬剤を前記カメラに撮影させる、
制御システム。
A control system having an imaging device and a control device,
The imaging device is
Controlling the imaging of the medicine based on the type of the medicine;
The type of the medicine corresponds to whether the medicine is a loose medicine or a single-pack medicine,
The photographing control includes, when the type of the medicine is a loose medicine, having the camera photograph the medicine at one location, and when the type of the medicine is a single-package medicine, having the camera photograph the medicine at multiple locations,
The control device includes:
an output unit that outputs the type of the medicine to the imaging device;
A control unit that controls display of a type change object for receiving an operation to change the type of the medicine after the photography control is started by the photography device;
An operation unit that accepts an operation to change the type of the medicine;
Equipped with
The output unit outputs to the imaging device that the type of the medicine has been changed based on the operation of changing the type of the medicine being accepted by the operation unit,
When the type of the medicine is a loose medicine and when the output unit outputs that the type of the medicine has been changed, the photographing device causes the camera to photograph the medicine at multiple locations, and when the type of the medicine is a single-package medicine and when the output unit outputs that the type of the medicine has been changed, the photographing device causes the camera to photograph the medicine at one location.
Control system.
前記撮影制御は、前記薬剤を撮影位置に向けて移動させる動作および前記撮影位置において前記薬剤を前記カメラに撮影させる動作の少なくともいずれか一つを含む、
請求項に記載の制御システム
The photographing control includes at least one of an operation of moving the medicine toward a photographing position and an operation of photographing the medicine with the camera at the photographing position.
The control system of claim 1 .
前記制御部は、前記撮影制御が開始された後に前記撮影制御を中断する操作を受け付けるための中断操作オブジェクトの表示を制御する、
請求項1または2に記載の制御システム
The control unit controls display of an interruption operation object for receiving an operation to interrupt the shooting control after the shooting control is started.
A control system according to claim 1 or 2 .
JP2021056932A 2021-03-30 2021-03-30 Control System Active JP7528840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021056932A JP7528840B2 (en) 2021-03-30 2021-03-30 Control System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021056932A JP7528840B2 (en) 2021-03-30 2021-03-30 Control System

Publications (2)

Publication Number Publication Date
JP2022154070A JP2022154070A (en) 2022-10-13
JP7528840B2 true JP7528840B2 (en) 2024-08-06

Family

ID=83557770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021056932A Active JP7528840B2 (en) 2021-03-30 2021-03-30 Control System

Country Status (1)

Country Link
JP (1) JP7528840B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020156746A (en) 2019-03-26 2020-10-01 沖電気工業株式会社 Medicine discrimination device, medicine imaging device and medicine imaging method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020156746A (en) 2019-03-26 2020-10-01 沖電気工業株式会社 Medicine discrimination device, medicine imaging device and medicine imaging method

Also Published As

Publication number Publication date
JP2022154070A (en) 2022-10-13

Similar Documents

Publication Publication Date Title
JP7238942B2 (en) drug identification software
JP7696623B2 (en) Drug dispensing device and adjustment method
US20240353933A1 (en) Display device and control device
JP4857768B2 (en) Drug inspection device
US20190235737A1 (en) Display device, program, display method and control device
JP7143802B2 (en) Drug identification device, drug imaging device, and drug imaging method
JP2018138199A (en) Medicine sorting device
US20080068343A1 (en) Tactile pin display apparatus
KR20250105490A (en) Drug sorting device, sorting container, and drug return method
KR101457976B1 (en) Input user interface device, projecting device, command deciding method and program storage medium storing command deciding method program
TW201633067A (en) Detection device, electronic instrument, detection method, and program
US12582307B2 (en) Image capturing device and image capturing system
TWI322699B (en)
JP7528840B2 (en) Control System
JP7639425B2 (en) Image reading control method and image reading device
JP4459529B2 (en) Dispensing audit support system for packaging drugs
JP7260730B2 (en) Imaging device, imaging method, and imaging processing program
JP6213076B2 (en) Touch panel input device, touch panel input device control method, and touch panel input device control program
JP7552491B2 (en) Particle Image Analyzer
JP2022021724A (en) Medicine discrimination software
JP2023088057A (en) Drug discrimination device, drug discrimination system, and drug discrimination method
JP2002007053A (en) Device with gaze detection function
US20180129308A1 (en) Interactive display apparatus and operating method thereof
JP4548187B2 (en) Information input device, photo printing device including the same, control program, and computer-readable recording medium
JP7769208B2 (en) Drug Imaging Device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240625

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240708

R150 Certificate of patent or registration of utility model

Ref document number: 7528840

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150