簡易檢索 / 詳目顯示

研究生: 謝秉融
Ping-Jung Hsieh
論文名稱: 傳統水煎中藥自動分藥系統開發
Development of an Automatic Chinese Herbal Medicine Dispensing System
指導教授: 林紀穎
Chi-Ying Lin
口試委員: 黃緒哲
Shiuh-Jer Huang
郭重顯
Chung-Hsien Kuo
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 中文
論文頁數: 108
中文關鍵詞: 水煎中藥自動化分藥系統影像對位
外文關鍵詞: Herbal decoctions, Automatic dispensing system, Machine vision
相關次數: 點閱:187下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

隨著醫療體系人力短缺、配藥過程的人為疏失造成損害的比例越來越高,配藥流程的自動化逐漸成為趨勢。現今的自動化分藥系統主要以西藥或科學中藥為主,鮮少有針對傳統水煎中藥進行研究與開發。然而傳統水煎中藥因為療效較好,仍占有廣大的市場且需耗費更多的時間與人力。本研究發展一套用於傳統水煎中藥的自動化分藥系統,由使用者先輸入所需的藥品、帖數、各味藥的重量。根據輸入的資訊,系統可自動抓取每一帖藥所需的中藥與重量。本研究使用機械手臂結合影像進行對位抓取,透過事前訓練求得各中藥抓取重量與對應夾爪開合量的抓取方程式以提升整體系統執行的效率與準確度。實驗結果驗證本系統的可行性。


The increasingly lack of manpower and mis-operation during dispensation has brought the advent of automatic dispensing systems recently, which focus on western medicine and concentration scientific herbal medicine. Due to its medical efficacy traditional herbal medicine is still preferred for clinical use but manual dispensation requires significant time and manpower. Therefore, this thesis presented an automatic dispensing system for Chinese herbal decoctions. After importing prescription details such as drug name, dosage and weight of each herbal medicine, the system then automatically performs the desired dispensing task. The study adopted machine vision and a robot manipulator to grasp herbal medicine. To improve efficiency and accuracy, a least-square curve fitted equation which relates the grasping weight with gripper width was obtained through iterative training. Dispensing experimental results were conducted to verify the feasibility of the proposed system.

摘要 I Abstract II 致謝 III 目錄 IV 圖目錄 VII 表目錄 XI 第一章 緒論 1 1.1 前言 1 1.2 文獻回顧與研究動機 1 1.3 本文貢獻與架構 4 第二章 系統設備架構 6 2.1 攝影機 7 2.2 個人電腦 8 2.3 XYZ平台 8 2.4 機械手臂 10 2.5 Arduino 控制板 12 2.6 應變規 13 2.7 A/D轉換晶片 14 2.8 分藥機構 15 第三章 機械手臂運動分析與控制 17 3.1 機械手臂坐標系統 17 3.2 正向運動學 (Forward Kinematic) 19 3.3 反向運動學 (Inverse Kinematic) 24 第四章 影像處理與機器視覺 26 4.1 影像前處理 26 4.1.1 數位影像格式 26 4.1.2 色彩濾波 28 4.1.3 影像二值化 28 4.1.4 形態學 29 4.1.5 抓取範圍位置估測 31 4.2 立體視覺與像機校正 32 4.2.1 攝影機成像原理 32 4.2.2 座標系轉換 33 4.2.3 相機校正 37 4.2.4 外部參數計算 39 4.2.5 三維座標估測 43 4.3 影像處理速度優化 46 第五章 曲線擬合演算法 48 5.1. 最小平方回歸法(Least Square Regression, LSR) 48 5.2. 回歸係數推導 50 5.3. 回歸判定係數R-square 51 第六章 實驗結果與討論 53 6.1 抓取量估測 54 6.1.1 線性差值 58 6.1.2 曲線擬和 62 6.1.3 迭代訓練 70 6.2 整體抓取誤差與效率 88 6.2.1 流程介紹 88 6.2.2 實驗結果 97 第七章 結論與未來目標 101 7.1. 結論 101 7.2. 未來研究目標 102 參考文獻 104

[1] CNA/Healthcare Providers Service Organization Pharmacist Liability, (2013, Dec.). “2013 Pharmacist Liability,” [Online]. Available: https://www.hpso.com/pdfs/db/Pharmacist_Claim_Reprot_2013.pdf?fileName=Pharmacist_Claim_Report_2013.pdf&folder=pdfs/db&isLiveStr=Y.
[2] R. Shulman, M. Singer, J. Goldstone and G. Bellingan, “Medication Errors: a Prospective Cohort Study of Hand-Written and Computerised Physician Order Entry in The Intensive Care Unit,” Critical Care, vol. 9, no. 5, Aug. 2005.
[3] E. Oren, E. R. Shaffer and B. J. Guglielmo, “Impact of Emerging Technologies On Medication Errors and Adverse Drug Events,” American Journal of Health System Phamacy, vol. 60, no. 14, pp. 1447-1458, Jul. 2003.
[4] 陳培智、張芝倩、林剛旭,利用條碼技術增進病人給藥安全,慈濟醫學雜誌,第19卷,第1期,頁45-48,2007。
[5] E. G. Poon et al., “Medication Dispensing Errors and Potential Adverse Drug Events Before and After Implementing Bar Code Technology in the Pharmacy,” Annals of Internal Medicine, vol. 145, no. 6, pp. 426-434, Sep. 2006.
[6] S. Y. Chou, K. Y. Hwang and S. C. Shieh, “Desing of an Intelligent System to Improve Traditional Chinese Medicine Dispensing Practice,” In Concurrent Engineering Approaches for Sustainable Product Development in a Multi-Disciplinary Environment, London, Aug. 2012, pp. 657-666.
[7] S. C. Shieh, C. C. Lin, T. F. Yang and G. H. Tu, “Using RFID Technology on Clinic Pharmacy Operation Management and Development of Intelligent Medicine Dispensing Cabinet,” In Industrial Engineering and Engineering Management, Dec. 2008, pp. 2006-2009.
[8] A. Beso, B. D. Franklin and N. Barber, “The Frequency and Potential Causes of Dispensing Errors in a Hospital Pharmacy,” Pharmacy World and Science, vol. 27, no. 3, pp. 182-190, Jun. 2005.
[9] LAMSON_AMDS-Brochure
[10] Foundation for Pharmaceutical Statistics. (2012. Fact and Figures 2012 on Pharmaceutical Care in the Netherlands [Online]. Available: http://www.sfk.nl/english/f-f-2012.
[11] K. Johnell and J. Fastbom, “Multi-Dose Drug Dispensing and Inappropriate Drug Use: a Nationwide Register-Based Study of Over 700,000 Elderly,” Scandinavian Journal of Primary Health Care, vol. 26, no. 2, pp. 86-91, Jul. 2009.
[12] J. Sinnemaki et al., “Automated Dose Dispensing Service for Primary Healthcare Patients: a Systematic Review,” Systematic Reviews, vol. 2, no. 1, Jan. 2013.
[13] J. S. Bell, M. Vaananen, H. Ovaskaninen, U. Narhi and M. S. Airaksinen, “Providing Patient Care in Community Pharmacies: Practice and Research in Finland,” Annals of Pharmacotherapy, vol. 41, no. 6, pp. 1039-1046, Jun. 2007.
[14] A. B. Larsen and L. S. Haugbole, “The Impact of an Automated Dose-Dispensing Scheme on User Compliance, Medication Understanding, and Medication Stockpiles,” Research in Social and Administrative Pharmacy, vol. 3, no. 3, pp. 265-284, 2007.
[15] C. A. Pedersen, P. J. Schneider and D. J. Scheckhoff, “ASHP National Survey of Pharmacy Practice in Hospital Settings: Dispensing and Administration-2011,” American Journal of Health-System Pharmacy, vol. 69, no. 9, pp. 768, May, 2012.
[16] J. E. Fontan, V. Maneglier, V. X. Nguyen, F. Brion and C. Loirat, “Medication Errors in Hospitals: Computerized Unit Dose Drug Dispensing System Versus Ward Stock Distribution System,” Pharmacy World and Science, vol. 25, no. 3, pp. 112-117, Jun. 2003.
[17] E. Cousein et al., “Effect of Automated Drug Distribution Systems on Medication Error Rates in a Short-Stay Geriatric Unit,” Journal of Evaluation in Clinical Practice, vol. 20, no. 5, pp. 678-684, Oct. 2014.
[18] B. D. Franklin, K. O’Grady, L. Voncina, J. Popoola and A. Jacklin, “An Evaluation of Two Automated Dispensing Machines in UK Hospital Pharmacy,” International Journal of Pharmacy Practice, vol. 16, no. 1, pp 47-53, Feb. 2008.
[19] L. Fanning, N. Jones and E. Manias, “Impact of Automated Dispensing Cabinets on Medication Selection and Preparation Error Rates in an Emergency Department: a Prospective and Direct Observational Before-and-After Study,” Journal of evaluation in clinical practice, vol. 22, no. 2, pp. 156-163, Apr. 2016.
[20] K. C. Cheung, M. L. Bouvy and P. A. De Smet, “Medication Errors: the Importance of Safe Dispensing,” British Journal of Clinical Pharmacology, vol. 67, no. 6, pp. 676-680, Jun. 2009.
[21] A. C. Lin, Y. C. Huang, G. Punches and Y. Chen, “Effect of a Robotic Prescription-Filling System on Pharmacy Staff Activities and Prescription-Filling Time,” American Journal of Health-System Pharmacy, vol. 64, no. 17, pp. 1832-1839, Sep. 2007.
[22] R. Fitzpatrick, P. Cooke, C. Southall, K. Kaudhar and P. Waters, “Evaluation of an Automated Dispensing Dystem in a Hospital Pharmacy Dispensary,” Pharmaceutical Journal, vol. 274, Jun. 2005.
[23] S. Goundrey-Smith, “Pharmacy Robots in UK Hospitals: the Benefits and Implementation Issues,” Pharmaceutical Journal, 2008.
[24] http://mma.vogel.com.cn/2012/0221/prods_3694.html
[25] Z. Song, X. Yang, J. Wang, H. Xue and J. Zhang, “Automatic Deploying System for Single-Ingredient Pellet Formulas of Traditional Chinese Medicines,” In Robotics and Biomimetics, IEEE International Conference on, Shenzen, Dec. 2013, pp. 780-785.
[26] 阮肖平、李美英、何昌國,免煎中藥配方顆粒與傳統飲片對痔瘡水腫的對比觀察,浙江中國雜誌,第43卷,第4期,頁235,2008。
[27] 湯從容,曹高忠,中藥水煎劑和免煎顆粒劑牡丹皮中丹皮酚含量與有效性的比較,安徽醫藥,第11卷,第7期,頁609-610,2007年7月。
[28] 胡蔓,中藥免煎配方顆粒與傳統中藥飲片的臨床療效對比與分析,中國現代藥物應用,第7卷,第4期,頁77,2013年2月。
[29] 陽蔭文、孔凡成,兩組中藥配方顆粒劑與水煎劑臨床療效對比研究,中醫研究,第20卷,第4期,頁51-52,2007年4月。
[30] “善慧堂中醫診所,” http://blog.sina.com.tw/joycelee/article.php?entryid=639363
[31] 王好古,湯液本草,網址: http://ctext.org/wiki.pl?if=gb&res=602690
[32] 羅佩琳,中藥你吃對了嗎?,麥田出版社,2013。
[33] “OpenCV,” http://zh.wikipedia.org/wiki/OpenCV
[34] “Ezi-SERVO Closed Loop Stepping System,” http://www.fastech.co.kr/bbs/eng/product.php?category=0
[35] “MX-106R Servo Motor,” http://www.trossenrobotics.com/p/MX-106R-dynamixel-robot-servo.aspx
[36] “RX-64 Servo Motor,” http://www.trossenrobotics.com/dynamixel-rx-64-robot-actuator.aspx
[37] “Arduino UNO,” http://www.arduino.cc/en/Main/ArduinoBoardUno
[38] “TAL220,” http://www.htc-sensor.com/products/94.html
[39] “Load Cell Amplifier HX711 Breakout Hookup Guide,” https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide
[40] AVIA “24-Bit Analog-to-Digital Converter (ADC) for Weight Scales,” https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/hx711_english.pdf
[41] M. W. Spong, S. Hutchinson and M. Vidyasagar, Robot Modeling and Control, Hoboken, New Jersey: John Wiley, 2006.
[42] http://dev.bowdenweb.com/css/colors/rgb-css-colors.html
[43] https://en.wikipedia.org/wiki/HSL_and_HSV
[44] https://zh.wikipedia.org/wiki/YUV
[45] https://en.wikipedia.org/wiki/YIQ
[46] 陳慶昌, “影像自動化微組裝工廠之發展,” 國立成功大學機械工程學系碩士論文,2006.
[47] http://homepages.inf.ed.ac.uk/rbf/HIPR2/dilate.htm
[48] http://homepages.inf.ed.ac.uk/rbf/HIPR2/erode.htm
[49] http://homepages.inf.ed.ac.uk/rbf/HIPR2/open.htm
[50] http://homepages.inf.ed.ac.uk/rbf/HIPR2/close.htm
[51] H. Cho, Optomechatronics : Fusion of Optical and Mechatronic Engineering, New York: Taylor & Francis, 2006.
[52] R. Tsai, “A Versatile Camera Calibration Technique for High-accuracy 3D Machine Vision Metrology Using Off-the-shelf TV Cameras and Lenses,” IEEE Journal of robotics and Automation, vol. 3, no. 4, pp. 323-344, 1987.
[53] Z. Zhang, “A flexible New Technique for Camera Calibration,” IEEE Transactions on pattern analysis and machine intelligence, vol. 22, no. 11, pp. 1330-1334, 2000.
[54] “Camera Calibration Toolbox for Matlab,” http://www.vision.caltech.edu
/bouguetj/calib_doc/htmls/example.html
[55] “OpenMP,” http://openmp.org/wp/
[56] C. F. Gauss, C. H. Davis, “Theory of the Motion of the Heavenly Bodies Moving about the Sun in Conic Sections,” 1890.
[57] http://en.wikipedia.org/wiki/Least_squares
[58] 謝鳴,方劑學,人民衛生出版社,2006。

QR CODE