CN113223242B - A kind of control system and control method of automatic medicine dispensing device - Google Patents

A kind of control system and control method of automatic medicine dispensing device Download PDF

Info

Publication number
CN113223242B
CN113223242B CN202110360792.3A CN202110360792A CN113223242B CN 113223242 B CN113223242 B CN 113223242B CN 202110360792 A CN202110360792 A CN 202110360792A CN 113223242 B CN113223242 B CN 113223242B
Authority
CN
China
Prior art keywords
medicine
dispensing
distribution
time
medicine distribution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110360792.3A
Other languages
Chinese (zh)
Other versions
CN113223242A (en
Inventor
张宗玲
王远
董哲
纪吉恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Fu Yun Cloud Data Technology Co ltd
Beijing Forestry University
Original Assignee
Beijing Fu Yun Cloud Data Technology Co ltd
Beijing Forestry University
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 Beijing Fu Yun Cloud Data Technology Co ltd, Beijing Forestry University filed Critical Beijing Fu Yun Cloud Data Technology Co ltd
Priority to CN202110360792.3A priority Critical patent/CN113223242B/en
Publication of CN113223242A publication Critical patent/CN113223242A/en
Application granted granted Critical
Publication of CN113223242B publication Critical patent/CN113223242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

本发明公开了一种自动分药装置的控制系统及控制方法,涉及医药器材技术领域,其中方法包括以下步骤:根据用户的特征信息,获得用户所用的所有分药组件和每一分药组件对应的分药时间及分药时间与分药数量之间的关联关系;分别控制每一分药组件在其对应的分药时间进行分药操作,根据分药时间与分药数量之间的关联关系,输出相应的分药数量;生成并输出取药提示信息,用以提醒用户进行取药操作。本发明能够提供自动、精准、稳定的出药,具有多用户同时使用的优点。

Figure 202110360792

The invention discloses a control system and a control method of an automatic medicine dispensing device, and relates to the technical field of medical equipment. The method includes the following steps: obtaining all medicine dispensing components used by the user and the corresponding medicine dispensing components according to the characteristic information of the user. and the correlation between the dispensing time and the number of medicines; respectively control each medicine dispensing component to perform the dispensing operation at its corresponding dispensing time, according to the correlation between the dispensing time and the number of medicines , output the corresponding dispensing quantity; generate and output the prompt information for taking medicine to remind the user to take medicine. The present invention can provide automatic, precise and stable dispensing, and has the advantage of simultaneous use by multiple users.

Figure 202110360792

Description

一种自动分药装置的控制系统及控制方法A kind of control system and control method of automatic medicine dispensing device

技术领域technical field

本发明涉及医药器材技术领域,具体涉及一种自动分药装置的控制系统及控制方法。The invention relates to the technical field of medical equipment, in particular to a control system and a control method of an automatic medicine dispensing device.

背景技术Background technique

据统计,中国的慢病患者有5亿人以上,在治疗慢病的过程中,规范的定时定量服药是最重要的治疗手段之一。慢病患者中,老年人占比70%以上,很多老人经常会出现忘记服药或忘记服药数量的情况,如何让患者坚持规范服药,也成为了重要难题。如果能开发一个可以根据用药方案实时提醒并可以自动根据用药方案准备相应数量药品的智能药盒,将解决很多老年人的规范服药问题,大大的提高患者的服药依从性。According to statistics, there are more than 500 million chronic disease patients in China. In the process of treating chronic diseases, regular and quantitative medication is one of the most important treatment methods. Among chronic disease patients, the elderly account for more than 70%. Many elderly people often forget to take medicines or forget the number of medicines to take. How to make patients adhere to standardized medicines has also become an important problem. If a smart pill box can be developed that can remind in real time according to the medication plan and can automatically prepare the corresponding amount of drugs according to the medication plan, it will solve the problem of standardized medication for many elderly people, and greatly improve the patient's medication compliance.

现有技术主要分为两类,一类是带有服药提醒功能的分装药盒,其形式为带有多个格子容器,储存大约一周的药量,需要人工提前将需要服用的药粒分装到独立的格子内,部分有定时服药提醒和手机端设置服药提醒功能;另一类是自动化配药装置,其形式为一个体型较大的药仓,带有分药系统,需要自动化控制,末端执行器分拣所需药粒,带有远程监控和通讯功能。The prior art is mainly divided into two categories, one is a medicine box with a medicine reminder function, which is in the form of a plurality of lattice containers, which can store about a week's amount of medicine, and need to manually divide the medicine granules to be taken in advance. Installed in an independent grid, some of them have the function of timing medication reminder and mobile phone setting reminder function; the other type is an automatic dispensing device, which is in the form of a larger medicine warehouse with a medicine dispensing system, which requires automatic control. The actuator sorts the required granules, with remote monitoring and communication functions.

但是,第一类药盒由于人工分药,不能实现自动化精准出药,容易造成漏服或误服。第二类药盒结构复杂,导致成本过高,难以推广。However, the first type of pill box cannot achieve automatic and precise dispensing due to manual dispensing, which is likely to cause missed or mistaken doses. The second type of medicine box has a complex structure, which leads to high cost and is difficult to promote.

发明内容SUMMARY OF THE INVENTION

因此,为克服现有技术中存在的缺陷,本发明的目的在于提供一种能够自动、精准、稳定出药的药盒,可以根据不同服药量调节单次的出药数量,并且可以适应多种形状的药粒,结构简单,操作方便,成本低,推广性强。Therefore, in order to overcome the defects in the prior art, the purpose of the present invention is to provide a medicine box that can automatically, accurately and stably dispense medicines, which can adjust the quantity of medicines dispensed in a single dose according to different dosages, and can adapt to various The shaped granules have the advantages of simple structure, convenient operation, low cost and strong popularization.

本发明的目的还在于提供一种自动分药装置的控制方法及系统,可根据用户(病人)的不同服药信息灵活分配分药组件,放药、分药、取药各步骤的准确率高。The present invention also aims to provide a control method and system for an automatic medicine dispensing device, which can flexibly allocate medicine dispensing components according to different medication information of users (patients), and has high accuracy in the steps of dispensing, dispensing and taking medicine.

为此,本发明实施例的一种自动分药装置的控制方法,包括以下步骤:To this end, a method for controlling an automatic medicine dispensing device according to an embodiment of the present invention includes the following steps:

S1、根据用户的特征信息,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系;所述用户的特征信息为脸部信息和/或指纹信息;S1, according to the user's characteristic information, obtain all the medicine-dispensing components used by the user and the medicine-dispensing time corresponding to each medicine-dispensing component and the correlation between the medicine-dispensing time and the medicine-dispensing quantity; the user's characteristics The information is facial information and/or fingerprint information;

S2、分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量;S2, respectively controlling each medicine dispensing component to perform medicine dispensing operation at its corresponding medicine dispensing time, and outputting the corresponding medicine dispensing quantity according to the correlation between the medicine dispensing time and the medicine dispensing quantity;

S3、生成并输出取药提示信息,用以提醒用户进行取药操作。S3, generating and outputting prompt information for taking medicine to remind the user to take medicine.

优选地,S1的根据用户的特征信息,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系的步骤包括:Preferably, the step of obtaining all the dispensing components used by the user, the dispensing time corresponding to each dispensing component, and the correlation between the dispensing time and the dispensing quantity in S1 according to the user's characteristic information includes: :

S11、获取用户的特征信息;S11. Obtain characteristic information of the user;

S12、向服务器发送包含获取所述用户的服药信息的内容的消息;每一所述服药信息包括一服药药品标识信息及其服药时间和服药数量;所述服药药品标识信息包括药品名称和药品生产批准文号;S12. Send a message containing the content of acquiring the user's medication information to the server; each medication information includes a medication identification information, the medication time and the medication quantity; the medication medication identification information includes the name of the medication and the production of the medication Approval Number;

S13、接收服务器发送的所述用户的所有服药信息;S13. Receive all the medication information of the user sent by the server;

S14、将所述所有服药信息中的服药药品标识信息与所要放入到自动分药装置中的药品信息逐一进行核对;所述药品信息包括药品名称和药品生产批准文号;S14, checking the identification information of the medication in all the medication information with the information of the medication to be put into the automatic dispensing device one by one; the information of the medication includes the name of the medication and the drug production approval number;

S15、每核对成功一个服药药品标识信息,根据实际药粒的形状及尺寸,选取一个与所述实际药粒的形状及尺寸相匹配的空的分药组件作为与该个服药药品标识信息核对成功的药品的分药组件,将该分药组件的分药时间设为该服药药品标识信息对应的服药时间,分药数量设为该服药药品标识信息对应的服药数量,建立分药时间与分药数量之间的关联关系;并控制上盖打开,生成将所述药品放入所述空的分药组件中的提示信息;待接收到已放入成功的信号时控制上盖关闭;S15. Each time the identification information of a medication is successfully checked, according to the shape and size of the actual pill, select an empty dispensing component that matches the shape and size of the actual pill as the identification information of the medication is successfully verified. The medicine-dispensing component of the medicine, the medicine-dispensing time of the medicine-dispensing component is set as the medicine-taking time corresponding to the medicine-taking drug identification information, and the medicine-dispensing quantity is set as the medicine-taking quantity corresponding to the medicine-taking medicine identification information, and the medicine-dispensing time and the medicine-dispensing time are established. and control the opening of the upper cover to generate a prompt message for placing the medicine into the empty medicine dispensing assembly; control the upper cover to close when receiving a signal that the medicine has been placed successfully;

S15、当全部核对成功时,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系。S15. When all the checking is successful, obtain all the dispensing components used by the user, the dispensing time corresponding to each dispensing component, and the correlation between the dispensing time and the dispensing quantity.

优选地,S2的分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量的步骤包括:Preferably, in S2, each medicine-dispensing component is separately controlled to perform medicine-dispensing operation at its corresponding medicine-dispensing time, and according to the correlation between the medicine-dispensing time and the medicine-dispensing quantity, the step of outputting the corresponding medicine-dispensing quantity includes:

S21、分别验证当前时间是否符合各个分药组件对应的分药时间;S21, respectively verifying whether the current time conforms to the dispensing time corresponding to each dispensing component;

S22、当当前时间符合分药组件对应的分药时间时,控制电机转动,带动圆形分药辊转动使凹坑中的药粒逐颗从出药口落下输出,同时控制传感器检测获取已经落下的药粒数量并输出;S22. When the current time matches the medicine dispensing time corresponding to the medicine dispensing assembly, control the motor to rotate, and drive the circular medicine dispensing roller to rotate, so that the medicine particles in the pits fall from the medicine outlet one by one and output, and at the same time, the control sensor detects and obtains that the medicine has fallen. the number of pills and output;

S23、判断所述已经落下的药粒数量是否等于所述分药时间对应的分药数量;S23, judging whether the number of medicine particles that have fallen is equal to the number of medicine distribution corresponding to the medicine distribution time;

S24、当所述已经落下的药粒数量等于所述分药时间对应的分药数量时,控制电机停止转动,完成分药操作。S24. When the quantity of the fallen medicine particles is equal to the medicine distribution quantity corresponding to the medicine distribution time, control the motor to stop rotating to complete the medicine distribution operation.

优选地,S22还包括以下步骤:Preferably, S22 also includes the following steps:

S221、圆形分药辊转动带动振动防堵机构转动,每转动一周,推动活动弹片上的拨杆一次。S221. The rotation of the circular medicine dispensing roller drives the vibration and blocking mechanism to rotate, and pushes the lever on the movable shrapnel once for each rotation.

优选地,S2的分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量的步骤还包括:Preferably, in S2, each medicine dispensing component is separately controlled to perform medicine dispensing operation at its corresponding medicine dispensing time, and according to the correlation between the medicine dispensing time and the medicine dispensing quantity, the step of outputting the corresponding medicine dispensing quantity also includes: :

S25、当接收到防卡药回转机构在检测到圆形分药辊发生不正常转动时生成的工作异常信号时,控制电机反转一定角度。S25, when receiving the abnormal operation signal generated by the anti-jam medicine rotating mechanism when it detects that the circular medicine dispensing roller rotates abnormally, control the motor to reverse a certain angle.

优选地,还包括以下步骤:Preferably, the following steps are also included:

S4、当接收到出药部件被取出后生成的取药成功信号时,更新服药情况。S4. When receiving a successful medicine taking signal generated after the medicine dispensing part is taken out, update the medicine taking situation.

本发明实施例的一种自动分药装置的控制系统,包括:A control system of an automatic medicine dispensing device according to an embodiment of the present invention includes:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述的自动分药装置的控制方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the above-mentioned control method of the automatic medicine dispensing device.

本发明实施例的自动分药装置的控制系统及控制方法,具有如下优点:The control system and control method of the automatic medicine dispensing device according to the embodiment of the present invention have the following advantages:

1.通过独特的放药步骤,确保每个用户所分配到的分药组件跟药品的形状及尺寸相匹配,且提高了放药准确率。且可供多个用户同时使用。1. Through the unique dispensing procedure, it is ensured that the dispensing component assigned by each user matches the shape and size of the drug, and the accuracy of dispensing is improved. And can be used by multiple users at the same time.

2.通过独特的分药步骤,有效防止多药、卡药、碎药、漏药的情况。2. Through the unique dispensing steps, it can effectively prevent the situation of multiple medicines, stuck medicines, broken medicines and missing medicines.

3.还通过取药确认步骤,提高服药情况统计的正确率。3. Through the confirmation step of taking medicine, the accuracy of taking medicine statistics is improved.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式中的技术方案,下面将对具体实施方式描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the specific embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the specific embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. , for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例中自动分药装置的一个具体示例的整体外形图;Fig. 1 is the overall outline drawing of a specific example of the automatic medicine dispensing device in the embodiment of the present invention;

图2为本发明实施例中自动分药装置的一个具体示例的爆炸图;Fig. 2 is the exploded view of a specific example of the automatic medicine dispensing device in the embodiment of the present invention;

图3为本发明实施例中分药部件的一个具体示例的爆炸图;3 is an exploded view of a specific example of a medicine dispensing component in the embodiment of the present invention;

图4为本发明实施例中自动分药装置的一个具体示例的后视剖视图;4 is a rear cross-sectional view of a specific example of an automatic medicine dispensing device in an embodiment of the present invention;

图5为本发明实施例中自动分药装置的一个具体示例的前视剖视图;Fig. 5 is the front sectional view of a specific example of the automatic medicine dispensing device in the embodiment of the present invention;

图6为本发明实施例中自动分药装置的一个具体示例的右视剖视图;Fig. 6 is the right side sectional view of a specific example of the automatic medicine dispensing device in the embodiment of the present invention;

图7为本发明实施例中自动分药装置的控制方法的一个具体示例的流程图。FIG. 7 is a flowchart of a specific example of a control method of an automatic medicine dispensing device in an embodiment of the present invention.

附图标记:100-框架,101-前盖,102-后盖,103-上盖,104-壳体,201-第一漏斗形储药器,202-第二漏斗形储药器,203-活动弹片,301-第一分药部件,302-第二分药部件,303-磁编码器,304-端盖,305-轴承,306-磁铁片,307-圆形分药辊,308-弹片触发器,309-电机,310-辊壳,311-光电开关,3101-出药口,400-出药部件,401-第一出药仓,402-第二出药仓,501-主控板,502-显控面板,503-按键,504-电池。Reference numerals: 100-frame, 101-front cover, 102-back cover, 103-upper cover, 104-housing, 201-first funnel-shaped drug storage, 202-second funnel-shaped drug storage, 203- Movable shrapnel, 301-first dispensing part, 302-second dispensing part, 303-magnetic encoder, 304-end cover, 305-bearing, 306-magnet piece, 307-round dispensing roller, 308-shrapnel Trigger, 309-motor, 310-roller shell, 311-photoelectric switch, 3101-medicine outlet, 400-medicine-discharging part, 401-first medicine-discharging compartment, 402-second medicine-discharging compartment, 501-main control board , 502-display control panel, 503-button, 504-battery.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本发明的描述中,需要说明的是,本文所用的术语仅用于描述特定实施例的目的,而并非旨在限制本发明。除非上下文明确指出,否则如本文中所使用的单数形式“一”、“一个”和“该”等意图也包括复数形式。使用“包括”和/或“包含”等术语时,是意图说明存在该特征、整数、步骤、操作、元素和/或组件,而不排除一个或多个其他特征、整数、步骤、操作、元素、组件、和/或其他组合的存在或增加。术语“和/或”包括一个或多个相关列出项目的任何和所有组合。术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通;可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In describing the present invention, it should be noted that the terms used herein are only used for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. When the terms "comprising" and/or "comprising" are used, it is intended to indicate the presence of that feature, integer, step, operation, element and/or component, but not to exclude one or more other features, integers, steps, operations, elements , components, and/or other combinations exist or increase. The term "and/or" includes any and all combinations of one or more of the associated listed items. The orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on what is shown in the drawings. The orientation or positional relationship is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention . The terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance. The terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection The connection can also be indirectly connected through an intermediate medium, or it can be the internal communication between two components; it can be a wireless connection or a wired connection. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.

尽管示例性实施例被描述为使用多个单元来执行示例性过程,然而可以理解的是,该示例性过程还可以由一个或多个模块来执行。另外,可以理解的是,术语控制器/控制单元指的是包括存储器和处理器的硬件设备。存储器被配置成存储模块,处理器被专门配置成执行上述存储模块中存储的过程,从而执行一个或多个过程。Although the example embodiments are described as using multiple units to perform the example process, it will be appreciated that the example process may also be performed by one or more modules. Additionally, it is to be understood that the term controller/control unit refers to a hardware device including a memory and a processor. The memory is configured as a storage module, and the processor is specifically configured to execute the processes stored in the aforementioned storage module, thereby performing one or more of the processes.

此外,本说明书中的某些图式是用于例示方法的流程图。应了解,这些流程图中的每一个方块、及这些流程图中方块的组合可通过计算机程序指令来实施。这些计算机程序指令可加载至一计算机或其他可编程的设备上来形成一机器,以使在所述计算机或其他可编程设备上执行的指令形成用于实施在所述流程图方块中所规定功能的结构。这些计算机程序指令也可储存于一计算机可读存储器中,所述计算机可读存储器可指令一计算机或其他可编程设备以一特定方式工作,以使储存于所述计算机可读存储器中的指令形成一包含用于实施在所述流程图方块中所规定功能的指令结构的制品。所述计算机程序指令也可加载至一计算机或其他可编程设备上,以便在所述计算机或其他可编程设备上执行一系列操作步骤来形成一由计算机实施的过程,从而使在所述计算机或其他可编程设备上执行的指令提供用于实施在所述流程图方块中所规定功能的步骤。Furthermore, certain figures in this specification are flow diagrams for illustrating methods. It will be understood that each block of the flowchart illustrations, and combinations of blocks in the flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be loaded onto a computer or other programmable device to form a machine, such that the instructions executed on the computer or other programmable device form the instructions for implementing the functions specified in the flowchart blocks. structure. The computer program instructions may also be stored in a computer readable memory which instructs a computer or other programmable device to operate in a particular manner such that the instructions stored in the computer readable memory form An article of manufacture comprising instruction structure for implementing the functions specified in the flowchart blocks. The computer program instructions can also be loaded onto a computer or other programmable device for performing a series of operational steps on the computer or other programmable device to form a computer-implemented process that causes the computer or other programmable device to perform Instructions executing on other programmable devices provide steps for implementing the functions specified in the flowchart blocks.

相应地,各流程图中的方块支持用于执行所规定功能的结构的组合及用于执行所规定功能的步骤的组合。还应了解,所述流程图中的每一个方块、及所述流程图中方块的组合可由执行所规定功能或步骤的基于专用硬件的计算机系统、或者专用硬件与计算机指令的组合来实施。Accordingly, blocks in the flowcharts support combinations of structures for performing the specified functions and combinations of steps for performing the specified functions. It will also be understood that each block of the flowchart illustrations, and combinations of blocks in the flowchart illustrations, can be implemented by special purpose hardware-based computer systems that perform the specified functions or steps, or combinations of special purpose hardware and computer instructions.

此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

实施例Example

本实施例提供一种自动分药装置的控制系统及控制方法,所述自动分药装置主要由储药部件、分药部件、出药部件、控制部件、框架等组成。储药部件包括至少两个漏斗形储药器,用于分别储存不同形状及尺寸的药粒,例如片状药和胶囊等,布置在所述框架的上部。在每一所述漏斗形储药器下方安装有一所述分药部件,每一分药部件包括圆形分药辊、电机、传感器、振动防堵机构和防卡药回转机构等。所述圆形分药辊在辊面有对应于漏斗形储药器内所储存药粒不同形状及尺寸的凹坑,用于输送药粒,每个凹坑能且只能落入一颗药粒。所述电机与圆形分药辊相连,电机的轴头插入圆形分药辊的中心,电机转动带动圆形分药辊转动,从而圆形分药辊将药粒逐个从储药部件输送至出药部件中。所述传感器安装在圆形分药辊和出药部件之间,用于当药粒从分药部件中落下时,会触发传感器,传感器将下落药粒(出药)的数量反馈给所述控制部件。控制部件用于当出药的数量达到预设值时,控制电机停止转动,从而完成分药,打开出药部件,取出预设数量的药粒,从而达到精准出药的效果。This embodiment provides a control system and a control method for an automatic medicine dispensing device. The automatic medicine dispensing device is mainly composed of a medicine storage part, a medicine dispensing part, a medicine discharge part, a control part, a frame and the like. The medicine storage part includes at least two funnel-shaped medicine storage containers for respectively storing medicine particles of different shapes and sizes, such as tablet medicines and capsules, etc., which are arranged on the upper part of the frame. A medicine dispensing component is installed under each of the funnel-shaped medicine storage containers, and each medicine dispensing component includes a circular medicine dispensing roller, a motor, a sensor, a vibration and anti-blocking mechanism and an anti-jam rotation mechanism. The circular medicine dispensing roller has pits on the roller surface corresponding to different shapes and sizes of the medicine particles stored in the funnel-shaped medicine storage container, which are used to transport the medicine particles, and each pit can only fall into one medicine. grain. The motor is connected with the circular medicine dispensing roller, the shaft head of the motor is inserted into the center of the circular medicine dispensing roller, and the rotation of the motor drives the circular medicine dispensing roller to rotate, so that the circular medicine dispensing roller transports the medicine particles one by one from the medicine storage part to the in the dispensing part. The sensor is installed between the circular medicine dispensing roller and the medicine dispensing part, and is used to trigger the sensor when the medicine particles fall from the medicine dispensing part. part. The control part is used to control the motor to stop rotating when the quantity of the medicine reaches the preset value, so as to complete the medicine dispensing, open the medicine discharge part, and take out the preset number of medicine particles, so as to achieve the effect of precise medicine discharge.

作为一种具体示例,如图1-图5所示,自动分药装置包括:框架100、储药部件、分药部件、出药部件400和控制部件;储药部件、分药部件、出药部件400和控制部件分别安装在框架100内;As a specific example, as shown in Figures 1-5, the automatic medicine dispensing device includes: a frame 100, a medicine storage part, a medicine dispensing part, a medicine discharge part 400 and a control part; a medicine storage part, a medicine dispensing part, a medicine discharge part The component 400 and the control component are respectively installed in the frame 100;

储药部件包括至少两个漏斗形储药器,均布在框架100内的上部,用于分别储存不同形状及尺寸的药粒;漏斗形储药器呈漏斗形,可以从框架100内抽出。The medicine storage part includes at least two funnel-shaped medicine storages, which are evenly distributed in the upper part of the frame 100 and used to store medicine particles of different shapes and sizes respectively;

每一漏斗形储药器下方连接有一分药部件,用于一颗一颗地连续将漏斗形储药器内的药粒输送到出药部件400内,每次能且只能输出一颗药粒;There is a medicine dispensing part connected below each funnel-shaped medicine storage, which is used to continuously transport the medicine particles in the funnel-shaped medicine storage to the medicine discharging part 400 one by one, and can only output one medicine at a time. grain;

出药部件400安装位于框架100内的下部,用于储存从分药部件落下的药粒;优选地,出药部件400可从框架100内抽出,方便取出药粒。The medicine dispensing part 400 is installed at the lower part of the frame 100 for storing the medicine particles dropped from the medicine dispensing part; preferably, the medicine dispensing part 400 can be pulled out from the frame 100 to facilitate taking out the medicine particles.

控制部件分别与储药部件和分药部件连接,用于控制储药部件和分药部件的运行,完成分药。The control part is respectively connected with the medicine storage part and the medicine distribution part, and is used for controlling the operation of the medicine storage part and the medicine distribution part to complete the medicine distribution.

优选地,储药部件包括第一漏斗形储药器201和第二漏斗形储药器202,分别安装在框架100内上部的前后两侧,且其出药口左右交错开,分别位于框架100内中部的左前侧和右后侧,使安装在框架100内下部的出药部件可以左右并排排列,提高了结构紧凑度,减小了体积,以有利于装置小型化。Preferably, the drug storage component includes a first funnel-shaped drug storage device 201 and a second funnel-shaped drug storage device 202, which are respectively installed on the front and rear sides of the inner upper part of the frame 100, and the drug outlet ports are staggered left and right, respectively located in the frame 100. The left front side and the right rear side of the inner middle part enable the medicine dispensing components installed in the lower part of the frame 100 to be arranged side by side, which improves the compactness of the structure and reduces the volume, which is beneficial to the miniaturization of the device.

优选地,每一漏斗形储药器均包括活动弹片203,为漏斗形储药器的一个下坡面,活动弹片203的上端与漏斗形储药器本体转动连接,例如铰链连接,可在活动弹片203的下端处的外力推动下,向漏斗形储药器本体内部转动,推动漏斗形储药器内药粒移动,之后由于重力自由回落或者外力驱动回弹复位,从而防止药粒阻塞。优选地,转动连接处安装有回位弹簧,促使在活动弹片203回到原位。Preferably, each funnel-shaped drug storage device includes a movable elastic piece 203, which is a downward slope of the funnel-shaped drug storage device. Pushed by the external force at the lower end of the shrapnel 203, it rotates to the inside of the funnel-shaped drug storage body, pushing the particles in the funnel-shaped drug storage to move, and then freely falls back due to gravity or rebounds and resets driven by external force, thereby preventing the blocking of the drug particles. Preferably, a return spring is installed at the rotational connection to urge the movable elastic piece 203 to return to its original position.

优选地,分药部件包括至少两个,与漏斗形储药器的数量相对应,例如如图2中所示的第一分药部件301和第二分药部件302,每一分药部件均包括圆形分药辊307、辊壳310、电机309、传感器和振动防堵机构;Preferably, the medicine dispensing parts include at least two, corresponding to the number of the funnel-shaped medicine storages, such as the first medicine dispensing part 301 and the second medicine dispensing part 302 as shown in FIG. 2 , each medicine dispensing part is Including a circular medicine dispensing roller 307, a roller shell 310, a motor 309, a sensor and a vibration anti-blocking mechanism;

圆形分药辊307在辊面有对应于不同药粒形状及尺寸的凹坑,每个凹坑能且只能落入一颗药粒,用于输送药粒;The circular medicine dispensing roller 307 has pits corresponding to different shapes and sizes of the medicine particles on the roller surface, and each pit can only fall into one medicine particle for conveying the medicine particle;

电机309的轴头插入圆形分药辊307中心处的通孔中,用于驱动圆形分药辊307转动,轴头通过轴承305与端盖304连接,端盖304与辊壳310连接,端盖304的轴头位置处具有通孔;The shaft head of the motor 309 is inserted into the through hole at the center of the circular medicine dispensing roller 307 to drive the circular medicine dispensing roller 307 to rotate. The end cover 304 has a through hole at the position of the shaft head;

辊壳310固定在框架100上,其上部具有入药口,下部具有出药口3101,入药口和出药口3101的尺寸均与一个凹坑的开口尺寸相匹配,保持一致或略大,只能允许一个凹坑与入药口或出药口对准,以通过一颗药粒;当圆形分药辊307的凹坑旋转对准出药口3101时,凹坑内的药粒从出药口3101下落至出药部件400中。The roller shell 310 is fixed on the frame 100, and the upper part has a medicine inlet, and the lower part has a medicine outlet 3101. The sizes of the medicine inlet and the medicine outlet 3101 are matched with the opening size of a pit, which is consistent or slightly larger, and can only be used. Allow a dimple to align with the medicine inlet or outlet to pass a medicine particle; when the dimple of the circular medicine dispensing roller 307 is rotated to align with the medicine outlet 3101, the medicine particles in the dimple will pass through the medicine outlet 3101 drop into the medicine dispensing part 400 .

振动防堵机构安装在圆形分药辊307的一圆形端面的边缘处,用于每随圆形分药辊307转动一周,推动活动弹片203上的拨杆一次,使活动弹片203向漏斗形储药器本体内部转动一定角度,防止漏斗形储药器内的药粒阻塞。优选地,振动防堵机构包括弹片触发器308,其与活动弹片203上的拨杆相接触的面为光滑的弧形,以有利于触发拨杆的移动动作连贯,减小阻力。The vibration anti-blocking mechanism is installed at the edge of a circular end face of the circular medicine dispensing roller 307, and is used to push the lever on the movable spring piece 203 once every rotation with the circular medicine dispensing roller 307, so that the movable spring piece 203 moves toward the funnel. The inside of the funnel-shaped medicine storage body is rotated at a certain angle to prevent the medicine particles in the funnel-shaped medicine storage from being blocked. Preferably, the vibration anti-blocking mechanism includes a dome trigger 308, the surface of which is in contact with the lever on the movable spring 203 is a smooth arc, so as to facilitate the consistent movement of the trigger lever and reduce resistance.

传感器安装在辊壳310的出药口3101的下方,用于检测从出药口3101中落下的药粒的数量并输出给控制部件,控制部件可根据该数量判断是否完成分药。优选地,传感器包括光电开关311。The sensor is installed under the medicine outlet 3101 of the roller shell 310 to detect the quantity of medicine particles falling from the medicine outlet 3101 and output to the control part, and the control part can judge whether the medicine dispensing is completed according to the quantity. Preferably, the sensor includes a photoelectric switch 311 .

优选地,每一分药部件均还包括防卡药回转机构,用于检测圆形分药辊307旋转的信号,当圆形分药辊307发生不正常转动时,例如发生卡药而停止转动或降低转动速度,生成工作异常信号并输出给控制部件,控制部件可根据该工作异常信号控制电机309反转一定角度,以松开卡住的药粒而防止卡药。优选地,防卡药回转机构包括铁磁片306和磁编码器303,铁磁片306安装在电机309轴头的端部,磁编码器303安装在端盖304的与铁磁片306相对应的位置处,当圆形分药辊307正常旋转时,铁磁片306正常切割磁感线,磁编码器303生成正常转动信号并输出给控制部件;当存在发生药粒阻塞凹坑导致卡药等情况时,圆形分药辊307发生不正常转动,铁磁片306不能正常切割磁感线,磁编码器303生成异常工作信号并输出给控制部件,控制部件控制电机309反转一定角度,可配合振动防堵机构动作,松开卡住的药粒防止卡药。Preferably, each medicine dispensing component further includes an anti-jam rotation mechanism for detecting the signal of the rotation of the circular medicine dispensing roller 307. When the circular medicine dispensing roller 307 rotates abnormally, for example, a medicine jam occurs and the rotation stops. Or reduce the rotation speed, generate an abnormal operation signal and output it to the control unit, the control unit can control the motor 309 to reverse a certain angle according to the abnormal operation signal, so as to loosen the stuck medicine particles and prevent the medicine from being stuck. Preferably, the anti-jam rotation mechanism includes a ferromagnetic sheet 306 and a magnetic encoder 303, the ferromagnetic sheet 306 is installed at the end of the shaft head of the motor 309, and the magnetic encoder 303 is installed on the end cover 304 corresponding to the ferromagnetic sheet 306 At the position, when the circular medicine dispensing roller 307 rotates normally, the ferromagnetic sheet 306 cuts the magnetic field line normally, and the magnetic encoder 303 generates a normal rotation signal and outputs it to the control part; In other cases, the circular medicine dispensing roller 307 rotates abnormally, the ferromagnetic sheet 306 cannot cut the magnetic field line normally, the magnetic encoder 303 generates an abnormal working signal and outputs it to the control part, and the control part controls the motor 309 to reverse a certain angle, It can cooperate with the action of the vibration anti-blocking mechanism to loosen the stuck medicine particles to prevent the medicine from being stuck.

优选地,出药部件400的数量为一个,安装在所有分药部件的下方,用于储存从所有分药部件落下的药粒。或者优选地,出药部件400的数量为两个或两个以上,一部分出药部件400在每个分药部件的下方均安装一个,另一部分出药部件400在两个或两个以上的分药部件的下方安装一个,每个出药部件400可以储存从一个分药部件落下的药粒,也可以储存从两个或两个以上分药部件落下的药粒。或者优选地,出药部件400包括至少两个,与漏斗形储药器的数量相对应,例如如图2中所示的第一出药仓401和第二出药仓402,每个出药部件400用于接住从一个分药部件中落下的药粒。当落下的药粒数量达到预设数量时,电机停止转动,出药部件可抽出,取出药粒,完成一次分药。控制部件中还可设置指示灯,用于在完成一次分药时指示灯颜色变化,产生提示。Preferably, the number of the medicine dispensing parts 400 is one, which is installed below all the medicine dispensing parts for storing the medicine particles dropped from all the medicine dispensing parts. Or preferably, the quantity of the medicine dispensing parts 400 is two or more, one part of the medicine dispensing parts 400 is installed under each medicine dispensing part, and another part of the medicine dispensing parts 400 is divided into two or more parts. One medicine part is installed below the medicine part, and each medicine discharge part 400 can store medicine particles dropped from one medicine distribution part, or can store medicine particles dropped from two or more medicine distribution parts. Or preferably, the medicine dispensing part 400 includes at least two, corresponding to the number of the funnel-shaped medicine storage containers, such as the first medicine dispensing bin 401 and the second medicine dispensing bin 402 as shown in FIG. 2 , each dispensing medicine Part 400 is used to catch granules falling from a dispensing part. When the number of falling pills reaches the preset number, the motor stops rotating, and the dispensing part can be pulled out to take out the pills to complete one dispensing. An indicator light can also be set in the control part, which is used to change the color of the indicator light to generate a prompt when one dispensing is completed.

优选地,控制部件包括主控板501、显控面板502、按键503和电池504等,主控板501用于根据药粒数量控制电机309的启动和停止,根据磁编码器303输出的信号调节控制电机309的转动方向等。Preferably, the control components include a main control board 501 , a display control panel 502 , buttons 503 , and a battery 504 , etc. The main control board 501 is used to control the start and stop of the motor 309 according to the number of medicine particles, and adjust according to the signal output by the magnetic encoder 303 The rotation direction of the motor 309 and the like are controlled.

框架100包括前盖101、后盖102、上盖103和壳体104,按键503和显控面板502布置在上盖103上,与主控板501连接,通过按键503或显控面板502可调整预设出药数量,控制分药启动和停止。显控面板502还可显示预设出药数量和已经出药数量。同时上盖103上还可设有红绿指示灯,用于表示电池504的充电状态和工作状态。The frame 100 includes a front cover 101 , a rear cover 102 , an upper cover 103 and a casing 104 . The buttons 503 and the display control panel 502 are arranged on the upper cover 103 and are connected to the main control board 501 , and can be adjusted by the buttons 503 or the display control panel 502 Preset the number of medicines to be dispensed, and control the start and stop of dispensing. The display control panel 502 can also display the preset quantity of medicines and the quantity of medicines that have been dispensed. At the same time, the upper cover 103 may also be provided with red and green indicator lights for indicating the charging state and working state of the battery 504 .

上盖103的一端与壳体104由铰链连接,另一端由卡扣锁紧,上盖103扣紧时压住壳体104内部的漏斗形储药器。One end of the upper cover 103 is connected with the casing 104 by a hinge, and the other end is locked by a buckle.

上述自动分药装置,通过圆形分药辊独特的结构设计,可以精准定量的筛选不同形状及尺寸的药粒,防止多药的情况。通过独特的电机传动方式,实现药品的连续筛选,并通过防堵防卡机构,防止卡药、碎药等的情况。通过在独特的位置设置传感器,实现筛选药品数量的精确测量,防止漏药的情况。通过独特的控制部件设计,实现了药粒筛选的自动化控制。The above-mentioned automatic medicine dispensing device, through the unique structural design of the circular medicine dispensing roller, can accurately and quantitatively screen medicine particles of different shapes and sizes to prevent the situation of multiple medicines. Through the unique motor transmission mode, the continuous screening of medicines is realized, and the blocking and anti-jamming mechanism is used to prevent the jams and broken medicines. By placing sensors in unique locations, accurate measurement of the number of drugs to be screened can be achieved to prevent drug leakage. Through the unique design of control parts, the automatic control of particle screening is realized.

本实施例提供的一种自动分药装置的控制方法,如图7所示,包括以下步骤:A control method of an automatic medicine dispensing device provided by this embodiment, as shown in Figure 7, includes the following steps:

S1、根据用户的特征信息,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系;所述用户的特征信息为脸部信息和/或指纹信息;每一所述分药组件均包括一漏斗形储药器和与该漏斗形储药器对应的分药部件和出药部件;S1, according to the user's characteristic information, obtain all the medicine-dispensing components used by the user and the medicine-dispensing time corresponding to each medicine-dispensing component and the correlation between the medicine-dispensing time and the medicine-dispensing quantity; the user's characteristics The information is facial information and/or fingerprint information; each of the medicine-dispensing components includes a funnel-shaped medicine storage container and a medicine-dispensing part and a medicine-discharging part corresponding to the funnel-shaped medicine storage container;

S2、分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量;S2, respectively controlling each medicine dispensing component to perform medicine dispensing operation at its corresponding medicine dispensing time, and outputting the corresponding medicine dispensing quantity according to the correlation between the medicine dispensing time and the medicine dispensing quantity;

S3、生成并输出取药提示信息,用以提醒用户进行取药操作;优选地,可以将取药提示信息输出给显控面板502进行显示,还可以控制产生灯光提醒和声音提醒进行辅助。S3, generating and outputting reminder information for taking medicine to remind the user to take medicine; preferably, the reminder information for taking medicine can be output to the display control panel 502 for display, and can also be controlled to generate light reminders and sound reminders for assistance.

优选地,S1的根据用户的特征信息,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系的步骤包括:Preferably, the step of obtaining all the dispensing components used by the user, the dispensing time corresponding to each dispensing component, and the correlation between the dispensing time and the dispensing quantity in S1 according to the user's characteristic information includes: :

S11、获取用户的特征信息;优选地,可通过人脸识别模块进行脸部信息的采集,通过指纹识别模块进行指纹信息的采集;S11, acquiring the characteristic information of the user; preferably, the face information can be collected through a face recognition module, and the fingerprint information can be collected through the fingerprint recognition module;

S12、向服务器发送包含获取所述用户的服药信息的内容的消息;服务器上存储有用户(病人)与所有服药信息之间的关联关系,每一所述服药信息包括一服药药品标识信息及其服药时间和服药数量;所述服药药品标识信息包括药品名称和药品生产批准文号;S12. Send a message containing the content of acquiring the medication information of the user to the server; the server stores the association relationship between the user (patient) and all medication information, and each medication information includes a medication identification information and its associated information. The time of taking the medicine and the quantity of the medicine; the identification information of the medicine for taking the medicine includes the name of the medicine and the approval number for the production of the medicine;

S13、接收服务器发送的所述用户的所有服药信息;S13. Receive all the medication information of the user sent by the server;

S14、将所述所有服药信息中的服药药品标识信息与所要放入到自动分药装置中的药品信息逐一进行核对;所述药品信息包括药品名称和药品生产批准文号;优选地,药品信息可通过显控面板输入或按键输入获得,或者通过摄像头进行图像识别获得;S14. Check the medication identification information in all medication information with the medication information to be put into the automatic dispensing device one by one; the medication information includes the name of the medication and the drug production approval number; preferably, the medication information It can be obtained through the display and control panel input or key input, or through image recognition through the camera;

S15、每核对成功一个服药药品标识信息,根据实际药粒的形状及尺寸,选取一个与所述实际药粒的形状及尺寸相匹配的空的分药组件作为与该个服药药品标识信息核对成功的药品的分药组件,将该分药组件的分药时间设为该服药药品标识信息对应的服药时间,分药数量设为该服药药品标识信息对应的服药数量,建立分药时间与分药数量之间的关联关系;并控制上盖打开,生成将所述药品放入所述空的分药组件中的提示信息;待接收到已放入成功的信号时控制上盖关闭;即每核对成功一次,就分配一个与实际药粒的形状及尺寸相匹配的空的分药组件,打开关闭上盖一次,放入药品,提高了放药准确率;优选地,已放入成功的信号可通过用户确认一种药品已全部放入后操作按键或触碰显控面板上的预定区域后产生获得;S15. Each time the identification information of a medication is successfully checked, according to the shape and size of the actual pill, select an empty dispensing component that matches the shape and size of the actual pill as the identification information of the medication is successfully verified. The medicine-dispensing component of the medicine, the medicine-dispensing time of the medicine-dispensing component is set as the medicine-taking time corresponding to the medicine-taking drug identification information, and the medicine-dispensing quantity is set as the medicine-taking quantity corresponding to the medicine-taking medicine identification information, and the medicine-dispensing time and the medicine-dispensing time are established. and control the opening of the upper cover to generate a prompt message to put the medicine into the empty medicine dispensing assembly; control the upper cover to close when receiving the signal that the medicine has been put in successfully; that is, every check Once successful, an empty medicine dispensing component that matches the shape and size of the actual medicine particles is allocated, the upper cover is opened and closed once, and medicine is put in, which improves the accuracy of medicine discharge; preferably, the signal that has been put in successfully can be Obtained by the user after confirming that a drug has been put in all, operating the button or touching a predetermined area on the display and control panel;

S15、当全部核对成功时,获得所述用户所用的所有分药组件和每一分药组件对应的分药时间及所述分药时间与分药数量之间的关联关系。当存在任一个服药药品标识信息核对不成功时,生成用户服药信息错误提示信息,也可以同时上报给服务器,进行存储记录,为后续处理提供参考。S15. When all the checking is successful, obtain all the dispensing components used by the user, the dispensing time corresponding to each dispensing component, and the correlation between the dispensing time and the dispensing quantity. When the verification of any medication identification information is unsuccessful, a user medication information error prompt message is generated, and it can also be reported to the server at the same time for storage and record, so as to provide a reference for subsequent processing.

优选地,S2的分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量的步骤包括:Preferably, in S2, each medicine-dispensing component is separately controlled to perform medicine-dispensing operation at its corresponding medicine-dispensing time, and according to the correlation between the medicine-dispensing time and the medicine-dispensing quantity, the step of outputting the corresponding medicine-dispensing quantity includes:

S21、分别验证当前时间是否符合各个分药组件对应的分药时间;S21, respectively verifying whether the current time conforms to the dispensing time corresponding to each dispensing component;

S22、当当前时间符合分药组件对应的分药时间时,控制电机转动,带动圆形分药辊转动使凹坑中的药粒逐颗从出药口落下输出,同时控制传感器检测获取已经落下的药粒数量并输出;优选地,圆形分药辊转动还带动振动防堵机构转动,每转动一周,推动活动弹片上的拨杆一次,使活动弹片向漏斗形储药器本体内部转动一定角度,防止漏斗形储药器内的药粒阻塞。S22. When the current time matches the medicine dispensing time corresponding to the medicine dispensing assembly, control the motor to rotate, and drive the circular medicine dispensing roller to rotate, so that the medicine particles in the pits fall from the medicine outlet one by one and output, and at the same time, the control sensor detects and obtains that the medicine has fallen. Preferably, the rotation of the circular medicine dispensing roller also drives the vibration anti-blocking mechanism to rotate, and pushes the lever on the movable shrapnel once for each rotation, so that the movable shrapnel rotates to the inside of the funnel-shaped drug storage body for a certain amount of time. angle to prevent the blockage of the pills in the funnel-shaped pill reservoir.

S23、判断所述已经落下的药粒数量是否等于所述分药时间对应的分药数量;S23, judging whether the number of medicine particles that have fallen is equal to the number of medicine distribution corresponding to the medicine distribution time;

S24、当所述已经落下的药粒数量等于所述分药时间对应的分药数量时,控制电机停止转动,完成分药操作。S24. When the quantity of the fallen medicine particles is equal to the medicine distribution quantity corresponding to the medicine distribution time, control the motor to stop rotating to complete the medicine distribution operation.

优选地,S2的分别控制每一分药组件在其对应的分药时间进行分药操作,根据所述分药时间与分药数量之间的关联关系,输出相应的分药数量的步骤还包括:Preferably, in S2, each medicine dispensing component is separately controlled to perform medicine dispensing operation at its corresponding medicine dispensing time, and according to the correlation between the medicine dispensing time and the medicine dispensing quantity, the step of outputting the corresponding medicine dispensing quantity also includes: :

S25、当接收到防卡药回转机构在检测到圆形分药辊发生不正常转动时生成的工作异常信号时,控制电机反转一定角度,以松开卡住的药粒而防止卡药。S25. When receiving an abnormal operation signal generated by the anti-jam medicine rotating mechanism when it detects the abnormal rotation of the circular medicine dispensing roller, control the motor to reverse a certain angle to loosen the stuck medicine particles and prevent medicine from being stuck.

优选地,自动分药装置的控制方法还包括以下步骤:Preferably, the control method of the automatic medicine dispensing device further comprises the following steps:

S4、当接收到出药部件被取出后生成的取药成功信号时,更新服药情况,服药情况包括用户已完成的服药和未完成的服药,还可以将服药情况上报给服务器,以进行统计和监控。优选地,取药成功信号可以通过用户确认后操作按键或触碰显控面板上的预定区域后产生获得,也可通过传感器检测获得,如当传感器检测到出药部件离开了原始位置后生成该信号。S4. When receiving the successful medicine taking signal generated after the medicine dispensing component is taken out, update the taking medicine situation, the taking medicine situation includes the user's completed taking medicine and unfinished taking medicine, and the taking medicine situation can also be reported to the server for statistical and statistical analysis. monitor. Preferably, the drug-taking success signal can be generated and obtained by the user operating a button after confirmation or touching a predetermined area on the display control panel, or can be obtained by sensor detection. Signal.

上述自动分药装置的控制方法,通过独特的放药步骤,确保每个用户所分配到的分药组件跟药品的形状及尺寸相匹配,且提高了放药准确率。且可供多个用户同时使用。通过独特的分药步骤,有效防止多药、卡药、碎药、漏药的情况。还通过取药确认步骤,提高服药情况统计的正确率。The above-mentioned control method of the automatic medicine dispensing device ensures that the medicine dispensing component assigned by each user matches the shape and size of the medicine through a unique medicine dispensing step, and the medicine dispensing accuracy rate is improved. And can be used by multiple users at the same time. Through the unique dispensing steps, it can effectively prevent the situation of multiple medicines, stuck medicines, broken medicines and missing medicines. Also through the confirmation step of taking medicine, the accuracy of taking medicine statistics is improved.

本实施例还提供一种自动分药装置的控制系统,包括:The present embodiment also provides a control system for the automatic medicine dispensing device, comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述的自动分药装置的控制方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the above-mentioned control method of the automatic medicine dispensing device.

显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。Obviously, the above-mentioned embodiments are only examples for clear description, and are not intended to limit the implementation manner. For those of ordinary skill in the art, changes or modifications in other different forms can also be made on the basis of the above description. There is no need and cannot be exhaustive of all implementations here. And the obvious changes or changes derived from this are still within the protection scope of the present invention.

Claims (6)

1. A control method of an automatic medicine distribution device is disclosed, wherein the automatic medicine distribution device mainly comprises a medicine storage part, a medicine distribution part, a medicine outlet part, a control part and a frame; the medicine storage part comprises at least two funnel-shaped medicine storages for respectively storing medicine grains with different shapes and sizes and is arranged at the upper part of the frame; the medicine distributing part is arranged below each funnel-shaped medicine storage device, and each medicine distributing part comprises a circular medicine distributing roller, a motor, a sensor, a vibration anti-blocking mechanism and an anti-blocking medicine rotating mechanism; the circular medicine distributing roller is provided with pits with different shapes and sizes corresponding to the medicine grains stored in the funnel-shaped medicine storage device on the roller surface and is used for conveying the medicine grains, and each pit can only fall into one medicine grain; the motor is connected with the circular medicine distribution roller, a shaft head of the motor is inserted into the center of the circular medicine distribution roller, and the motor rotates to drive the circular medicine distribution roller to rotate, so that the circular medicine distribution roller conveys medicine grains from the medicine storage part to the medicine outlet part one by one; the sensor is arranged between the circular medicine distribution roller and the medicine outlet part and used for triggering the sensor when medicine grains fall from the medicine distribution part, and the sensor feeds back the number of the falling medicine grains to the control part; the control part is used for controlling the motor to stop rotating when the medicine discharging quantity reaches a preset value, so that the medicine is dispensed, the medicine discharging part is opened, and the medicine particles with the preset quantity are taken out;
the method is characterized by comprising the following steps:
s1, according to the characteristic information of a user, acquiring all medicine distribution components used by the user, medicine distribution time corresponding to each medicine distribution component and an association relation between the medicine distribution time and the medicine distribution quantity; the characteristic information of the user is face information and/or fingerprint information; each medicine distribution assembly comprises a funnel-shaped medicine storage device, a medicine distribution component and a medicine outlet component, wherein the medicine distribution component and the medicine outlet component correspond to the funnel-shaped medicine storage device;
s2, respectively controlling each medicine distribution assembly to perform medicine distribution operation at the corresponding medicine distribution time, and outputting corresponding medicine distribution quantity according to the incidence relation between the medicine distribution time and the medicine distribution quantity;
s3, generating and outputting medicine taking prompt information to remind a user of medicine taking operation;
s2, respectively controlling each medicine distribution component to perform medicine distribution operation at the corresponding medicine distribution time, and outputting the corresponding medicine distribution quantity according to the incidence relation between the medicine distribution time and the medicine distribution quantity, wherein the step comprises the following steps:
s21, respectively verifying whether the current time meets the dispensing time corresponding to each dispensing component;
s22, when the current time accords with the dispensing time corresponding to the dispensing component, the motor is controlled to rotate to drive the circular dispensing roller to rotate so that the medicine particles in the concave pit fall from the medicine outlet one by one to be output, and meanwhile, the sensor is controlled to detect and acquire the number of the fallen medicine particles and output the medicine particles;
s23, judging whether the number of the fallen medicine particles is equal to the medicine distribution number corresponding to the medicine distribution time;
and S24, when the number of the fallen medicine particles is equal to the medicine distribution number corresponding to the medicine distribution time, controlling the motor to stop rotating, and finishing the medicine distribution operation.
2. The control method according to claim 1, wherein the step of S1, based on the characteristic information of the user, of obtaining the dispensing time corresponding to all the dispensing components used by the user and each dispensing component and the association relationship between the dispensing time and the dispensing quantity, comprises:
s11, acquiring characteristic information of a user;
s12, sending a message containing the content of the medicine taking information of the user to a server; each piece of medicine taking information comprises medicine taking medicine identification information, medicine taking time and medicine taking quantity; the medicine taking identification information comprises a medicine name and a medicine production approval number;
s13, receiving all medicine taking information of the user sent by the server;
s14, checking the identification information of the medicine taking medicines in all the medicine taking information with the information of the medicines to be put into the automatic medicine distributing device one by one; the drug information comprises a drug name and a drug production approval code;
s15, selecting an empty medicine distribution assembly matched with the shape and the size of the actual medicine grain as a medicine distribution assembly of the medicine successfully checked with the medicine identification information according to the shape and the size of the actual medicine grain, setting the medicine distribution time of the medicine distribution assembly as the medicine taking time corresponding to the medicine identification information, setting the medicine distribution quantity as the medicine taking quantity corresponding to the medicine identification information, and establishing an incidence relation between the medicine distribution time and the medicine distribution quantity; controlling the upper cover to be opened to generate prompt information for putting the medicine into the empty medicine dispensing assembly; controlling the upper cover to close when a signal that the input is successful is received;
and S16, when all the verification is successful, acquiring all the medicine distribution components used by the user, medicine distribution time corresponding to each medicine distribution component and an association relation between the medicine distribution time and the medicine distribution quantity.
3. The control method according to claim 1, wherein S22 further comprises the steps of:
s221, the circular medicine distributing roller rotates to drive the vibration anti-blocking mechanism to rotate, and the driving lever on the movable elastic sheet is pushed once every time the vibration anti-blocking mechanism rotates for one circle.
4. The control method according to claim 1, wherein the step S2 of separately controlling each dispensing assembly to perform dispensing operation at the dispensing time corresponding thereto, and outputting the corresponding dispensing quantity according to the correlation between the dispensing time and the dispensing quantity further comprises:
and S25, when a working abnormal signal generated when the anti-jamming rotary mechanism detects that the circular medicine distributing roller abnormally rotates is received, controlling the motor to reversely rotate for a certain angle.
5. The control method according to claim 1, characterized by further comprising the steps of:
and S4, updating the medicine taking condition when receiving a medicine taking success signal generated after the medicine outlet component is taken out.
6. A control system for an automatic dispensing device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of controlling an automatic medication dispensing apparatus of any of claims 1-5.
CN202110360792.3A 2021-04-02 2021-04-02 A kind of control system and control method of automatic medicine dispensing device Active CN113223242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110360792.3A CN113223242B (en) 2021-04-02 2021-04-02 A kind of control system and control method of automatic medicine dispensing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110360792.3A CN113223242B (en) 2021-04-02 2021-04-02 A kind of control system and control method of automatic medicine dispensing device

Publications (2)

Publication Number Publication Date
CN113223242A CN113223242A (en) 2021-08-06
CN113223242B true CN113223242B (en) 2022-10-25

Family

ID=77086374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110360792.3A Active CN113223242B (en) 2021-04-02 2021-04-02 A kind of control system and control method of automatic medicine dispensing device

Country Status (1)

Country Link
CN (1) CN113223242B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359765B2 (en) * 2004-09-15 2008-04-15 Varvarelis Nicholas M Electronic pill dispenser
KR100872577B1 (en) * 2008-05-02 2008-12-08 박두환 Automatic medicine supply and medication time alarm
CN103473625A (en) * 2013-08-16 2013-12-25 上海华美络信息技术有限公司 Chronic disease management system
CN107255941B (en) * 2017-05-10 2019-04-30 深圳睿京科技有限公司 The control method and medicine box of medicine box
CN107434112B (en) * 2017-08-11 2023-09-26 昆明理工大学 Intelligent medicine box, application and control method thereof
CN107550738A (en) * 2017-10-25 2018-01-09 宋彦震 Medicine distribution and alarm set of taking medicine based on Internet of Things
CN108313385B (en) * 2018-02-11 2020-05-12 广州循证医药科技有限公司 Intelligent medicine distribution device for pharmacy department

Also Published As

Publication number Publication date
CN113223242A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
JP7381977B2 (en) drug supply device
EP2672947B1 (en) Devices, systems and methods for point of use medication control
CN105708689B (en) Possess automated dispensing and monitor the intelligent medicine box of prompting function
EP3463253B1 (en) Pill dispensers
US10682284B2 (en) Pill dispensing apparatus and method for automatically dispensing pills
US10098817B2 (en) Dispensing device
US11798669B2 (en) Smart medication dispenser
US10022304B2 (en) As-needed, time controlled medication dispenser and methods
CN107600729B (en) The method for carrying out data interaction and regulation medication using communication unit in Medical Devices and remote personnel
CN106852722A (en) A kind of medication auxiliary device and its application method
CN111150654A (en) Intelligent medicine box with medicine administration management function
CN111297694A (en) Intelligent medicine chest and using method thereof
CN108516226A (en) A kind of compact medical devices
CN113223242B (en) A kind of control system and control method of automatic medicine dispensing device
CN113086432A (en) Automatic medicine dispensing device based on mechanical transmission and automatic control
CN105620937B (en) Medical Devices
US20150039124A1 (en) Automatic Medication Compliance Dispenser System And Method
CN212575262U (en) A smart medicine cabinet
CN105620935B (en) A kind of method that patient's medication accuracy is improved based on compact medical devices
CN112932960A (en) Intelligent medicine box
CN220616900U (en) A smart pill box that automatically dispenses medicine
CN113975169A (en) Intelligent medicine storage device and method
CN114067465A (en) Drug circulation verification system, method, equipment and storage medium
CN113558989A (en) Novel intelligent medicine box and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant