JP2000135268A - Tablet testing device - Google Patents
Tablet testing deviceInfo
- Publication number
- JP2000135268A JP2000135268A JP11237049A JP23704999A JP2000135268A JP 2000135268 A JP2000135268 A JP 2000135268A JP 11237049 A JP11237049 A JP 11237049A JP 23704999 A JP23704999 A JP 23704999A JP 2000135268 A JP2000135268 A JP 2000135268A
- Authority
- JP
- Japan
- Prior art keywords
- tablet
- data
- transmission line
- packaged
- package
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title abstract description 10
- 238000001514 detection method Methods 0.000 claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 70
- 230000005540 biological transmission Effects 0.000 claims description 116
- 238000007689 inspection Methods 0.000 claims description 77
- 238000004806 packaging method and process Methods 0.000 claims description 73
- 230000002950 deficient Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 23
- 238000003860 storage Methods 0.000 claims description 23
- 230000008569 process Effects 0.000 claims description 13
- 230000001678 irradiating effect Effects 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 230000000149 penetrating effect Effects 0.000 abstract 5
- 239000003826 tablet Substances 0.000 description 266
- 239000003814 drug Substances 0.000 description 31
- 238000006243 chemical reaction Methods 0.000 description 26
- 239000010410 layer Substances 0.000 description 20
- 229940079593 drug Drugs 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 238000005259 measurement Methods 0.000 description 18
- 238000012546 transfer Methods 0.000 description 16
- 150000002500 ions Chemical class 0.000 description 11
- 239000002775 capsule Substances 0.000 description 9
- 238000012937 correction Methods 0.000 description 8
- 229910052751 metal Inorganic materials 0.000 description 7
- 239000002184 metal Substances 0.000 description 7
- 239000004065 semiconductor Substances 0.000 description 7
- 238000010521 absorption reaction Methods 0.000 description 6
- 229910052782 aluminium Inorganic materials 0.000 description 6
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 description 6
- 230000007547 defect Effects 0.000 description 6
- 229910052736 halogen Inorganic materials 0.000 description 6
- 150000002367 halogens Chemical class 0.000 description 6
- 238000003384 imaging method Methods 0.000 description 6
- 239000012535 impurity Substances 0.000 description 6
- 239000011295 pitch Substances 0.000 description 6
- 238000002834 transmittance Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000007423 decrease Effects 0.000 description 5
- 238000009499 grossing Methods 0.000 description 5
- 239000000463 material Substances 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000012856 packing Methods 0.000 description 5
- 238000001228 spectrum Methods 0.000 description 5
- 230000001131 transforming effect Effects 0.000 description 5
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 5
- 229910052721 tungsten Inorganic materials 0.000 description 5
- 239000010937 tungsten Substances 0.000 description 5
- ZOKXTWBITQBERF-UHFFFAOYSA-N Molybdenum Chemical compound [Mo] ZOKXTWBITQBERF-UHFFFAOYSA-N 0.000 description 4
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 4
- 238000001816 cooling Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 229910052750 molybdenum Inorganic materials 0.000 description 4
- 239000011733 molybdenum Substances 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 229910052710 silicon Inorganic materials 0.000 description 4
- 239000010703 silicon Substances 0.000 description 4
- 239000000126 substance Substances 0.000 description 4
- 239000000758 substrate Substances 0.000 description 4
- 230000002238 attenuated effect Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 238000004040 coloring Methods 0.000 description 3
- 230000005684 electric field Effects 0.000 description 3
- 230000005855 radiation Effects 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- KDLHZDBZIXYQEI-UHFFFAOYSA-N Palladium Chemical compound [Pd] KDLHZDBZIXYQEI-UHFFFAOYSA-N 0.000 description 2
- 206010034960 Photophobia Diseases 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000005336 cracking Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 239000006185 dispersion Substances 0.000 description 2
- 239000008298 dragée Substances 0.000 description 2
- 229940088679 drug related substance Drugs 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 239000011229 interlayer Substances 0.000 description 2
- 208000013469 light sensitivity Diseases 0.000 description 2
- 238000012886 linear function Methods 0.000 description 2
- 235000012054 meals Nutrition 0.000 description 2
- 238000002156 mixing Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 239000003921 oil Substances 0.000 description 2
- 239000003973 paint Substances 0.000 description 2
- BASFCYQUMIYNBI-UHFFFAOYSA-N platinum Chemical compound [Pt] BASFCYQUMIYNBI-UHFFFAOYSA-N 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- -1 screws Chemical class 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 239000007940 sugar coated tablet Substances 0.000 description 2
- 229910052724 xenon Inorganic materials 0.000 description 2
- FHNFHKCVQCLJFQ-UHFFFAOYSA-N xenon atom Chemical compound [Xe] FHNFHKCVQCLJFQ-UHFFFAOYSA-N 0.000 description 2
- ZXEYZECDXFPJRJ-UHFFFAOYSA-N $l^{3}-silane;platinum Chemical compound [SiH3].[Pt] ZXEYZECDXFPJRJ-UHFFFAOYSA-N 0.000 description 1
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 229910001218 Gallium arsenide Inorganic materials 0.000 description 1
- 241000238631 Hexapoda Species 0.000 description 1
- OAICVXFJPJFONN-UHFFFAOYSA-N Phosphorus Chemical compound [P] OAICVXFJPJFONN-UHFFFAOYSA-N 0.000 description 1
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 229910052785 arsenic Inorganic materials 0.000 description 1
- RQNWIZPPADIBDY-UHFFFAOYSA-N arsenic atom Chemical compound [As] RQNWIZPPADIBDY-UHFFFAOYSA-N 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 229910052790 beryllium Inorganic materials 0.000 description 1
- ATBAMAFKBVZNFJ-UHFFFAOYSA-N beryllium atom Chemical compound [Be] ATBAMAFKBVZNFJ-UHFFFAOYSA-N 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005868 electrolysis reaction Methods 0.000 description 1
- AUAHHJJRFHRVPV-BZDVOYDHSA-N ethambutol dihydrochloride Chemical compound [Cl-].[Cl-].CC[C@@H](CO)[NH2+]CC[NH2+][C@@H](CC)CO AUAHHJJRFHRVPV-BZDVOYDHSA-N 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000008187 granular material Substances 0.000 description 1
- 229910001385 heavy metal Inorganic materials 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 239000012212 insulator Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 210000000936 intestine Anatomy 0.000 description 1
- 229910052741 iridium Inorganic materials 0.000 description 1
- GKOZUEZYRPOHIO-UHFFFAOYSA-N iridium atom Chemical compound [Ir] GKOZUEZYRPOHIO-UHFFFAOYSA-N 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000007721 medicinal effect Effects 0.000 description 1
- 150000002739 metals Chemical class 0.000 description 1
- OXFGTKPPFSCSMA-XVKPBYJWSA-N oxilofrine Chemical compound CN[C@@H](C)[C@H](O)C1=CC=C(O)C=C1 OXFGTKPPFSCSMA-XVKPBYJWSA-N 0.000 description 1
- 229910052763 palladium Inorganic materials 0.000 description 1
- 229910052698 phosphorus Inorganic materials 0.000 description 1
- 239000011574 phosphorus Substances 0.000 description 1
- 239000004033 plastic Substances 0.000 description 1
- 229910052697 platinum Inorganic materials 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 239000000955 prescription drug Substances 0.000 description 1
- 239000003223 protective agent Substances 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- SBIBMFFZSBJNJF-UHFFFAOYSA-N selenium;zinc Chemical compound [Se]=[Zn] SBIBMFFZSBJNJF-UHFFFAOYSA-N 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 229910021332 silicide Inorganic materials 0.000 description 1
- 229910052814 silicon oxide Inorganic materials 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000009495 sugar coating Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Analysing Materials By The Use Of Radiation (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Medical Preparation Storing Or Oral Administration Devices (AREA)
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、包装された錠剤が
処方箋どおりに包装されているか否かを自動的に検査す
る錠剤検査装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tablet inspection apparatus for automatically inspecting whether a packaged tablet is packaged as prescribed.
【0002】[0002]
【従来の技術】従来、錠剤包装装置により包装された錠
剤が処方箋どおりに包装されているか否かの検査は、一
般に、調剤師により肉眼で行われている。この調剤師に
よる検査を支援するための装置が、特開昭63−294
307号公報や、特公平4−17666号公報等で提案
されている。これらの検査装置は、包装された錠剤をカ
メラで撮像して錠剤の種類と個数を監査するようになっ
ている。2. Description of the Related Art Conventionally, an inspection of whether or not a tablet packaged by a tablet packaging device is packaged according to a prescription is generally performed by a dispenser with the naked eye. A device for supporting the examination by the dispenser is disclosed in
No. 307 and Japanese Patent Publication No. 4-17666. These inspection devices are configured to inspect the type and number of tablets by imaging the packaged tablets with a camera.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、これら
の検査装置は包装紙に包装された錠剤を二次元的に撮像
するため、錠剤が複数個包装されている場合に錠剤の重
なりや接触を認識することができず、包装不良として判
定してしまうことがあった。また、包装紙に白のペイン
トで帯状に文字が印刷されている場合には、その帯の裏
に隠れた錠剤を識別できない。However, since these inspection apparatuses take a two-dimensional image of tablets wrapped in a wrapping paper, when a plurality of tablets are wrapped, it is possible to recognize overlapping or contact of the tablets. In some cases, it was determined that the packaging was defective. Further, when characters are printed in a band shape with white paint on the wrapping paper, tablets hidden behind the band cannot be identified.
【0004】これらの問題は、包装紙の裏表2方向から
撮像したとしても解消されない。そこで、包装直前の錠
剤を一個一個分離して搬送し、これらの錠剤を撮像して
検査する装置が、特開平5−337168号公報や特開
平8−168727号公報に開示されている。ところ
が、これらの検査装置は、錠剤を一個一個分離する必要
があるので処理速度が遅い。また、これらの検査装置に
より包装直前になされる検査は、実際に包装された状態
の検査ではないため、ある包装紙に包装されるべき錠剤
がその前後の包装紙に混入することがあっても、それを
検出できず、信頼性が低い。例えば、朝と昼で服用する
錠剤の種類が異なる場合、朝用の錠剤が包装された包装
紙に昼用の錠剤が混入しても、そのまま患者に手渡され
て服用され、薬効が無くなる虞れがある。また、包装時
にネジやスプリング等の装置の部品、昆虫、ごみ等の異
物が侵入していても、そのまま患者に手渡されて服用さ
れる危険性がある。[0004] These problems cannot be solved even if the image is taken from the front and back sides of the wrapping paper. Therefore, an apparatus for separating and conveying tablets immediately before packaging one by one and imaging and inspecting these tablets is disclosed in JP-A-5-337168 and JP-A-8-168727. However, these inspection devices are slow in processing speed because it is necessary to separate tablets one by one. In addition, since the inspection performed immediately before packaging by these inspection devices is not an inspection of the actual packaged state, even if tablets to be packaged in a certain wrapping paper may be mixed in the wrapping paper before and after the wrapping paper. , It cannot be detected and its reliability is low. For example, when the types of tablets to be taken in the morning and the afternoon are different, even if the tablets for the day are mixed in the wrapping paper in which the tablets for the morning are wrapped, they may be handed to the patient and taken as they are, and the medicinal effect may be lost. There is. In addition, even if foreign materials such as screws, springs, and other components of the device such as screws and springs, insects, and dust enter, there is a risk of being handed to the patient and taken.
【0005】本発明はかかる問題点に鑑みてなされたも
ので、信頼性が高く、処理速度が速いうえ、患者に手渡
された後でも検査データを監視することができ、検査調
剤師の検査労力を緩和できる錠剤検査装置を提供するこ
とを課題とするものである。The present invention has been made in view of the above-mentioned problems, and has high reliability, high processing speed, and can monitor test data even after being handed over to a patient. It is an object of the present invention to provide a tablet inspection device capable of alleviating the problem.
【0006】[0006]
【課題を解決するための手段】前記課題を解決するため
の第1の手段として、本発明は、処方箋データに基づい
て錠剤包装物に包装された錠剤の検査を行う錠剤検査装
置において、透過線を発生して前記錠剤包装物に照射す
る透過線発生手段と、該透過線発生手段で発生された透
過線を検出する透過線検出手段と、前記錠剤包装物に包
装された錠剤の個数を前記透過線検出手段の検出結果か
ら判別する錠剤個数判別処理手段と、前記処方箋データ
から前記錠剤包装物に包装されるべき錠数データを抽出
し、該錠数データと前記錠剤個数判別処理手段で判別さ
れた錠剤の個数とを比較して、前記処方箋データどおり
の錠剤が包装されているか否かを判定する比較判定処理
手段とを備えたものである。According to a first aspect of the present invention, there is provided a tablet inspection apparatus for inspecting tablets packed in a tablet package based on prescription data. Transmission line generating means for generating and irradiating the tablet package, transmission line detection means for detecting the transmission line generated by the transmission line generation means, and the number of tablets packaged in the tablet package Tablet number discriminating processing means for discriminating from the detection result of the transmission line detecting means, and tablet number data to be packed in the tablet package from the prescription data, and discriminating between the tablet number data and the tablet number discriminating processing means And a comparing and judging means for judging whether or not tablets according to the prescription data are packed by comparing the number of tablets thus obtained.
【0007】本発明でいう錠剤包装物とは、包装袋のほ
か、蓋付きの円筒状容器であるバイアル瓶を含む。ま
た、透過線とは、X線のほか、放射線、物体を透過する
光線、例えば赤外線を含む概念である。The tablet package of the present invention includes a vial which is a cylindrical container with a lid, in addition to a packaging bag. Further, the term “transmission ray” is a concept including X-rays, radiation, and light rays that pass through an object, for example, infrared rays.
【0008】前記第1の手段としての発明によれば、錠
剤包装物に包装された錠剤の個数を透過線検出手段の検
出結果から判別し、これを錠剤包装物に包装されるべき
錠数データと比較して、処方箋データどおりの錠剤が包
装されているか否かが判定できるので、包装された錠剤
の検査が簡単かつ迅速になり、信頼性が高くなる。According to the invention as the first means, the number of tablets packaged in the tablet package is discriminated from the detection result of the transmission line detecting means, and the number of tablets to be packaged in the tablet package is determined. In comparison with the above, since it is possible to determine whether or not tablets are packed according to the prescription data, the inspection of the packed tablets becomes simple and quick, and the reliability is improved.
【0009】前記課題を解決するための第2の手段とし
て、本発明は、処方箋データに基づいて錠剤包装物に包
装された錠剤の検査を行う錠剤検査装置において、透過
線を発生して前記錠剤包装物に照射する透過線発生手段
と、該透過線発生手段で発生された透過線を検出する透
過線検出手段と、前記錠剤包装物に包装された錠剤の形
状を前記透過線検出手段の検出結果から判別する錠剤形
状判別処理手段と、錠剤の種類別にその錠剤形状データ
を記憶する記憶手段と、前記処方箋データから前記錠剤
包装物に包装されるべき錠剤の種類を抽出し、該錠剤の
種類に対応する錠剤形状データを前記記憶手段から呼び
出し、該錠剤形状データと前記錠剤個数判別処理手段で
判別された錠剤の形状とを比較して、前記処方箋データ
どおりの錠剤が包装されているか否かを判定する比較判
定処理手段とを備えたものである。As a second means for solving the above-mentioned problems, the present invention relates to a tablet inspection apparatus for inspecting tablets packaged in tablet packages based on prescription data. A transmission line generating unit that irradiates the package, a transmission line detection unit that detects a transmission line generated by the transmission line generation unit, and a detection of the shape of the tablet packaged in the tablet package by the transmission line detection unit. Tablet shape discriminating processing means for discriminating from the results, storage means for storing the tablet shape data for each type of tablet, and extracting the type of tablet to be packaged in the tablet package from the prescription data; The tablet shape data corresponding to the prescription data is retrieved from the storage means, and the tablet shape data is compared with the tablet shape determined by the tablet number determination processing means. Is obtained by a comparison determination processing unit determines whether the.
【0010】前記第2の手段としての発明によれば、錠
剤包装物に包装された錠剤の形状を透過線検出手段の検
出結果から判別し、これを錠剤包装物に包装される錠剤
の形状データと比較して、処方箋データどおりの錠剤が
包装されているか否かが判定できるので、前記第1の発
明と同様に、包装された錠剤の検査が簡単かつ迅速にな
るうえ、信頼性が高くなる。According to the invention as the second means, the shape of the tablet packaged in the tablet package is determined from the detection result of the transmission line detecting means, and the shape data of the tablet packaged in the tablet package is determined. It is possible to determine whether or not tablets are packed according to the prescription data in comparison with the above, so that the inspection of the packed tablets is simple and quick, and the reliability is high, as in the first invention. .
【0011】前記課題を解決するための第3の手段とし
て、本発明は、処方箋データに基づいて錠剤包装物に包
装された錠剤の検査を行う錠剤検査装置において、透過
線を発生して前記錠剤包装物に照射する透過線発生手段
と、該透過線発生手段で発生された透過線を検出する透
過線検出手段と、前記錠剤包装物に包装された錠剤の形
状を前記透過線検出手段の検出結果から判別する錠剤形
状判別処理手段と、錠剤の種類別にその錠剤形状データ
を記憶する記憶手段と、前記処方箋データから前記錠剤
包装物に包装されるべき錠剤の種類を抽出し、該錠剤の
種類に対応する錠剤形状データを前記記憶手段から呼び
出し、該錠剤形状データと前記錠剤個数判別処理手段で
判別された錠剤の形状とを対応させて、前記錠剤包装物
に包装された錠剤の個数を判別する錠剤個数判別処理手
段と、前記処方箋データから前記錠剤包装物に包装され
るべき錠剤の種類と錠数データを抽出し、該錠数データ
と前記錠剤個数判別処理手段で判別された錠剤の個数と
を比較して、前記処方箋データどおりの錠剤が包装され
ているか否かを判定する比較判定処理手段とを備えたも
のである。According to a third aspect of the present invention, there is provided a tablet inspection apparatus for inspecting a tablet packaged in a tablet package based on prescription data. A transmission line generating unit that irradiates the package, a transmission line detection unit that detects a transmission line generated by the transmission line generation unit, and a detection of the shape of the tablet packaged in the tablet package by the transmission line detection unit. Tablet shape discriminating processing means for discriminating from the results, storage means for storing the tablet shape data for each type of tablet, and extracting the type of tablet to be packaged in the tablet package from the prescription data; Is called from the storage unit, and the tablet shape data is associated with the shape of the tablet determined by the tablet number determination processing unit, and the tablet packaged in the tablet package is stored. A tablet number discriminating means for discriminating the number, a type of tablet to be packed in the tablet package and tablet number data are extracted from the prescription data, and the tablet number data and the tablet number discriminating means are discriminated. A comparison / determination processing means for comparing the number of tablets with each other to determine whether or not tablets are packed according to the prescription data.
【0012】前記第3の手段としての発明によれば、錠
剤包装物に包装された錠剤の個数を透過線検出手段の検
出結果から判別し、これを錠剤包装物に包装されるべき
錠数データと比較して、処方箋データどおりの錠剤が包
装されているか否かが判定できるので、前記第1の発明
と同様に、包装された錠剤の検査が簡単かつ迅速になる
うえ、信頼性が高くなる。According to the invention as the third means, the number of tablets packed in the tablet package is determined from the detection result of the transmission line detecting means, and the number of tablets to be packed in the tablet package is determined. It is possible to determine whether or not tablets are packed according to the prescription data in comparison with the above, so that the inspection of the packed tablets is simple and quick, and the reliability is high, as in the first invention. .
【0013】前記錠剤個数判別処理手段は、前記透過線
検出手段が検出したデータに個数として換算できないデ
ータが存在するとき、あるいは、前記透過線検出手段が
検出したデータに形状を認識できないデータが存在する
とき、不良包装として処理するようにしてもよい。これ
により、さらに信頼性が高まる。また、異常の判定を受
けると、該当する錠剤包装物にマークを付与するマーキ
ング手段を備えることもでき、これにより不良品を簡単
に識別できる。[0013] The tablet number discriminating processing means is provided when the data detected by the transmission line detecting means includes data which cannot be converted as a number, or when the data detected by the transmission line detecting means includes data whose shape cannot be recognized. When doing so, it may be processed as defective packaging. This further increases reliability. Further, when an abnormality is determined, a marking means for marking a corresponding tablet package can be provided, whereby defective products can be easily identified.
【0014】前記透過線検出手段は、透過レベルとして
透過線を検出するか、あるいは、錠剤の影として検出す
ることができる。The transmission line detecting means can detect a transmission line as a transmission level or a shadow of a tablet.
【0015】前記課題を解決するための第4の手段とし
て、本発明は、処方箋データに基づいて錠剤包装物に包
装された錠剤の検査を行う錠剤検査装置において、透過
線を発生して前記錠剤包装物に照射する透過線発生手段
と、該透過線発生手段で発生された透過線を検出する透
過線検出手段と、錠剤の種類別にそのイメージデータを
記憶する記憶手段と、前記錠剤包装物に包装された錠剤
の形状を前記透過線検出手段の検出結果から捕らえてそ
の錠剤の種類を判別する錠剤判別処理手段と、該錠剤の
種類に対応する錠剤イメージデータを前記記憶手段から
呼び出し、該イメージデータを前記透過線検出手段の検
出データに重ねて映像データを作成する映像データ作成
手段とを備えたものである。According to a fourth aspect of the present invention, there is provided a tablet inspection apparatus for inspecting a tablet packaged in a tablet package based on prescription data. A transmission line generating unit that irradiates the package, a transmission line detection unit that detects a transmission line generated by the transmission line generation unit, a storage unit that stores image data for each type of tablet, Tablet discriminating processing means for discriminating the type of the tablet by capturing the shape of the packaged tablet from the detection result of the transmission ray detecting means, and calling tablet image data corresponding to the type of the tablet from the storage means; Video data generating means for generating video data by superimposing data on the detection data of the transmission line detecting means.
【0016】前記第4の手段としての発明によれば、透
過線検出手段の検出結果から、錠剤の種類を判別し、該
錠剤の種類に対応する錠剤イメージデータをを透過線検
出データに重ねて映像データを作成するので、包装され
た錠剤を映像データとしてみることができるので、錠剤
の検査が容易になる。According to the invention as the fourth means, the type of the tablet is determined from the detection result of the transmission line detecting means, and the tablet image data corresponding to the type of the tablet is superimposed on the transmission line detection data. Since the video data is created, the packaged tablets can be viewed as video data, and the inspection of the tablets is facilitated.
【0017】前記錠剤検査装置では、前記映像データを
表示する表示手段や、前記映像データを処方箋データと
対応して記憶する記憶手段を備えてもよい。これによ
り、錠剤の検査がさらに簡単に、かつ迅速に行える。[0017] The tablet inspection apparatus may include display means for displaying the video data, and storage means for storing the video data in association with prescription data. This makes it easier and faster to inspect tablets.
【0018】前記第1から第4の手段としての発明にお
いて、前記透過線発生手段と前記透過線検出手段を照射
方向の異なる方向に複数設け、透過線検出手段の検出デ
ータを立体的に再現する再現手段を備えることができ
る。また、前記透過線発生手段を錠剤包装物の周囲に回
転可能に設けて照射方向を変更できるようにし、透過線
検出手段の検出データを立体的に再現する再現手段を備
えることもできる。これらにより、包装された錠剤に重
なりがあっても、それらの錠剤を確実に判別することが
でき、検査の信頼性がさらに向上する。In the invention as the first to fourth means, a plurality of the transmission line generation means and the transmission line detection means are provided in different directions of the irradiation direction, and the detection data of the transmission line detection means is reproduced three-dimensionally. Reproducing means can be provided. Further, the transmission line generating means may be rotatably provided around the tablet package so that the irradiation direction can be changed, and a reproducing means for three-dimensionally reproducing the detection data of the transmission line detecting means may be provided. As a result, even if the packaged tablets overlap, those tablets can be reliably determined, and the reliability of the inspection is further improved.
【0019】[0019]
【発明の実施の形態】以下、本発明の実施の形態を添付
図面に従って説明する。Embodiments of the present invention will be described below with reference to the accompanying drawings.
【0020】<第1実施形態>図1は、本発明にかかる
錠剤検査装置1を備えた錠剤分包機2を示す。錠剤分包
機2は、制御装置3によって制御される錠剤払い出し装
置4、包装装置5、および印刷装置6を備えている。錠
剤払い出し装置4は、錠剤が種類別に収容された多数の
カセット7を備えている。この錠剤払い出し装置4は、
ホストコンピュータ8よりパソコン9を通じて受信した
処方箋データに従って該当するカセット7から錠剤を払
い出す。錠剤払い出し装置4で払い出された錠剤は、ホ
ッパ10を介して包装装置5に導かれる。包装装置5
は、ロール11から一定量づつ送り出される包装紙12
を長手方向に2つ折りし、一包分の錠剤が投入される
と、ヒータローラ13で包装紙12をシールして包装す
る。包装紙12の送り量は図示しないエンコーダによっ
て検出される。包装紙12には、服用時期、患者名等が
印刷装置6によって印刷される。包装紙12に包装され
た錠剤は以下に説明する錠剤検査装置1によって検査さ
れる。<First Embodiment> FIG. 1 shows a tablet packing machine 2 provided with a tablet inspection apparatus 1 according to the present invention. The tablet packing machine 2 includes a tablet dispensing device 4, a packaging device 5, and a printing device 6 controlled by the control device 3. The tablet dispensing device 4 includes a number of cassettes 7 in which tablets are stored by type. This tablet dispensing device 4
The tablets are dispensed from the corresponding cassette 7 according to the prescription data received from the host computer 8 through the personal computer 9. The tablets dispensed by the tablet dispensing device 4 are guided to the packaging device 5 via the hopper 10. Packaging device 5
Is a wrapping paper 12 sent out from the roll 11 by a fixed amount.
Is folded in the longitudinal direction, and when one packet of tablets is supplied, the wrapping paper 12 is sealed and packaged by the heater roller 13. The feed amount of the wrapping paper 12 is detected by an encoder (not shown). On the wrapping paper 12, the taking time, the patient name, and the like are printed by the printing device 6. The tablets packaged in the wrapping paper 12 are inspected by the tablet inspection device 1 described below.
【0021】錠剤検査装置1は、透過線発生装置である
X線管14とその制御装置15、透過線検出装置である
ラインセンサ16、マーク付与装置17、および制御装
置18とからなっている。The tablet inspection apparatus 1 comprises an X-ray tube 14 as a transmission line generator and its control unit 15, a line sensor 16 as a transmission line detection unit, a marking device 17, and a control unit 18.
【0022】X線管14は、図2に示すターゲット固定
式X線管14a、又は図3に示すターゲット回転式X線
管14bを使用することができる。As the X-ray tube 14, a fixed target X-ray tube 14a shown in FIG. 2 or a target rotating X-ray tube 14b shown in FIG. 3 can be used.
【0023】図2に示すターゲット固定式X線管14a
は、ガラス管19内に、カバー20で覆われたフィラメ
ントからなるカソード21と、該カソード21に対して
2°〜20°程度傾斜したタングステンやモリブデン等
の重金属からなるターゲット22とを有している。カソ
ード21とターゲット22はそれぞれ電源端子に接続さ
れている。ターゲット22の後方には、冷却オイルを噴
出してターゲット22の表面温度を制御する冷却ノズル
23が設けられている。電源端子に図4と図5に示す電
子回路で電圧を印加すると、フィラメント21からター
ゲット22に向かって電子が移動し、ターゲット22か
らベリリウム窓24を通してX線が照射される。The target fixed X-ray tube 14a shown in FIG.
Has a cathode 21 made of a filament covered with a cover 20 and a target 22 made of a heavy metal such as tungsten or molybdenum inclined at about 2 ° to 20 ° with respect to the cathode 21 in a glass tube 19. I have. The cathode 21 and the target 22 are each connected to a power supply terminal. Behind the target 22, a cooling nozzle 23 for ejecting cooling oil to control the surface temperature of the target 22 is provided. When a voltage is applied to the power supply terminal by the electronic circuits shown in FIGS. 4 and 5, electrons move from the filament 21 toward the target 22, and X-rays are emitted from the target 22 through the beryllium window 24.
【0024】図3に示すターゲット回転式X線管14b
は、基本的には図2に示すターゲット固定式X線管14
aと同じであるので、対応する部分には同一符号を付し
てある。ターゲット回転式X線管14bは、ターゲット
22が高速回転するように構成されている。ターゲット
22の温度上昇は、照射位置が分散することで押さえら
れるので、オイル冷却装置は備えておらず、ターゲット
22の角度も25°から50°になっている。ターゲッ
ト22の表面は交互に配置された2種類の金属で構成さ
れ、ターゲット22が回転すると2種類の金属が交互に
フィラメント21から照射される電子を受け止めるよう
になっている。The target rotary X-ray tube 14b shown in FIG.
Is basically a fixed target X-ray tube 14 shown in FIG.
Since they are the same as a, the corresponding parts are denoted by the same reference numerals. The target rotating X-ray tube 14b is configured so that the target 22 rotates at a high speed. Since the rise in the temperature of the target 22 is suppressed by dispersing the irradiation positions, the oil cooling device is not provided, and the angle of the target 22 is also changed from 25 ° to 50 °. The surface of the target 22 is composed of two types of metal arranged alternately. When the target 22 rotates, the two types of metal alternately receive electrons emitted from the filament 21.
【0025】前記X線管14のターゲット22の材質
は、X線の強度性質に大きく影響するが、本発明の錠剤
検出装置1として使用するにはモリブデンが好ましい。
この理由は、被検査体が包装紙と錠剤であって薄いので
X線強度を極力弱くする必要があるからである。また、
モリブデンは、図6から図8に示すように、タングステ
ンに比べて、物体に対する吸収率が高く、フォトンエネ
ルギーが低い所でフォトンが多い特性があるからであ
る。Although the material of the target 22 of the X-ray tube 14 greatly affects the intensity of X-rays, molybdenum is preferable for use as the tablet detecting device 1 of the present invention.
The reason for this is that the X-ray intensity must be reduced as much as possible because the test object is a wrapping paper and a tablet, which are thin. Also,
As shown in FIGS. 6 to 8, molybdenum has a higher absorptance to an object than tungsten, and has a property of increasing photons at a low photon energy.
【0026】図9は、実際に図5の回路を使用してX線
管14からX線を発生させた管電圧波形である。X線曝
射時のコンデンサ端子電圧は、時間とともに放電によっ
て低下するが、その降下電圧ΔV(V)は、ΔV=iT
/Cとなり、管電圧波形はノコギリ波状になる。このΔ
Vを小さくするには、コンデンサ容量を大きくすること
で解消できる。FIG. 9 shows a tube voltage waveform obtained by actually generating X-rays from the X-ray tube 14 using the circuit of FIG. The capacitor terminal voltage at the time of X-ray irradiation decreases with time as a result of discharge, and the voltage drop ΔV (V) is ΔV = iT
/ C, and the tube voltage waveform becomes a sawtooth waveform. This Δ
V can be reduced by increasing the capacitance of the capacitor.
【0027】また、ターゲット22の材質としてタング
ステンを用いても、印加電圧を下げることでX線強度を
弱くすることができるが、被検査体に異物が混じってX
線の透過が確認できない場合でも検出できるように、X
線のフォトンエネルギーの高いものを短時間、パルス状
に印加してもよい。この場合、X線管は、図3に示すタ
ーゲット回転式X線管14bの方が好ましい。ターゲッ
ト22に2種類の材質を用いることでフォトンエネルギ
ーを2種類の強度で発生させることができる。特に、図
6,図7に示すように、タングステンのターゲット22
を用いて管電圧を下げると、フォトンエネルギーが10
〜40KeVの領域でフォトン数が上がってノイズが多
くなり、Ka1のピークも下がるので、後述するアルミ
フィルタ25を通過して領域外のフォトンエネルギーが
後述するラインセンサ16に到達すると、画像のボケが
生じる要因となる。Further, even if tungsten is used as the material of the target 22, the X-ray intensity can be reduced by lowering the applied voltage.
X can be detected even if transmission of the line cannot be confirmed.
A line having a high photon energy may be applied in a pulsed manner for a short time. In this case, the X-ray tube is preferably the target rotating X-ray tube 14b shown in FIG. By using two types of materials for the target 22, photon energy can be generated with two types of intensity. In particular, as shown in FIGS.
When the tube voltage is reduced by using
In the region of 上 が っ 40 KeV, the number of photons increases, the noise increases, and the peak of Ka1 also decreases. Therefore, when the photon energy outside the region reaches the line sensor 16 described below after passing through the aluminum filter 25 described below, the image is blurred. It is a factor that occurs.
【0028】前記X線管14から発生するX線は、図1
0に示すように、アルミフィルタ25を通して被検査体
に照射される。アルミフィルタ25は厚さ1mm程度の
もので、前記フォトン数が変動する領域を除去し、フォ
トンエネルギーが安定した領域でX線が照射されるよう
な働きを有する。なお、コリメータウェッジフィルタを
用いる場合、被検査体の形状に合わせたものを採用し、
錠剤のエッジ部のボケを防止することも可能である。X-rays generated from the X-ray tube 14 are shown in FIG.
As shown in FIG. 0, the test object is irradiated through the aluminum filter 25. The aluminum filter 25 has a thickness of about 1 mm, and has a function of removing a region where the number of photons fluctuates and irradiating X-rays in a region where the photon energy is stable. When a collimator wedge filter is used, a filter that matches the shape of the test object is used.
It is also possible to prevent the edge of the tablet from being blurred.
【0029】被検査体に照射されたX線はマスク26で
スライスされてラインセンサ16に入射する。マスク2
6は、図10に示すように、包装袋12aの搬送方向に
直角な方向に延びるスリット27を有している。スリッ
ト27の幅は通常2mm前後である。マスク26に到達
したX線は、スリット27以外の部分のX線は遮断さ
れ、スリット27を通過したX線のみがラインセンサ1
6に入射する。The X-rays irradiated on the object to be inspected are sliced by the mask 26 and enter the line sensor 16. Mask 2
6 has a slit 27 extending in a direction perpendicular to the transport direction of the packaging bag 12a, as shown in FIG. The width of the slit 27 is usually about 2 mm. As for the X-rays that have reached the mask 26, the X-rays at portions other than the slit 27 are blocked, and only the X-rays that have passed
6 is incident.
【0030】ラインセンサ16としては、電離箱検出装
置16a又は半導体検出装置16bが使用される。電離
箱検出装置16aは、図11に示すように、容器28内
に平板状のバイアス電極29と信号電極30とを一定間
隔dで交互に配置し、各電極間29,30にキセノンガ
スを10p(atm)の圧力で封入したものである。バ
イアス電極29と信号電極30の間に電圧を印加した状
態で、容器28の上面の凹部31からX線が入射して電
離すると、両電極29,30間に微電流が流れ、この電
流値は数値化して検出される。As the line sensor 16, an ionization chamber detector 16a or a semiconductor detector 16b is used. As shown in FIG. 11, the ionization chamber detection device 16a alternately arranges a plate-like bias electrode 29 and a signal electrode 30 in a container 28 at a fixed interval d, and supplies 10p of xenon gas between the electrodes 29 and 30. (Atm). When X-rays enter from the concave portion 31 on the upper surface of the container 28 and are ionized while a voltage is applied between the bias electrode 29 and the signal electrode 30, a minute current flows between the electrodes 29 and 30. It is detected numerically.
【0031】前記ラインセンサ16の特性条件は、以下
のようにして求められる。The characteristic conditions of the line sensor 16 are obtained as follows.
【0032】平行平板電離箱中にX線により一様に電離
が生じると仮定し、空間電荷により電離箱内の電界が0
になるイオン対収集の限界を考える。n0個//cc/
sのイオン対が発生するとき、x点でのイオン電荷密度
は、次式で与えられる。Assuming that ionization occurs uniformly by X-rays in the parallel plate ionization chamber, the electric field in the ionization chamber becomes zero due to space charge.
Consider the limitations of ion pair collection. n 0 pieces // cc /
When s ion pairs are generated, the ion charge density at point x is given by:
【数1】 (Equation 1)
【0033】ここで、w+は、イオンの流動速度で、電
界をE、ガス圧をP、イオンの移動速度をμ+とする
と、式2で示される。また、電解を記述するポアソン方
程式は、式3で示される。Here, w + is the flow velocity of the ions, and is expressed by Equation 2, where E is the electric field, P is the gas pressure, and μ + is the moving velocity of the ions. The Poisson equation describing the electrolysis is shown in Equation 3.
【数2】 (Equation 2)
【数3】 (Equation 3)
【0034】μ+は、ガス固有の値であり、Xe(キセ
ノン)は0.58である。式3に式1を代入し、空間電
荷により、x=dでE=0になるという境界条件を与え
ると、次式を得る。Μ + is a value specific to the gas, and Xe (xenon) is 0.58. Substituting Equation 1 into Equation 3 and giving a boundary condition that E = 0 at x = d due to space charge, the following equation is obtained.
【数4】 (Equation 4)
【0035】電極間の電位差Vは、式4をx=0からx
=dまで積分して、The potential difference V between the electrodes can be obtained by calculating Equation 4 from x = 0 to x
= D
【数5】 (Equation 5)
【0036】すなわち、平行平板状の電離箱にX線が照
射されると、該電離箱の中で一様に電離が生じると仮定
すると、n0eの電荷を収集するのに必要な電位差Vs
は、式5のVs以上でなければ空間電荷による制限を受
ける。That is, when it is assumed that when a parallel-plate ionization chamber is irradiated with X-rays, ionization occurs uniformly in the ionization chamber, the potential difference Vs required to collect the charge of n 0 e is obtained.
Is limited by space charge unless it is equal to or higher than Vs in Equation 5.
【0037】式5は、CGS系で表されているが、μ+
(cm2/V/s)、d(cm)とし、有利化単位を用
いれば、次式となる。ここで、Iは電離箱出力電流
(A)、Dは電離箱有効体積(cm3)である。Equation 5 is expressed in CGS system, but μ +
(Cm 2 / V / s) and d (cm), and the following formula is obtained by using an advantageous unit. Here, I is the ionization chamber output current (A), and D is the ionization chamber effective volume (cm 3 ).
【数6】 (Equation 6)
【0038】電位差Vsは、出力電流Iが大きいほど高
くなるから、最大出力電流時に飽和するように印加電圧
を設定することが必要である。また、特に、ガス圧が高
い場合には、電離箱内のX線入射窓に近い部分で電荷密
度が高くなるので、平均電荷密度で計算した電位Vsよ
りも高い電位が必要となる。X線をパルス状に照射する
場合、静特性である飽和特性とともに、ステップ応答性
が早くなくてはならない。特に本発明のような錠剤分包
機2は、近年、1分間に90包の包装が可能となってい
るので、1秒間に114mmの範囲を検査する必要があ
る。この条件を可能にするには、5ms間隔でX線を発
射する必要がある。X線の立ち上がり時間は、0.1か
ら0.2ms程度であるので、支障はない。しかし、ラ
インセンサ16の立ち上がり特性はイオンの流動速度に
より決定される。Since the potential difference Vs increases as the output current I increases, it is necessary to set the applied voltage so as to saturate at the maximum output current. In particular, when the gas pressure is high, the charge density increases in a portion near the X-ray entrance window in the ionization chamber, and thus a potential higher than the potential Vs calculated from the average charge density is required. When irradiating X-rays in a pulse shape, the step response must be fast in addition to the saturation characteristic which is a static characteristic. Particularly, in the tablet packaging machine 2 according to the present invention, since 90 packages can be packaged per minute in recent years, it is necessary to inspect a range of 114 mm per second. To enable this condition, it is necessary to emit X-rays at 5 ms intervals. Since the rise time of the X-ray is about 0.1 to 0.2 ms, there is no problem. However, the rising characteristics of the line sensor 16 are determined by the flow velocity of ions.
【0039】電極間隔dの電離箱にt≧0でn0個/c
c/sの割合で一様にイオン対が発生する場合におけ
る、収集電極での出力電流Iの立ち上がり特性を考え
る。時間tにおける電離箱の全体でのイオンの密度の変
化率は、次式で与えられる。In the ionization chamber with an electrode spacing d, n 0 / c when t ≧ 0
Consider a rising characteristic of the output current I at the collecting electrode when ion pairs are generated uniformly at a rate of c / s. The rate of change of the ion density over the ionization chamber at time t is given by:
【数7】 (Equation 7)
【0040】ここで、右辺第1項は発生を、第2項は収
集電極に到達する量を表す。N0はn0d・Sを表し、S
は電極板面積である。n+は、次式で示すように、収集
電極に到達する密度で時刻t=0でx=dに発生したイ
オンが収集電極に到達するまでは、毎秒発生する割合
で、増加するが、その後は平行状態になる。Here, the first term on the right side represents occurrence, and the second term represents the amount reaching the collecting electrode. N 0 represents n 0 d · S, and S
Is the area of the electrode plate. As shown by the following equation, n + increases at a rate of occurring every second until ions generated at x = d at time t = 0 reach the collecting electrode at a density reaching the collecting electrode, but thereafter, Become parallel.
【数8】 (Equation 8)
【0041】式8をとき、境界条件を代入すると、次式
が得られる。When Equation 8 is substituted for the boundary condition, the following equation is obtained.
【数9】 (Equation 9)
【0042】式9を式7に代入し、N+を求めると、次
式を得る。By substituting equation 9 into equation 7 and obtaining N +, the following equation is obtained.
【数10】 (Equation 10)
【0043】電子に対しても以上と同じ式が成り立つ
が、電子の流動速度w-は、イオンに比べて格段に速い
ので、イオンの移動時間による立ち上がり特性を考えた
場合、The same formula holds true for electrons, but the electron flow velocity w − is much faster than ions.
【数11】 と考えておいて差し支えない。[Equation 11] You can think about it.
【0044】出力電流Iは、The output current I is
【数12】 であり、これに式10、式11を代入すると、次式を得
る。(Equation 12) By substituting Equations 10 and 11 into this, the following equation is obtained.
【数13】 (Equation 13)
【0045】これにより、ラインセンサ16の出力電流
の立ち上がり時間は、イオンの電極間移動時間d/w+
で表されることが分かる。このことを実測したのが、図
12である。出力電流の立ち上がり時間d/w+をX線
の立ち上がり時間t0に等しくするための印加電圧V
は、次式で表され、圧力pに比例し、電極間距離dの2
乗に比例する。Thus, the rise time of the output current of the line sensor 16 is equal to the ion movement time d / w +
It can be seen that FIG. 12 shows this measurement. Applied voltage V to equal the rise time of the output current d / w + the rise time t 0 of the X-ray
Is represented by the following equation, is proportional to the pressure p, and is 2
It is proportional to the power.
【数14】 [Equation 14]
【0046】これらの関係を図13に示す。低い電圧で
検出速度を早くするには、電極間距離dを1mm、ガス
圧pを10atm、印加電圧Vを1500Vに設定す
る。これにより、立ち上がり時間tを100μsにする
ことができる。FIG. 13 shows these relationships. To increase the detection speed at a low voltage, the distance d between the electrodes is set to 1 mm, the gas pressure p is set to 10 atm, and the applied voltage V is set to 1500 V. Thereby, the rise time t can be set to 100 μs.
【0047】半導体検出装置16bは、図14に示すよ
うに、p−n接合タイプのものを使用できる。素子の接
合間にX線が入射すると、電流パルスを発生する。p−
n接合のほか、p−i−n接合タイプのものも使用する
ことができる。このような半導体検出装置16bを使用
した場合、コンパクトで出力の直線性がよい多チャンネ
ルの検出器とすることができる。As the semiconductor detecting device 16b, a pn junction type can be used as shown in FIG. When an X-ray is incident between the junctions of the element, a current pulse is generated. p-
In addition to the n-junction, a pin-junction type can also be used. When such a semiconductor detector 16b is used, a multi-channel detector that is compact and has good output linearity can be obtained.
【0048】前記ラインセンサ16による検出の原理に
ついて説明する。被検出物は、空間的に不均一なカプセ
ルや、空間的にほぼ均一な錠剤とが存在する。このよう
な被検出物が包装された包装袋12aにX線を透過させ
て、ある範囲の平面を再生するには、一般には、その平
面内の全ての点において、その点を通るあらゆる方向の
撮影データが必要となる。しかし、離散的有限の撮影デ
ータからでも、許容範囲内で、再生像を形成することが
できる。この場合、当然ながら、空間的に均一な構造の
錠剤と、空間的に不均一なカプセルでは再生像の精度に
差異が生じる。錠剤のような被検出物は、外形形状が割
と単純に形成されているため、ドーナツ形のトローチ錠
を除き、X線が被検出物に対してある方向から2度透過
することはない。したがって、X線が錠剤を透過すると
きの吸収率を考慮すれば、画像の再生が可能である。The principle of detection by the line sensor 16 will be described. The detection object includes a spatially non-uniform capsule and a spatially substantially uniform tablet. In order to transmit X-rays through the packaging bag 12a in which such an object is packaged to reproduce a plane in a certain range, generally, at all points in the plane, all points in the direction passing through the point are used. Shooting data is required. However, a reproduced image can be formed within a permissible range even from discrete finite photographing data. In this case, of course, the accuracy of the reproduced image differs between a tablet having a spatially uniform structure and a capsule having a spatially non-uniform structure. Since an object to be detected such as a tablet has a relatively simple outer shape, X-rays do not penetrate the object twice from a certain direction except for a donut-shaped troche tablet. Therefore, the image can be reproduced by taking into account the absorptivity when X-rays pass through the tablet.
【0049】ラインセンサ16は、図15に示すよう
に、包装袋12aが立体3軸(x,y,z)において水
平なx−z面内でz(−)方向に搬送されるとすると、
x軸方向に平行なa−a´線上に配置される。包装袋12
a内で錠剤が重なり合っていると、錠剤の個数や形状の
判別が困難であるため、図16に示すように、暴射前の
位置に、包装袋12a内の錠剤を分離する分離装置32
を設けることが好ましい。この分離装置32は、包装袋
12aの下方に併設された2つのスポンジローラ33
a,33bと、包装袋12aの上方に配置された1つの
スポンジローラ33cとから構成され、それらの間に包
装袋12aを挟んで波型に通過させることで重なった錠
剤を分離するようになっている。なお、この分離装置は
32は、3つのスポンジローラ33a,33b,33c
に限らず、それ以上の数のスポンジローラで構成しても
よい。As shown in FIG. 15, when the packaging bag 12a is conveyed in the z (-) direction within the horizontal xz plane in three axes (x, y, z) as shown in FIG.
They are arranged on the line aa ′ parallel to the x-axis direction. Packaging bag 12
If the tablets overlap each other in the area a, it is difficult to determine the number and shape of the tablets. Therefore, as shown in FIG.
Is preferably provided. The separating device 32 includes two sponge rollers 33 provided below the packaging bag 12a.
a and 33b, and one sponge roller 33c arranged above the packaging bag 12a. The overlapping tablets are separated by passing the packaging bag 12a between them in a corrugated manner. ing. The separating device 32 includes three sponge rollers 33a, 33b, 33c.
However, the present invention is not limited to this, and may include more sponge rollers.
【0050】ラインセンサ16は、包装袋12aが移送
されるにつれて、該包装袋12aのp1,p2,p3,
…,pnの各X線暴射ポイントの透過量を検出する。暴
射ポイントp1,p2,p3,…,pnのピッチは、本
実施形態の場合、図17に示すように、0.76mmで
ある。As the packaging bag 12a is transported, the line sensor 16 detects p1, p2, p3, and p3 of the packaging bag 12a.
, Pn is detected at each X-ray radiation point. The pitch of the shooting points p1, p2, p3,..., Pn is 0.76 mm in this embodiment, as shown in FIG.
【0051】図17のようにラインセンサ16の暴射ポ
イントにカプセル剤が位置している場合、ラインセンサ
16により検出されたX線の透過量は、図18に示すグ
ラフで示される。When the capsule agent is located at the point where the line sensor 16 strikes as shown in FIG. 17, the transmission amount of X-rays detected by the line sensor 16 is shown by a graph shown in FIG.
【0052】また、図15のように、カプセル剤と錠剤
が包装されている包装袋12aの暴射ポイントp1,p
2,p3,p4,p5のX線透過量のグラフを図19か
ら23に示す。なお、図を簡略にするため、各ポイント
は2ポイントおきに示されている。図22から23にお
いて、ポイントp1−1では、包装袋12aのみによる
X線透過量の減衰が検出され、ポイントp1−2では、
カプセルの端部によるX線透過量の減衰部分が見え始
め、ポイントp1−3からp3−2まではカプセルの中
央部による大きな減衰が見られる。また、ポイントp3
−3からは錠剤によるX線透過量の減衰部分が見えはじ
め、ポイントp4−1ではカプセルによるX線透過量の
減衰が小さくなる。ポイントp4−2からポイントp5
−2までは錠剤によるX線透過量の減衰のみとなり、ポ
イントp5−3では包装袋12aのみによるX線透過量
の減衰が検出される。これらの図19から23に示す減
衰データを3次元グラフに示すと、図24のようにな
る。Further, as shown in FIG. 15, the shooting points p1, p of the packaging bag 12a in which the capsules and tablets are packaged.
Graphs of the X-ray transmission amounts of 2, p3, p4, and p5 are shown in FIGS. For simplification of the drawing, each point is shown every two points. 22 to 23, at point p1-1, the attenuation of the amount of X-ray transmission by only the packaging bag 12a is detected, and at point p1-2,
An attenuated portion of the amount of X-ray transmission due to the end of the capsule begins to be seen, and from point p1-3 to point p3-2, a large attenuation due to the center of the capsule is observed. In addition, point p3
From -3, the part where the amount of X-ray transmission by the tablet is attenuated begins to be seen, and at point p4-1, the attenuation of the amount of X-ray transmission by the capsule decreases. Point p4-2 to point p5
Until -2, only the attenuation of the X-ray transmission amount by the tablet is detected, and at the point p5-3, the attenuation of the X-ray transmission amount by only the packaging bag 12a is detected. FIG. 24 shows the attenuation data shown in FIGS. 19 to 23 in a three-dimensional graph.
【0053】今、仮に図25に示すように包装袋12a
内に包装不良要素である針金や錠剤の欠けが包装されて
いる場合も、同様にして、X線透過量を検出し、その減
衰データから減衰幅を求め、その減衰幅の中心を軸上に
並べると、図26(a)から図27(d)に示すグラフ
が得られる。この図において、横軸の0000−111
1は、ラインセンサ16の検出座標位置で、縦軸は、減
衰幅である。Now, as shown in FIG. 25, the packaging bag 12a
In the same way, if a missing wire or tablet, which is a defective packaging element, is packaged inside, the amount of X-ray transmission is detected in the same way, the attenuation width is obtained from the attenuation data, and the center of the attenuation width is set on the axis. When arranged, the graphs shown in FIGS. 26A to 27D are obtained. In this figure, 0000-111 on the horizontal axis
1 is a detection coordinate position of the line sensor 16, and the vertical axis is an attenuation width.
【0054】次に、X線透過量の減衰データから包装袋
12aによる減衰量を減算し、さらにノイズ除去やエッ
ジ強調処理、減衰量の中心値検出処理を施し、減衰量の
中心を揃えて並べ直すと、図28に示すグラフィック画
像が得られる。本実施形態では、厚み方向すなわちy方
向のX線透過量の減衰量しか検出できないので、重なり
錠剤は重なったままの錠剤形状が再現される。Next, the amount of attenuation by the packaging bag 12a is subtracted from the attenuation data of the amount of X-ray transmission, and noise removal, edge emphasis processing, and detection of the center value of the amount of attenuation are performed. In other words, the graphic image shown in FIG. 28 is obtained. In the present embodiment, since only the attenuation of the X-ray transmission amount in the thickness direction, that is, the y direction, can be detected, the tablet shape of the overlapping tablet is reproduced as it is.
【0055】図28のグラフィック画像は、錠剤の持つ
X線吸収率を単純に1/2にして表現しているが、実際
には錠剤のX線吸収率が種類毎に相違するためy軸方向
に歪みを有している。この歪みは、錠剤種類が特定され
た後に、歪み率を掛けて修正することができる。Although the graphic image of FIG. 28 simply expresses the X-ray absorptivity of the tablet as halved, the X-ray absorptivity of the tablet is different for each type, but in the y-axis direction. Has distortion. This distortion can be corrected by multiplying the distortion rate after the tablet type is specified.
【0056】y軸方向の歪みは、錠剤の判別ができなく
なるほどの重大な問題ではない。その理由は、包装され
た薬剤が何であるかは処方箋データによって予め知るこ
とができるので、包装されたであろう薬剤のX線吸収率
データを記憶部から読み出し、該吸収率データに基づい
てX線透過量の検出データを修正して形状データを作成
し、該作成した形状データと予め包装された錠剤の形状
データが一致するか否かを判定すればよいからである。
これらが一致しないということは、包装した錠剤が間違
っている可能性が高い。The distortion in the y-axis direction is not such a serious problem that the tablets cannot be distinguished. The reason for this is that since the identity of the packaged drug can be known in advance by the prescription data, the X-ray absorption rate data of the drug that would have been packaged is read out from the storage unit, and the X-ray absorption data is determined based on the absorption rate data. This is because shape data may be created by correcting the detection data of the line transmission amount, and it may be determined whether or not the created shape data matches the shape data of the pre-packaged tablet.
If these do not match, the packaged tablet is likely to be wrong.
【0057】このとき、判定基準データとして図29や
図30に示すような実測データを予め記憶させておき、
該判定基準データと被検出物の検出データとを比較して
判定するほうが、3次元データとして記憶したもので判
定するよりも精度が高くなる。この理由は、y軸方向の
歪みを持ったものを3次元データに変換する過程で、デ
ータが真値から外れる恐れが高いからである。なお、図
29は丸形の錠剤で図47に示すエブトール、図30は
四角形で表面に「A」の溝が刻印された錠剤で図47に
示すアナドールの一方向から照射した時の実測データで
ある。At this time, actual measurement data as shown in FIG. 29 and FIG.
The accuracy is higher when comparing the criterion data with the detection data of the object to be detected than when using the data stored as three-dimensional data. The reason is that there is a high possibility that the data deviates from the true value in the process of converting the data having the distortion in the y-axis direction into three-dimensional data. FIG. 29 is a round tablet with Ebutol shown in FIG. 47, and FIG. 30 is a square tablet with an “A” groove engraved on the surface, and is measured data when irradiated from one direction of anadol shown in FIG. 47. is there.
【0058】マーク付与装置17は、図31に示すよう
に、各不良項目に対応して色の異なる複数のペン34を
ホルダ35を介して支持軸36に支持するとともに、フ
レーム37に取り付けられたソレノイド38で各ペン3
4の先端部を包装袋12aに押し付けるようにしたもの
を使用することができる。各ペン34は、ソレノイド3
8が動作しない時に、包装袋12aから離れるように図
示しないばねで付勢されている。また、ペン先は、乾燥
しないように、フレーム37に形成された溝39に収納
されるようになっている。マーク付与装置17は、制御
装置18が個数又は形状判別処理するのに要する時間だ
け、包装袋内の薬剤がラインセンサ16を通過した位置
よりも後方に設けられている。As shown in FIG. 31, the marking device 17 supports a plurality of pens 34 of different colors corresponding to the respective defective items on a support shaft 36 via a holder 35 and is attached to a frame 37. Each pen 3 with solenoid 38
4 can be used in such a manner that the front end is pressed against the packaging bag 12a. Each pen 34 has a solenoid 3
When the package 8 does not operate, it is urged by a spring (not shown) so as to separate from the packaging bag 12a. The pen tip is stored in a groove 39 formed in the frame 37 so as not to dry. The marking device 17 is provided behind the position where the medicine in the packaging bag has passed the line sensor 16 by the time required for the control device 18 to perform the number or shape determination processing.
【0059】制御装置18は、図1に示すように、本発
明の記憶手段、個数判別処理手段または形状判別処理手
段、および比較処理手段を構成するものであり、パソコ
ンで構成することができる。ここで、制御装置18を3
台設けても良い。すなわち、1台目の制御装置はライン
センサ16からのデータを記憶手段に時系列に書き込
み、2台目の制御装置へそのデータを送信する。2台目
の制御装置は包装された薬剤の個数判別、形状判別処理
してそのデータを記憶する。3台目の制御装置は包装袋
内に包装した処方データと、前記2台目の制御装置で処
理された該当データとを比較し、良否判定すると共に、
その判定結果に基づいて、マーク付与手段17を作動さ
せる。このように、複数の制御装置を接続して、処理工
程別に処理させると、良否判定結果が早急に判別できる
ため、包装速度を低下させることなく処理が行える。As shown in FIG. 1, the control device 18 comprises the storage means, the number discrimination processing means or the shape discrimination processing means, and the comparison processing means of the present invention, and can be constituted by a personal computer. Here, the control device 18 is set to 3
A table may be provided. That is, the first control device writes the data from the line sensor 16 in the storage unit in a time series and transmits the data to the second control device. The second control device determines the number of packaged medicines and performs shape determination processing and stores the data. The third control device compares the prescription data packed in the packaging bag with the corresponding data processed by the second control device,
The mark providing means 17 is operated based on the determination result. In this way, when a plurality of control devices are connected and processed for each processing step, the result of the pass / fail determination can be quickly determined, so that the processing can be performed without lowering the packaging speed.
【0060】制御装置18による測定動作およびデータ
処理動作については、後述することとし、以下に、錠剤
検出装置1の他の実施形態について説明する。なお、以
下の実施形態において、前記第1実施形態と実質的に対
応する部分には同一符号を付して、説明を省略する。The measurement operation and the data processing operation by the control device 18 will be described later, and another embodiment of the tablet detection device 1 will be described below. In the following embodiments, portions substantially corresponding to those of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
【0061】<第2実施形態>図32は、本発明の第2
実施形態にかかる錠剤検査装置を示す。この錠剤検査装
置では、図10の前記第1実施形態の錠剤検査装置と同
様に、X線管14とラインセンサ16が配置されている
が、これに加えて包装袋12aに包装された薬剤をy軸
方向から撮影するCCDカメラ40が包装袋12aの上
方に配置されている。<Second Embodiment> FIG. 32 shows a second embodiment of the present invention.
1 shows a tablet inspection device according to an embodiment. In this tablet inspection device, an X-ray tube 14 and a line sensor 16 are arranged similarly to the tablet inspection device of the first embodiment in FIG. 10, but in addition to this, the medicine packaged in the packaging bag 12a is used. A CCD camera 40 for photographing from the y-axis direction is disposed above the packaging bag 12a.
【0062】このCCDカメラ40により、錠剤の色彩
データと外観寸法データを取得することができる。CC
Dカメラ40によって色彩データを取得することによ
り、錠剤の重なりがある程度可能となるほか、錠剤種の
判別がより正確になる。X線データでは図33に示すよ
うな半影部分によって錠剤寸法検出精度が悪化するが、
前記CCDカメラ40で取得した外観寸法データを使用
して補正することができる。このような処理を行う場合
も制御装置を独立させると、包装速度に影響を与えるこ
となく全体の処理が遂行できる。The color data and the external dimension data of the tablet can be obtained by the CCD camera 40. CC
By obtaining the color data by the D camera 40, the tablets can be overlapped to some extent, and the discrimination of the tablet type becomes more accurate. In the X-ray data, the tablet size detection accuracy is deteriorated by the penumbra as shown in FIG.
The correction can be made using the external dimension data acquired by the CCD camera 40. In the case of performing such processing as well, if the control device is made independent, the entire processing can be performed without affecting the packaging speed.
【0063】<第3実施形態>図34は、本発明の第3
実施形態にかかる錠剤検査装置を示す。この錠剤検査装
置では、y軸方向に配置されたX線管14とラインセン
サ16に加えて、x軸方向にもX線管14とラインセン
サ16が配置されており、包装袋12aに90°ずれた
2方向からX線が同時に照射されるようになっている。
この装置によれば、図35に示すように、x軸方向とy
軸方向のX線透過量のデータによって、重なって包装さ
れた錠剤の判別がある程度可能となる。また、2方向の
データにより、図36に示す断面画像や、図24に示す
3次元画像を表示させることができる。<Third Embodiment> FIG. 34 shows a third embodiment of the present invention.
1 shows a tablet inspection device according to an embodiment. In this tablet inspection device, in addition to the X-ray tube 14 and the line sensor 16 arranged in the y-axis direction, the X-ray tube 14 and the line sensor 16 are also arranged in the x-axis direction. X-rays are simultaneously emitted from two shifted directions.
According to this device, as shown in FIG.
The data of the amount of X-ray transmission in the axial direction makes it possible to discriminate tablets packaged in an overlapping manner to some extent. Further, the cross-sectional image shown in FIG. 36 and the three-dimensional image shown in FIG. 24 can be displayed based on the data in two directions.
【0064】<第4実施形態>図37は、本発明の第4
実施形態にかかる錠剤検査装置を示す。この検査装置で
は、被検査体の周囲に環状軌道41が配置されて該環状
軌道41上にX線管14が移動可能に搭載されるととも
に、環状軌道41の外側周囲に環状ラインセンサ16が
配置されている。環状軌道41と環状ラインセンサ16
の間には、2つのリングの間にスリット27を設けてな
るマスク26が配置されている。X線管14と被検査体
の包装袋12aの間には、アルミニウムからなるフィル
タ25が備えられ、X線管14と一体になって被検査体
の周りを旋回するようになっている。<Fourth Embodiment> FIG. 37 shows a fourth embodiment of the present invention.
1 shows a tablet inspection device according to an embodiment. In this inspection apparatus, an annular trajectory 41 is arranged around an object to be inspected, the X-ray tube 14 is movably mounted on the annular trajectory 41, and an annular line sensor 16 is arranged around the outside of the annular trajectory 41. Have been. Annular track 41 and annular line sensor 16
Between them, a mask 26 having a slit 27 provided between two rings is arranged. A filter 25 made of aluminum is provided between the X-ray tube 14 and the packaging bag 12a for the object to be inspected, and is turned around the object to be inspected integrally with the X-ray tube 14.
【0065】前記錠剤検査装置において、図37から図
40に示すように、包装袋12aをz軸方向に送るとと
もに、X線管14を所定角度づつ旋回させることによ
り、X線透過率データを取得し、該データから包装袋1
2aの減衰量を減算し、ノイズの除去、エッジ強調処
理、減衰量の中心値検出処理を施し、減衰量の中心を揃
えて検出角度に対応させて、螺旋状に繋ぎ合わせると、
図41に示す画像データが得られる。In the tablet inspection apparatus, as shown in FIGS. 37 to 40, the packaging bag 12a is sent in the z-axis direction, and the X-ray tube 14 is turned by a predetermined angle to obtain X-ray transmittance data. And from the data, the packaging bag 1
Subtracting the attenuation amount of 2a, performing noise removal, edge enhancement processing, and detection processing of the center value of the attenuation amount, aligning the centers of the attenuation amounts, corresponding to the detection angle, and joining them spirally,
The image data shown in FIG. 41 is obtained.
【0066】<第5実施形態>図42は、本発明の第5
実施形態にかかる錠剤検査装置を示す。この検査装置
は、図34と図37の構成を合わせ持った構成を有して
いる。すなわち、90°ずれた方向に2つのX線管14
が配置されるとともに、被検査体である包装袋12aの
周囲に前記2つのX線管14の環状軌道41と環状ライ
ンセンサ16が配置されている。この錠剤検査装置で
は、2つのX線管14は90°の位置関係を保ちながら
被検査体である包装袋12aの周囲を旋回するため、被
検査体の厚みデータとX線透過量データを同時に検出で
きるとともに、被検査体の外径形状を多方向から測定で
きる。このため、包装袋12aに多量の錠剤が包装さ
れ、多重に重なり合っていても、錠剤の種類、数量を正
確に判別することができる。<Fifth Embodiment> FIG. 42 shows a fifth embodiment of the present invention.
1 shows a tablet inspection device according to an embodiment. This inspection apparatus has a configuration combining the configurations shown in FIGS. 34 and 37. That is, the two X-ray tubes 14
Are arranged, and an annular orbit 41 of the two X-ray tubes 14 and an annular line sensor 16 are arranged around a packaging bag 12a which is an object to be inspected. In this tablet inspection apparatus, since the two X-ray tubes 14 rotate around the packaging bag 12a, which is the inspection object, while maintaining the positional relationship of 90 °, the thickness data of the inspection object and the X-ray transmission amount data are simultaneously obtained. In addition to being able to detect, the outer diameter shape of the test object can be measured from multiple directions. For this reason, even if a large amount of tablets are packed in the packaging bag 12a and overlapped multiple times, the type and quantity of tablets can be accurately determined.
【0067】前記錠剤検査装置では、X線管14は10
°ピッチの暴射ポイントでX線を照射しながら360°
回転し、包装袋12aは前記10°の暴射ポイントがく
る毎に0.76mmピッチでz軸方向に移動することが
できるので、検査時間を短縮することができる。In the tablet inspection apparatus, the X-ray tube 14 has 10
° 360 ° while irradiating X-rays at the pitch firing point
Since the packaging bag 12a rotates and can move in the z-axis direction at a pitch of 0.76 mm each time the 10 ° assault point comes, the inspection time can be reduced.
【0068】<第6実施形態>図43は、本発明の第6
実施形態にかかる錠剤検査装置を示す。この検査装置
は、前記第5実施形態と同様であるが、被検査体がバイ
アル瓶42に充填された錠剤である点で相違している。
バイアル瓶42は、欧米で使用されるもので、幼児が開
封するのを防止するためのプラスチック製キャップ43
を備え、処方日数分の錠剤が1種類充填される。このバ
イアル瓶42は、図44に示すように、搬送ベルト44
上を搬送される。バイアル瓶42は、その中に錠剤が多
重に重なった状態であるうえ、前記実施形態の包装袋1
2aよりもX線減衰量が大きいため、z軸方向の1つの
測定ポイントにおける測定回数を多くして、錠剤の錠数
と種類の判別をより高精度に行う必要がある。<Sixth Embodiment> FIG. 43 shows a sixth embodiment of the present invention.
1 shows a tablet inspection device according to an embodiment. This inspection apparatus is the same as the fifth embodiment, except that the inspection object is a tablet filled in the vial 42.
The vial 42 is used in Europe and the United States, and has a plastic cap 43 for preventing an infant from opening.
And one kind of tablet for the number of prescription days is filled. As shown in FIG. 44, the vial 42
Conveyed above. The vial 42 has a state in which the tablets are multiplexed in the vial 42, and the packaging bag 1 of the above-described embodiment.
Since the amount of X-ray attenuation is larger than 2a, it is necessary to increase the number of measurements at one measurement point in the z-axis direction and determine the number and type of tablets with higher accuracy.
【0069】<測定動作>次に、図32に示す第2実施
形態の錠剤検査装置の測定動作およびデータ処理動作を
図45,図46のフローチャートに従って説明するが、
他の実施形態についてもほぼ同様である。<Measurement Operation> Next, the measurement operation and data processing operation of the tablet inspection apparatus of the second embodiment shown in FIG. 32 will be described with reference to the flowcharts of FIGS. 45 and 46.
The same applies to other embodiments.
【0070】まず、測定動作について説明すると、図4
5に示すように、ステップ101で包装袋12aのz軸
方向の搬送座標をリセットし、ステップ102で包装を
開始する。ステップ103で包装袋12aが検出点に到
達したかを判断し、到達すればステップ104でX線を
照射し、ステップ105でラインセンサ16の出力デー
タを記憶する。続いて、ステップ106で1包分の範囲
の全ての検出点でのデータ取得が完了したか否かを判断
し、完了していなければステップ103に戻って次の検
出点のデータを取得する。1包分の範囲の全ての検出点
でのデータ取得が完了していれば、ステップ107で1
包分の範囲をCCDカメラ40で撮影し、ステップ10
8でそのカラー画像を記憶する。続いて、ステップ10
9で次の包装袋の測定があるか否かを判断し、あればス
テップ101に戻り、なければ終了する。First, the measuring operation will be described.
As shown in FIG. 5, in step 101, the transport coordinates of the packaging bag 12a in the z-axis direction are reset, and in step 102, packaging is started. In step 103, it is determined whether or not the packaging bag 12a has reached the detection point. If it has reached, the X-ray is irradiated in step 104, and the output data of the line sensor 16 is stored in step 105. Subsequently, in step 106, it is determined whether or not data acquisition has been completed for all detection points within the range of one package, and if not completed, the flow returns to step 103 to acquire data for the next detection point. If the data acquisition at all the detection points within the range of one package has been completed, at step 107
The area of the package is photographed by the CCD camera 40, and step 10
At step 8, the color image is stored. Then, Step 10
In step 9, it is determined whether or not there is a measurement for the next packaging bag. If so, the process returns to step 101; otherwise, the process ends.
【0071】<データ処理動作>続いて、前記測定動作
により取得したデータの処理動作を図46のフローチャ
ートに従って説明する。<Data Processing Operation> Next, the operation of processing the data obtained by the measurement operation will be described with reference to the flowchart of FIG.
【0072】ステップ111で、まず、記憶したライン
センサ16の出力データを読み出す。ステップ112
で、この出力データの各ポイントの減衰幅を特定し、ス
テップ113で、この減衰幅の中心をセンサ座標とz軸
座標に対応させて整列させる。ステップ114では、予
め記憶したX線減衰率に基づき、ラインセンサ16の出
力データであるX線透過量から錠剤の形状を判別する。
次に、ステップ115で、錠剤形状の中心位置を判別す
る。この中心位置は、後のステップで色彩データと対応
させるときのマークとなる。ステップ116では、錠剤
の回転方向を判別する。錠剤はあらゆる方向に向いて包
装袋12aに包装されるが、このように錠剤回転方向を
判別しておくと、錠剤の判別照合が迅速に行える。In step 111, first, the stored output data of the line sensor 16 is read. Step 112
Then, the attenuation width of each point of the output data is specified, and in step 113, the center of the attenuation width is aligned in correspondence with the sensor coordinates and the z-axis coordinates. In step 114, the shape of the tablet is determined from the X-ray transmission amount, which is the output data of the line sensor 16, based on the X-ray attenuation rate stored in advance.
Next, in step 115, the center position of the tablet shape is determined. This center position becomes a mark when it is made to correspond to the color data in a later step. In step 116, the rotation direction of the tablet is determined. The tablets are packaged in the packaging bag 12a in all directions. If the tablet rotation direction is determined in this way, the tablet can be identified and collated quickly.
【0073】ステップ117では、CCDカメラ40で
取得した色彩データを記憶装置から読み出し、ステップ
118で、CCDカメラ40の色彩データとラインセン
サ16のX線透過量データを錠剤中心位置に合わせてズ
レを調整する。ステップ119では、前記ステップ11
8で作成した色彩データから3次元画像データを作成す
る。In step 117, the color data acquired by the CCD camera 40 is read from the storage device, and in step 118, the color data of the CCD camera 40 and the X-ray transmission amount data of the line sensor 16 are adjusted to the center position of the tablet to correct the deviation. adjust. In step 119, step 11
The three-dimensional image data is created from the color data created in step 8.
【0074】続いて、ステップ120では、判別基準デ
ータを読み出す。このとき、全ての錠剤に対応する判別
基準データを読み出して照合判定するよりも、現在着目
している包装袋12aに包装されるべき錠剤に対応する
判別基準データのみを読み出して照合判定するほうが、
判定処理を非常に速く行うことができるので好ましい。
ステップ121では、3次元画像データの錠剤中心位置
の数をカウントして同種錠剤の錠数を判定し、ステップ
122では、前記ステップ120で読み出した判別基準
データと対応させて錠剤の種類を判別し、ステップ12
3で包装錠剤を判別する。Subsequently, at step 120, the judgment reference data is read. At this time, it is better to read out only the discrimination reference data corresponding to the tablets to be packed in the packaging bag 12a currently focused on than to read out the discrimination reference data corresponding to all tablets and perform the collation judgment.
This is preferable because the determination process can be performed very quickly.
In step 121, the number of tablet center positions in the three-dimensional image data is counted to determine the number of tablets of the same kind. In step 122, the type of tablet is determined in correspondence with the determination reference data read in step 120. , Step 12
In step 3, the packaged tablets are identified.
【0075】ステップ124では、包装袋12aにゴ
ミ、異物、錠剤の欠け等が存在していないかどうかを調
べるために、判別基準データに対応しない検出データが
あるか否かを判断し、あればステップ127で不良品マ
ークを付与してステップ128で不良品表示をし、なけ
ればステップ125に進む。ステップ125では、包装
すべき薬剤の処方データと、判別された錠剤の錠数およ
び種類とが一致するか否かを判断し、完全一致しなけれ
ばステップ127で不良品マークを付与してステップ1
28で不良品表示をし、完全一致していればステップ1
26で合格表示をする。以上の判定結果は、患者識別番
号と対応させて記憶する。At step 124, it is determined whether or not there is detection data that does not correspond to the discrimination reference data, in order to check whether or not there is dust, foreign matter, chipped tablet or the like in the packaging bag 12a. At step 127, a defective product mark is provided, and at step 128, a defective product is displayed. In step 125, it is determined whether or not the prescription data of the medicine to be packaged matches the number and type of the determined tablets. If they do not completely match, a defective mark is added in step 127, and
Defective products are displayed at 28, and if they completely match, step 1
At 26, a pass is indicated. The above determination result is stored in association with the patient identification number.
【0076】<不良品のデータ処理>不良品として判別
される項目には、以下のものがある。 1.包装袋帯の投入位置の前後のズレ込み 2.異物の混入 3.薬剤の割れ 4.薬剤の過不足 5.処方薬剤種と包装薬剤種の相違<Defective Product Data Processing> The following items are identified as defective products. 1. 1. Include a shift before and after the loading position of the packaging bag belt. 2. Mixing of foreign matter 3. Cracking of drug 4. Excess or deficiency of drug Difference between prescription and packaged drug types
【0077】前記不良包装を検出した場合、調剤師にそ
のことを報知し、場合によっては包装をやり直す必要が
ある。不良品の報知には、モニタや表示ランプ、ブザー
等が考えられるが、包装袋帯のどの部分でどのような不
良が発生したかを明確に示すために、前述したマーク付
与装置17によって包装袋帯の該当部分に直接、不良項
目に対応したマークを付与することが好ましい。When the defective packaging is detected, it is necessary to notify the dispenser of the fact and to repeat packaging in some cases. A monitor, a display lamp, a buzzer, or the like may be used to notify a defective product. However, in order to clearly indicate what part of the packaging bag belt has failed and what kind of defect has occurred, the marking device 17 described above is used to notify the defective product. It is preferable that a mark corresponding to the defective item is directly added to the corresponding portion.
【0078】前記包装不良のうち、まず、包装袋帯の投
入位置の前後のズレ込みの不良があった場合のデータ処
理を説明する。例えば、ある患者について錠剤A1日3
回毎食後各1錠と錠剤B朝夕1日2回毎食後各1錠の4
日分の処方があった場合、包装袋帯には、「朝」、
「昼」、「夕」が順に印字され、「朝」と印字された包
装袋には2錠、「昼」と印字された包装袋には1錠、
「夕」と印字された包装袋には2錠が包装されなければ
ならない。ここで、包装袋帯の投入位置の前後のズレ込
みが発生すると、「朝」と印字された包装袋には1錠、
「昼」と印字された包装袋には2錠となり、印字された
服用時期に適切な服用数の錠剤が入っていないことにな
る。First, among the above-mentioned packaging defects, data processing in the case where there is a misalignment before and after the insertion position of the packaging bag belt will be described. For example, for a patient, tablet A 3
One tablet after each meal and one tablet B each morning and evening twice after meals
If there is a prescription for the day, the wrapping bag belt will include "morning",
"Lunch" and "Evening" are printed in order, two tablets in the packaging bag printed "Morning", one tablet in the packaging bag printed "Lunch",
Two tablets must be packaged in the packaging bag marked "evening". Here, when a shift occurs before and after the insertion position of the packaging bag belt, one tablet is added to the packaging bag printed with “morning”.
There are two tablets in the packaging bag marked "noon", which means that an appropriate number of tablets are not contained in the printed dose period.
【0079】従来、このような不良が発生すると、
「朝」と「昼」の2袋を包装袋帯から切り外すととも
に、その2袋の処方を包装装置の端末から入力して包装
し直す必要があった。しかし、本発明の実施形態では、
前記不良を判別すると、「朝」と「昼」の2袋に対応す
る処方データが包装装置の割り込み待機情報として設定
されるので、入力の手間が省ける。不良品の2袋分の錠
剤は、前記割り込み待機情報にしたがって、当該患者の
包装終了後に、自動的に再包装される。Conventionally, when such a defect occurs,
It was necessary to cut off the two bags of "morning" and "noon" from the packaging bag band, input the prescriptions of the two bags from the terminal of the packaging device, and repackage. However, in the embodiment of the present invention,
When the defect is determined, the prescription data corresponding to the two bags of "morning" and "noon" are set as interrupt standby information of the packaging device, so that the trouble of inputting can be saved. The two defective tablets are automatically re-packaged after the completion of the patient's packaging according to the interrupt waiting information.
【0080】次に、異物の混入、薬剤の割れおよび薬剤
の過不足の不良があった場合には、不良品となる包装袋
は1つであるから、その包装袋の処方データが包装装置
の割り込み待機情報として設定される。ネジ、針金、ナ
ット、小石等の金属を含む物体でX線透過量がゼロのも
のや、判別基準データに適合しない小細物体は、全て異
物の混入として判別する。また、図62(A)、(B)
に示すように、検出データが実測データの90パーセン
トと一致するが、10%以内の欠損部が存在して整合し
ない場合、良品として処理して、それを超えてサイズが
小さいデータと判断した場合は、錠剤の割れとして判別
する。更に、図62(C)に示すように、記憶データが
実測データに対して形状的に一致するにも関わらず、サ
イズが大きい又は小さい等の結果からデータの不一致と
なる場合には、予め記憶データにその薬剤の寸法公差を
対応して記憶しておき、実測データが、記憶した寸法公
差の範囲にあれば、処方に適した薬剤であると判別し、
寸法公差を越えたものは、他の薬剤が混入したものとし
て処理する。Next, in the case where there is a defect such as mixing of foreign matter, cracking of the medicine, and excess or deficiency of the medicine, only one packaging bag becomes a defective product. It is set as interrupt waiting information. Objects containing metals such as screws, wires, nuts, pebbles, etc., which have an X-ray transmission amount of zero, and small objects that do not conform to the discrimination reference data are all determined to be foreign substances. Further, FIGS. 62 (A) and (B)
As shown in the figure, when the detected data matches 90% of the actual measurement data, but there is a missing part within 10% and the data does not match, it is processed as a non-defective product, and it is judged that the data is smaller than that. Is determined as a crack in the tablet. Further, as shown in FIG. 62 (C), in the case where the data does not match due to a result such as a large or small size in spite of the fact that the stored data is geometrically identical to the actually measured data, the data is stored in advance. The data is stored in correspondence with the dimensional tolerance of the drug, and if the measured data is within the range of the stored dimensional tolerance, it is determined that the drug is suitable for prescription,
Those exceeding the dimensional tolerance are treated as if other chemicals were mixed.
【0081】また、処方薬剤種と包装薬剤種の相違の不
良があった場合には、前記同様の処理を行うが、同じ不
良が連続して起こる場合には、錠剤カセットの装着ミス
が原因であると考えられるので、包装を停止してエラー
表示を行い、処方データをリセットすることが好まし
い。When there is a defect in the difference between the prescription drug type and the packaged drug type, the same processing as described above is performed. Therefore, it is preferable to stop the packaging, display an error, and reset the prescription data.
【0082】<錠剤判別基準データ>続いて、錠剤判別
基準データについて説明する。錠剤判別を行う場合、基
準となる比較データが必要である。この錠剤判別基準デ
ータは、次の3つの形態で記憶しておくことが好まし
い。 1.各錠剤のX線実測値をノイズを除いて記憶する。 2.各錠剤のX線実測値を透過率で補正して記憶する。 3.各錠剤のカラー情報を含む3次元データサイズとし
て記憶する。 この他に、各錠剤の体積、透過率、形状、サイズ等の方
程式を記憶することができる。<Tablet Discrimination Criteria Data> Next, the tablet discrimination reference data will be described. When performing tablet discrimination, comparative data serving as a reference is required. This tablet discrimination reference data is preferably stored in the following three forms. 1. The measured X-ray value of each tablet is stored without noise. 2. The measured X-ray value of each tablet is corrected with the transmittance and stored. 3. It is stored as a three-dimensional data size including the color information of each tablet. In addition, equations such as the volume, transmittance, shape, and size of each tablet can be stored.
【0083】図47は、薬剤データを3次元データに変
換して記憶したものであり、図10の装置に対応するも
のと、図37に対応するものとが示されている。FIG. 47 is a diagram in which the drug data is converted into three-dimensional data and stored. FIG. 47 shows the one corresponding to the apparatus in FIG. 10 and the one corresponding to FIG.
【0084】図10の装置に対応するデータは、実際に
は図29,図30の形式で記憶され、この記憶したデー
タを3次元画像に置き換えたもので表現している。この
ため、図10の装置に対応するデータは、純粋にX線の
透過量でしか表現されていないため、錠剤の断面構造の
判別ができないが、錠剤毎に透過量が外観形状や内部構
造などから相違するため、透過量データ(予め実測デー
タとして記憶している)から判別できる。The data corresponding to the device shown in FIG. 10 is actually stored in the format shown in FIGS. 29 and 30, and the stored data is represented by a three-dimensional image. For this reason, since the data corresponding to the apparatus of FIG. 10 is expressed purely only by the amount of transmission of X-rays, the cross-sectional structure of the tablet cannot be determined. Therefore, it can be determined from the transmission amount data (stored in advance as actual measurement data).
【0085】また、図37の装置に対応するデータは、
3次元画像および外観カラーデータとして記憶されてい
るため、断面構成などの判別および内層の層厚などの判
別のキーとして使用することができる。これは、図37
の構成がX線管が回転し、あらゆる方向からのデータの
取得ができるからであり、図42や図43の装置でも採
用することができる。The data corresponding to the apparatus shown in FIG.
Since it is stored as a three-dimensional image and appearance color data, it can be used as a key for determining a cross-sectional configuration and the like and for determining a layer thickness of an inner layer. This is shown in FIG.
This is because the X-ray tube rotates and data can be acquired from all directions, and the configuration of FIG. 42 and FIG. 43 can also be adopted.
【0086】<表示の着色>前記画像処理後のデータ
は、時としてモニタに表示され、錠剤の包装動作に対応
して、包装完了した錠剤の状態を監視することで、包装
処理に問題がないか、確認することができる。<Coloring of Display> The data after the image processing is sometimes displayed on a monitor, and the state of the packed tablet is monitored in response to the tablet packing operation, so that there is no problem in the packing process. Or you can check.
【0087】このとき、X線等でスキャンしたデータ
は、スライス画像データであり、このデータを直接監査
することはできない。よって、監査を行う場合、調剤師
が普段から判別する外観形状を立体的に再現し、その色
彩も忠実に再現することが望ましい。At this time, data scanned by X-rays or the like is slice image data, and this data cannot be directly inspected. Therefore, when performing an audit, it is desirable that the appearance shape that a dispenser normally determines is three-dimensionally reproduced, and that the colors be faithfully reproduced.
【0088】そこで、判別基準錠剤記憶データに予め記
憶した錠剤の撮像データを、判別結果と一致する記憶デ
ータを前記判別基準錠剤記憶データから読み出し、カラ
ー情報を、前記外観形状を立体的に再現したデータに付
与し、外観錠剤の識別が判断できるようにする。Therefore, the imaging data of the tablet previously stored in the discrimination reference tablet storage data is read from the storage data matching the discrimination result from the discrimination reference tablet storage data, and the color information is reproduced three-dimensionally in the appearance. Appended to the data so that the identification of the appearance tablet can be determined.
【0089】また、白色同形状の錠剤は、内層構造を比
較すると判別できるため、錠剤断面積層構造を前記表示
と一緒に表示することが好ましい。この場合、積層差を
明確に表示するため、擬似カラーや、濃淡変換表等で着
色して表示する。なお、カラー着色化は、光線の方向が
決まっているので、この光線の方向からグランデーショ
ン化して立体的に表現してもよい。更に、合否判定を行
う場合には、形状データと色彩データを一緒に行う必要
はなく、別々に判定しても良い。Further, since a tablet having the same shape in white can be discriminated by comparing the inner layer structure, it is preferable to display the tablet cross-section laminated structure together with the display. In this case, in order to clearly display the stacking difference, the stacking difference is displayed by coloring with a pseudo color, a shading conversion table or the like. In the color coloring, since the direction of the light beam is determined, the color may be three-dimensionally expressed by forming a gradation from the direction of the light beam. Further, when performing the pass / fail determination, it is not necessary to perform the shape data and the color data together, and they may be determined separately.
【0090】<識別コードの認識>3次元画像に再生さ
れるデータは、錠剤の種類により予め決められた薬剤識
別コードをも認識することができる。例えば、図30や
図41の錠剤は、識別コードが刻印されているため、文
字部分がくぼみになって再現できる。<Identification Code Recognition> The data reproduced in the three-dimensional image can also recognize a medicine identification code predetermined according to the type of tablet. For example, in the tablets shown in FIGS. 30 and 41, since the identification code is engraved, the character portion can be reproduced as a depression.
【0091】また、CCDカメラを備えた装置では、錠
剤の片面が画像データで捕らえられることも可能であ
り、この場合、刻印以外のペイントによる識別情報が表
面に向いている場合に限り、認識することができる。こ
こで重要なことは、薬は白色形の薬剤が多く、CCDカ
メラでの取得データはその色が微妙に相違することであ
る。このため、CCDカメラで薬剤の外観イメージをデ
ータとして取り込む場合、ホワイト調整を行うか、取得
される白色薬剤のイメージデータを補正するかしなけれ
ば、CCDカメラで取得したデータを判別データとして
即利用できない。また、このCCDカメラの取得データ
は、カメラ自身が持つハード的な誤差、ライトの明るさ
や方向にも左右される。これらの問題を解決する手段と
して、 1.ライトの明るさや方向等の条件を固定する。 2.基準白色を1種以上準備し、該1種以上の基準白色
を前記ライトの固定条件下で撮影し、その撮影データを
基準白色データとして記憶する。 3.ステップ2で記憶した1種以上の基準白色データを
以前に記憶した1種以上の基準白色データと比較し、ス
テップ2で記憶した基準白色データを補正したり、ライ
トの条件を変更するか、CCDカメラの動作条件を調整
する。 4.定期的に前記ステップ2、3を繰り返す。なお、前
記ステップ1から4において基準白色の代わりに基準薬
剤を用いてもよい。このような手段でCCDカメラから
取得したデータの信頼度が向上する。Further, in a device equipped with a CCD camera, one side of a tablet can be caught by image data. In this case, recognition is performed only when identification information by paint other than engraving is directed to the surface. be able to. What is important here is that many of the medicines are white medicines, and the colors obtained by the CCD camera are slightly different. For this reason, when capturing the appearance image of a medicine as data with a CCD camera, unless the white adjustment is performed or the image data of the acquired white medicine is corrected, the data acquired by the CCD camera is immediately used as discrimination data. Can not. Further, the data acquired by the CCD camera is also affected by the hardware error of the camera itself, the brightness and direction of the light. Means to solve these problems include: Fix conditions such as light brightness and direction. 2. One or more reference whites are prepared, and the one or more reference whites are photographed under the fixed condition of the light, and the photographed data is stored as reference white data. 3. One or more types of reference white data stored in step 2 are compared with one or more types of previously stored reference white data, and the reference white data stored in step 2 is corrected, a light condition is changed, or a CCD is changed. Adjust camera operating conditions. 4. Steps 2 and 3 are periodically repeated. In steps 1 to 4, a reference medicine may be used instead of the reference white. By such means, the reliability of the data obtained from the CCD camera is improved.
【0092】これらの手段で、薬剤の色彩データや識別
コードの認識ができれば、この情報を元に薬剤の種別判
別が可能であり、錠剤種類を判断する場合、最初にこの
薬剤識別コードの認識を判別し、ここで判別できなかっ
た錠剤を形状寸法、色彩、内層構成などから判断すれ
ば、判断精度の向上と、判別速度の迅速化が可能であ
る。If the color data and the identification code of the drug can be recognized by these means, the type of the drug can be determined based on this information. When determining the tablet type, the recognition of the drug identification code is first performed. If the tablet is discriminated, and the tablet that could not be discriminated is determined based on the shape, dimensions, color, inner layer configuration, and the like, it is possible to improve the determination accuracy and speed up the determination speed.
【0093】薬剤の識別コードの認識は、OCRで判別
するのが好ましい。It is preferable that the identification code of the medicine is recognized by OCR.
【0094】3次元画像や、CCDカメラの撮像は、イ
メージデータに相当するため、一度フォント情報に変換
することが望ましい。Since a three-dimensional image or an image picked up by a CCD camera corresponds to image data, it is desirable to convert it to font information once.
【0095】この場合、問題になる点として、3次元画
像の場合は、文字の表裏の判別、さらに文字の回転(文
字の上下方向)を認識できないと、正確にフォント情報
として読み取ることができない。In this case, a problem is that in the case of a three-dimensional image, the font information cannot be accurately read unless the front and back of the character are distinguished and the rotation of the character (vertical direction of the character) is not recognized.
【0096】また、CCDカメラの撮像データの場合で
も、文字の回転(文字の上下方向)を認識する必要があ
る。Also, even in the case of the image data of the CCD camera, it is necessary to recognize the rotation of the character (vertical direction of the character).
【0097】3次元画像の場合は、文字として識別でき
るデータは、刻印されたものに限られ、この刻印で識別
情報を付与される錠剤の8割以上に基準となる1つのラ
インを持っている。In the case of a three-dimensional image, the data that can be identified as characters are limited to those engraved, and one line serving as a reference is used for 80% or more of the tablets to which the identification information is given by this engraving. .
【0098】このラインは外観形状のストレートの線で
あったり、割り線や製剤メーカの商標マークなどがあ
り、これらの基準ラインに沿って文字が刻印されてい
る。The line includes a straight line having an external shape, a dividing line, a trademark mark of a pharmaceutical manufacturer, and the like, and characters are engraved along these reference lines.
【0099】このため、基準ラインをまず識別し、この
基準ラインに対して文字方向パターンを掛け合わせると
ともに認識することが望ましい。For this reason, it is desirable to first identify the reference line, and to multiply and recognize the reference line by the character direction pattern.
【0100】また、基準面を持たない文字情報の場合、
例えば、カルニゲン錠剤の場合、円柱形状のこの錠剤の
片面に「HLM」と直径方向ほぼ中央に刻印され、基準
ラインは円外周以外にない。In the case of character information having no reference plane,
For example, in the case of a carnigen tablet, “HLM” is engraved on substantially one center in the diameter direction on one side of the columnar tablet, and there is no reference line other than the circumference of the circle.
【0101】このような錠剤の場合でも、文字の1辺を
基準に文字回転方向を判別することが可能である。この
手段によれば、CCDカメラの撮像データの場合でも採
用することができる。また、これらの薬剤の識別情報は
英数文字で構成され、部分的に商標マークが一緒に付与
されているので、簡単なOCRソフトで認識でき、さら
に、判別にそれほど時間も要しない。Even in the case of such a tablet, the character rotation direction can be determined based on one side of the character. According to this means, it can be adopted even in the case of image data of a CCD camera. In addition, since the identification information of these medicines is composed of alphanumeric characters and is partially provided with a trademark mark, it can be recognized by simple OCR software, and furthermore, it does not take much time to determine.
【0102】ただし、文字のサイズや、使用フォントが
幾分違うので、これに対応させるため、記憶データに対
して、フォント情報を関連付けして記憶させても良い。However, since the character size and the font to be used are slightly different, font information may be stored in association with the stored data in order to cope with this.
【0103】以下、3次元画像データの作成、フィルタ
処理、画像復元の各処理の詳細について説明する。The details of each of the three-dimensional image data creation, filter processing, and image restoration processing will be described below.
【0104】<3次元画像データの作成>図34や図4
2に示すように、被検出体にX線を2方向から照射して
2つのラインセンサで捕らえる場合、ラインセンサの出
力データを被検出体のz方向の送り速度に関連させて被
検出体の3次元画像データに置き換えることができる。<Creation of Three-Dimensional Image Data> FIGS. 34 and 4
As shown in FIG. 2, when the object is irradiated with X-rays from two directions and captured by two line sensors, the output data of the line sensor is related to the feed speed of the object in the z direction, and It can be replaced with three-dimensional image data.
【0105】I0のX線ビームが被検出体(錠剤)の内
部を通過すると、錠剤の各層の組成や、成分、密度等に
より、X線の吸収率に相違が生じる。When the X-ray beam of I 0 passes through the inside of the object to be detected (tablet), the absorption rate of the X-ray varies depending on the composition, components, density and the like of each layer of the tablet.
【0106】この各層から構成される錠剤の組成を各ユ
ニット毎に分解して考え、それぞれ、u1,u2,u
3,…,unという減衰係数をもっているとすると、通
過して出てくるX線量は、次式で表される。The composition of the tablet composed of each layer is decomposed for each unit and considered, and u1, u2, u
Assuming that there is an attenuation coefficient of 3,..., Un, the X-ray dose passing through is expressed by the following equation.
【0107】[0107]
【数15】 ここで、Δは単位ユニットの長さである。この式を変形
すると、次式が得られる。(Equation 15) Here, Δ is the length of the unit. By transforming this equation, the following equation is obtained.
【0108】[0108]
【数16】 ここで、左辺はX線検出器(ラインセンサ)の出力を対
数変換することにより作られるものであり、これをX線
検出濃度として取り扱う。(Equation 16) Here, the left side is created by logarithmic conversion of the output of the X-ray detector (line sensor), and this is treated as the X-ray detection density.
【0109】前記16式は、uiΔを各ユニットの濃度
と考え、その和が投影濃度となると考えてよく、この事
から幾つかの投影方向のデータを用いれば、その内部の
濃度を計算により求めることができる。In the above equation (16), u i Δ may be considered as the density of each unit, and the sum thereof may be considered as the projection density. From this fact, if data in several projection directions is used, the internal density can be calculated. Can be obtained by
【0110】図48に示すように、4個の部分からなる
組織のX線吸収係数をそれぞれ、X 1,X2,X3,X4と
し、それぞれ真の値をX1=1,X2=3,X3=2,X4
=4とするとき、AからFの6方向の投影データと未知
数の関係は、以下の通りとなる。As shown in FIG. 48, there are four parts.
The X-ray absorption coefficient of the tissue 1, XTwo, XThree, XFourWhen
And the true value of each is X1= 1, XTwo= 3, XThree= 2, XFour
= 4, projection data in 6 directions from A to F and unknown
The relationship between the numbers is as follows.
【0111】 ここで、未知数は4個であるから、AからFの式のうち
適当な4個の式を用いれば解くことができる。[0111] Here, since the number of unknowns is four, it can be solved by using an appropriate four of the equations from A to F.
【0112】しかし、この方法は実際に用いると、未知
数の要素が多く、連立方程式も膨大な数になり、ノイズ
が乗ると正確に求めることができない。However, when this method is actually used, the number of unknown elements is large, and the number of simultaneous equations is enormous.
【0113】前記問題点を考慮して、方程式の解を一度
に求めるのではなく、繰返し法で求めることができる。In consideration of the above problems, the solution of the equation can be obtained by an iterative method instead of obtaining it at once.
【0114】まず、全体の平均値を各要素の推定初期値
として採用し、それらの推定値に基づく各投影方向の値
が、データに一致するように順次変更を加えてゆく。図
49(a)に示すように、AB両方向のデータを比較し
たときの修正項、−1,1を2つの行に等分して、それ
ぞれの推定値に加える。その後、CD方向と比較し、同
様の修正を加えると、図49(b)と図49(c)のよ
うになり、再構成が完成する。First, the average value of the whole is adopted as the estimated initial value of each element, and the values in each projection direction based on those estimated values are sequentially changed so as to match the data. As shown in FIG. 49 (a), the correction term, -1, 1 when comparing data in both AB directions is equally divided into two rows and added to the respective estimated values. Thereafter, if the same correction is made in comparison with the CD direction, the result is as shown in FIGS. 49 (b) and 49 (c), and the reconstruction is completed.
【0115】他の解法として、フーリエ変換法がある。
f(x,y)のフーリエ変換は、次式で与えられる。As another solution, there is a Fourier transform method.
The Fourier transform of f (x, y) is given by the following equation.
【0116】[0116]
【数17】 [Equation 17]
【0117】μ=0のときは、次式で与えられる。When μ = 0, it is given by the following equation.
【0118】[0118]
【数18】 (Equation 18)
【0119】ここで、g(y)=∫f(x,y)dxと
すると、このg(y)はf(x,y)をy軸方向に(投
影)積分したものであり、式18はその1次元フーリエ
変換である。Here, assuming that g (y) = xf (x, y) dx, g (y) is obtained by integrating (projecting) f (x, y) in the y-axis direction. Is the one-dimensional Fourier transform.
【0120】すなわち、y軸方向の投影データを1次元
フーリエ変換したものがF(0,ν)となっている。こ
のことから、y軸方向の投影データに対しても成立す
る。That is, the one-dimensional Fourier transform of the projection data in the y-axis direction is F (0, ν). This holds true for projection data in the y-axis direction.
【0121】図42に対応する装置の場合、図50に示
すように、θ方向の投影データを考えた場合、次式で表
せる。In the case of the apparatus corresponding to FIG. 42, as shown in FIG. 50, when the projection data in the θ direction is considered, it can be expressed by the following equation.
【0122】[0122]
【数19】 [Equation 19]
【0123】ここで、δ(・)はデルタ関数であり、直
線:xcosθ+ysinθ=Rは中心(原点)からの
距離がRである投影方向と同じ傾きの直線を示し、g0
(R)はその線上のデータを積分したものを示すことに
なる。Here, δ (·) is a delta function, and a straight line: xcos θ + ysin θ = R indicates a straight line having the same inclination as the projection direction in which the distance from the center (origin) is R, and g 0
(R) indicates the integration of the data on the line.
【0124】また、フーリエ変換の式17は、極座標
(ρ,β)に変換すると、次式で表される。Expression 17 of the Fourier transform, when converted into polar coordinates (ρ, β), is expressed by the following expression.
【0125】[0125]
【数20】 (Equation 20)
【0126】すなわち、β方向の直線(原点を通る)上
のフーリエ変換はx,y空間におけるその方向の直線の
投影データを1次元フーリエ変換したものに等しい。こ
のことから、投影データを1次元フーリエ変換し、その
フーリエ空間のデータを逆変換することにより、次式の
ように、実空間のデータを得ることができる。That is, the Fourier transform on the straight line in the β direction (passing through the origin) is equivalent to one-dimensional Fourier transform of the projection data of the straight line in that direction in the x, y space. Thus, by performing one-dimensional Fourier transform on the projection data and inversely transforming the data in the Fourier space, real space data can be obtained as in the following equation.
【0127】[0127]
【数21】 (Equation 21)
【0128】ここで、図42に示す装置において、θ方
向の投影データの逆投影bθ(x,y)は、次式で表さ
れる。Here, in the apparatus shown in FIG. 42, the back projection b θ (x, y) of the projection data in the θ direction is represented by the following equation.
【0129】[0129]
【数22】 (Equation 22)
【0130】逆投影像は、これらの各θ方向のものを加
え合わせて、次式で表される。The back-projected image is represented by the following equation by adding those in each of the θ directions.
【0131】[0131]
【数23】 (Equation 23)
【0132】また、gθ(R)は、θを固定して考える
と、Rを変数とする関数であるが、これは、そのフーリ
エ関数であるF(ρ,θ)を逆変換したもの、すなわ
ち、Further, g θ (R) is a function having R as a variable when θ is fixed, and is obtained by inversely transforming the Fourier function F (ρ, θ). That is,
【数24】 で与えられるので、(Equation 24) Given by
【数25】 となる。(Equation 25) Becomes
【0133】式25と式20を比較すれば、式20の被
積分項内のρが前式には無いことがわかる。このことか
ら、式20のデータを求めるためには、F(ρ,θ)の
代わりに、|ρ|F(ρ,θ)を用いればよいことにな
る。By comparing Equations 25 and 20, it can be seen that ρ in the integrand of Equation 20 does not exist in the previous equation. From this, in order to obtain the data of Expression 20, it is sufficient to use | ρ | F (ρ, θ) instead of F (ρ, θ).
【0134】フーリエ空間での掛け算は実空間ではコン
ボルーションとなる。また、実空間はサンプリングさ
れ、その間隔(ラインセンサのピッチ)をwとすると、
サンプリング定理により、フーリエ空間ではR=1/2
wで帯域制限されることになる。The multiplication in the Fourier space is a convolution in the real space. Also, the real space is sampled, and if the interval (pitch of the line sensor) is w,
According to the sampling theorem, R = 1/2 in Fourier space
The band is limited by w.
【0135】したがって、フーリエ関数の逆変換を求め
ると(実数部分をとると)、次式が得られる。Therefore, when the inverse transform of the Fourier function is obtained (the real part is taken), the following equation is obtained.
【0136】[0136]
【数26】 (Equation 26)
【0137】ここで、r=nw、n=0,±1,±2,
…とすると、次式が得られる。Here, r = nw, n = 0, ± 1, ± 2,
Then, the following equation is obtained.
【数27】 [Equation 27]
【0138】これは、図51に示すような関数となる。
また、図52に示すように、図51を改良した関数を使
用することもできる。This is a function as shown in FIG.
Further, as shown in FIG. 52, a function obtained by improving FIG. 51 can be used.
【0139】<フィルタ処理>錠剤検査データは、判別
基準データと比較するために、ノイズや強調等のフィル
タ処理を行う。<Filter Processing> The tablet inspection data is subjected to filter processing such as noise and emphasis in order to be compared with the discrimination reference data.
【0140】通常、前記X線検出手段で検出されるデー
タには、ノイズが含まれており、判別基準データと比較
する場合、完全一致することは少ない。このため、取得
データを3次元に置き換えた外径輪郭や、内部構成パタ
ーンなどと比較し、判別することになる。Normally, the data detected by the X-ray detecting means includes noise, and when compared with the discrimination reference data, it is unlikely that they completely match. For this reason, the obtained data is compared with the outer diameter contour obtained by replacing the acquired data with three dimensions, the internal configuration pattern, and the like, and the judgment is made.
【0141】外径輪郭は、糖衣錠などの場合、積層構成
になっており、中央部の80%が薬剤質で、その外側に
糖の殻を被せて保護しているものや、腸内に薬剤が届く
ように保護剤を糖衣質の下に設けたものなどがある。In the case of a sugar-coated tablet or the like, the outer diameter profile has a laminated structure, and 80% of the central part is a drug substance, which is protected by covering the outside with a sugar shell, or a drug substance in the intestine. In some cases, a protective agent is provided under the sugar coating to reach the skin.
【0142】また、カプセルなどは、内部が顆粒などの
粉末状に形成されたものが多く、粉末形状等が及ぼすX
線の透過率に相違がはっきり表れる反面、判別基準デー
タと比較する場合、相違レベルが大きくなる。In many cases, capsules and the like are formed in the form of powder such as granules.
Although the difference in line transmittance clearly appears, when compared with the discrimination reference data, the difference level increases.
【0143】外径輪郭形状が特徴的な薬剤は、判別が外
径輪郭形状だけで判別できるほど容易である。[0143] Drugs having a characteristic outer diameter contour shape are so easy that they can be distinguished only by the outer diameter contour shape.
【0144】前記装置により検出した検出データは、外
径輪郭を特定する場合に次の問題が発生する。The detection data detected by the above-described device causes the following problem when the outer diameter contour is specified.
【0145】図33は、錠剤にX線を照射したときの様
子を示す。X線管のターゲットから放射する光線ライン
は、ターゲットの角度により、上下2点からの光線が交
差する。この2つの光線ラインは、被検出体の輪郭部
で、2つの光線ラインの一方のみが被検出体の輪郭によ
り遮断されるが、もう一方の光線ラインは輪郭に当たら
ずに直接X線検出器で検出される。このため、被検出体
に対し2つの光線ラインが遮断される本影と2つの光線
ラインの一方が遮断される半影部分が生じる。そして、
この半影部分が被検出体の外径輪郭のボケとして検出さ
れる。FIG. 33 shows a state where the tablet is irradiated with X-rays. A ray line radiated from the target of the X-ray tube intersects rays from upper and lower points depending on the angle of the target. These two light lines are the outline of the object to be detected, and only one of the two light lines is interrupted by the outline of the object to be detected. Is detected by For this reason, there is a real shadow where two light lines are cut off and a penumbra portion where one of the two light lines is cut off with respect to the detected object. And
This penumbra is detected as blurring of the outer diameter contour of the detected object.
【0146】このボケの部分は、X線管と検出器の間に
ある被検出体の位置で、半影面積が変動し、被検出体が
X線管に近付くほど半影の面積が広くなり、分解倍率が
上がって、被検出体の外径寸法の検出精度が向上する。In the blurred portion, the penumbra area fluctuates at the position of the object between the X-ray tube and the detector, and the penumbra area increases as the object approaches the X-ray tube. As a result, the resolution is increased, and the detection accuracy of the outer diameter of the detection object is improved.
【0147】しかし、被検出体をラインセンサ側に接近
させて検出すると、半影の面積が減少して、シャープな
画像データを再現できる反面、分解倍率が1倍に近くな
り、被検出体の微妙な大きさを特定しにくくなる。この
欠点を補うには、ラインセンサの分解精度を上げる(ピ
ッチを狭くする)必要が生じる。However, when the object to be detected is detected by approaching the line sensor, the area of the penumbra is reduced and sharp image data can be reproduced. It is difficult to specify a subtle size. To compensate for this disadvantage, it is necessary to increase the resolution of the line sensor (to narrow the pitch).
【0148】特に、医療用のX線CTスキャナと本発明
の違いは、被検出物の大きさが本発明の方が格段に小さ
く、かつ、比較対照とする判別精度を高く設定する必要
がある。この背景に、錠剤特に糖衣錠、カプセルは、外
観的薬剤種としての格差が判別しにくい(同じような大
きさの形状、色の外観形状をしている。)このため、コ
ンマ単位で外観形状の測定や、内部構造、積層構造など
の厚みから判別できるものでなくてはならない。In particular, the difference between a medical X-ray CT scanner and the present invention is that the size of an object to be detected is much smaller in the present invention, and that the discrimination accuracy for comparison should be set higher. . Against this background, tablets, especially sugar-coated tablets and capsules, are difficult to distinguish from each other in appearance (they have the same size and color appearance). It must be able to be determined from the thickness of the measurement, internal structure, laminated structure, etc.
【0149】このため、本発明に求められる内容は、分
解率が高く、かつ、シャープな外観データと記憶データ
(記憶された被検出体の判別データ)を比較判定できる
レベルが必要である。Therefore, the contents required for the present invention require a high resolution and a level at which sharp external appearance data can be compared with stored data (stored discrimination data of an object to be detected).
【0150】前記条件を満足するには、被検出体をX線
管に接近させ、半影部分はデータ処理することで、シャ
ープな画像データを得る。To satisfy the above condition, the object to be detected is brought close to the X-ray tube, and the penumbra is processed to obtain sharp image data.
【0151】半影部分は、被検出体の厚みや、透過率で
変動し、本影から離反方向に減衰量が小さくなる。な
お、この減衰量は被検出体の厚みや透過率、形状で変化
し、単純に1/2特性は持たず、比例反比例に定義付け
できない。The penumbra varies with the thickness of the object to be detected and the transmittance, and the attenuation decreases in the direction away from the main shadow. Note that the amount of attenuation varies depending on the thickness, transmittance, and shape of the object to be detected, does not simply have a 特性 characteristic, and cannot be defined in inverse proportion.
【0152】画像データの補正や復元は、画像の生成や
入力過程で発生するひずみやボケ等の修復、ノイズの除
去により精度の高い画像の復元をしようとするものであ
る。一方、画像の強調は、画像が持つ情報特性(観察者
が取得を希望している情報量)をより引き出すために行
う処理である。The correction and restoration of the image data is intended to restore the image with high precision by restoring the distortion and blur generated in the process of generating and inputting the image and removing the noise. On the other hand, image enhancement is a process performed to further extract the information characteristics (the amount of information that the observer desires to acquire) of the image.
【0153】例えば、前記半影部分に濃度変換の補正を
かけることができる。この半影部分は、X線の透過量が
約半分になり、このまま画像表示すると被検出体のエッ
ジ部分がボケるため、この部分の濃度を濃く補正する
か、薄するかの処理を行い、輪郭部分が鮮明になるよう
にする。For example, the penumbra can be corrected for density conversion. In this penumbra portion, the amount of transmission of X-rays is reduced to about half, and if an image is displayed as it is, the edge portion of the detected object is blurred. Therefore, a process of correcting or darkening the density of this portion is performed. Make the outline clear.
【0154】濃く補正する場合、本影と半影の境界を判
別する必要があり、その境界部分は、検出レベルの濃度
差で行う。In the case of deep correction, it is necessary to determine the boundary between the main shadow and the penumbra, and the boundary is determined by the density difference of the detection level.
【0155】半影部分を薄く処理する方法の場合も、半
影部分と本影部分の境界を判別することは難しいが、透
過部分と半影部分の境界から一定距離を半影部分と定義
付けすることで、半影部分と本影部分の境界を判別する
ことができる。なお、錠剤の形状が円筒形の場合、半影
エリアが拡大し、断面がラグビーボール形状の錠剤は半
影エリアが縮小する。In the method of thinly processing the penumbra, it is difficult to determine the boundary between the penumbra and the main shadow. However, a certain distance from the boundary between the transmissive part and the penumbra is defined as the penumbra. By doing so, the boundary between the penumbra portion and the main shadow portion can be determined. In the case where the shape of the tablet is cylindrical, the penumbra area is enlarged, and in the case of a tablet having a rugby ball-shaped cross section, the penumbra area is reduced.
【0156】これらの濃度変換処理は、変換表を使用す
る方法が一般的である。In general, these density conversion processes use a conversion table.
【0157】図53は、簡略的に表現したデータテーブ
ルを示し、このようなデータテーブルを使用して、半影
部分の範囲における濃度調整で補正処理している。FIG. 53 shows a simplified data table. Using such a data table, correction processing is performed by adjusting the density in the range of the penumbra.
【0158】画像データの値が図のように分散した画像
データに変換表の数値を各画像データ値に換算し、並べ
直したのが表示画像データの数値であり、画像データの
値が1>Xの場合、変換表の値を480とし、画像デー
タの値1は半影部分の数値に相当する。このような方法
で、実測画像数値を処理することで、撮像画像は鮮明
に、かつ、実際の画像データより鮮明に表示することが
できる。The numerical values in the conversion table are converted into image data values into image data in which the image data values are dispersed as shown in the figure, and the image data values are rearranged to obtain the display image data values. In the case of X, the value of the conversion table is 480, and the value 1 of the image data corresponds to the numerical value of the penumbra. By processing the numerical values of the actually measured image in this manner, the captured image can be displayed clearly and more clearly than the actual image data.
【0159】換算表のかけ方は、設定した強度関数によ
り行い、図54(a)から図55(g)に示す種類を必
要に応じて用いることができる。図54(a)の線形関
数表で処理すると、明暗がより強調された処理になる。
X線の透過差の無いデータは、一度この関数で明暗差を
補正処理する。図54(b)の反転関数を使用すると、
明暗部が逆転する。つまり、白い部分が黒に置き換えら
れ、黒が白として処理される。図54(c)の区分線形
関数表を使用すると、前記説明の通り、半影部を実像と
して除外し、錠剤の輪郭部分を強調することができる。
予め、予測可能な画像のボケやノイズを除去するのに効
果がある。図54(d)の擬似等高線関数や図55
(g)の等高線表示を用いると、画像の濃度差を段階的
に連続積層することができる。その他、図55(e)の
しきい値処理は、輪郭部を強調する場合、図55(f)
のバンド処理は、画像カラーの一定の明るさ部分だけを
強調することで、立体物の深度を表現したり、輪郭を強
調する場合に使用される。The conversion table is applied according to the set intensity function, and the types shown in FIGS. 54 (a) to 55 (g) can be used as needed. When processing is performed using the linear function table shown in FIG. 54A, processing is performed in which lightness and darkness are further emphasized.
Data having no X-ray transmission difference is subjected to correction processing of the light-dark difference once using this function. Using the inversion function of FIG. 54 (b),
The light and dark areas are reversed. That is, white portions are replaced with black, and black is processed as white. When the piecewise linear function table of FIG. 54C is used, the penumbra can be excluded as a real image and the outline of the tablet can be emphasized as described above.
This is effective in removing blur and noise of a predictable image in advance. The pseudo contour function shown in FIG.
When the contour display of (g) is used, the image density difference can be continuously laminated stepwise. In addition, in the threshold processing of FIG.
The band processing is used when the depth of a three-dimensional object is expressed or the outline is emphasized by emphasizing only a certain brightness portion of the image color.
【0160】図56は、これらの関数表に対応した入出
力関係を示したもので、rレベルのX線測定データが関
数表の曲線に対応した出力Trに換算されたことを示
す。この関数表を使用すると、明暗のそれぞれ強い部分
の出力を押さえ中間コントラストを処理しないように出
力している。FIG. 56 shows the input / output relationship corresponding to these function tables, and shows that the r-level X-ray measurement data has been converted into the output Tr corresponding to the curve in the function table. When this function table is used, output is performed so as not to process the intermediate contrast while suppressing the output of the bright and dark portions.
【0161】また、X線検出装置、ラインセンサで検出
した出力は、それぞれの測定端子で検出されるレベルが
一定ではなく、ラインセンサの両端ほど検出レベルが下
がる。このため、前記関数表を使用して検出レベル差を
補正することも可能である。In the output detected by the X-ray detection device and the line sensor, the level detected at each measurement terminal is not constant, and the detection level decreases toward both ends of the line sensor. Therefore, it is possible to correct the detection level difference using the function table.
【0162】さらに、ラインセンサで検出した出力に
は、ノイズが含まれる。このノイズは、X線の乱反射や
屈折などにより部分的に強調されて検出したり、されな
かったりが原因で、近隣センサの検出レベルと大きく相
違した検出結果となり、このまま画像データ化すると、
実際の形状と相違した結果となる。Further, the output detected by the line sensor contains noise. This noise is partially emphasized due to irregular reflection or refraction of X-rays, etc., and is detected or not. As a result, the detection result greatly differs from the detection level of the neighboring sensor.
The result is different from the actual shape.
【0163】そこで、ノイズを処理することで、実際の
形状と検出データを相関させる必要がある。ノイズ処理
の手段として、次の方法がある。Therefore, it is necessary to correlate the actual shape with the detected data by processing the noise. The following methods are available as means for noise processing.
【0164】第一の方法は、単純平滑化である。出力ス
パンが細かい条件でノイズが乗ると、曲線形状が荒く、
出力スパンが荒いと、多少のノイズが乗っても曲線形状
が平滑して見える。ノイズと信号成分を比較したとき、
一般に後者は成分を減衰する効果がある。線形フィルタ
はコンボルション演算の形で与えられるので、次式で示
される。The first method is simple smoothing. If the noise gets on the condition that the output span is fine, the curve shape becomes rough,
If the output span is rough, the curve shape looks smooth even with some noise. When comparing noise and signal components,
Generally, the latter has the effect of attenuating components. Since the linear filter is given in the form of a convolution operation, it is expressed by the following equation.
【0165】[0165]
【数28】 [Equation 28]
【0166】一般に、平滑フィルタは、h(x)の値
を、中央(x=0)の部分で大きく、中央部から離れる
に従い小さく設定するので、通常ある範囲(±W)を越
えると0とすることが多い。この場合、次式になる。In general, the smoothing filter sets the value of h (x) to be large at the center (x = 0) and smaller as the distance from the center increases, so that the value of h (x) generally becomes 0 when the value exceeds a certain range (± W). Often do. In this case, the following equation is obtained.
【0167】[0167]
【数29】 (Equation 29)
【0168】単純に画素を平均する場合、h(i,j)
の形は、5×5のマトリックスで示すと次式のようにな
る。When averaging pixels simply, h (i, j)
Is represented by the following equation when represented by a 5 × 5 matrix.
【0169】[0169]
【数30】 [Equation 30]
【0170】重み付き平均とする場合は、次のようにな
る。The case where the weighted average is used is as follows.
【0171】[0171]
【数31】 (Equation 31)
【0172】これらフィルタの他に、モードフィルタが
ある。モードフィルタは、フィルタ区間の濃度ヒストグ
ラムを取り、そのモード値(フィルタのサイズ内の最頻
値)を出力する。In addition to these filters, there is a mode filter. The mode filter takes a density histogram of the filter section and outputs its mode value (mode value within the size of the filter).
【0173】また、フィルタ区間内の画素の濃度値を順
番に並べ、その中間値を出力するメディアンフィルタが
ある。メディアンフィルタはドット形式のノイズの除去
に極めて有効である。また、メディアンフィルタは中間
値以外を使用してもよく、最大値や最小値をとってもよ
い。There is also a median filter that arranges the density values of pixels in a filter section in order and outputs an intermediate value. The median filter is extremely effective in removing dot type noise. The median filter may use a value other than the intermediate value, and may take the maximum value or the minimum value.
【0174】ノイズ成分が多い画像の場合、前記フィル
タだけで、処理することが難しい。そこで、分散フィル
タを使用することでエッジ部分をぼかすことなくノイズ
を除去することができる。In the case of an image having many noise components, it is difficult to process the image only with the filter. Therefore, noise can be removed without blurring the edge portion by using a dispersion filter.
【0175】このようなフィルタ処理の原理は、エッジ
部分を両側にまたがって平均化をせずに平滑化すること
で可能となり、それにはエッジ部分を検出する必要があ
る。このエッジ部分の検出手段として、局所領域での画
像濃度の標本分散値は、エッジ存在を検出するための手
段として有効である。The principle of such filtering can be realized by smoothing the edge portion without averaging over both sides, and it is necessary to detect the edge portion. As a means for detecting the edge portion, the sample variance value of the image density in the local region is effective as a means for detecting the presence of the edge.
【0176】いま、図57において、画像中に相違なる
濃度分布に従う隣り合った2領域、領域1と領域2を考
える。領域1の濃度分布は、平均μ1、分散σ1 2の確率
密度関数f1(x)に、領域2の濃度分布は平均μ2、分
散σ2 2の確率密度関数f2(x)に従うものとする。Now, in FIG. 57, consider two adjacent areas, area 1 and area 2, which follow different density distributions in an image. The density distribution of the area 1 follows the probability density function f 1 (x) of average μ 1 and variance σ 1 2 , and the density distribution of area 2 follows the probability density function f 2 (x) of average μ 2 and variance σ 2 2. Shall be.
【0177】この画像中に局所小領域をとって、図57
に示すように、小領域が領域1,2を含む割合をそれぞ
れP1,P2(ただし、0≦P1、P2≦1、P1+P2=
1)とすると、小領域の濃度分布は、次式に従う。By taking a local small area in this image, FIG.
As shown in the figure, the proportions of the small areas including the areas 1 and 2 are represented by P 1 and P 2 (where 0 ≦ P 1 , P 2 ≦ 1, P 1 + P 2 =
Assuming 1), the density distribution of the small area follows the following equation.
【0178】[0178]
【数32】 (Equation 32)
【0179】f(x)の平均μと分散σ2は、それぞれ
次式で表される。The average μ and the variance σ 2 of f (x) are expressed by the following equations, respectively.
【0180】[0180]
【数33】 [Equation 33]
【0181】[0181]
【数34】 (Equation 34)
【0182】μ1≠μ2のとき、P1+P2=1を用いて、
式34を変形すると次式を得る。When μ 1 ≠ μ 2 , using P 1 + P 2 = 1,
By transforming equation 34, the following equation is obtained.
【0183】[0183]
【数35】 (Equation 35)
【0184】したがって、P1が0から1まで変化する
のに従い、すなわちエッジと小領域との相対的位置関係
の変化に従って、σ2は図57の(b)に示すように変
化する。Therefore, as P 1 changes from 0 to 1, ie, as the relative positional relationship between the edge and the small area changes, σ 2 changes as shown in FIG.
【0185】もし、[0185] If
【数36】 [Equation 36]
【0186】すなわち、That is,
【数37】 (37)
【0187】の条件が満たされるならば、σ2の極大点
は、0<P1<1の区間内に存在する。このことから、
小領域がエッジの上に乗っているときに、分散値が大き
くなり、エッジの存在を検出できる。If the condition (1) is satisfied, the maximum point of σ 2 exists in the section of 0 <P 1 <1. From this,
When the small area is on the edge, the variance value increases, and the presence of the edge can be detected.
【0188】前記エッジ部分をぼかさずに、図57に示
すように、平滑化フィルタとして、画像中に各注目点
(i,j)の周りに大きさk×kの近傍小領域ABCD
(以下の式では、R1からR4とする。)をとり、各領域
内での濃度の平均値μiと標本分散値σi 2に応じて出力
値を決める次の形式のフィルタを考える。Without blurring the edge portion, as shown in FIG. 57, as a smoothing filter, a small area ABCD having a size of k × k around each point of interest (i, j) in the image.
(In the following formulas, to the R 1 and R 4.) Take, consider the following types of filter that determines the output value according to the average value mu i and sample variance value sigma i 2 concentration in each area .
【0189】入力画像を[σ**]、出力画像を[σ*
*]と表すとき、The input image is [σ **] and the output image is [σ *].
*],
【数38】 (38)
【0190】ここに、各近傍領域での平均値と分散は、
次式で表される。Here, the average value and variance in each neighboring area are
It is expressed by the following equation.
【数39】 [Equation 39]
【数40】 (Equation 40)
【0191】また、WjはRjにおける分散σj 2の値によ
って決まる重みで、総和は1である。W j is a weight determined by the value of the variance σ j 2 in R j , and the sum is 1.
【0192】Wjの選定法により幾つかのフィルタを考
えることができるが、簡単な方法として、分散最小の領
域の平均値をフィルタ出力として、分散最小の領域の平
均値をフィルタからの出力とするものである。すなわ
ち、Wk=1;sk2≦sm2、全てのm∈(1,2,
3,4)、0;前記以外のkと選択するものである。Several filters can be considered by the selection method of W j. As a simple method, the average value of the minimum variance region is used as the filter output, and the average value of the minimum variance region is used as the output from the filter. Is what you do. That is, Wk = 1; sk2 ≦ sm2, and all m∈ (1, 2, 2,
3, 4), 0: k other than the above is selected.
【0193】これは、4つの小領域のうち、少なくとも
1つは画像領域のエッジを含んでいないとして良いの
で、分散最小の基準によりこの領域を選び出し、その領
域の平均値を注目点におけるフィルタ出力とするもので
ある。エッジの両側で選択小領域の切換が明確に行われ
るので、極めて鋭いエッジ出力を得ることができるが、
反面、わずかの分散の変動でも領域の切換が起こり、エ
ッジ近傍でスパイク状のノイズを発生しやすい。そのた
め、メディアンフィルタとの組み合わせが望ましい。Since it is sufficient that at least one of the four small areas does not include the edge of the image area, this area is selected based on the criterion of minimum variance, and the average value of the area is used as the filter output at the point of interest. It is assumed that. Since the switching of the selected small area is clearly performed on both sides of the edge, an extremely sharp edge output can be obtained,
On the other hand, even if the dispersion is slightly changed, the area is switched, and spike-like noise is likely to be generated near the edge. Therefore, a combination with a median filter is desirable.
【0194】撮像体の輪郭やエッジ部分は、高域成分を
強調することで鮮明にすることができる。そのために使
用するのが微分オペレータで、画像の濃度値の局所変化
を示すものであり、次式で求められる。The outline and edge portions of the image pickup body can be sharpened by emphasizing high frequency components. The differential operator used for this purpose indicates a local change in the density value of the image, and is obtained by the following equation.
【0195】[0195]
【数41】 [Equation 41]
【0196】このオペレータは、線形で位置には存在し
ない局所微分オペレータである。This operator is a local differential operator which is linear and does not exist at a position.
【0197】通常使われるのは、nが1または2のみで
あり、n=1の時は、(∂/∂x)、(∂/∂y)の2
種類で、この2つを合成した微分値Δとその方向のθ
は、次式で表される。Usually, n is only 1 or 2, and when n = 1, 2 of (∂ / ∂x) and (∂ / ∂y) is used.
And the differential value Δ obtained by combining the two and θ in the direction
Is represented by the following equation.
【0198】[0198]
【数42】 (Equation 42)
【数43】 [Equation 43]
【0199】デジタル画像の場合は、これらの微分計算
は差分で行われ、x,yの1次微分は、それぞれ次式で
表せる。In the case of a digital image, these differential calculations are performed using differences, and the first derivatives of x and y can be expressed by the following equations.
【0200】[0200]
【数44】 [Equation 44]
【数45】 [Equation 45]
【0201】また、Δは、次式で表される。Δ is expressed by the following equation.
【数46】 [Equation 46]
【0202】2次微分としては、x方向、y方向それぞ
れ、次式で定義される。The second derivative is defined by the following equation in each of the x and y directions.
【0203】[0203]
【数47】 [Equation 47]
【数48】 [Equation 48]
【0204】そのほか、下記の定義を用いることもでき
る。In addition, the following definitions can be used.
【数49】 [Equation 49]
【数50】 [Equation 50]
【数51】 (Equation 51)
【0205】さらに、1次微分値Δとして、Further, as a first order differential value Δ,
【数52】 (Equation 52)
【数53】 (Equation 53)
【数54】 等を式46の代わりに用いることができる。(Equation 54) Can be used instead of equation 46.
【0206】ラプラシアンは、Laplacian is
【数55】 と定義されるが、デジタル画像でのラプラシアンは、[Equation 55] Where Laplacian in a digital image is
【数56】 と定義される。[Equation 56] Is defined as
【0207】この式を変形すると、By transforming this equation,
【数57】 となり、近傍領域の平均値とその画素値との差を表して
いることがわかる。[Equation 57] It can be seen that the difference between the average value of the neighboring area and the pixel value is represented.
【0208】これらの微分演算は、濃度変化分を検出す
るものであるため、高周波ノイズも強調されるので、平
滑化フィルタと併用して高周波ノイズの減少を計り、信
号成分の濃度値変化を検出するために、3×3近傍画素
を用いた、以下に示す演算が用いられる。Since these differential operations are for detecting a change in density, high-frequency noise is also emphasized. Therefore, a reduction in high-frequency noise is measured in combination with a smoothing filter to detect a change in density value of a signal component. For this purpose, the following calculation using 3 × 3 neighboring pixels is used.
【0209】[0209]
【数58】 [Equation 58]
【0210】[0210]
【数59】 [Equation 59]
【数60】 [Equation 60]
【数61】 [Equation 61]
【数62】 (Equation 62)
【0211】以下の5,6は、x,yの2方向の微分画
像を得るものである。The following 5 and 6 are for obtaining differential images in two directions of x and y.
【数63】 [Equation 63]
【数64】 [Equation 64]
【0212】前記5および6のフィルタ処理を行うと、
画素値としては、マイナスの値が発生することも多く、
表示にあたっては、絶対値を取ったり、適当なバイアス
値を加算することが好ましい。[0212] When the filtering processes 5 and 6 are performed,
Negative values often occur as pixel values,
In displaying, it is preferable to take an absolute value or add an appropriate bias value.
【0213】また、x,yの両方向の微分値の絶対値を
加算した画像を微分画像として用いることもできる。Further, an image obtained by adding the absolute values of the differential values in both the x and y directions can be used as the differential image.
【0214】2次微分に対応するラプラシアンの例は、An example of Laplacian corresponding to the second derivative is
【数65】 等が用いられる。これに対しても、処理画像を表示する
場合には、適当なバイアス加算や絶対値処理を行うこと
ができる。[Equation 65] Are used. On the other hand, when displaying a processed image, appropriate bias addition and absolute value processing can be performed.
【0215】前記ラプラシアンは、広域成分を強調して
いるので、原画像からラプラシアン画像を減算すること
により、画像をシャープなものに変更することが可能で
あるとともに、ボケの回復効果もある。Since the Laplacian emphasizes a wide-range component, it is possible to change the image to a sharp one by subtracting the Laplacian image from the original image, and there is also a blur recovery effect.
【0216】これを実現するフィルタは、A filter for realizing this is:
【数66】 等が用いられる。[Equation 66] Are used.
【0217】これらのフィルタの他に、低域または高域
フィルタが存在する。なお、ここで言う低域、高域の意
味は、例えば白黒原画像の白が強い部分を低域とし、黒
が強い部分を高域とする。In addition to these filters, there are low-pass or high-pass filters. In addition, the meaning of the low band and the high band here means that, for example, a white portion of the black-and-white original image is a low band and a black portion is a high band.
【0218】低域フィルタは、高域成分H(μ,ν)黒
成分を減少させるように設定するもので、以下のような
短形フィルタやバターワースフィルタがある。The low-pass filter is set so as to reduce the high-frequency component H (μ, ν) black component, and includes the following short filters and Butterworth filters.
【0219】短形フィルタは通過域と非通過域を1つの
周波数を境にして分けるもので、R 0を遮断周波数とす
るとき、The short filter has a pass band and a non-pass band in one.
Divided by frequency, R 0Is the cutoff frequency
When
【数67】 とすることで、図58(a)のような、フィルタ関数の
形状となる。[Equation 67] Thus, the filter function has a shape as shown in FIG.
【0220】バターワースフィルタは、短形フィルタの
ように急激なカット性は無く、徐々に通過域を減少させ
るものであり、次式でフィルタ特性が示される。A Butterworth filter does not have a sharp cutoff like a short filter, but gradually reduces a pass band. The filter characteristic is expressed by the following equation.
【数68】 [Equation 68]
【0221】n=1の時のフィルタ関数の形を図58
(b)に示す。FIG. 58 shows the form of the filter function when n = 1.
(B).
【0222】次に、高域フィルタを説明する。低域を減
少させるように、H(μ,υ)を設定するもので、前記
説明と同様に、短形フィルタとバターワースフィルタが
存在する。Next, the high-pass filter will be described. H (μ, υ) is set so as to reduce the low frequency band. As described above, there are a short filter and a Butterworth filter.
【0223】矩形フィルタは、次式で表される。The rectangular filter is represented by the following equation.
【数69】 [Equation 69]
【0224】バターワースフィルタは、次式で表され
る。The Butterworth filter is represented by the following equation.
【数70】 [Equation 70]
【0225】これらのフィルタ関数を図59の(a),
(b)に示す。なお、バターワースフィルタを示す
(b)は、n=1の場合である。The filter functions are shown in FIG.
(B). (B) showing a Butterworth filter is a case where n = 1.
【0226】これらの高域、低域フィルタは、X線管か
ら発射された一定の線量をセンサが検出した時、被検出
体の厚みや形状、吸収率により、撮像画面が暗かった
り、明るすぎる等の要因が原因で、薬剤種の判別が難し
くなる。しかし、このようなフィルタを一定量のコント
ラスト範囲から外れて撮影されたものでも、薬剤判別可
能な状態に補正することができる。These high-pass and low-pass filters make the imaging screen dark or too bright depending on the thickness, shape, and absorptance of the object when the sensor detects a constant dose emitted from the X-ray tube. Such factors make it difficult to determine the type of drug. However, even if such a filter is taken out of a certain amount of contrast range, it can be corrected to a state in which the medicine can be identified.
【0227】<画像復元>前記フィルタにより補正され
たX線撮像データは、最終的にモニタやプリンタのデー
タとして出力されるので、ぼやけた画像は錠剤の種別を
判断するうえで好ましくない。<Image Restoration> Since the X-ray imaging data corrected by the filter is finally output as monitor or printer data, the blurred image is not preferable for judging the type of tablet.
【0228】画像をモニタするための経路は、図60に
示すような経路をたどるが、モニタにおいてボケが発生
したり、ノイズが重畳されるのが普通であるため、前記
説明したフィルタ等を使用し、モニタ可能なレベルにし
なければならない。The path for monitoring an image follows the path as shown in FIG. 60. However, since it is normal for the monitor to be blurred or superimposed with noise, the above-described filter or the like is used. It must be at a level that can be monitored.
【0229】加法的なノイズの場合、原画像をf(x,
y)、ノイズをn(x,y)、観測・伝送演算装置をB
とすると、モニタ画像は形式的に次式で求められる。In the case of additive noise, the original image is represented by f (x,
y), noise is n (x, y), and the observation / transmission arithmetic unit is B
Then, the monitor image is formally obtained by the following equation.
【数71】 [Equation 71]
【0230】Bが線形の場合は、When B is linear,
【数72】 と表すことができる。[Equation 72] It can be expressed as.
【0231】ここに、b(x,α,y,β)は、点広が
り関数で、点(α,β)でのインパルスの応答である。
さらに、この関数の位置(α,β)には無関係のとき、
次式で表せる。Here, b (x, α, y, β) is a point spread function, and is a response of an impulse at a point (α, β).
Furthermore, when the position (α, β) of this function is irrelevant,
It can be expressed by the following equation.
【数73】 [Equation 73]
【0232】復元問題とは、モニタ画像gから原画像f
を推定することであるから、前記式63をフーリエ変換
すれば、The restoration problem means that the monitor image g is converted to the original image f
Therefore, if the above equation 63 is Fourier-transformed,
【数74】 となり、F(μ,ν)をG(μ,ν)から推測するた
め、次式M(μ,ν)を決定することが必要となる。[Equation 74] In order to estimate F (μ, ν) from G (μ, ν), it is necessary to determine the following equation M (μ, ν).
【数75】 [Equation 75]
【0233】もし、物体が移動中であった場合のモニタ
画像データは、変位のx,y方向成分をそれぞれ、α
(t)、β(t)とし、Tを露出時間とすると、ノイズ
が無いとき、If the object is moving, the monitor image data indicates that the x and y components of the displacement are α
(T), β (t), and T as the exposure time, when there is no noise,
【数76】 となる。[Equation 76] Becomes
【0234】これをフーリエ変換すれば、If this is Fourier-transformed,
【数77】 となり、画像変換関数Bは、次式で求められる。[Equation 77] And the image conversion function B is obtained by the following equation.
【数78】 [Equation 78]
【0235】x方向に一定速度aで移動する場合、すな
わち、α(t)=at、β(t)=0のとき、When moving at a constant speed a in the x direction, that is, when α (t) = at and β (t) = 0,
【数79】 となる。[Expression 79] Becomes
【0236】また、B(μ,ν)が分かっており、ノイ
ズも存在しない場合には、F(μ,ν)の推定値は、If B (μ, ν) is known and no noise is present, the estimated value of F (μ, ν) is
【数80】 とすればよい。[Equation 80] And it is sufficient.
【0237】しかし、B(μ,ν)の値が0または0に
近い時は、その値での除算演算を行うと不適当な場合が
多く、特にノイズが存在しているときには問題となる。
すなわち、However, when the value of B (μ, ν) is 0 or close to 0, it is often inappropriate to perform a division operation with that value, and this is a problem especially when noise is present.
That is,
【数81】 となり、一般に、B(μ,ν)はN(μ,ν)に比べ
て、(μ,ν)が原点を離れると減衰が大きく、(高い
周波数成分の領域では)0に近くなるのに対し、ノイズ
は周波数にあまり依存しないのでB(μ,ν)が0に近
くなると、相対的にN(μ,ν)/B(μ,ν)の値が
大きくなり、結果が望ましくない。このため、高周波域
ではB(μ,ν)で除算を行わずに、そのままの値を用
いる(B(μ,ν)=1とする)ことによって、前記結
果が不都合にならないようにする。[Equation 81] In general, B (μ, ν) has a larger attenuation when (μ, ν) leaves the origin and is closer to 0 (in a high frequency component region), compared to N (μ, ν). Since the noise does not depend much on the frequency, when B (μ, ν) approaches 0, the value of N (μ, ν) / B (μ, ν) becomes relatively large, and the result is not desirable. For this reason, in the high frequency range, the value is used as it is (ie, B (μ, ν) = 1) without performing division by B (μ, ν) so that the result does not become inconvenient.
【0238】すなわち、逆フィルタ関数として、ある半
径R0の周波数域までは逆数として、ある半径R0の周波
数域までは逆数を用い、それ以上の周波数に対しては1
とするフィルタ関数が好ましい。[0238] That is, 1 for the inverse filter function, as the reciprocal until the frequency range of a radius R 0, uses the inverse to the frequency range of a radius R 0, more frequencies
Is preferable.
【数82】 (Equation 82)
【0239】さらに、ノイズがある場合に、線形の復元
関数を用いるものとし、最適な推定復元の尺度として
は、平均2乗誤差を最小にするものを用いることにすれ
ば、最適フィルタ関数は下記の計算式となる。Further, when there is noise, a linear restoration function is used, and as a measure of optimal estimation restoration, a measure that minimizes the mean square error is used. Is calculated.
【数83】 ここで、Snn(μ,ν)は、ノイズのフーリエスペクト
ルであり、Sff(μ,ν)は信号のフーリエスペクトル
である。[Equation 83] Here, S nn (μ, ν) is the Fourier spectrum of the noise, and S ff (μ, ν) is the Fourier spectrum of the signal.
【0240】ノイズが無い場合、すなわち、Snn=0の
とき、When there is no noise, that is, when S nn = 0,
【数84】 となって、逆フィルタと一致する。[Equation 84] And matches the inverse filter.
【0241】このことは、ノイズが存在する場合は、平
均2乗の意味で最適な復元を行うために1/B(μ,
ν)に修正を加えている。This means that when noise is present, 1 / B (μ, μ,
ν) has been modified.
【0242】また、記録観測システムの不均一性の補正
や、(ラインセンサの中央部と両サイド)幾何学的な歪
みの修正などもそれらの情報計測が可能なら、修復復元
も困難ではない。If the information can be measured for correcting the non-uniformity of the recording / observing system and correcting geometric distortion (the center and both sides of the line sensor), restoration and restoration are not difficult.
【0243】測定システムの位置による不均一があり、
それをi(x,y)とすると、本来なら、f(x,y)
が観測されるべきところ、不均一のため、There is non-uniformity due to the position of the measurement system,
Assuming that it is i (x, y), originally f (x, y)
Should be observed, because of the non-uniformity,
【数85】 になる画像データが取得される。[Equation 85] Is obtained.
【0244】この不均一性を補正するためには、例えば
白色の一定濃度値の画像f(x,y)=c(一定)を取
り込み、gc(x,y)が得られたとすると、入力画像
g(x,y)に対して、In order to correct this non-uniformity, for example, if an image f (x, y) = c (constant) having a white constant density value is fetched and g c (x, y) is obtained, an input For image g (x, y),
【数86】 として補正すればよい。[Equation 86] It should be corrected as
【0245】幾何学的な線形歪みは、計測画素点と歪み
の無い正しい位置との対応関係を付けることができれば
良いから、点(x,y)=(rj,sj)が本来の座標点
(x´,y´)=(μj,νj)であるとすれば、これら
の点を、The geometric linear distortion only needs to be able to provide the correspondence between the measured pixel point and the correct position without distortion, so that the point (x, y) = (r j , s j ) is the original coordinate. Assuming that points (x ′, y ′) = (μ j , v j ), these points are
【数87】 に代入し、各係数を求めれば、歪みの補正が可能であ
る。[Equation 87] , And each coefficient is obtained, the distortion can be corrected.
【0246】ただし、デジタル画像に対しては、点が格
子上のデジタル位置にしか存在しないので、対応点が格
子上に無いことも多く、この場合、格子点の濃度値から
補正したり、近似値を用いるなどの調整が必要になる。
これら、典型的な歪みとして、図61に示すようなもの
がある。However, since a point exists only at a digital position on a grid in a digital image, a corresponding point often does not exist on the grid. In this case, correction or approximation is performed based on the density value of the grid point. Adjustments such as using values are required.
These typical distortions are as shown in FIG.
【0247】<透過線として赤外線を用いた実施形態>
以上の実施形態では、透過線としてX線を使用したが、
赤外線を使用することができる。赤外線の透過特性は、
X線と比べて非常に弱く、被透過物質の材質に影響す
る。例えば、紙の場合、赤外線の透過限度は厚さ20m
m程度である。錠剤包装装置により錠剤が包装された包
装帯は、赤外線を透過することが可能である。包装され
た錠剤を透過して減衰した赤外線の光量を測定すること
で、包装された錠剤の数、形状等を判別することができ
る。<Embodiment using infrared rays as transmission rays>
In the above embodiment, X-rays are used as transmission rays.
Infrared light can be used. The infrared transmission characteristics
It is much weaker than X-rays and affects the material of the substance to be transmitted. For example, in the case of paper, the infrared transmission limit is 20 m in thickness.
m. The packaging band in which the tablets are packaged by the tablet packaging device can transmit infrared rays. By measuring the amount of infrared light attenuated through the packaged tablet, the number, shape, and the like of the packaged tablet can be determined.
【0248】赤外線発生装置としては、近赤外線照射ス
トロボ、ハロゲンランプからの光を赤外線成分のみを透
過させるフィルタを介して照射する赤外線ランプ、多数
のLEDの集合体からなる近赤外線発行LEDアレイ等
を使用することができる。Examples of the infrared ray generating device include a near infrared ray irradiating strobe, an infrared ray lamp for irradiating light from a halogen lamp through a filter transmitting only an infrared ray component, a near infrared ray emitting LED array composed of a large number of LEDs, and the like. Can be used.
【0249】図63は、赤外線ランプからなる赤外線発
生装置101を示す。図63において、102はハロゲ
ンランプである。ハロゲンランプ102は光を一方向に
反射するための反射板103を備えている。ハロゲンラ
ンプ102の照射方向には、近赤外線透過フィルター1
04とスリット板105とを備えている。近赤外線フィ
ルター104としては、Si、GaAs、InP、Ga
P、ZnSe、ZnS等の赤外域で透明な物質を使用し
て構成することができる。スリット板105は、アルミ
板にスリットを形成したものである。赤外線発生装置1
01には、ハロゲンランプ102で発生した熱を逃がし
て内部の温度が異常に上昇しないように冷却するための
ファン106が設けられている。ハロゲンランプ102
の後方には、断熱反射板107を介して、フォトダイオ
ード108と制御装置109とが設けられ、ハロゲンラ
ンプ102の光量を一定に保持している。FIG. 63 shows an infrared ray generator 101 composed of an infrared lamp. In FIG. 63, reference numeral 102 denotes a halogen lamp. The halogen lamp 102 includes a reflector 103 for reflecting light in one direction. The near-infrared transmission filter 1
04 and a slit plate 105. As the near-infrared filter 104, Si, GaAs, InP, Ga
It can be configured using a substance that is transparent in the infrared region, such as P, ZnSe, and ZnS. The slit plate 105 is formed by forming a slit in an aluminum plate. Infrared ray generator 1
The fan 01 is provided with a fan 106 for radiating heat generated by the halogen lamp 102 and cooling it so that the internal temperature does not rise abnormally. Halogen lamp 102
A photodiode 108 and a control device 109 are provided via a heat-insulating reflection plate 107 to keep the amount of light of the halogen lamp 102 constant.
【0250】図64および図65は、前記赤外線発生装
置101から照射されて錠剤を透過した赤外線を検出す
る赤外線検出装置111を示す。この赤外線検出装置1
11は、所定の配列形状に配列された多数のセンサー素
子112を備えている。センサー素子112は、P型シ
リコン半導体基板113と、該基板113上に形成され
たショットキー接合の光電変換層114とを有してい
る。光電変換層114としては、白金、パラジウム、イ
リジウム等の金属、または該金属と金属珪化化合物を形
成したものが使用される。光電変換層114の周辺に
は、該光電変換層114の周辺部での電界集中を緩和し
て、暗電流を防止するためのn−型領域によるガードリ
ング115が設けられている。116は、光電変換層1
14から垂直シフトレジスター117へ信号電荷を転送
するトランスファーゲートのn+型領域である。ゲート
電極118とn型埋め込みチャンネル119は、CSD
の垂直シフトレジスタ117を構成する。120はシリ
コン酸化膜からなる素子間分離および絶縁のためのフィ
ールド絶縁膜である。121,122は層間絶縁膜であ
り、これらの層間絶縁膜は酸化膜等の絶縁体で形成され
ている。光電変換層114の背後には、アルミ反射膜1
23が設けられ、光電変換層114で吸収されずに透過
した赤外光を反射させることで受光感度を向上させてい
る。FIGS. 64 and 65 show an infrared detector 111 for detecting infrared rays emitted from the infrared generator 101 and transmitted through the tablet. This infrared detector 1
Reference numeral 11 includes a large number of sensor elements 112 arranged in a predetermined arrangement shape. The sensor element 112 has a P-type silicon semiconductor substrate 113 and a Schottky junction photoelectric conversion layer 114 formed on the substrate 113. As the photoelectric conversion layer 114, a metal such as platinum, palladium, and iridium, or a metal formed with a metal silicide compound with the metal is used. A guard ring 115 is provided around the photoelectric conversion layer 114 by an n − -type region for alleviating electric field concentration around the photoelectric conversion layer 114 and preventing dark current. 116 is the photoelectric conversion layer 1
14 is an n + type region of a transfer gate which transfers signal charges from the vertical shift register 117 to the vertical shift register 117. Gate electrode 118 and n-type buried channel 119 are CSD
Of the vertical shift register 117 of FIG. Reference numeral 120 denotes a field insulating film made of a silicon oxide film for element isolation and insulation. Reference numerals 121 and 122 denote interlayer insulating films, and these interlayer insulating films are formed of an insulator such as an oxide film. Behind the photoelectric conversion layer 114, the aluminum reflective film 1
The light receiving sensitivity is improved by reflecting infrared light transmitted through the photoelectric conversion layer 114 without being absorbed.
【0251】水平ライン上の各センサー素子112のゲ
ート電極118は、トランスファーゲートスキャナ12
4に接続されるとともに、CSDスキャナー125に接
続されている。これにより、前記ゲート電極118は、
トランスファーゲート116の電極とCSDの転送電極
を兼用している。垂直ライン上の各センサー素子112
のゲート電極118は、さらに、垂直シフトレジスタ1
17に接続されている。各垂直シフトレジスタ117
は、水平シフトレジスタ126に接続され、該水平シフ
トレジスタ126は出力部127に接続されている。The gate electrode 118 of each sensor element 112 on the horizontal line is connected to the transfer gate scanner 12.
4 and to the CSD scanner 125. As a result, the gate electrode 118
The electrode of the transfer gate 116 is also used as the transfer electrode of the CSD. Each sensor element 112 on the vertical line
Of the vertical shift register 1
17. Each vertical shift register 117
Are connected to a horizontal shift register 126, which is connected to an output unit 127.
【0252】前記構成からなる赤外線検出装置に動作に
ついて説明すると、P型シリコン半導体基板113のQ
面側から入射した光は、ショットキー接合の光電変換層
114に到達して光電変換される。発生した光信号電荷
はショットキー接合部に蓄積される。走査線128のう
ち1本がトランスファーゲートスキャナ124により選
択され、この走査線128に接続された一水平ラインの
ゲート電極118にトランスファーゲートスキャナ12
4から読出しパルスが印加される。これにより、ショッ
トキー接合部に蓄積された光信号電荷がn型埋め込みチ
ャンネル119に転送される。同時に、光電変換層11
4はリセットされて、次に読出しパルスが印加されるま
での間、新たに発生する光信号電荷を蓄積する。CSD
スキャナー125により走査線128からゲート電極1
18に垂直転送パルスが印加されると、当該光信号電荷
が垂直方向に転送されて水平シフトレジスタ126に入
力される。水平シフトレジスタ126では、光信号電荷
が水平方向に転送され、出力部127から一水平ライン
の映像信号として外部に読み出される。続いて、トラン
スファーゲートスキャナー124によって選択される水
平ラインを一段づつずらして読出しパルスを印加し、同
様の動作を繰り返すことで所望の映像出力を得ることが
できる。The operation of the infrared detector having the above configuration will be described.
Light incident from the surface side reaches the Schottky junction photoelectric conversion layer 114 and is photoelectrically converted. The generated optical signal charges are accumulated in the Schottky junction. One of the scanning lines 128 is selected by the transfer gate scanner 124, and the transfer gate scanner 12 is connected to the gate electrode 118 of one horizontal line connected to the scanning line 128.
4, a read pulse is applied. As a result, the optical signal charges accumulated in the Schottky junction are transferred to the n-type buried channel 119. At the same time, the photoelectric conversion layer 11
4 is reset and accumulates newly generated optical signal charges until the next read pulse is applied. CSD
The gate electrode 1 from the scanning line 128 by the scanner 125
When a vertical transfer pulse is applied to 18, the optical signal charges are transferred in the vertical direction and input to the horizontal shift register 126. In the horizontal shift register 126, the optical signal charges are transferred in the horizontal direction, and are read out from the output unit 127 as video signals of one horizontal line. Subsequently, a horizontal pulse selected by the transfer gate scanner 124 is shifted one step at a time, a read pulse is applied, and the same operation is repeated to obtain a desired video output.
【0253】このように、ゲート電極118が、信号電
荷を読み出すトランスファーゲート116の電極と、信
号電荷を転送するCSDの転送ゲートとを兼用する場
合、当該ゲート電極118に垂直転送パルスが印加され
ているときにトランスファーゲート116が開かないよ
うにするために、トランスファーゲート116に閾値電
圧を、少なくとも垂直転送パルスのハイレベルの電圧以
上になるように設定されている。As described above, when the gate electrode 118 also serves as the electrode of the transfer gate 116 for reading out signal charges and the transfer gate of CSD for transferring signal charges, a vertical transfer pulse is applied to the gate electrode 118. In order to prevent the transfer gate 116 from opening during the transfer, the threshold voltage of the transfer gate 116 is set so as to be at least the high-level voltage of the vertical transfer pulse.
【0254】また、ショットキー接合からなる光電変換
層114は、ショットキー障壁における障壁の高さ以上
のエネルギーを有する光成分の検出が可能である。例え
ば、白金シリサイド(ptSi)とp型シリコンとのシ
ョットキー接合の場合であれば、約5.6μmの以下の
波長の光成分を検出できる。The photoelectric conversion layer 114 formed of a Schottky junction can detect a light component having energy equal to or higher than the height of the Schottky barrier. For example, in the case of a Schottky junction between platinum silicide (ptSi) and p-type silicon, a light component having a wavelength of about 5.6 μm or less can be detected.
【0255】光電変換層114の変換効率や入射光に対
して出力が飽和しないようにするため、光電変換層11
4とp型シリコン半導体基板113とのショットキー接
合部に、n型不純物導入領域129を設けることが好ま
しい。これにより、赤外線の放射量が大きいい対象物を
検出する場合でも、単に信号読出しパルスの電圧を小さ
くするだけで、光感度が低下され、その出力飽和を阻止
できて撮影を可能にするため、結果的に入射光量に対応
して出力が飽和しないように、赤外線検出器の光感度を
極めて容易に調整できる。n型不純物としては、リン
(P)、砒素(As)等を使用する。In order to prevent the conversion efficiency of the photoelectric conversion layer 114 and the output from being saturated with incident light, the photoelectric conversion layer 11
It is preferable to provide an n-type impurity introduction region 129 at the Schottky junction between P.4 and p-type silicon semiconductor substrate 113. As a result, even when detecting an object having a large amount of infrared radiation, the light sensitivity is reduced by simply reducing the voltage of the signal readout pulse, and the output saturation can be prevented to enable photographing. As a result, the light sensitivity of the infrared detector can be adjusted very easily so that the output is not saturated in accordance with the amount of incident light. Phosphorus (P), arsenic (As), or the like is used as the n-type impurity.
【0256】図66は、光電変換層114とp型シリコ
ン半導体基板113とのショットキー接合部にn型不純
物導入領域129を設けたものと設けないものにおける
リセット電圧と出力信号の関係を比較したものである。
同図において、曲線aはn型不純物導入領域129を設
けていないもの、曲線bはn型不純物導入領域129を
設けたものを示す。FIG. 66 compares the relationship between the reset voltage and the output signal in the case where the Schottky junction between the photoelectric conversion layer 114 and the p-type silicon semiconductor substrate 113 is provided with and without the n-type impurity introduction region 129. Things.
In the same figure, a curve a shows a case where the n-type impurity introduction region 129 is not provided, and a curve b shows a case where the n-type impurity introduction region 129 is provided.
【0257】包装した錠剤を透過した赤外線量を捕らえ
る場合、光電変換層114で変換される感度が高いほう
が、撮像した画像の深みや、鮮明度について有利とな
る。When capturing the amount of infrared light transmitted through the packaged tablet, the higher the sensitivity of conversion by the photoelectric conversion layer 114, the more advantageous the depth and sharpness of the captured image.
【0258】また、赤外光は通過力が弱いため、包装し
た錠剤が複数重なると、撮像画像がボケたり、錠剤の識
別に支障が生じるため、包装された包装錠剤の重なりを
ばらした後に撮影することが好ましい。Further, since infrared light has a low passing power, if a plurality of packed tablets overlap, a captured image is blurred or the identification of tablets is hindered. Is preferred.
【0259】[0259]
【発明の効果】以上の説明から明らかなように、第1か
ら第3の手段としての発明によれば、患者に手渡す錠剤
包装物の内容と調剤データおよび薬剤情報とを照合して
監査する作業において、包装された錠剤の検査が簡単か
つ迅速になるうえ、信頼性が高くなる。また、調剤師の
検査労力を軽減することができる。さらに、第4の手段
としての発明によれば、包装された錠剤の映像データを
作成する手段を備えていれので、現物の薬剤を直接確認
するよりも目視チェックが容易になると共に、監査の正
確性を高めることができる。As is apparent from the above description, according to the invention as the first to third means, the work of collating and inspecting the contents of the tablet package to be handed to the patient with the dispensing data and the medicine information is performed. In this case, the inspection of packaged tablets is simple and quick, and the reliability is high. In addition, the inspection labor of the dispenser can be reduced. Further, according to the invention as the fourth means, since a means for creating video data of the packaged tablets is provided, the visual check is easier than the direct check of the actual drug, and the accuracy of the inspection is improved. Can be enhanced.
【図1】 本発明の第1実施形態の錠剤検査装置を備え
た錠剤分包機の概略構成図。FIG. 1 is a schematic configuration diagram of a tablet packaging machine provided with a tablet inspection device according to a first embodiment of the present invention.
【図2】 ターゲット固定式X線管の断面図。FIG. 2 is a cross-sectional view of a fixed target X-ray tube.
【図3】 ターゲット回転式X線管の断面図。FIG. 3 is a cross-sectional view of a target rotary X-ray tube.
【図4】 連続X線発生回路図。FIG. 4 is a circuit diagram of a continuous X-ray generation circuit.
【図5】 パルスX線発生回路図。FIG. 5 is a pulse X-ray generation circuit diagram.
【図6】 タングステンターゲットのフォトンスペクト
ル図。FIG. 6 is a photon spectrum diagram of a tungsten target.
【図7】 タングステンターゲットのフォトンスペクト
ル図。FIG. 7 is a photon spectrum diagram of a tungsten target.
【図8】 モリブデンターゲットのフォトンスペクトル
図。FIG. 8 is a photon spectrum diagram of a molybdenum target.
【図9】 管電圧波形図。FIG. 9 is a tube voltage waveform diagram.
【図10】 図1の錠剤検査装置の斜視図。FIG. 10 is a perspective view of the tablet inspection device of FIG. 1;
【図11】 ラインセンサ(電離箱検出装置)の分解斜
視図。FIG. 11 is an exploded perspective view of a line sensor (ionization chamber detection device).
【図12】 電離箱パルス応答性を示す波形図。FIG. 12 is a waveform diagram showing ionization chamber pulse response.
【図13】 電離箱におけるガス圧と印加電圧の関係を
示すグラフ。FIG. 13 is a graph showing the relationship between gas pressure and applied voltage in an ionization chamber.
【図14】 ラインセンサ(半導体検出装置)の概略構
成図。FIG. 14 is a schematic configuration diagram of a line sensor (semiconductor detection device).
【図15】 測定ポイントを説明する包装袋の斜視図。FIG. 15 is a perspective view of a packaging bag illustrating measurement points.
【図16】 分離装置を備えた図10の錠剤検出装置の
斜視図。FIG. 16 is a perspective view of the tablet detection device of FIG. 10 including a separation device.
【図17】 暴射ポイントのピッチを説明する平面図。FIG. 17 is a plan view for explaining pitches of assault points.
【図18】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 18 is a graph showing transmission amount output data of a line sensor.
【図19】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 19 is a graph showing transmission amount output data of a line sensor.
【図20】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 20 is a graph showing transmission amount output data of a line sensor.
【図21】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 21 is a graph showing transmission amount output data of a line sensor.
【図22】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 22 is a graph showing transmission amount output data of a line sensor.
【図23】 ラインセンサの透過量出力データを示すグ
ラフ。FIG. 23 is a graph showing transmission amount output data of a line sensor.
【図24】 X線減衰特性を示す3次元グラフ。FIG. 24 is a three-dimensional graph showing X-ray attenuation characteristics.
【図25】 不良包装の場合の測定ポイントを示す平面
図。FIG. 25 is a plan view showing measurement points in the case of defective packaging.
【図26】 ラインセンサの透過量出力データの減衰幅
を示すグラフ。FIG. 26 is a graph showing an attenuation width of transmission amount output data of a line sensor.
【図27】 ラインセンサの透過量出力データの減衰幅
を示すグラフ。FIG. 27 is a graph showing the attenuation width of transmission amount output data of a line sensor.
【図28】 3次元画像データを示す図。FIG. 28 is a diagram showing three-dimensional image data.
【図29】 判別基準データの一例を示す3次元グラ
フ。FIG. 29 is a three-dimensional graph showing an example of determination reference data.
【図30】 判別基準データの一例を示す3次元グラ
フ。FIG. 30 is a three-dimensional graph showing an example of determination reference data.
【図31】 マーク付与装置の斜視図。FIG. 31 is a perspective view of a mark providing device.
【図32】 本発明の第2実施形態の錠剤検査装置の斜
視図。FIG. 32 is a perspective view of a tablet inspection device according to a second embodiment of the present invention.
【図33】 X線による影の状況を説明する斜視図。FIG. 33 is a perspective view illustrating the situation of shadows caused by X-rays.
【図34】 本発明の第3実施形態の錠剤検査装置の側
面図。FIG. 34 is a side view of the tablet inspection device according to the third embodiment of the present invention.
【図35】 ラインセンサのX,Y方向の透過量出力デ
ータを示すグラフFIG. 35 is a graph showing transmission amount output data in the X and Y directions of the line sensor.
【図36】 3次元画像データを示すグラフ。FIG. 36 is a graph showing three-dimensional image data.
【図37】 本発明の第4実施形態の錠剤検査装置の側
面図。FIG. 37 is a side view of the tablet inspection device according to the fourth embodiment of the present invention.
【図38】 5°回転時の錠剤検査装置の側面図。FIG. 38 is a side view of the tablet inspection device at the time of 5 ° rotation.
【図39】 10°回転時の錠剤検査装置の側面図。FIG. 39 is a side view of the tablet inspection device at the time of rotation by 10 °.
【図40】 15°回転時の錠剤検査装置の側面図。FIG. 40 is a side view of the tablet inspection device at the time of rotation by 15 °.
【図41】 3次元画像データを示す図。FIG. 41 is a diagram showing three-dimensional image data.
【図42】 本発明の第5実施形態の錠剤検査装置の側
面図。FIG. 42 is a side view of the tablet inspection device according to the fifth embodiment of the present invention.
【図43】 本発明の第6実施形態の錠剤検査装置の側
面図。FIG. 43 is a side view of the tablet inspection device according to the sixth embodiment of the present invention.
【図44】 図43の錠剤検査装置の斜視図。FIG. 44 is a perspective view of the tablet inspection device of FIG. 43.
【図45】 測定動作を示すフローチャート。FIG. 45 is a flowchart showing a measurement operation.
【図46】 データ処理動作を示すフローチャート。FIG. 46 is a flowchart showing a data processing operation.
【図47】 判別基準データの例を示す図。FIG. 47 is a diagram showing an example of determination reference data.
【図48】 4個の組織からなる組織のX線吸収係数を
示す図。FIG. 48 is a view showing an X-ray absorption coefficient of a tissue composed of four tissues.
【図49】 繰り返し法を説明する図。FIG. 49 illustrates an iterative method.
【図50】 フーリエ変換法を説明する図。FIG. 50 is a diagram illustrating a Fourier transform method.
【図51】 g(k,w)の関数を示す図。FIG. 51 is a diagram showing a function of g (k, w).
【図52】 図51を改良した関数を示す図。FIG. 52 is a view showing a function obtained by improving FIG. 51;
【図53】 濃度変換処理の方法を示す図。FIG. 53 is a view showing a method of density conversion processing.
【図54】 各種関数表を示す図。FIG. 54 is a view showing various function tables.
【図55】 図54に続く各種関数表を示す図。FIG. 55 is a view showing various function tables following FIG. 54;
【図56】 入出力関係を示す図。FIG. 56 illustrates an input / output relationship.
【図57】 画像中の隣接する2つの小領域と、それら
の濃度の分散値を示す図。FIG. 57 is a diagram showing two adjacent small regions in an image and their variance values in density;
【図58】 フィルタ関数を示す図。FIG. 58 is a view showing a filter function.
【図59】 他のフィルタ関数を示す図。FIG. 59 is a view showing another filter function.
【図60】 画像をモニタするための経路を示す図。FIG. 60 is a diagram showing a route for monitoring an image.
【図61】 歪みの例を示す図。FIG. 61 is a diagram showing an example of distortion.
【図62】 (A)錠剤の記憶データ、(B)は欠損部
のある錠剤の実測データ、(C)は記憶データより小さ
い錠剤の実測データをそれぞれ示す斜視図。62A is a perspective view showing (A) stored data of a tablet, (B) is measured data of a tablet having a defective portion, and (C) is a perspective view showing measured data of a tablet smaller than the stored data. FIG.
【図63】 透過線として赤外線を用いた実施形態にお
ける赤外線発生装置を示す断面図。FIG. 63 is a cross-sectional view showing an infrared ray generating device in an embodiment using infrared rays as transmission rays.
【図64】 透過線として赤外線を用いた実施形態にお
ける赤外線検査装置の平面図。FIG. 64 is a plan view of an infrared inspection apparatus according to an embodiment using infrared rays as transmission rays.
【図65】 図64の赤外線検査装置のA−A線断面図
である。65 is a cross-sectional view of the infrared inspection apparatus of FIG. 64 taken along line AA.
【図66】 ショットキー接合部にn型不純物導入領域
を設けたもの(a)と設けないもの(b)におけるリセ
ット電圧と出力信号の関係を示すグラフである。FIG. 66 is a graph showing a relationship between a reset voltage and an output signal in a case where an Schottky junction is provided with an n-type impurity introduction region (a) and in a case where it is not provided (b).
1 錠剤検査装置 2 錠剤分包機 12a 包装袋(被検査体) 14 X線管(透過線発生手段) 16 ラインセンサ(透過線検出手段) 17 マーク付与装置(マーク付与手段) 18 制御装置(錠剤個数判別処理手段、比較判定処理
手段、錠剤形状判別処理手段、記憶手段、) 40 CCDカメラ(撮像手段) 101 赤外線発生装置(透過線発生手段) 111 赤外線検出装置(透過線検出手段)DESCRIPTION OF SYMBOLS 1 Tablet inspection apparatus 2 Tablet packing machine 12a Packaging bag (inspection object) 14 X-ray tube (transmission line generation means) 16 Line sensor (transmission line detection means) 17 Marking device (marking means) 18 Controller (number of tablets) Determination processing means, comparison determination processing means, tablet shape determination processing means, storage means) 40 CCD camera (imaging means) 101 infrared ray generating device (transmitted ray generating means) 111 infrared ray detecting device (transmitted ray detecting means)
Claims (13)
装された錠剤の検査を行う錠剤検査装置において、 透過線を発生して前記錠剤包装物に照射する透過線発生
手段と、 該透過線発生手段で発生された透過線を検出する透過線
検出手段と、 前記錠剤包装物に包装された錠剤の個数を前記透過線検
出手段の検出結果から判別する錠剤個数判別処理手段
と、 前記処方箋データから前記錠剤包装物に包装されるべき
錠数データを抽出し、該錠数データと前記錠剤個数判別
処理手段で判別された錠剤の個数とを比較して、前記処
方箋データどおりの錠剤が包装されているか否かを判定
する比較判定処理手段とを備えた錠剤検査装置。1. A tablet inspection apparatus for inspecting a tablet packaged in a tablet package based on prescription data, comprising: a transmission line generating means for generating a transmission line and irradiating the tablet package; Transmission line detection means for detecting the transmission line generated by the means, tablet number determination processing means for determining the number of tablets packed in the tablet package from the detection result of the transmission line detection means, and from the prescription data The tablet number data to be packaged in the tablet package is extracted, the tablet number data is compared with the number of tablets determined by the tablet number determination processing means, and the tablets are packaged according to the prescription data. A tablet inspection device comprising: a comparison determination processing unit that determines whether or not the tablet is present.
装された錠剤の検査を行う錠剤検査装置において、 透過線を発生して前記錠剤包装物に照射する透過線発生
手段と、 該透過線発生手段で発生された透過線を検出する透過線
検出手段と、 前記錠剤包装物に包装された錠剤の形状を前記透過線検
出手段の検出結果から判別する錠剤形状判別処理手段
と、 錠剤の種類別にその錠剤形状データを記憶する記憶手段
と、 前記処方箋データから前記錠剤包装物に包装されるべき
錠剤の種類を抽出し、該錠剤の種類に対応する錠剤形状
データを前記記憶手段から呼び出し、該錠剤形状データ
と前記錠剤形状判別処理手段で判別された錠剤の形状と
を比較して、前記処方箋データどおりの錠剤が包装され
ているか否かを判定する比較判定処理手段とを備えた錠
剤検査装置。2. A tablet inspection apparatus for inspecting tablets packaged in a tablet package based on prescription data, comprising: a transmission line generating means for generating a transmission line and irradiating the tablet package with the transmission line; Transmission line detection means for detecting the transmission line generated by the means, tablet shape determination processing means for determining the shape of the tablet packaged in the tablet package from the detection result of the transmission line detection means, for each type of tablet A storage unit for storing the tablet shape data; extracting a type of tablet to be packaged in the tablet package from the prescription data; calling tablet shape data corresponding to the type of tablet from the storage unit; Comparing the shape data with the shape of the tablet determined by the tablet shape determination processing means, and comparing and determining whether or not the tablet is packaged according to the prescription data. For example was the tablet inspection apparatus.
装された錠剤の検査を行う錠剤検査装置において、 透過線を発生して前記錠剤包装物に照射する透過線発生
手段と、 該透過線発生手段で発生された透過線を検出する透過線
検出手段と、 前記錠剤包装物に包装された錠剤の形状を前記透過線検
出手段の検出結果から判別する錠剤形状判別処理手段
と、 錠剤の種類別にその錠剤形状データを記憶する記憶手段
と、 前記処方箋データから前記錠剤包装物に包装されるべき
錠剤の種類を抽出し、該錠剤の種類に対応する錠剤形状
データを前記記憶手段から呼び出し、該錠剤形状データ
と前記錠剤形状判別処理手段で判別された錠剤の形状と
を対応させて、前記錠剤包装物に包装された錠剤の個数
を判別する錠剤個数判別処理手段と、 前記処方箋データから前記錠剤包装物に包装されるべき
錠剤の種類と錠数データを抽出し、該錠数データと前記
錠剤個数判別処理手段で判別された錠剤の個数とを比較
して、前記処方箋データどおりの錠剤が包装されている
か否かを判定する比較判定処理手段とを備えた錠剤検査
装置。3. A tablet inspection apparatus for inspecting a tablet packaged in a tablet package based on prescription data, comprising: a transmission line generating means for generating a transmission line and irradiating the tablet package with the transmission line; Transmission line detection means for detecting the transmission line generated by the means, tablet shape determination processing means for determining the shape of the tablet packaged in the tablet package from the detection result of the transmission line detection means, for each type of tablet A storage unit for storing the tablet shape data; extracting a type of tablet to be packaged in the tablet package from the prescription data; calling tablet shape data corresponding to the type of tablet from the storage unit; Tablet number discriminating processing means for discriminating the number of tablets packaged in the tablet package by associating shape data with the shape of the tablet discriminated by the tablet shape discriminating processing means; The tablet type and the number of tablets to be packaged in the tablet package are extracted from the tablet data, and the tablet number data is compared with the number of tablets determined by the tablet number determination processing means. A tablet inspection device comprising: a comparison determination processing unit that determines whether the same tablet is packaged.
線検出手段が検出したデータに個数として換算できない
データが存在するとき、不良包装として処理する請求項
1又は3のいずれかに記載の錠剤検査装置。4. The tablet according to claim 1, wherein the tablet number discriminating processing means performs processing as defective packaging when data detected by the transmission ray detecting means includes data that cannot be converted into a number. Inspection equipment.
線検出手段が検出したデータに形状を認識できないデー
タが存在するとき、不良包装として処理する請求項2又
は3のいずれかに記載の錠剤検査装置。5. The tablet according to claim 2, wherein the tablet shape discrimination processing means processes the data as a defective package when there is data whose shape cannot be recognized in the data detected by the transmission line detection means. Inspection equipment.
剤包装物にマークを付与するマーキング手段を備えた請
求項4又は5のいずれかに記載の錠剤検査装置。6. The tablet inspection apparatus according to claim 4, further comprising a marking means for marking a corresponding tablet package when a defective package is determined.
検出する請求項1から3のいずれかに記載の錠剤検査装
置。7. The tablet inspection device according to claim 1, wherein said transmission line detection means detects a transmission line transmission amount.
検出する請求項1から3のいずれかに記載の錠剤検査装
置。8. The tablet inspection device according to claim 1, wherein the transmission line detection unit detects the shadow as a tablet shadow.
装された錠剤の検査を行う錠剤検査装置において、 透過線を発生して前記錠剤包装物に照射する透過線発生
手段と、 該透過線発生手段で発生された透過線を検出する透過線
検出手段と、 錠剤の種類別にそのイメージデータを記憶する記憶手段
と、 前記錠剤包装物に包装された錠剤の形状を前記透過線検
出手段の検出結果から捕らえてその錠剤の種類を判別す
る錠剤判別処理手段と、 該錠剤の種類に対応する錠剤イメージデータを前記記憶
手段から呼び出し、該イメージデータを前記透過線検出
手段の検出データに重ねて映像データを作成する映像デ
ータ作成手段とを備えた錠剤検査装置。9. A tablet inspection apparatus for inspecting tablets packaged in a tablet package based on prescription data, comprising: a transmission line generating means for generating a transmission line and irradiating the tablet package with the transmission line; Transmission line detection means for detecting transmission lines generated by the means, storage means for storing image data for each type of tablet, and detection results of the shape of the tablets packaged in the tablet package by the transmission line detection means Tablet discrimination processing means for discriminating the type of the tablet from the storage means, tablet image data corresponding to the type of the tablet is called from the storage means, and the image data is superimposed on the detection data of the transmission line detection means to produce video data A tablet inspection device comprising: video data creation means for creating a tablet.
備えた請求項9に記載の錠剤検査装置。10. The tablet inspection device according to claim 9, further comprising display means for displaying the video data.
して記憶する記憶手段を備えた請求項9に記載の錠剤検
査装置。11. The tablet inspection apparatus according to claim 9, further comprising storage means for storing the video data in association with prescription data.
手段を照射方向の異なる方向に複数設け、透過線検出手
段の検出データを立体的に再現する再現手段を備えた請
求項1,2,3,9のいずれかに記載の錠剤検査装置。12. A transmission means comprising a plurality of said transmission line generation means and said transmission line detection means provided in different directions of irradiation, and reproduction means for reproducing detection data of said transmission line detection means in three dimensions. The tablet inspection device according to any one of claims 3 and 9.
囲に回転可能に設けて照射方向を変更できるようにし、
透過線検出手段の検出データを立体的に再現する再現手
段を備えた請求項1,2,3,9のいずれかに記載の錠
剤検査装置。13. The transmission line generating means is rotatably provided around a tablet package so that an irradiation direction can be changed,
The tablet inspection device according to any one of claims 1, 2, 3, and 9, further comprising a reproducing unit that stereoscopically reproduces data detected by the transmission line detecting unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11237049A JP2000135268A (en) | 1998-08-26 | 1999-08-24 | Tablet testing device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10-240348 | 1998-08-26 | ||
| JP24034898 | 1998-08-26 | ||
| JP11237049A JP2000135268A (en) | 1998-08-26 | 1999-08-24 | Tablet testing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000135268A true JP2000135268A (en) | 2000-05-16 |
Family
ID=26533017
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11237049A Pending JP2000135268A (en) | 1998-08-26 | 1999-08-24 | Tablet testing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000135268A (en) |
Cited By (41)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10246707A (en) * | 1997-03-05 | 1998-09-14 | Toagosei Co Ltd | Method for inspecting sealed package |
| JP2002022675A (en) * | 2000-07-03 | 2002-01-23 | Ishida Co Ltd | X-ray article inspection device and method, and article used therein |
| JP2002039967A (en) * | 2000-07-28 | 2002-02-06 | Mitsui Mining & Smelting Co Ltd | Inspection method and inspection device for film carrier tape for mounting electronic components |
| JP2002148212A (en) * | 2000-11-10 | 2002-05-22 | Ishida Co Ltd | X-ray inspecting apparatus |
| JP2002310946A (en) * | 2001-04-17 | 2002-10-23 | Shimadzu Corp | Radiation inspection equipment |
| JP2003065976A (en) * | 2001-08-29 | 2003-03-05 | Anritsu Corp | X-ray foreign matter inspection apparatus |
| JP2003215047A (en) * | 2002-01-17 | 2003-07-30 | Ckd Corp | Visual inspection apparatus and ptp packaging machine equipped with the same |
| JP2004061479A (en) * | 2002-07-27 | 2004-02-26 | Elco:Kk | X-ray foreign matter detector |
| JP2004077495A (en) * | 2003-10-21 | 2004-03-11 | Ckd Corp | Appearance inspection device |
| JP2004301690A (en) * | 2003-03-31 | 2004-10-28 | Nissei Co Ltd | How to detect foreign substances and impurities in food |
| JP2005024453A (en) * | 2003-07-04 | 2005-01-27 | Anritsu Sanki System Co Ltd | X-ray inspection device |
| JP2005024549A (en) * | 2003-06-09 | 2005-01-27 | Anritsu Sanki System Co Ltd | X-ray inspection equipment |
| JP2005034479A (en) * | 2003-07-17 | 2005-02-10 | Glory Ltd | System and apparatus for inspecting medicament and processing program |
| JP2005091162A (en) * | 2003-09-17 | 2005-04-07 | Hitachi Ltd | Remaining life diagnosis device |
| JP2005106640A (en) * | 2003-09-30 | 2005-04-21 | Anritsu Sanki System Co Ltd | X-ray inspection device |
| JP2005127962A (en) * | 2003-10-27 | 2005-05-19 | Anritsu Sanki System Co Ltd | X-ray inspection system |
| JP2005181129A (en) * | 2003-12-19 | 2005-07-07 | Anritsu Sanki System Co Ltd | X-ray inspection apparatus |
| JP2006516722A (en) * | 2003-01-10 | 2006-07-06 | テラビュー リミテッド | Imaging method and related apparatus |
| JP2006179424A (en) * | 2004-12-24 | 2006-07-06 | Toyota Motor Corp | Battery manufacturing method |
| JP2006208065A (en) * | 2005-01-26 | 2006-08-10 | Ckd Corp | Defect inspection device and PTP packaging machine |
| JP2007147661A (en) * | 2007-03-16 | 2007-06-14 | Anritsu Sanki System Co Ltd | X-ray inspection system |
| JP2007198802A (en) * | 2006-01-24 | 2007-08-09 | Niigata Prefecture | Method and apparatus for identifying medicine packaged and packaged |
| JP2009094617A (en) * | 2007-10-04 | 2009-04-30 | Sony Corp | Image processing apparatus and method, and program |
| JP2010503853A (en) * | 2006-09-14 | 2010-02-04 | ハーデー メディ ビー.ヴイ. | Inspection device |
| KR100987158B1 (en) * | 2008-05-06 | 2010-10-11 | 라드텍주식회사 | Welding defect detection method using digital radiography |
| JP2011022030A (en) * | 2009-07-16 | 2011-02-03 | Yokogawa Electric Corp | Radiation inspection apparatus |
| CN102650602A (en) * | 2011-02-28 | 2012-08-29 | 横河电机株式会社 | Radiation inspection apparatus |
| JP2012225666A (en) * | 2011-04-15 | 2012-11-15 | Ckd Corp | Tablet inspection apparatus and ptp packaging machine |
| JP2014067342A (en) * | 2012-09-27 | 2014-04-17 | Fujifilm Corp | Device and method for assisting drug inspection |
| JP2014173967A (en) * | 2013-03-08 | 2014-09-22 | Seiko Epson Corp | Sample inspection device |
| JP5720028B1 (en) * | 2013-10-03 | 2015-05-20 | 株式会社 システムスクエア | Packaging inspection equipment |
| JP2016141541A (en) * | 2015-02-04 | 2016-08-08 | 株式会社ダイフク | Inspection device |
| JP2016176805A (en) * | 2015-03-20 | 2016-10-06 | 株式会社ダイフク | Article inspecting device and article inspection method |
| JP2016194758A (en) * | 2015-03-31 | 2016-11-17 | 大日本印刷株式会社 | Medicine authentication system, medicine authentication method and program |
| WO2018034100A1 (en) * | 2016-08-17 | 2018-02-22 | 富士フイルム株式会社 | Device and method for inspecting preparation of medicines |
| JP2018029949A (en) * | 2016-08-17 | 2018-03-01 | 富士フイルム株式会社 | Dispensing audit device and method |
| JP2018040750A (en) * | 2016-09-09 | 2018-03-15 | フロンティアシステム株式会社 | Marking device |
| WO2019150920A1 (en) * | 2018-01-31 | 2019-08-08 | Cyberdyne株式会社 | Object identifying device and object identifying method |
| JP2019144005A (en) * | 2018-02-16 | 2019-08-29 | Jfeテクノリサーチ株式会社 | Apparatus for measuring content of component |
| KR20190115643A (en) * | 2018-04-03 | 2019-10-14 | (주)에스엘티지 | Non-absorption type product appearance inspection apparatus |
| CN114343682A (en) * | 2021-12-27 | 2022-04-15 | 山东众阳健康科技集团有限公司 | Mammary gland molybdenum target focus detection method and system |
-
1999
- 1999-08-24 JP JP11237049A patent/JP2000135268A/en active Pending
Cited By (48)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10246707A (en) * | 1997-03-05 | 1998-09-14 | Toagosei Co Ltd | Method for inspecting sealed package |
| JP2002022675A (en) * | 2000-07-03 | 2002-01-23 | Ishida Co Ltd | X-ray article inspection device and method, and article used therein |
| JP2002039967A (en) * | 2000-07-28 | 2002-02-06 | Mitsui Mining & Smelting Co Ltd | Inspection method and inspection device for film carrier tape for mounting electronic components |
| JP2002148212A (en) * | 2000-11-10 | 2002-05-22 | Ishida Co Ltd | X-ray inspecting apparatus |
| JP2002310946A (en) * | 2001-04-17 | 2002-10-23 | Shimadzu Corp | Radiation inspection equipment |
| JP2003065976A (en) * | 2001-08-29 | 2003-03-05 | Anritsu Corp | X-ray foreign matter inspection apparatus |
| JP2003215047A (en) * | 2002-01-17 | 2003-07-30 | Ckd Corp | Visual inspection apparatus and ptp packaging machine equipped with the same |
| JP2004061479A (en) * | 2002-07-27 | 2004-02-26 | Elco:Kk | X-ray foreign matter detector |
| US9829433B2 (en) | 2003-01-10 | 2017-11-28 | Teraview Limited | Imaging techniques and associated apparatus |
| JP2006516722A (en) * | 2003-01-10 | 2006-07-06 | テラビュー リミテッド | Imaging method and related apparatus |
| JP2004301690A (en) * | 2003-03-31 | 2004-10-28 | Nissei Co Ltd | How to detect foreign substances and impurities in food |
| JP2005024549A (en) * | 2003-06-09 | 2005-01-27 | Anritsu Sanki System Co Ltd | X-ray inspection equipment |
| JP2005024453A (en) * | 2003-07-04 | 2005-01-27 | Anritsu Sanki System Co Ltd | X-ray inspection device |
| JP2005034479A (en) * | 2003-07-17 | 2005-02-10 | Glory Ltd | System and apparatus for inspecting medicament and processing program |
| JP2005091162A (en) * | 2003-09-17 | 2005-04-07 | Hitachi Ltd | Remaining life diagnosis device |
| JP2005106640A (en) * | 2003-09-30 | 2005-04-21 | Anritsu Sanki System Co Ltd | X-ray inspection device |
| JP2004077495A (en) * | 2003-10-21 | 2004-03-11 | Ckd Corp | Appearance inspection device |
| JP2005127962A (en) * | 2003-10-27 | 2005-05-19 | Anritsu Sanki System Co Ltd | X-ray inspection system |
| JP2005181129A (en) * | 2003-12-19 | 2005-07-07 | Anritsu Sanki System Co Ltd | X-ray inspection apparatus |
| JP2006179424A (en) * | 2004-12-24 | 2006-07-06 | Toyota Motor Corp | Battery manufacturing method |
| JP2006208065A (en) * | 2005-01-26 | 2006-08-10 | Ckd Corp | Defect inspection device and PTP packaging machine |
| JP2007198802A (en) * | 2006-01-24 | 2007-08-09 | Niigata Prefecture | Method and apparatus for identifying medicine packaged and packaged |
| JP2010503853A (en) * | 2006-09-14 | 2010-02-04 | ハーデー メディ ビー.ヴイ. | Inspection device |
| JP2007147661A (en) * | 2007-03-16 | 2007-06-14 | Anritsu Sanki System Co Ltd | X-ray inspection system |
| JP2009094617A (en) * | 2007-10-04 | 2009-04-30 | Sony Corp | Image processing apparatus and method, and program |
| US8265414B2 (en) | 2007-10-04 | 2012-09-11 | Sony Corporation | Image processing device and method and program |
| KR100987158B1 (en) * | 2008-05-06 | 2010-10-11 | 라드텍주식회사 | Welding defect detection method using digital radiography |
| JP2011022030A (en) * | 2009-07-16 | 2011-02-03 | Yokogawa Electric Corp | Radiation inspection apparatus |
| US8447012B2 (en) | 2009-07-16 | 2013-05-21 | Yokogawa Electric Corporation | Radiation inspection apparatus |
| CN102650602A (en) * | 2011-02-28 | 2012-08-29 | 横河电机株式会社 | Radiation inspection apparatus |
| JP2012225666A (en) * | 2011-04-15 | 2012-11-15 | Ckd Corp | Tablet inspection apparatus and ptp packaging machine |
| JP2014067342A (en) * | 2012-09-27 | 2014-04-17 | Fujifilm Corp | Device and method for assisting drug inspection |
| JP2014173967A (en) * | 2013-03-08 | 2014-09-22 | Seiko Epson Corp | Sample inspection device |
| JP5720028B1 (en) * | 2013-10-03 | 2015-05-20 | 株式会社 システムスクエア | Packaging inspection equipment |
| US9733384B2 (en) | 2013-10-03 | 2017-08-15 | System Square Inc. | Package inspection system |
| JP2016141541A (en) * | 2015-02-04 | 2016-08-08 | 株式会社ダイフク | Inspection device |
| JP2016176805A (en) * | 2015-03-20 | 2016-10-06 | 株式会社ダイフク | Article inspecting device and article inspection method |
| JP2016194758A (en) * | 2015-03-31 | 2016-11-17 | 大日本印刷株式会社 | Medicine authentication system, medicine authentication method and program |
| US11060984B2 (en) | 2016-08-17 | 2021-07-13 | Fujifilm Toyama Chemical Co., Ltd. | Dispensing inspection device and dispensing inspection method |
| WO2018034100A1 (en) * | 2016-08-17 | 2018-02-22 | 富士フイルム株式会社 | Device and method for inspecting preparation of medicines |
| JP2018029949A (en) * | 2016-08-17 | 2018-03-01 | 富士フイルム株式会社 | Dispensing audit device and method |
| JP2018040750A (en) * | 2016-09-09 | 2018-03-15 | フロンティアシステム株式会社 | Marking device |
| JPWO2019150920A1 (en) * | 2018-01-31 | 2021-01-07 | Cyberdyne株式会社 | Object identification device and object identification method |
| WO2019150920A1 (en) * | 2018-01-31 | 2019-08-08 | Cyberdyne株式会社 | Object identifying device and object identifying method |
| JP2019144005A (en) * | 2018-02-16 | 2019-08-29 | Jfeテクノリサーチ株式会社 | Apparatus for measuring content of component |
| KR20190115643A (en) * | 2018-04-03 | 2019-10-14 | (주)에스엘티지 | Non-absorption type product appearance inspection apparatus |
| KR102300338B1 (en) | 2018-04-03 | 2021-09-09 | (주)에스엘티지 | Non-absorption type product appearance inspection apparatus |
| CN114343682A (en) * | 2021-12-27 | 2022-04-15 | 山东众阳健康科技集团有限公司 | Mammary gland molybdenum target focus detection method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2000135268A (en) | Tablet testing device | |
| US6324253B1 (en) | Tablet inspection apparatus | |
| EP2675358B1 (en) | Detector array having effective size larger than actual size | |
| ES2769530T3 (en) | X-ray tomography inspection systems | |
| CN101375798B (en) | CT imaging system and method with second tube/detector patching | |
| EP3347741B1 (en) | Methods for making an x-ray detector | |
| US20210018634A1 (en) | X-Ray Detectors Capable of Limiting Diffusion of Charge Carriers | |
| US11848347B2 (en) | Methods of making semiconductor X-ray detector | |
| US20100012845A1 (en) | Energy-resolving detection system and imaging system | |
| EP3519863B1 (en) | Packaging of semiconductor x-ray detectors | |
| TWI801662B (en) | An imaging system and an imaging method | |
| US7920751B2 (en) | Adaptive gradient weighting technique for detector bad cell correction | |
| US20080285706A1 (en) | Coherent-Scatter Computer Tomograph | |
| US10353086B2 (en) | Semiconductor X-ray detector capable of dark current correction | |
| JP2010181424A (en) | X-ray inspection with contemporaneous and proximal transmission and backscatter imaging | |
| US6546075B1 (en) | Energy sensitive detection systems | |
| US11644583B2 (en) | X-ray detectors of high spatial resolution | |
| TWI819177B (en) | Imaging system having radiation detectors of different orientations and method for using the same | |
| WO2014045045A1 (en) | A dispersive diffraction projection imaging system | |
| CN114869307B (en) | System and method for mitigating trace triggering of channels in an X-ray detector | |
| CN117916039A (en) | 3D (three-dimensional) printing with void filling |