KR101985546B1 - Method of detecting perforated line for a paper-bundle of medicine - Google Patents

Method of detecting perforated line for a paper-bundle of medicine Download PDF

Info

Publication number
KR101985546B1
KR101985546B1 KR1020120123145A KR20120123145A KR101985546B1 KR 101985546 B1 KR101985546 B1 KR 101985546B1 KR 1020120123145 A KR1020120123145 A KR 1020120123145A KR 20120123145 A KR20120123145 A KR 20120123145A KR 101985546 B1 KR101985546 B1 KR 101985546B1
Authority
KR
South Korea
Prior art keywords
image
package
perforated line
medicine
pixel
Prior art date
Application number
KR1020120123145A
Other languages
Korean (ko)
Other versions
KR20140055808A (en
Inventor
김준호
Original Assignee
(주)제이브이엠
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)제이브이엠 filed Critical (주)제이브이엠
Priority to KR1020120123145A priority Critical patent/KR101985546B1/en
Priority to PCT/KR2013/009207 priority patent/WO2014069817A1/en
Publication of KR20140055808A publication Critical patent/KR20140055808A/en
Application granted granted Critical
Publication of KR101985546B1 publication Critical patent/KR101985546B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0092Coin-freed apparatus for hiring articles; Coin-freed facilities or services for assembling and dispensing of pharmaceutical articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B57/00Automatic control, checking, warning, or safety devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • G07F11/68Coin-freed apparatus for dispensing, or the like, discrete articles in which the articles are torn or severed from strips or sheets
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B11/00Wrapping, e.g. partially or wholly enclosing, articles or quantities of material, in strips, sheets or blanks, of flexible material

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

본 발명은 약포형 약제 불출 박스에 관한 것으로서, 구체적으로 본 발명에 따른 약포형 약제 불출 장치는 약포 패키지가 보관되는 보관부; 상기 보관된 약포 패키지를 이송하는 적어도 하나 이상의 롤러를 구비하는 이송부; 상기 이송되는 약포 패키지를 촬영하는 스캔부; 상기 스캔부에 의하여 촬상된 약포 패키지의 연속 이미지로부터 절취선을 감지하는 감지부; 상기 감지된 절취선의 위치 정보를 이용하여 이송되는 약포 패키지에 포함된 어느 하나의 절취선을 절단하는 절단부; 및 상기 절단된 약포가 외부로 배출되는 배출구;를 포함한다.
본 발명에 따르면 약제 자동불출 장치의 일부 구성부로서 약포형 약제를 보관하였다가 불출시킬 수 있으며, 불출되는 약포 패키지의 영상을 광 노이즈 없이 촬상이 가능하다.
The present invention relates to a drug dispenser dispenser box, and more particularly, to a drug dispenser dispenser according to the present invention, which comprises a storage part for storing a drug package; A transferring part having at least one roller for transferring the stored medicine package; A scan unit for photographing the transported medicine package; A sensing unit for sensing a perforated line from a continuous image of the package of capsules captured by the scanning unit; A cutting unit for cutting one of the perforated lines included in the package of the medicine delivered using the sensed perforation line position information; And a discharge port through which the cut medicine is discharged to the outside.
According to the present invention, the capsule type medicine can be stored and dispensed as a part of the automatic dispenser for medicine dispensing, and images of dispensed capsule packages can be captured without light noise.

Description

약포 패키지 절취선 감지 방법{Method of detecting perforated line for a paper-bundle of medicine}[0001] The present invention relates to a method for detecting a perforated package in a package,

본 발명은 약포 패키지 절취선 감지 방법에 관한 것으로서, 보다 상세하게는 본 발명의 자동형 약제 불출 장치의 일부로 이용되는 장치 중 약포형 약제를 불출하는 박스에서 약포 패키지를 절단하기 위하여 절취선을 감지하는 방법에 관한 것이다.More particularly, the present invention relates to a method of detecting a perforated line for cutting a package of a medicine in a box dispensing box of a packaged medicament among devices used as a part of the automatic drug dispensing apparatus of the present invention .

일반적으로 환자의 처방전에 따른 1회 복용분의 약제에는 다양한 종류 및 형태의 약제들이 포함될 수 있으며, 약제 불출 박스로부터 1회 복용분의 약제가 불출되어 환자에게 전달되게 된다.In general, a single-dose medicament according to a patient's prescription may include various kinds and forms of medicines, and a medicament for a single dose is dispensed from the medicament dispensing box to be delivered to the patient.

하나의 바스켓에 담기게 되는 다양한 약제는 각각의 약제가 담긴 박스로부터 환자의 처방전에 맞게 불출되어 하나의 바스켓에 수집되게 되며, 약제가 수집된 바스켓이 환자에게 전달되고 환자는 상기 바스켓에 수집된 약제를 복용하게 된다.A variety of medicines contained in a single basket are dispensed from a box containing each medicament according to a prescription of a patient and collected in a basket. The basket in which the medicines are collected is delivered to the patient, and the medicines collected in the basket .

한편, 하나의 바스켓에 다양한 약제의 수집을 위해서 종래에는 약사 등의 의약 전문가가 환자의 처방전에 따라 수동으로 약을 선택하여 담는 과정이 필요하였으며, 이에 따라 약제 수집의 정확성을 재차 판단해야하는 확인 작업이 반드시 필요하였다. 이는 투약의 정확성을 담보하기 어려워 약화사고를 발생시킬 가능성을 항상 내포하게 된다. 또한, 약화사고 가능성뿐만 아니라 수집 과정 자체가 복잡하여 환자의 처방전에 맞게 약제를 수집하는 시간도 오래 걸리게 되어 작업 효율성이 저하된다는 문제도 유발시키게 된다. 이러한 이유로 환자의 처방전에 따라 1회 복용분 씩 약제를 수집하는데 있어서, 정확성 및 효율성을 향상시켜 약사 등의 사용자에게 편의성을 제공하는 동시에 약화사고를 미연에 방지하도록 하는 방안 및 기술에 대한 연구가 필요하다.On the other hand, in order to collect various medicines in one basket, in the past, medicines experts such as pharmacists needed a process of manually selecting medicines according to the patient's prescription, and accordingly, a confirmation operation to judge the accuracy of the medicament collection It was necessary. This makes it difficult to ensure the correctness of the medication and always implies the possibility of causing an attrition. In addition, not only the possibility of weakness but also the complexity of the collection process itself, it takes a long time to collect the medicine according to the prescription of the patient, which also causes a problem of lowering the working efficiency. For this reason, it is necessary to study methods and techniques for improving the accuracy and efficiency in collecting medicines for one dose according to the patient's prescription, thereby providing convenience to users such as pharmacists and preventing weakening accidents in advance Do.

한편, 약포형 약제를 자동적으로 불출하기 위해서는 서로 연결되어 있는 약포들을 각각 분리하기 위하여 약포 패키지의 절취선을 인식하는 기술을 필요로 한다. 종래에는 이러한 약포 패키지의 절취선을 감지하기 위하여 카메라와 더불어 초음파 센서등을 이용했다. 그러나 이러한 경우 한정된 공간의 제약을 받을 수 밖에 없는 약제 불출박스의 특성 상 절취선의 감지 기술을 포함하는데에는 많은 어려움이 있었다.On the other hand, in order to automatically dispense canned medicines, a technique of recognizing the perforated lines of the medicament package is required in order to separate each of the bound medicines. Conventionally, an ultrasonic sensor or the like has been used in addition to a camera for detecting a perforated line of such a package. However, in this case, there were many difficulties to include the perforating line detection technology due to the characteristics of the medicine dispensing box which is limited by limited space.

본 발명은 약포 패키지를 개별로 절단하기 위한 전제로서 약포 패키지의 절취선을 감지할 수 있는 방법을 제공한다.The present invention provides a method for detecting a perforation line of a drug package as a premise for individually cutting a drug package.

또한 본 발명은 약포 패키지의 영상 처리에 소요되는 컴퓨팅 장치의 시스템 소모량을 최소화하는 절취선 감지 방법을 제공한다.The present invention also provides a percutaneous line sensing method for minimizing system consumption of a computing device for image processing of a drug package.

또한 본 발명은 약포 패키지의 절취선을 감지하기 위한 구성부들의 수를 최소화하는 절취선 감지 방법을 제공한다.The present invention also provides a perforated line sensing method for minimizing the number of components for sensing a perforated line of a drug package.

본 발명에 따른 약포 패키지 절취선 감지 방법은 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차지점을 포함하는 이미지를 획득하는 영상 획득 단계; 촬영된 이미지를 에지 이미지로 영상 처리하는 영상처리 단계; 및 상기 영상처리된 에지 이미지로부터 절취선을 감지하는 절취선 감지 단계;를 포함한다.The method for detecting a drug package perforated line according to the present invention includes an image acquiring step of acquiring an image including an intersection point of a thermally fused portion formed in a transverse direction and a thermally fused portion formed in a longitudinal direction of a drug package; An image processing step of image-processing the photographed image into an edge image; And a perforated line sensing step of sensing a perforated line from the image-processed edge image.

또한 상기 절취선 감지 단계에서 절취선을 감지하지 못하는 경우 상기 약포 패키지를 이송하여 상기 영상 획득 단계 내지 상기 절취선 감지 단계를 반복하는 반복 단계;를 더 포함할 수 있다.And repeating the image acquisition step and / or the perforated line sensing step by transferring the package of the capsules when the perforated line is not sensed in the perforated line sensing step.

또한 상기 영상 획득 단계는, 약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및 상기 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지 잘라내는 영상 획득 제2 단계를 포함할 수 있다.In addition, the image acquiring step may include: an image acquiring step of acquiring an image of the drug package; And an image capturing second step of capturing an image including an intersection of the crosswise thermally fused portion and the longitudinally fused portion of the package of the drug in the image.

또한 상기 영상 획득 제2 단계는 상기 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 상기 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 판단하는 단계를 더 포함할 수 있다.The second step of image acquisition may further include detecting an inner intersection of the transverse thermal fused portion and the longitudinal thermal fused portion to determine the position of the intersection between the transverse thermal fused portion and the longitudinal thermal fused portion .

한편, 상기 영상 획득 단계는 상기 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차지점의 이미지 만을 촬영하는 단계를 포함할 수 있다.Meanwhile, the image acquiring step may include photographing only the image of the intersection point of the lateral heat-sealed portion and the longitudinal heat-sealed portion of the package of the medicine.

또한 상기 영상처리 단계는, 상기 획득된 영상을 그레이 스케일로 변환하는 영상처리 제1 단계; 상기 그레이 스케일로 변환된 이미지를 이진화하는 영상처리 제2 단계; 및 상기 이진화된 이미지를 에지만이 표시되는 에지 이미지로 변환하는 영상처리 제3 단계;를 포함할 수 있다.The image processing step may further include: an image processing step of converting the obtained image into gray scale; An image processing step of binarizing the image converted into the gray scale; And an image processing step of converting the binarized image into an edge image in which only an edge is displayed.

나아가 상기 영상처리 제1 단계 이전에 상기 이미지의 노이즈를 제거하는 단계를 더 포함할 수 있다.Further, the method may further include removing the noise of the image before the first step of the image processing.

더 나아가 상기 노이즈 제거는 미디언 필터에 의하여 수행될 수 있다.Furthermore, the noise cancellation can be performed by a median filter.

또한 상기 절취선 감지 단계는 외곽선 추적 기법을 이용하여 상기 에지 이미지를 종단하는 일련의 픽셀들을 절취선으로 판단할 수 있다.Also, the perforated line sensing step may determine a series of pixels that terminate the edge image as a perforated line using an outline trace technique.

나아가 상기 절취선 감지 단계는, 상기 에지 이미지의 상부로부터 검정색 정보를 갖는 픽셀을 검출하는 절취선 감지 제1 단계; 상기 검출된 검정색 정보를 갖는 픽셀의 우측 픽셀로부터 시계방향으로 돌아가며 검정색 정보를 갖는 픽셀인지 여부를 판단하는 절취선 감지 제2 단계; 상기 판단 대상인 픽셀이 검정색 정보를 갖고 있는 경우 판단 대상 픽셀을 기준으로 상기 절취선 감지 제2 단계를 반복하는 절취선 감지 제3 단계; 및 상기 에지 이미지의 상부로부터 하부에 이르기까지 종방향으로 상기 기준 픽셀이 이동하는 경우 해당 일련의 대상 픽셀들을 절취선으로 판단하는 절취선 감지 제4 단계;를 포함할 수 있다.The perforated line sensing step further includes a perforated line sensing step of sensing a pixel having black information from an upper portion of the edge image; A second perforated line sensing step of determining whether the pixel having the black information is rotated clockwise from the right pixel of the pixel having the detected black information; A third perforation line sensing step of repeating the second perforation line sensing based on a determination target pixel when the pixel to be determined has black information; And a perforated line sensing step of determining the pertinent pixels as a perforated line when the reference pixel moves in the longitudinal direction from the top to the bottom of the edge image.

또한 상기 절취선 감지 단계는 패턴 인식 방법에 의하여 이미지 중 직선 패턴으로 인식되는 부분을 절취선으로 판단할 수 있다.Also, the perforated line sensing step may determine a part of the image recognized as a straight line pattern as a perforation line by the pattern recognition method.

본 발명에 따르면 약포 패키지를 개별로 절단하기 위한 전제로서 약포 패키지의 절취선을 용이하게 감지할 수 있다.According to the present invention, it is possible to easily detect the perforation line of the drug package as a premise for separately cutting the drug package.

동시에 본 발명에 따르면 약포 패키지의 절취선 감지에 이용되는 이미지의 촬영 영역 또는 획득 영역을 최소화 함으로써 연속 이미지의 연속적인 영상처리에 소모되는 컴퓨팅 시스템의 자원을 최소화함으로써 효율적이고 신속한 절취선의 감지가 가능하다.At the same time, according to the present invention, it is possible to efficiently and quickly detect the perforated line by minimizing the resources of the computing system consumed in the continuous image processing of the continuous image by minimizing the photographing area or the obtaining area of the image used to perceive the perimeter of the package.

또한 본 발명에 따르면 또한 약포 패키지의 절취선을 감지하기 위하여 카메라 모듈만을 이용하고 이외에 다른 센서를 이용하지 않음으로써 약포 패키지의 절취선 검출에 필요한 구성부들을 소형화하고 경제적으로도 유리한 효과가 있다.In addition, according to the present invention, only the camera module is used to detect the perforated line of the drug package, and other sensors are not used, thereby miniaturizing the components necessary for perforating line detection of the drug package and economically advantageous.

도 1은 본 발명의 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 사시도이다.
도 2는 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 저면 사시도이다.
도 3은 일 실시예에 따른 약포형 약제 불출 박스를 일부 절개한 분해 사시도이다.
도 4는 일 실시예에 따른 약포형 약제 불출박스의 모습을 나타내는 단면도이다.
도 5는 일 실시예에 따른 약포형 약제 불출박스의 일부를 절개한 절개 사시도이다.
도 6은 일 실시예에 따른 약포형 약제 불출박스의 분해 사시도이다.
도 7은 일 실시예에 따른 약포형 약제 불출박스의 또 다른 분해 사시도이다.
도 8은 일 실시예에 따른 광차단부의 모습을 나타내는 저면 사시도이다.
도 9 및 도 10은 일 실시예에 따른 스캔부의 작동 모습을 나타내는 개략도이다.
도 11은 일 실시예에 따른 약포 패키지의 절취선 감지와 관련된 구성부들을 나타내는 블록도이다.
도 12는 약포 패키지의 개략적인 모습을 나타내는 개략도이다.
도 13은 일 실시예에 따른 절취선 감지 방법을 나타내는 순서도이다.
도 14는 일 실시예에 따른 영상처리 프로세스를 나타내는 순서도이다.
도 15는 일 실시예에 따른 절취선 감지 프로세스를 나타내는 순서도이다.
1 is a perspective view showing a medicine dispenser dispenser box according to an embodiment of the present invention.
2 is a bottom perspective view showing a medicine dispenser dispenser box according to an embodiment.
FIG. 3 is an exploded perspective view of a box-shaped medicine dispenser box according to an embodiment.
4 is a cross-sectional view showing a medicine dispenser dispenser box according to an embodiment.
FIG. 5 is a cutaway perspective view of an incompatible medicine dispenser box according to an embodiment.
FIG. 6 is an exploded perspective view of a medicine-like medicine dispenser box according to an embodiment.
7 is another exploded perspective view of a medicine-like medicine dispensing box according to an embodiment.
8 is a bottom perspective view showing a state of the light shielding portion according to an embodiment.
FIG. 9 and FIG. 10 are schematic views showing operations of a scan unit according to an embodiment.
11 is a block diagram illustrating components associated with perforated line sensing of a drug package in accordance with one embodiment.
12 is a schematic view showing a schematic view of a drug package.
13 is a flowchart illustrating a perineal line sensing method according to an exemplary embodiment of the present invention.
14 is a flowchart illustrating an image processing process according to an embodiment.
15 is a flow diagram illustrating a perforated line sensing process in accordance with one embodiment.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 설명한다. 특별한 정의나 언급이 없는 경우에 본 설명에 사용하는 방향을 표시하는 용어는 도면에 표시된 상태를 기준으로 한다. 또한 각 실시예를 통하여 동일한 도면부호는 동일한 부재를 가리킨다. 한편, 도면상에서 표시되는 각 구성은 설명의 편의를 위하여 그 두께나 치수가 과장될 수 있으며, 실제로 해당 치수나 구성간의 비율로 구성되어야 함을 의미하지는 않는다.
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the absence of special definitions or references, the terms used in this description are based on the conditions indicated in the drawings. The same reference numerals denote the same members throughout the embodiments. For the sake of convenience, the thicknesses and dimensions of the structures shown in the drawings may be exaggerated, and they do not mean that the dimensions and the proportions of the structures should be actually set.

본 발명에 따른 약포형 약제 불출 박스는 패키지 형태로 내부에 보관되어 있는 약제를 불출하기 위한 장치이다. 본 발명의 일 실시예에 따른 약포형 약제 불출 장치는 보관부, 이송부, 절단부, 광원부 및 스캔부 등을 포함한다. 이하에서는 도면들을 참조하여 각 구성부들을 상세히 설명한다.
The packaged medicine dispenser box according to the present invention is a device for dispensing medicines stored in a package form. The apparatus for dispensing cannabinoid medicine according to an embodiment of the present invention includes a storage section, a transfer section, a cut section, a light source section, and a scan section. Hereinafter, the components will be described in detail with reference to the drawings.

도 1 및 도 2를 참조하여 외형을 구성하는 하우징을 설명한다. 도 1은 본 발명의 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 사시도이고, 도 2는 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 저면 사시도이다.The housing constituting the outer shape will be described with reference to Figs. 1 and 2. Fig. FIG. 1 is a perspective view showing a medicine dispenser dispenser box according to an embodiment of the present invention, and FIG. 2 is a bottom perspective view showing a medicine dispenser dispenser box according to an embodiment of the present invention.

약포형 약제 불출 박스(10)의 외형을 구성하는 하우징은 하우징 본체(130), 전면부(110) 및 하우징 커버(120)를 포함한다. 하우징 본체(130)는 전체적으로 직육면체 형상으로 형성된다. 하우징 본체(130)의 상단에는 하우징 커버(120)가 구비된다. 하우징 커버(120)는 회동가능하도록 일측이 고정되어 개폐가 가능하다. 전면부(110)에는 절단된 약포가 배출되는 배출구(112)가 형성된다. 배출구(112)는 전단부 커버(111)를 관통하여 외부로 노출되도록 구비된다. 한편, 배출구(112)에는 배출되는 약포를 감지하는 센서(미도시)를 구비할 수 있다. 이 경우 센서에 의하여 감지된 배출 약포의 수를 카운팅하는 카운팅 수단 등을 구비함으로써 배출된 약포의 수를 집계할 수도 있다.
The housing constituting the outer shape of the dressing-type medicine dispensing box 10 includes a housing main body 130, a front portion 110, and a housing cover 120. The housing main body 130 is formed in a rectangular parallelepiped shape as a whole. A housing cover 120 is provided at an upper end of the housing main body 130. The housing cover 120 can be opened and closed by being fixed on one side so as to be rotatable. The front portion 110 is formed with a discharge port 112 through which the cut medicine is discharged. The discharge port 112 is provided to be exposed to the outside through the front end cover 111. On the other hand, the discharge port 112 may be provided with a sensor (not shown) for sensing the discharged medicine. In this case, counting means for counting the number of the discharge drops detected by the sensor may be provided, so that the number of discharged drops can be counted.

도 2에 도시된 바와 같이 하우징 본체(130)의 하단에는 레일 수용부(140)가구비된다. 레일 수용부(140)는 본 실시예에 따른 약포형 약제 불출박스가 수용되는 카트리지(미도시)에 형성된 레일을 수용하여 삽입 시 가이드하는 기능을 한다.
As shown in FIG. 2, the rail receiving portion 140 is furnished at the lower end of the housing main body 130. The rail accommodating portion 140 serves to guide a guide member when receiving a rail formed in a cartridge (not shown) in which a canned medicine dispensing box according to the present embodiment is accommodated.

도 3을 참조하여 하우징의 전면부 및 절단부를 설명한다. 도 3은 일 실시예에 따른 약포형 약제 불출 박스를 일부 절개한 분해 사시도이다.Referring to FIG. 3, the front and the cutouts of the housing will be described. FIG. 3 is an exploded perspective view of a box-shaped medicine dispenser box according to an embodiment.

하우징의 전단부(110)는 전단부 본체(115) 및 전단부 커버(111)를 포함한다. 전단부 본체(115)에는 상술한 배출구(112)에 소통가능하도록 연결되는 제1 약포 이동구(116)가 형성된다. 전단부 본체(115)는 내측에 절단부(200)를 구비한다. 절단부(200)는 제2 약포 이동구(210)가 형성되며, 제2 약포 이동구(210)를 통하여 이동하는 약포 패키지를 절단한다. 제2 약포 이동구(210)는 전단부 본체(115)의 제1 약포 이동구(116)와 전단부 커버(111)의 배출구(112)에 소통가능하도록 연결된다.
The front end portion 110 of the housing includes a front end portion main body 115 and a front end cover 111. [ The front end body 115 is formed with a first medicine port 116 communicably connected to the discharge port 112 described above. The front end portion main body 115 has a cut-out portion 200 on the inner side. The cut portion 200 forms the second drug port 210 and cuts through the second drug port 210 through the package. The second drug port 210 is communicably connected to the first drug port 116 of the front end body 115 and the outlet 112 of the front end cover 111.

도 4 및 도 5를 참조하여 이송부, 보관부 및 광원부를 설명한다. 도 4는 일 실시예에 따른 약포형 약제 불출박스의 모습을 나타내는 단면도이고, 도 5는 일 실시예에 따른 약포형 약제 불출박스의 일부를 절개한 절개 사시도이다.The transporting unit, the storage unit, and the light source unit will be described with reference to FIGS. FIG. 4 is a cross-sectional view illustrating a medicine dispenser dispenser box according to an embodiment of the present invention, and FIG. 5 is a cutaway perspective view illustrating a medicine dispenser dispenser box according to an embodiment of the present invention.

보관부(300)는 휠 형상으로 형성되어 약포 패키지(2)가 권취된 상태로 보관된다. 보관부(300)는 권심(320)과 측면 케이스(310)를 포함한다. 약포 패키지(2)는 권심(320)에 권취되어 있다가 이송부(400)에 의하여 권출(unrolled)된다. 측면 케이스(310)는 ?심(320)에 약포 패키지(2)가 권취되거나 권출되는 경우 측면으로 이탈하는 것을 방지하는 기능을 한다. 한편, 보관부(300)는 단순히 약포 패키지가 보관될 수 있는 공간부만으로도 형성하는 것도 가능하다. 즉, 보관부 내에 휠 등의 구성부를 배제하고 단순한 공간으로 형성하고, 형성된 공간부에 약포 패키지를 단순히 접히도록 구비하는 것도 가능하다.The storage part 300 is formed in a wheel shape and is stored in a state in which the medicine package 2 is wound. The storage unit 300 includes a winding core 320 and a side case 310. The medicine package 2 is wound around the winding core 320 and unrolled by the transfer unit 400. [ The side case 310 serves to prevent the side face 320 from being deviated to the side when the package 2 is wound or unwound. Meanwhile, the storage unit 300 can be formed simply by a space portion in which the package can be stored. That is, it is also possible to provide a simple space by excluding constituent parts such as wheels in the storage part, and to simply fold the package of medicine into the formed space part.

이송부(400)는 한 쌍의 제1롤(410), 한 쌍의 제2롤(420) 및 배출롤(430)을 포함한다. 한 쌍의 제1롤(410)은 제1 상부롤(411)과 제1 하부롤(412)를 포함한다. 제1 상부롤(411)은 제1 하부롤(412)의 상부에 위치하며, 제1 하부롤(412)과 맞닿도록 구비된다. 제1 상부롤(411)과 제1 하부롤(412)의 외주면은 탄성재질, 특히 다공성 재질로 형성될 수 있다. 제1 상부롤(411)과 제1 하부롤(412)의 외주면이 탄성재질로 형성됨으로써 사이에 개재되는 약포 패키지 내의 약제들을 가압하는 힘을 최소화할 수 있다. 본 실시예에서의 제1 하부롤(412)은 모터 바람직하게는 스텝 모터에 의하여 구동되며, 제1 상부롤(411)은 제1 하부롤(412)의 회전방향에 따라 피동적으로 회전한다. 한 쌍의 제1롤(410)은 약포 패키지(2)의 최 전단부가 최초로 위치된 상태에서 약포 패키지(2)를 배출롤(430) 방향으로 이송되도록 유도한다.The transfer unit 400 includes a pair of first rolls 410, a pair of second rolls 420, and a discharge roll 430. The pair of first rolls 410 includes a first upper roll 411 and a first lower roll 412. The first upper roll 411 is located at the upper portion of the first lower roll 412 and is provided to abut the first lower roll 412. The outer circumferential surfaces of the first upper roll 411 and the first lower roll 412 may be formed of an elastic material, in particular, a porous material. The outer circumferential surfaces of the first upper roll 411 and the first lower roll 412 are formed of an elastic material, so that the force for pressing the medicines in the package of medicine between the first roll 411 and the first lower roll 412 can be minimized. The first lower roll 412 in this embodiment is driven by a motor, preferably a stepping motor, and the first upper roll 411 rotates passively in accordance with the rotating direction of the first lower roll 412. The pair of first rolls 410 guides the package 2 in the direction of the discharge roll 430 in a state where the foremost end of the package 2 is initially positioned.

한 쌍의 제2롤(420)은 한 쌍의 제1롤(410)로부터 이송되는 약포 패키지(2)의 전단부를 배출롤(430) 측으로 이송시킨다. 한 쌍의 제2롤(420)은 제2 상부롤(421) 및 제2 하부롤(422)을 포함한다. 제2 상부롤(421)은 제2 하부롤(422)의 상부에 위치하며 제2 하부롤(422)과 맞닿도록 구비된다. 제2 상부롤(421)과 제2 하붑롤(422)의 외주면은 탄성재질, 특히 다공성 재질로 형성될 수 있다. 제2 상부롤(421)과 제2 하부롤(422)의 외주면이 탄성재질로 형성됨으로써 사이에 개재되는 약포 패키지 내의 약제들을 가압하는 힘을 최소화 할 수 있다. 본 실시예에서의 제2 하부롤(422)은 모터 바람직하게는 스텝 모터에 의하여 구동되며, 제2 상부롤(421)은 제2 하부롤(422)의 회전방향에 따라 피동적으로 회전한다. 한 쌍의 제2롤(420)은 약포 패키지(2)의 최전단부가 배출롤(430) 방향으로 이송시킨다.The pair of second rolls 420 transfer the front end of the package 2 to the discharge roll 430 side from the pair of first rolls 410. The pair of second rolls 420 includes a second upper roll 421 and a second lower roll 422. The second upper roll 421 is positioned above the second lower roll 422 and abuts the second lower roll 422. The outer circumferential surfaces of the second upper roll 421 and the second lower roll 422 may be formed of an elastic material, in particular, a porous material. The outer circumferential surfaces of the second upper roll 421 and the second lower roll 422 are made of an elastic material, so that the force for pressing the medicines in the package packaging interposed therebetween can be minimized. The second lower roll 422 in this embodiment is driven by a motor, preferably a step motor, and the second upper roll 421 rotates passively in accordance with the rotational direction of the second lower roll 422. The pair of second rolls 420 transports the frontmost end of the medicine package 2 toward the discharge roll 430.

한편, 제1 하부롤(412)과 제2 하부롤(422)은 각각 독립된 구동 모터에 의하여 구동되는 것이 바람직하다. 제1 하부롤(412)과 제2 하부롤(422) 사이에 개재되는 약포 패키지(2)가 접히거나 느슨해 지는 경우 약포 패키지(2)의 절취선의 감지가 용이하지 않을 수 있다. 이 경우 제1 하부롤(412)과 제2 하부롤(422) 중 어느 하나를 약포 패키지(2)에 장력을 발생시키는 방향으로 구동함으로써 절취선의 감지 시 발생할 수 있는 오류를 최소화 할 수 있다. 이 때 스텝 모터를 이용하여 각 롤들을 구동함으로써 정확한 장력을 가할 수 있게 된다.Meanwhile, the first lower roll 412 and the second lower roll 422 are preferably driven by independent driving motors. The detection of the perforated line of the package 2 may not be easy when the package 2 is interlocked or loosened between the first lower roll 412 and the second lower roll 422. In this case, any one of the first lower roll 412 and the second lower roll 422 may be driven in the direction to generate tension in the package 2, thereby minimizing errors that may occur in detecting the perforated line. At this time, it is possible to apply an accurate tension by driving each roll using a step motor.

한편, 제1 상부롤(411)과 제2 상부롤(421)은 상부에 탄성부재(403)로 연결된다. 제1 상부롤(411)과 제2 상부롤(421)은 탄성부재(403)로 고정됨으로써 수직 방향으로 일정한 작동 범위를 갖게 되어 약포 패키지(2)의 초기 세팅 시나 에러 발생시에 사용자에 의하여 들어 올려질 수 있으며, 약포 패키지(2)가 제1롤(410) 및 제2롤(420) 사이에 개재된 상태로 이송되는 경우에도 약패 패키지(2) 내측에 포함된 약제에 가하는 힘을 최소화 하게 된다.On the other hand, the first upper roll 411 and the second upper roll 421 are connected to each other by an elastic member 403. The first upper roll 411 and the second upper roll 421 are fixed by the elastic member 403 so that they have a constant operating range in the vertical direction and are lifted by the user at the initial setting of the package 2 or in the event of an error And even when the drug package 2 is transferred between the first roll 410 and the second roll 420, the force applied to the medicament contained in the medicament package 2 is minimized .

이송방향의 말단부에는 배출롤(430)을 구비할 수 있다. 배출롤(430)은 한 쌍의 제2롤(420)로부터 이송되는 약포 패키지(2)를 외부로 배출시킨다. 배출롤(430)은 제2 상부롤(421)과 타이밍 벨트 등을 이용하여 구동력을 전달받는다.A discharge roll 430 may be provided at the distal end in the transport direction. The discharge roll 430 discharges the package 2 of the medicine delivered from the pair of second rolls 420 to the outside. The discharge roll 430 receives the driving force using the second upper roll 421 and a timing belt.

도 5에 도시된 바와 같이 제1 하부롤(412)과 제2 하부롤(422)을 경유하여 이송되는 약포 패키지를 지지하는 지지부(150)를 포함한다. 약포 패키지는 지지부(150)의 상단에 편평한 플레이트 형상으로 형성되는 이송 플레이트(151)에 의하여 지지된 상태로 이송된다. 이 때 제1 하부롤(412)과 제2 하부롤(422)은 이송 플레이트(151) 상으로 노출된 상태로 구비된다. 이송 플레이트(151)의 중앙부에는 광투과 부재(152)가 구비된다. 광투과 부재(152)는 광투과 부재(152)의 하부에 구비되는 광원부(500)로부터 발광되는 빛을 투과시킨다. 광원부(500)는 발광소자(510)를 이용하여 빛을 발광한다. 광원부(500)로부터 발광되는 빛은 후술할 스캔부에 의하여 약포 패키지를 촬영 시에 조명으로 이용된다. 한편, 광원부(500)는 간접조명 방식으로 조명을 제공할 수 있다. 본 실시예에서는 간접조명 방식으로 광투과 부재(152)를 이용한다. 광투과 부재(152)는 광원부(500)로부터 발광되는 빛을 산란 또는 확산시켜 조도분포를 균일화하고 빛이 기타 구성부들에 집중되는 것을 방지할 수 있다. 한편, 광원부(500)는 본 실시예와는 달리 발광소자(510)가 아래로 향하도록 구비하여 반사광이 상부로 향하도록 할 수 있다. 본 실시예에 있어서의 광원부(500)는 약포 패키지르 기준으로 후술할 스캔부의 반대측에 구비된다.
As shown in FIG. 5, a support 150 for supporting the package of the medicine delivered via the first lower roll 412 and the second lower roll 422. The drug package is transported while being supported by a transfer plate 151 formed in a flat plate shape on the upper end of the support part 150. [ At this time, the first lower roll 412 and the second lower roll 422 are exposed on the transfer plate 151. At the center of the transfer plate 151, a light transmitting member 152 is provided. The light transmitting member 152 transmits light emitted from the light source unit 500 provided below the light transmitting member 152. The light source unit 500 emits light using the light emitting device 510. The light emitted from the light source unit 500 is used as illumination when photographing the package of caps by a scanning unit to be described later. Meanwhile, the light source unit 500 may provide illumination by an indirect illumination method. In this embodiment, the light transmitting member 152 is used in indirect lighting. The light transmitting member 152 may scatter or diffuse light emitted from the light source unit 500 to uniformize the illuminance distribution and prevent light from being concentrated in other components. Unlike the present embodiment, the light source unit 500 may be provided with the light emitting device 510 facing downward so that the reflected light may be directed upward. The light source unit 500 in this embodiment is provided on the opposite side of the scanning unit, which will be described later, on the basis of the packaging package.

도 6 내지 도 10을 참조하여 스캔부 및 광차단부를 설명한다. 도 6은 일 실시예에 따른 약포형 약제 불출박스의 분해 사시도이고, 도 7은 일 실시예에 따른 약포형 약제 불출박스의 또 다른 분해 사시도이며, 도 8은 일 실시예에 따른 광차단부의 모습을 나타내는 저면 사시도이다. 또한 도 9 및 도 10은 일 실시예에 따른 스캔부의 작동 모습을 나타내는 개략도이다.The scan unit and light blocking unit will be described with reference to FIGS. 6 to 10. FIG. FIG. 6 is an exploded perspective view of a medicine dispenser dispenser box according to an embodiment, FIG. 7 is another exploded perspective view of a medicine dispenser dispenser box according to an embodiment, and FIG. 8 is a cross- FIG. FIGS. 9 and 10 are schematic views showing operations of the scan unit according to an embodiment.

도 6에 도시된 바와 같이 광차단부(160)를 포함한다. 광차단부(160)는 도 7에 도시된 바와 같이 광차단부 상부케이스(160a) 및 광차단부 하부케이스(160b)를 포함한다. 광차단부(160)의 상부케이스(160a)와 하부 케이스(160b)는 내부에 스캔부를 구비할 수 있는 일정한 공간부를 형성한다. 광차단부 하부케이스(160b)에는 도 8에 도시된 바와 같이 스캔창(161)이 형성된다. 후술할 스캔부는 스캔창(161)을 통하여 스캔창(161) 하부의 약포 패키지를 촬영할 수 있다. 이 때 광차단부(160)는 약포 패키지의 영상 이외에 기타 광 노이즈가 해당 영상에 유입되는 것을 방지한다. 또한 광차단부(160)의 내측은 광의 반사를 최소화하는 광흡수층(미도시)이 형성될 수 있다. 이 때 광흡수층으로는 무광택의 검정색 코팅층이 이용될 수 있다. 또한 광차단부 하부 케이스(160b)으로는 제1 상부롤 등 이송부(400)의 상부 구성부들이 노출된다.And includes a light blocking portion 160 as shown in FIG. The light shielding part 160 includes a light shielding part upper case 160a and a light shielding part lower case 160b as shown in FIG. The upper case 160a and the lower case 160b of the light shielding unit 160 form a predetermined space portion having a scan unit therein. 8, a scan window 161 is formed in the light blocking part lower case 160b. The scan unit, which will be described later, can photograph the package of the medicine under the scan window 161 through the scan window 161. At this time, the light shielding unit 160 prevents other light noise other than the image of the medicine package from flowing into the image. Further, a light absorbing layer (not shown) may be formed on the inner side of the light intercepting portion 160 to minimize reflection of light. At this time, a matte black coating layer may be used as the light absorbing layer. In addition, the upper constituent parts of the first upper roll etc. transfer part 400 are exposed to the light blocking part lower case 160b.

스캔부(600)는 광투과 부재(152)의 상부에 위치하며, 도 9 및 도 10에 도시된 바와 같이 보관부(300)로부터 권출되어 광투과 부재(152) 상으로 이송되는 약포 패키지(2)의 연속 이미지를 촬영한다. 이 때 스캔부(600)는 약포 패키지(2) 중 약포 패키지(2)의 밀봉 시에 형성되는 융착부를 중심으로 촬영하는 것이 바람직하다.
9 and 10, the scan unit 600 is disposed above the light transmitting member 152 and is transported onto the light transmitting member 152 from the storage unit 300, Quot;). At this time, it is preferable that the scanning unit 600 photographs the fusible package 2 with the fused portion formed at the time of sealing the package 2 as the center.

도 11 내지 도 15를 참조하여 일 실시예에 따른 약포 패키지의 절취선 감지 방법을 설명한다. 도 11은 일 실시예에 따른 약포 패키지의 절취선 감지와 관련된 구성부들을 나타내는 블록도이고, 도 12는 약포 패키지의 개략적인 모습을 나타내는 개략도이다. 또한 도 13은 일 실시예에 따른 절취선 감지 방법을 나타내는 순서도이고, 도 14는 일 실시예에 따른 영상처리 프로세스를 나타내는 순서도이며, 도 15는 일 실시예에 따른 절취선 감지 프로세스를 나타내는 순서도이다.11 to 15, a perforated line sensing method of the drug package according to one embodiment will be described. FIG. 11 is a block diagram illustrating components associated with perforated line sensing of a drug package according to an embodiment, and FIG. 12 is a schematic diagram illustrating a schematic view of a drug package. FIG. 13 is a flowchart illustrating a perineal line sensing method according to an exemplary embodiment. FIG. 14 is a flowchart illustrating an image processing process according to an exemplary embodiment. FIG. 15 is a flowchart illustrating a perineal line sensing process according to an exemplary embodiment.

도 11를 참조하여 설명하면, 앞서 설명한 바와 같이 스캔부(600)는 조명부(500)가 제공하는 조명을 이용하여 이송되는 약포 패키지(2)의 연속 이미지를 촬영한다. 이 때 감지부(700)는 스캔부(600)로부터 촬영된 연속 이미지를 전달받아 절취선을 감지한다. 이하에서는 스캔부(600) 및 감지부(700)에 의하여 약포 패키지(2)의 절취선을 감지하는 방법에 대하여 구체적으로 설명한다.Referring to FIG. 11, as described above, the scan unit 600 photographs a continuous image of the medicine package 2 transported using the illumination provided by the illumination unit 500. At this time, the sensing unit 700 receives the continuous image photographed from the scan unit 600 and senses the perforated line. Hereinafter, a method of detecting the perforation line of the package 2 by the scan unit 600 and the sensing unit 700 will be described in detail.

먼저 약포 패키지(2)는 도 12에 도시된 바와 같이 일반적으로 한 장의 시트를 반으로 접은 후 열 융착에 의하여 열융착부(A1)를 형성한 후 절취선(L1)을 형성함으로써 제작된다. 열융착부(A1)에 의하여 각각 약포들은 내측에 약제가 수용되는 약제 수용부(A2)가 구비된다. 이 때 열융착부(A1)는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)로 구분될 수 있다. 횡방향 열융착부(A1a)는 약포 패키지(2)의 입구를 밀봉하는 기능을 하며, 종방향 열융착부(A1b)는 각각의 약포 간에 형성되는 약제 수용부(A2)를 구획하는 기능을 한다. 한편, 설명의 편의를 위하여 이하에서는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 교차부(A2)와 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 내측 교차점(P1a, P1b)의 용어를 사용한다. 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 교차부(A2)는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)가 만나 교차하는 부분을 의미하며, 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 내측 교차점(P1a, P1b)은 도 12에 도시된 바와 같이 교차부(A2) 중 가장 내측의 교차지점을 의미한다. 또한 약포 패키지가 일정한 방향(D1)으로 이송되는 경우 스캔부에 의하여 촬영되는 순서에 따라 제1 내측 교차점(P1a)과 제2 내측 교차점(P1b)로 구분한다.First, as shown in Fig. 12, the medicine package 2 is generally manufactured by folding a sheet in half and then forming a heat-sealed portion A1 by thermal fusion and then forming a perforated line L1. And the medicament receiving portion A2 in which the medicines are accommodated inside by the thermally fused portion A1 is provided. At this time, the thermally fused portion A1 can be divided into the transverse direction fused portion A1a and the longitudinal direction fused portion A1b. The transverse thermal fused portion A1a functions to seal the mouth of the package 2 and the longitudinal thermal fused portion A1b functions to partition the medicament receiving portion A2 formed between the respective fingers . In the following description, for the sake of convenience, the intersection A2 of the transverse direction fused portion A1a and the longitudinal direction fused portion A1b, the transverse direction fused portion A1a, the longitudinal direction fused portion A1b, The inner intersection points P1a and P1b are used. The intersection A2 between the longitudinally welded portion A1a and the longitudinally welded portion A1b means a portion where the transverse direction welded portion A1a and the longitudinally welded portion A1b meet and cross each other, The inner intersection points P1a and P1b of the longitudinally welded portion A1a and the longitudinally welded portion A1b refer to the innermost intersections of the intersections A2 as shown in FIG. Also, when the package is transported in a certain direction (D1), the first inner intersection (P1a) and the second inner intersection (P1b) are divided according to the sequence taken by the scan unit.

본 실시예에 따른 약포 패키지 절취선 감지 방법은 도 13에 도시된 바와 같이 영상 획득 단계(S10), 영상 처리 단계(S20), 절취선 감지 단계(S30)를 포함한다. 영상 획득 단계(S10)에서는 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차부를 포함하는 이미지를 획득하고, 영상 처리 단계(S20)에서는 획득된 이미지를 절취선을 감지하기 위한 사전 단계로서 이미지 처리를 수행한다. 절취선 감지 단계(S30)에서는 영상 처리된 이미지를 이용하여 약포 패키지의 절취선을 감지한다.The drug package perforated line sensing method according to the present embodiment includes an image acquisition step (S10), an image processing step (S20), and a perforated line sensing step (S30) as shown in FIG. In the image acquiring step (S10), an image including intersections of the thermally fused portions formed in the lateral direction and the thermally fused portions formed in the longitudinal direction of the package is obtained, and in the image processing step (S20) Image processing is performed as a preliminary step. In the perforated line sensing step S30, the perforated line of the package of the medicine is sensed using the image processed image.

이 때 절취선 감지 단계(S30)에서 절취선을 감지하지 못하는 경우(S40)에는 약포 패키지가 더 이송(S45)된 상태에서 영상 획득 단계(S10), 영상 처리 단계(S20), 절취선 감지 단계(S30)를 반복한다.At this time, if the perforated line is not sensed in the perforated line sensing step S30 (S40), the image acquisition step S10, the image processing step S20, the perforated line sensing step S30, .

구체적으로 영상 획득 단계는 약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지를 잘라내는 영상 획득 제2 단계로 구분될 수 있다. 즉, 카메라를 이용하여 약포 패키지의 이미지를 촬영한 후 필요한 부분만 취하고 나머지는 버리는 식으로 절취선 감지 대상 이미지의 크기를 줄일 수 있다.Specifically, the image acquiring step includes: an image acquiring step of acquiring an image of the drug package; And an image acquiring second step of cutting out an image including an intersection of the transverse thermal fusing part and the longitudinal thermal fusing part of the package of the package in the image. That is, it is possible to reduce the size of the perforated line sensing target image by taking an image of the package medicine package using the camera, taking only the necessary portion, and discarding the remaining portion.

약포 패키지는 투명 재질 또는 불투명 재질을 이용하여 다양하게 형성되고 있으나, 열융착부의 경우 고열에 의하여 융착이 됨으로써 재질의 성격이 투명하게 변하게 된다. 따라서 조명부를 통하여 약포 패키지의 후면에서 조명을 제공한 후 스캔부가 해당 이미지를 촬영하면, 빛이 통과되는 열융착부의 경우 다른 부분과 이미상에서의 명암이 크게 차이가 나게 된다. The package of the medicine is variously formed using a transparent material or an opaque material, but in the case of the heat-sealed part, the material is transparently changed due to fusion due to high temperature. Therefore, if the scan unit captures the image after providing illumination from the back side of the package of packages through the illuminating unit, the light and dark portions of the heat-sealed portion through which the light passes may greatly differ in contrast from the other portions.

한편, 횡방향 열융착부와 종방향 열융착부의 교차부를 검출하기 위해서는 스캔부의 위치를 해당 위치에 위치하도록 하여 이미지를 촬영하는 방법이 있고, 이미지를 촬영한 후 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 유추하는 방법을 이용하는 것도 가능하다.In order to detect the intersection between the transverse fusing part and the longitudinal fusing part, there is a method of photographing an image by positioning the position of the scanning part at the corresponding position. After the image is taken, It is also possible to use a method of detecting the inner intersection of the fused portion and deducing the position of the intersection of the transverse fused portion and the longitudinal fused portion.

도 14를 참조하여 설명하면, 영상처리 프로세스(S20)는 먼저 획득된 이미지로부터 컬러 정보를 없에기 위하여 그레이 스케일로 변환한다(S210). 한편, 그레이 스케일로 변환하기 이전에 필요에 따라 미디언 필터를 이용하여 이미지의 노이즈를 제거하는 것도 가능하다.Referring to FIG. 14, the image processing process S20 converts the acquired image into gray scale in order to eliminate color information from the acquired image (S210). On the other hand, it is also possible to remove the noise of the image using a median filter as needed before conversion to grayscale.

다음으로 그레이 스켕일로 변환된 이미지를 이진화 처리하여 흰색과 검정만으로 표시되도록 변환한다(S220). 영상처리의 마지막 단계로서, 이진화된 이미지의 에지를 추출한다(S230). 에지 추출된 이미지 결과물은 흰색과 검정색의 경계가 검정색으로 표시되도록 변환된다. 더 나아가 상기 노이즈 제거는 미디언 필터에 의하여 수행될 수 있다.Next, the image converted to gray scale is subjected to binarization processing so as to be converted into white and black only (S220). As a final step of the image processing, the edge of the binarized image is extracted (S230). The edge-extracted image is transformed so that the boundary between white and black is displayed in black. Furthermore, the noise cancellation can be performed by a median filter.

절취선 감지 프로세스는 다양한 방법으로 수행될 수 있다. 예를 들어 약포 패키지의 절취선은 에지가 추출된 이미지를 이용하여 외곽선 추적 기법을 이용하거나, 패턴 인식 방법을 이용하여 추출될 수 있다.The perforated line sensing process can be performed in various ways. For example, a perforated line of a drug package can be extracted using an outline trace technique using an edge extracted image or a pattern recognition method.

패턴 인식 방법의 경우 공지된 다양한 기법들을 이용하여 에지가 추출된 이미지 중의 검정색 픽셀들의 패턴을 파악하고, 해당 이미지 내에 이미지를 종단하는 직선형 패턴이 존재하는 경우 해당 패턴에 해당하는 픽셀들이 약포 패키지의 절취선인 것으로 판단할 수 있다.In the case of the pattern recognition method, various known techniques are used to grasp the pattern of the black pixels in the extracted image, and when there is a linear pattern terminating the image in the image, pixels corresponding to the pattern are recognized as perforations . ≪ / RTI >

외곽선 추적 기법의 경우 도 15에 도시된 바와 같이 먼저 에지 추출된 이미지의 최 상단부에 위치하는 검정색 픽셀을 찾는다(S310). 최 상단부에 위치하는 검정색 픽셀을 찾은 경우 해당 픽셀을 기준 픽셀로 하여 주변의 검정색 픽셀을 검출한다(S320). 이 때 다양한 방법이 있을 수 있으나, 본 실시예에서는 이미지의 아래로 외곽선을 추적해가는 경우에는 3시방향으로부터 시계방향으로 주변의 검정색 픽셀이 있는지 여부를 판단한다. 주변에 검정색 픽셀이 존재하는 경우(S340) 해당 픽셀을 다시 기준 픽셀로 삼아 이동(S345)하여 주변의 검정색 픽셀을 같은 방법으로 검출한다. 이 때 이미지의 최하단에 이르기 전에 주위의 검정색 픽셀이 존재하지 않는 경우에는 절취선이 해당 이미지 내에 존재하지 않는 것으로 판단하고(S352), 주변의 검정색 픽셀들을 검출을 반복하여 기준 픽셀이 이미지의 최하단에 도달하는 경우에는 해당 이미지에 절취선이 존재하고, 기준 픽셀의 이동경로가 절취선에 해당하는 것으로 판단할 수 있다. 한편, 본 실시예에서는 이미지 상부로부터 하부에 이르는 단방향의 추적방법만을 이용하였으나, 다시 하부로부터 상부에 이르도록 추적을 계속하는 것도 가능하다. 이 경우 기준 픽셀의 9시 방향의 픽셀부터 검정색 픽셀인지 여부를 검출하며, 해당 픽셀이 검정색 정보를 갖고 있지 않은 경우에는 시계방향을 따라 회전하며 주변의 픽셀을 검정색 정보를 갖는지의 여부를 판단한다. 주변에 검정색 픽셀이 존재하는 경우 해당 픽셀을 기준 픽셀로 삼아 이동하여 다시 주변의 검정색 픽셀이 존재하는지 여부를 판단한다.In the case of the outline tracing method, as shown in FIG. 15, a black pixel located at the uppermost end of the edge extracted image is searched (S310). When a black pixel located at the uppermost end is found, the surrounding black pixel is detected using the pixel as a reference pixel (S320). In this case, in the present embodiment, when the outline is traced downward in the image, it is determined whether there are surrounding black pixels in the clockwise direction from the 3 o'clock direction. If a black pixel exists in the vicinity (S340), the pixel is again used as a reference pixel (S345), and the surrounding black pixels are detected in the same manner. If there is no surrounding black pixel before reaching the lowermost end of the image, it is determined that the perforation line is not present in the image (S352), and the detection of the surrounding black pixels is repeated until the reference pixel reaches the lowermost end of the image , It can be determined that the perforated line exists in the image and that the movement path of the reference pixel corresponds to the perforated line. On the other hand, in the present embodiment, only the unidirectional tracking method from the upper part of the image to the lower part is used, but it is also possible to continue tracking from the lower part to the upper part. In this case, it is detected whether or not a pixel at 9 o'clock direction of the reference pixel is a black pixel. If the pixel does not have black information, it rotates along the clockwise direction and determines whether surrounding pixels have black information. If there is a black pixel in the periphery, the pixel is used as a reference pixel to determine whether or not the surrounding black pixel exists again.

이와 같이 외곽선을 추적하여 기준 픽셀의 이동 경로가 이미지의 상부로부터 하부에 이르기까지 직선형으로 형성되는 경우에는 해당 기준 픽셀의 이동 경로의 위치가 약포 패키지의 절취선의 위치에 해당하는 것으로 판단할 수 있다.In the case where the movement path of the reference pixel is linearly formed from the top to the bottom of the image by tracing the outline, it can be determined that the position of the movement path of the reference pixel corresponds to the position of the perforation line of the package.

도 16을 참조하여 구체적으로 설명하면 다음과 같다. 도 16a에 도시된 바와 같이 최초에 이미지의 최 상단에 검정색 픽셀을 검출하여 해당 픽셀을 기준 픽셀로 한다. 다음으로 기준 픽셀의 3시 방향의 픽셀로부터 시계방향으로 주변의 검정색 픽셀을 검출한다. 이 경우 도 16b에 도시된 바와 같이 바로 아래의 픽셀이 검정색 픽셀이므로 아래의 픽셀로 기준 픽셀을 이동하여 다시 주변의 검정색 픽셀을 3시 방향으로부터 시계방향으로 추적한다. 이와 같은 방법으로 주변의 검정색 픽셀을 추적하면, 도 6c 내지 도 6f에 도시된 바와 같이 기준 픽셀이 검정색 픽셀들의 오른쪽 외곽선을 따라 이미지의 하단부에 이르는 경로를 형성하게 된다. 이 경우 횡방향으로 돌출된 검정색 픽셀들이 이미지의 횡방향 단부에 이르거나 이미지의 하단부에 이르지 못하고 끊기는 경우에는 해당 픽셀들이 절취선이 아닌것으로 판단한다. 도 16a 내지 도 16f의 경우에는 이미지를 종단하는 검정색 픽셀들이 존재하므로 절취선으로 판단할 수 있다. 한편, 정확성을 높이기 위하여 도 16f 내지 도 16k에 도시된 바와 같이 하단부로부터 상부로 외곽선을 더 추적할 수 있다. 이 경우에는 기준 픽셀의 9시의 픽셀로부터 시계방향으로 회전하며 검정색 픽셀을 추적한다. 그 결과 하단부로부터 상단부로 이미지를 추적하는 경우에는 검정색 픽셀들의 왼쪽 외곽선을 추적학 된다. 이러한 방법으로 이미지에 포함된 픽셀들의 외곽선을 추적하여 기준 픽셀의 이동 경로가 이미지를 종단하는지의 여부를 판단하여 절취선의 위치를 검출하게 된다.
A detailed description will be made with reference to FIG. As shown in FIG. 16A, a black pixel is detected at the top of the image first, and the corresponding pixel is set as a reference pixel. Next, the surrounding black pixels are detected clockwise from the pixels at the 3 o'clock direction of the reference pixel. In this case, as shown in FIG. 16B, since the immediately lower pixel is a black pixel, the reference pixel is moved to the lower pixel and the surrounding black pixel is tracked from the 3 o'clock direction clockwise. When the surrounding black pixels are traced in this manner, the reference pixel forms a path along the right outline of the black pixels to the bottom of the image as shown in FIGS. 6C to 6F. In this case, if the black pixels protruding in the lateral direction reach the transverse end of the image or fail to reach the lower end of the image, it is judged that the pixels are not perforated lines. In the case of FIGS. 16A to 16F, since there are black pixels that terminate the image, it can be determined as a perforated line. On the other hand, in order to increase the accuracy, the outline from the lower end portion to the upper portion can be further traced as shown in FIGS. 16F to 16K. In this case, it rotates clockwise from the pixel at 9 o'clock of the reference pixel and tracks the black pixel. As a result, when tracing the image from the bottom to the top, the left outline of the black pixels is traced. In this way, the outline of the pixels included in the image is traced to determine whether or not the movement path of the reference pixel ends the image, and the position of the perforation line is detected.

이상 본 발명의 바람직한 실시예에 대하여 설명하였으나, 본 발명의 기술적 사상이 상술한 바람직한 실시예에 한정되는 것은 아니며, 특허청구범위에 구체화된 본 발명의 기술적 사상을 벗어나지 않는 범주에서 다양한 일련의 약포 절취선 감지 방법으로 구현될 수 있다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Sensing method.

10: 약포형 약제 불출박스 140: 레일 수용부
110: 전면부 160: 광차단부
161: 스캔창 200: 절단부
300: 보관부 400: 이송부
500: 광원부 600: 스캔부
700: 감지부
10: Box-shaped medicine dispensing box 140:
110: Front part 160: Light blocking part
161: scan window 200:
300: Storage part 400: Transfer part
500: light source unit 600: scan unit
700:

Claims (11)

약포 패키지에 대한 영상 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차부를 포함하는 이미지를 획득하는 영상 획득 단계;
상기 획득된 이미지를 에지 이미지로 영상 처리하는 영상처리 단계; 및
상기 영상처리된 에지 이미지로부터 상기 열융착부 상에 위치하는 절취선을 감지하는 절취선 감지 단계;를 포함하고,
상기 절취선 감지 단계는,
상기 에지 이미지의 상부로부터 검정색 정보를 갖는 픽셀을 검출하는 절취선 감지 제1 단계,
상기 검출된 검정색 정보를 갖는 픽셀의 우측 픽셀로부터 시계방향으로 돌아가며 검정색 정보를 갖는 픽셀인지 여부를 판단하는 절취선 감지 제2 단계,
상기 판단 대상인 픽셀이 검정색 정보를 갖고 있는 경우 판단 대상 픽셀을 기준으로 상기 절취선 감지 제2 단계를 반복하는 절취선 감지 제3 단계, 및
상기 에지 이미지의 상부로부터 하부에 이르기까지 종방향으로 상기 기준 픽셀이 이동하는 경우 해당 일련의 대상 픽셀들을 절취선으로 판단하는 절취선 감지 제4 단계,를 포함하는 약포 패키지 절취선 감지 방법.
An image acquiring step of acquiring an image including an intersection of a thermally fused portion formed in the transverse direction and a thermally fused portion formed in the longitudinal direction of the image of the drug package;
An image processing step of image-processing the obtained image into an edge image; And
And a perforated line sensing step of sensing a perforated line positioned on the heat-sealed portion from the image-processed edge image,
The perforated line sensing step may include:
A perforated line sensing step of detecting a pixel having black information from the top of the edge image,
A second perforation line sensing step of determining whether the pixel having the black information is rotated clockwise from the right pixel of the pixel having the detected black information,
A third perforation line sensing step of repeating the perforation line sensing second step based on the determination target pixel when the pixel to be determined has black information;
And a perforated line sensing step of determining a pertinent line of the series of target pixels when the reference pixel moves in the longitudinal direction from the top to the bottom of the edge image.
제1항에 있어서,
상기 절취선 감지 단계에서 절취선을 감지하지 못하는 경우 상기 약포 패키지를 이송하여 상기 영상 획득 단계 내지 상기 절취선 감지 단계를 반복하는 반복 단계;를 더 포함하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
And repeating the image acquisition step and / or the perforated line sensing step, when the perforated line is not sensed in the perforated line sensing step, by transferring the drug package.
제1항에 있어서,
상기 영상 획득 단계는,
약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및
상기 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지를 잘라내는 영상 획득 제2 단계를 포함하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
In the image acquiring step,
An image acquiring step of acquiring an image of the medicine package; And
And an image capturing second step of capturing an image including an intersection of a crosswise thermally fused portion and a longitudinally thermally fused portion of the drug package in the image displayed.
제3항에 있어서,
상기 영상 획득 제2 단계는 상기 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 상기 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 판단하는 단계를 더 포함하는 약포 패키지 절취선 감지 방법.
The method of claim 3,
Wherein the second step of acquiring the image further comprises the step of detecting an inner intersection of the transverse thermal fused portion and the longitudinal thermal fused portion to determine the position of the intersection of the transverse thermal fused portion and the longitudinal thermal fused portion, Detection method.
제1항에 있어서,
상기 영상 획득 단계는 상기 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차지점의 이미지만을 촬영하는 단계를 포함하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
Wherein the image acquiring step comprises photographing only images of the intersection points of the transverse heat-sealed portion and the longitudinal heat-sealed portion of the package of the package.
제1항에 있어서,
상기 영상처리 단계는,
상기 획득된 영상을 그레이 스케일로 변환하는 영상처리 제1 단계;
상기 그레이 스케일로 변환된 이미지를 이진화하는 영상처리 제2 단계; 및
상기 이진화된 이미지를 에지만이 표시되는 에지 이미지로 변환하는 영상처리 제3 단계;를 포함하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
Wherein the image processing step comprises:
A first image processing step of converting the obtained image into gray scale;
An image processing step of binarizing the image converted into the gray scale; And
And an image processing step of converting the binarized image into an edge image in which only an edge is displayed.
제6항에 있어서,
상기 영상처리 제1 단계 이전에 상기 이미지의 노이즈를 제거하는 단계를 더 포함하는 약포 패키지 절취선 감지 방법.
The method according to claim 6,
Further comprising removing noise in the image prior to the first step of image processing.
제7항에 있어서,
상기 노이즈 제거는 미디언 필터에 의하여 수행되는 약포 패키지 절취선 감지 방법.
8. The method of claim 7,
Wherein the noise removal is performed by a median filter.
제1항에 있어서,
상기 절취선 감지 단계는 외곽선 추적 기법을 이용하여 상기 에지 이미지를 종단하는 일련의 픽셀들을 절취선으로 판단하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
Wherein the perforating line sensing step determines a series of pixels that terminate the edge image as a perforated line by using an outline tracing technique.
삭제delete 제1항에 있어서,
상기 절취선 감지 단계는 패턴 인식 방법에 의하여 이미지 중 직선 패턴으로 인식되는 부분을 절취선으로 판단하는 약포 패키지 절취선 감지 방법.
The method according to claim 1,
Wherein the perforated line sensing step determines a portion of the image recognized as a straight line pattern as a perforated line by a pattern recognition method.
KR1020120123145A 2012-11-01 2012-11-01 Method of detecting perforated line for a paper-bundle of medicine KR101985546B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020120123145A KR101985546B1 (en) 2012-11-01 2012-11-01 Method of detecting perforated line for a paper-bundle of medicine
PCT/KR2013/009207 WO2014069817A1 (en) 2012-11-01 2013-10-15 Method for sensing cutting line of cartridge package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120123145A KR101985546B1 (en) 2012-11-01 2012-11-01 Method of detecting perforated line for a paper-bundle of medicine

Publications (2)

Publication Number Publication Date
KR20140055808A KR20140055808A (en) 2014-05-09
KR101985546B1 true KR101985546B1 (en) 2019-06-03

Family

ID=50627667

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120123145A KR101985546B1 (en) 2012-11-01 2012-11-01 Method of detecting perforated line for a paper-bundle of medicine

Country Status (2)

Country Link
KR (1) KR101985546B1 (en)
WO (1) WO2014069817A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230080946A (en) * 2021-11-30 2023-06-07 경북대학교 산학협력단 Apparatus for measuring object volume using 3d image equipment and method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017214089A1 (en) * 2017-08-11 2019-02-14 Krones Aktiengesellschaft Method and packaging system for producing containers

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08247730A (en) * 1995-03-15 1996-09-27 Omron Corp Edge detecting method of dimension measuring instrument
JP3800041B2 (en) * 2001-06-20 2006-07-19 ニプロ株式会社 Inspection device and inspection method for shape of cut surface of workpiece
KR20070052088A (en) * 2005-11-16 2007-05-21 삼성전자주식회사 Image forming apparatus for detecting edge of image and method thereof
JP2009145285A (en) * 2007-12-18 2009-07-02 Dainippon Screen Mfg Co Ltd Defect detecting method and defect detecting apparatus
KR101169720B1 (en) * 2010-08-06 2012-07-30 주식회사 이미지넥스트 Image Edge Detection Method and System

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230080946A (en) * 2021-11-30 2023-06-07 경북대학교 산학협력단 Apparatus for measuring object volume using 3d image equipment and method thereof
KR102650686B1 (en) 2021-11-30 2024-03-22 경북대학교 산학협력단 Apparatus for measuring object volume using 3d image equipment and method thereof

Also Published As

Publication number Publication date
KR20140055808A (en) 2014-05-09
WO2014069817A1 (en) 2014-05-08

Similar Documents

Publication Publication Date Title
US20230123368A1 (en) Verification system for a pharmacy packaging system
KR100650285B1 (en) System for inspecting medicine packets
JP4755714B2 (en) Drug dispensing device
JP6874870B2 (en) Drug inspection support device
JP4256434B2 (en) Method and device for testing packaged medicine
JP6262472B2 (en) Method of drug dispenser for obtaining information from drug packaging and drug dispenser
KR101985545B1 (en) Dispensing box for a paper-bundle of medicine
JP2012029702A (en) Device for counting number of medicines in medicine packaging envelope
JP7498411B2 (en) Medicine packaging device
US10669055B2 (en) Control apparatus
JP7141445B2 (en) Drug determination device and method for detecting boundary concave portion
KR101985546B1 (en) Method of detecting perforated line for a paper-bundle of medicine
CN112105330B (en) Drug determination device and drug determination method
JP7156304B2 (en) Dispensing support system
KR101459272B1 (en) Medicine checking apparatus based on image processing
JP2018140060A (en) Tablet counting observation device
EP2757537A1 (en) Medication dispenser
NL2028666B1 (en) A drugs pouch processing system
JP7448861B2 (en) Drug sorting device and control method for drug sorting device
US11595595B2 (en) Verification system for a pharmacy packaging system
US20230211912A1 (en) Verification system for a pharmacy packaging system
JP2001058001A (en) Examination device for medicine or the like in housing body
CN116367805A (en) Class determination device, class determination method, class determination program, and medicine classification device
KR20170001469A (en) Apparatus of Inspecting Drugs, Method of Inspecting Drugs and Computer-Readable Recording Medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant