WO2022078215A1 - Continuous syringe control method and apparatus, and continuous syringe - Google Patents

Continuous syringe control method and apparatus, and continuous syringe Download PDF

Info

Publication number
WO2022078215A1
WO2022078215A1 PCT/CN2021/121669 CN2021121669W WO2022078215A1 WO 2022078215 A1 WO2022078215 A1 WO 2022078215A1 CN 2021121669 W CN2021121669 W CN 2021121669W WO 2022078215 A1 WO2022078215 A1 WO 2022078215A1
Authority
WO
WIPO (PCT)
Prior art keywords
syringe
stepper motor
dose
push rod
steps
Prior art date
Application number
PCT/CN2021/121669
Other languages
French (fr)
Chinese (zh)
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 北京天悦生科技有限公司
Publication of WO2022078215A1 publication Critical patent/WO2022078215A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61DVETERINARY INSTRUMENTS, IMPLEMENTS, TOOLS, OR METHODS
    • A61D7/00Devices or methods for introducing solid, liquid, or gaseous remedies or other materials into or onto the bodies of animals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/178Syringes
    • A61M5/20Automatic syringes, e.g. with automatically actuated piston rod, with automatic needle injection, filling automatically
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/178Syringes
    • A61M5/31Details
    • A61M5/315Pistons; Piston-rods; Guiding, blocking or restricting the movement of the rod or piston; Appliances on the rod for facilitating dosing ; Dosing mechanisms
    • A61M5/31533Dosing mechanisms, i.e. setting a dose
    • A61M5/31545Setting modes for dosing
    • A61M5/31548Mechanically operated dose setting member
    • A61M5/31555Mechanically operated dose setting member by purely axial movement of dose setting member, e.g. during setting or filling of a syringe
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/178Syringes
    • A61M5/31Details
    • A61M5/315Pistons; Piston-rods; Guiding, blocking or restricting the movement of the rod or piston; Appliances on the rod for facilitating dosing ; Dosing mechanisms
    • A61M5/31565Administration mechanisms, i.e. constructional features, modes of administering a dose
    • A61M5/31576Constructional features or modes of drive mechanisms for piston rods
    • A61M2005/31588Constructional features or modes of drive mechanisms for piston rods electrically driven
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Definitions

  • the continuous syringe may include a syringe, a plunger rod, a needle, a medicine bottle, a connecting tube connecting the medicine bottle and the syringe, a stepper motor, and a first one-way valve disposed between the needle and the syringe. , the second one-way valve arranged between the connecting tube and the syringe. Wherein, both the first one-way valve and the second one-way valve are closed when the piston push rod does not move.
  • the target number of steps can represent the distance that the stepper motor pushes the piston push rod forward during a single injection.
  • determining the target number of steps of the stepper motor in the single injection process may include the following steps S2210-S2220:
  • step S2210 the total capacity of the second syringe and the total stroke of the second piston push rod in the second syringe may be obtained to determine the target number of steps.
  • the injection operation may be an operation performed by a user pressing an injection button on the continuous injector during the process of executing the injection procedure by the continuous injector.
  • the user may press the injection button once to trigger an injection operation, and the user does not need to keep pressing the injection button during each injection.
  • step S2300 of this embodiment will be performed once.
  • step S3600 may be continued to reduce the speed until the stepping motor stops losing steps.
  • a module for recording injection information of a continuous injector the injection information including at least the total number of injections and/or the total dose of injected liquid;

Abstract

A continuous syringe control method comprises the following steps: acquiring a single injection dose of a continuous syringe (S2100); determining, according to the single injection dose, a target number of steps of a stepper motor in a single injection process (S2200); and in response to an injection operation, controlling the stepper motor to rotate according to the target number of steps, so as to push a piston push rod forward and eject a liquid from a barrel, wherein the amount of the ejected liquid is the same as the single injection dose (S2300).

Description

连续注射器的控制方法、装置及连续注射器Control method, device and continuous injector of continuous injector 技术领域technical field
本公开涉及控制技术领域,更具体地,本公开涉及一种连续注射器的控制方法、一种连续注射器的控制装置、及一种连续注射器。The present disclosure relates to the technical field of control, and more particularly, to a method for controlling a continuous injector, a control device for a continuous injector, and a continuous injector.
背景技术Background technique
目前的注射器大多采用手动的方式。现有的手动注射器,需要用户手动挤压注射器,对动物进行注射。但是,由于在农业、畜禽等领域因需要注射的对象数量庞大,通过手动的方式进行注射,会导致用户容易疲劳。Most of the current syringes are manual. The existing manual syringe requires the user to manually squeeze the syringe to inject the animal. However, due to the large number of objects that need to be injected in the fields of agriculture, livestock and poultry, manual injection may cause the user to be easily fatigued.
发明内容SUMMARY OF THE INVENTION
本公开实施例的一个目的是提供一种至少能够解决上述问题之一的新的技术方案。An object of the embodiments of the present disclosure is to provide a new technical solution capable of solving at least one of the above problems.
根据本公开的第一方面,提供了一种连续注射器的控制方法,所述连续注射器包括针筒、活塞推杆、步进电机;所述方法包括:According to a first aspect of the present disclosure, a method for controlling a continuous injector is provided, the continuous injector includes a syringe, a piston push rod, and a stepper motor; the method includes:
获取所述连续注射器的单次注射剂量;根据所述单次注射剂量,确定所述步进电机在单次注射过程中的目标步数;响应于注射操作,控制所述步进电机根据所述目标步数转动,以推动所述活塞推杆前进,将所述针筒内的液体推出;其中,推出液体的剂量与所述单次注射剂量相同。Acquire a single injection dose of the continuous injector; determine the target number of steps of the stepper motor in a single injection process according to the single injection dose; control the stepper motor according to the The target number of steps is rotated to push the piston push rod forward to push out the liquid in the syringe; wherein, the dose of the liquid pushed out is the same as the single injection dose.
可选的,所述根据所述单次注射量,确定所述步进电机推动所述活塞推杆的单次行程包括:Optionally, according to the single injection amount, determining the single stroke of the stepper motor to push the piston push rod includes:
获取所述针筒的总容量、及所述活塞推杆在所述针筒内的总行程;根据所述单次注射剂量、所述总容量和总行程,确定所述目标步数。Obtain the total volume of the syringe and the total stroke of the piston push rod in the syringe; determine the target number of steps according to the single injection dose, the total volume and the total stroke.
可选的,所述连续注射器还包括药瓶、以及连接所述药瓶和所述针筒的连接管;所述方法还包括:Optionally, the continuous syringe further includes a medicine bottle and a connecting tube connecting the medicine bottle and the syringe; the method further includes:
检测所述针筒内液体的剩余剂量;在所述剩余剂量小于所述目标注射剂量的情况下,控制所述步进电机带动所述活塞推杆退回预设的初始位置上,以将所述药瓶内的液体吸入所述针筒,使得所述针筒内充满所述液体。Detecting the remaining dose of liquid in the syringe; when the remaining dose is less than the target injection dose, controlling the stepper motor to drive the piston push rod to return to a preset initial position to move the The liquid in the vial is drawn into the syringe so that the syringe is filled with the liquid.
可选的,所述方法还包括:Optionally, the method further includes:
检测所述连接管内是否存在气泡;在所述连接管内存在气泡的情况下,控制所述步进电机停止转动,并发出警报。Detect whether there are air bubbles in the connecting pipe; if there are air bubbles in the connecting pipe, control the stepping motor to stop rotating and issue an alarm.
可选的,所述控制所述步进电机带动所述活塞推杆退回预设的初始位置上包括:Optionally, the controlling the stepper motor to drive the piston push rod to return to a preset initial position includes:
在控制所述步进电机带动所述活塞推杆退回的过程中,按照第二设定 频率检测所述步进电机是否丢步;在检测到所述步进电机丢步的情况下,确定所述步进电机带动所述活塞推杆退回初始位置上,控制所述步进电机停止转动。In the process of controlling the stepper motor to drive the piston push rod to retreat, it is detected whether the stepper motor loses steps according to the second set frequency; The stepping motor drives the piston push rod to return to the initial position, and controls the stepping motor to stop rotating.
可选的,所述方法还包括:Optionally, the method further includes:
响应于进入排空状态的操作,控制所述连续注射器进入排空状态;在接收到启动排空操作的情况下,控制所述步进电机推动所述活塞推杆前进,以将所述针筒内的空气排出;在接收到停止排空操作的情况下,控制所述步进电机带动所述活塞推杆退回预设的初始位置上,以将所述药瓶内的液体吸入所述针筒。In response to the operation to enter the emptying state, the continuous syringe is controlled to enter the emptying state; in the case of receiving the start emptying operation, the stepper motor is controlled to push the piston push rod forward to move the syringe forward. The air in the medicine bottle is discharged; in the case of receiving the stop emptying operation, the stepper motor is controlled to drive the piston push rod to return to the preset initial position, so as to suck the liquid in the medicine bottle into the syringe .
可选的,所述方法还包括:Optionally, the method further includes:
在控制所述步进电机转动的过程中,按照预设的加速度控制所述步进电机增加转速;在控制所述步进电机增加转速的过程中,按照第一设定频率检测所述步进电机是否丢步;在所述步进电机丢步的情况下,按照预设的规则降低所述步进电机的转速;在所述步进电机在按照降低后的转速转动的过程中停止丢步的情况下,确定所述步进电机的当前转速,作为目标转速;控制所述步进电机按照所述目标转速进行转动。In the process of controlling the rotation of the stepping motor, the stepping motor is controlled to increase the rotational speed according to the preset acceleration; in the process of controlling the stepping motor to increase the rotational speed, the stepping motor is detected according to the first set frequency Whether the motor loses steps; in the case of the stepper motor losing steps, reduce the speed of the stepper motor according to a preset rule; stop losing steps during the process of the stepper motor rotating according to the reduced speed In the case of , determine the current speed of the stepper motor as the target speed; control the stepper motor to rotate according to the target speed.
可选的,所述方法还包括:Optionally, the method further includes:
记录所述连续注射器的注射信息,所述注射信息至少包括总注射次数和/或已注射液体的总剂量;展示所述注射信息。Record the injection information of the continuous injector, the injection information including at least the total number of injections and/or the total dose of the injected liquid; and display the injection information.
根据本公开的第二方面,提供了一种连续注射器的控制装置,所述连续注射器包括针筒、活塞推杆、步进电机;所述装置包括:According to a second aspect of the present disclosure, there is provided a control device for a continuous syringe, the continuous syringe includes a syringe, a piston push rod, and a stepper motor; the device includes:
单次剂量获取模块,用于获取所述连续注射器的单次注射剂量;目标步数确定模块,用于根据所述单次注射剂量,确定所述步进电机在单次注射过程中的目标步数;注射模块,用于响应于注射操作,控制所述步进电机根据所述目标步数转动,以推动所述活塞推杆前进,将所述针筒内的液体推出;其中,推出液体的剂量与所述单次注射剂量相同。A single dose acquisition module is used to acquire a single injection dose of the continuous injector; a target step number determination module is used to determine the target step of the stepper motor in a single injection process according to the single injection dose The injection module is used to control the stepper motor to rotate according to the target number of steps in response to the injection operation, so as to push the piston push rod forward and push out the liquid in the syringe; The dose is the same as the single injection dose.
根据本公开的第三方面,提供了一种连续注射器,包括处理器和存储器,所述存储器用于存储可执行的计算机程序,所述计算机程序用于控制所述处理器执行根据本公开第一方面所述的方法。According to a third aspect of the present disclosure, there is provided a continuous injector comprising a processor and a memory for storing an executable computer program for controlling the processor to perform the first according to the present disclosure the method described in the aspect.
本公开的一个有益效果在于,通过本实施例,根据单次注射剂量确定步进电机的目标步数,并响应于注射操作,控制步进电机根据目标步数转动,以推动活塞推杆前进,将针筒内的液体推出,可以实现按照单次注射剂量自动注射的目的,使得连续注射器的每次的注射量固定、可控,提升用户体验。One beneficial effect of the present disclosure is that, through this embodiment, the target number of steps of the stepper motor is determined according to the single injection dose, and in response to the injection operation, the stepper motor is controlled to rotate according to the target number of steps to push the piston push rod forward, Pushing out the liquid in the syringe can achieve the purpose of automatic injection according to a single injection dose, so that each injection volume of the continuous syringe is fixed and controllable, and the user experience is improved.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其 它特征及其优点将会变得清楚。Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明Description of drawings
被结合在说明书中并构成说明书的一部分的附图示出了本公开的实施例,并且连同其说明一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
图1是可用于实现本公开实施例的连续注射器的硬件配置的一个例子的框图。1 is a block diagram of one example of a hardware configuration of a serial injector that may be used to implement embodiments of the present disclosure.
图2为根据本公开实施例的连续注射器的控制方法的流程示意图。FIG. 2 is a schematic flowchart of a control method of a continuous injector according to an embodiment of the present disclosure.
图3为根据本公开实施例的连续注射器的控制方法一个例子的流程示意图。FIG. 3 is a schematic flowchart of an example of a method for controlling a continuous injector according to an embodiment of the present disclosure.
图4为根据本公开实施例的连续注射器的控制方法另一个例子的流程示意图。FIG. 4 is a schematic flowchart of another example of a method for controlling a continuous injector according to an embodiment of the present disclosure.
图5为根据本公开实施例的连续注射器的控制装置的方框原理图。5 is a block schematic diagram of a control device for a continuous injector according to an embodiment of the present disclosure.
图6为根据本公开实施例的连续注射器的方框原理图。6 is a block schematic diagram of a continuous injector according to an embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses in any way. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification. In all examples shown and discussed herein, any specific values should be construed as illustrative only and not limiting. Accordingly, other instances of the exemplary embodiment may have different values. It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.
<硬件配置><Hardware configuration>
图1是示出可以实现本公开的实施例的连续注射器1000的硬件配置的框图。FIG. 1 is a block diagram showing a hardware configuration of a continuous injector 1000 in which embodiments of the present disclosure may be implemented.
如图1所示,连续注射器1000可以包括处理器1100、存储器1200、接口装置1300、通信装置1400、显示装置1500、输入装置1600、扬声器1700、麦克风1800等等。其中,处理器1100可以是中央处理器CPU、微处理器MCU等。存储器1200例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置1300例如包括任意类型的USB接口、耳机接口等。通信装置1400例如能够进行有线或无线通 信,具体地可以包括Wifi通信、蓝牙通信、2G/3G/4G/5G通信等。显示装置1500例如是液晶显示屏、触摸显示屏等。输入装置1600例如可以包括触摸屏、键盘、体感输入等。用户可以通过扬声器1700和麦克风1800输入/输出语音信息。As shown in FIG. 1, continuous injector 1000 may include processor 1100, memory 1200, interface device 1300, communication device 1400, display device 1500, input device 1600, speaker 1700, microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, any type of USB interface, headphone interface, and the like. The communication device 1400 is capable of, for example, wired or wireless communication, and may specifically include Wifi communication, Bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display, a touch display, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The user can input/output voice information through the speaker 1700 and the microphone 1800 .
在本公开的实施例中,连续注射器1000可以通过通信装置1400与服务器或者是上位机进行通信。In the embodiment of the present disclosure, the continuous injector 1000 may communicate with the server or the upper computer through the communication device 1400 .
图1所示的连续注射器仅仅是说明性的并且决不意味着对本公开、其应用或使用的任何限制。应用于本公开的实施例中,连续注射器1000的所述存储器1200用于存储指令,所述指令用于控制所述处理器1100进行操作以执行本公开实施例提供的任意一项方法。本领域技术人员应当理解,尽管在图1中对连续注射器1000示出了多个装置,但是,本公开可以仅涉及其中的部分装置,例如,连续注射器1000只涉及处理器1100、存储装置1200和通信装置1400。技术人员可以根据本公开所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。The continuous injector shown in Figure 1 is merely illustrative and in no way imply any limitation on the present disclosure, its application or use. Applied to the embodiments of the present disclosure, the memory 1200 of the continuous injector 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to execute any one of the methods provided by the embodiments of the present disclosure. It will be understood by those skilled in the art that although a plurality of devices are shown for the continuous injector 1000 in FIG. 1 , the present disclosure may only relate to some of the devices, for example, the continuous injector 1000 only relates to the processor 1100 , the storage device 1200 and the Communication device 1400. A skilled person can design instructions according to the solutions disclosed in the present disclosure. How the instruction controls the processor to operate is well known in the art, so it will not be described in detail here.
<方法实施例><Method Example>
在本实施例中,提供一种连续注射器的控制方法。该方法可以是由连续注射器实施。该连续注射器可以是如图1所示的连续注射器1000。In this embodiment, a control method of a continuous injector is provided. The method can be carried out by a continuous syringe. The continuous injector may be the continuous injector 1000 shown in FIG. 1 .
在本实施例中,连续注射器可以包括针筒,活塞推杆,针头,药瓶,连接药瓶和针筒的连接管,步进电机,设置在针头和针筒之间的第一单向阀,设置在连接管和针筒之间的第二单向阀。其中,第一单向阀和第二单向阀在活塞推杆没有移动的情况下均是关闭的。In this embodiment, the continuous syringe may include a syringe, a plunger rod, a needle, a medicine bottle, a connecting tube connecting the medicine bottle and the syringe, a stepper motor, and a first one-way valve disposed between the needle and the syringe. , the second one-way valve arranged between the connecting tube and the syringe. Wherein, both the first one-way valve and the second one-way valve are closed when the piston push rod does not move.
药瓶内可以存放有用于注射的液体,例如药液等。Liquids for injection, such as medicinal liquids, can be stored in the vial.
针筒与针头连接,活塞推杆设置在针筒内,步进电机可以通过沿第一方向的转动来推动活塞推杆向针头方向前进,使得第一单向阀打开、第二单向阀关闭,以将针筒内的空气和/或液体通过针头推出,实现注射。步进电机还可以通过沿第二方向的转动来带动活塞推杆后退,使得第一单向阀关闭、第二单向阀打开,以将药瓶内的液体通过连接管吸入针筒中。其中,第一方向和第二方向相反。例如,在第一方向为顺时针方向的情况下,第二方向为逆时针方向;在第一方向为逆时针方向的情况下,第二方向为顺时针方向。The needle cylinder is connected with the needle head, the piston push rod is arranged in the needle cylinder, and the stepper motor can push the piston push rod to move forward in the direction of the needle head by rotating in the first direction, so that the first one-way valve is opened and the second one-way valve is closed. , to push the air and/or liquid in the barrel through the needle to achieve injection. The stepper motor can also drive the piston push rod backward by rotating in the second direction, so that the first one-way valve is closed and the second one-way valve is opened, so as to suck the liquid in the medicine bottle into the syringe through the connecting tube. Wherein, the first direction and the second direction are opposite. For example, when the first direction is a clockwise direction, the second direction is a counterclockwise direction; when the first direction is a counterclockwise direction, the second direction is a clockwise direction.
根据图2所示,本实施例的方法可以包括如下步骤S2100~S2300:As shown in FIG. 2 , the method of this embodiment may include the following steps S2100 to S2300:
步骤S2100,获取连续注射器的单次注射剂量。Step S2100, obtaining a single injection dose of the continuous injector.
在本公开的一个实施例中,该单次注射剂量可以是用户根据应用场景或具体需求所设定的。例如,用户可以根据待注射的药液的类型和/或注射对象(例如可以是畜禽等动物,在每次开启连续注射器的情况下对本轮 注射过程中的单次注射剂量进行设置。In an embodiment of the present disclosure, the single injection dose may be set by a user according to an application scenario or specific needs. For example, the user can set the single injection dose in the current round of injection when the continuous injector is turned on each time according to the type of the medicinal liquid to be injected and/or the injection object (for example, animals such as livestock and poultry.
连续注射器上还可以设置有用于设置单次注射剂量的按钮,该按钮例如可以包括0~9的数字所对应的数字按钮和确认按钮,也可以包括增加按钮和减小按钮。The continuous injector may also be provided with a button for setting a single injection dose, for example, the button may include a number button corresponding to the numbers 0-9 and a confirmation button, and may also include an increase button and a decrease button.
在连续注射器上设置有数字按钮的情况下,用户可以通过点击对应的数字按钮之后,再点击确认按钮,来设置单次注射剂量。例如,在单次注射剂量为1ml的情况下,用户可以是点击1所对应的数字按钮,再点击确认按钮,完成单次注射剂量的设置。In the case where a number button is provided on the continuous syringe, the user can set a single injection dose by clicking the corresponding number button and then clicking the confirm button. For example, when the single injection dose is 1ml, the user can click the number button corresponding to 1, and then click the confirm button to complete the setting of the single injection dose.
在连续注射器上设置有增加按钮和减小按钮的情况下,连续注射器可以是预先显示预设的初始注射剂量,例如可以是0。在用户点击增加按钮或减小的情况下,连续注射器根据预设的剂量步长,来更新显示的注射剂量。例如,在用户点击增加按钮之前连续注射器显示的注射剂量为X,预设的剂量步长为ΔX,那么,在用户点击增加按钮一下的情况下,连续注射器显示的注射剂量更新为X+ΔX;在用户点击减小按钮一下的情况下,连续注射器显示的注射剂量更新为X-ΔX。In the case where an increase button and a decrease button are provided on the continuous injector, the continuous injector may display a preset initial injection dose in advance, for example, it may be 0. When the user clicks the increase button or the decrease, the continuous injector updates the displayed injection dose according to the preset dose step. For example, before the user clicks the increase button, the injection dose displayed by the continuous injector is X, and the preset dose step is ΔX, then, when the user clicks the increase button, the injection dose displayed by the continuous injector is updated to X+ΔX; When the user clicks the decrease button once, the injection dose displayed by the continuous injector is updated to X-ΔX.
用户在连续注射器显示的注射剂量与单次注射剂量相同的情况下,可以停止按动增加按钮和减小按钮,连续注射器在检测到用户未按动增加按钮和减小按钮的时长超过设定时长的情况下,将显示的注射剂量作为单次注射剂量。When the injection dose displayed by the continuous syringe is the same as the single injection dose, the user can stop pressing the increase button and the decrease button. The continuous syringe detects that the user has not pressed the increase button and the decrease button for more than the set time period. In the case of , treat the injection dose shown as a single injection dose.
步骤S2200,根据单次注射剂量,确定步进电机在单次注射过程中的目标步数。Step S2200, according to the single injection dose, determine the target number of steps of the stepping motor in the single injection process.
该目标步数可以表示在单次注射过程中步进电机推动活塞推杆前进的距离。The target number of steps can represent the distance that the stepper motor pushes the piston push rod forward during a single injection.
在本公开的一个实施例中,根据单次注射剂量,确定步进电机在单次注射过程中的目标步数可以包括如下所示的步骤S2210~S2220:In an embodiment of the present disclosure, according to the single injection dose, determining the target number of steps of the stepper motor in the single injection process may include the following steps S2210-S2220:
步骤S2210,获取针筒的总容量、及活塞推杆在针筒内的总行程。In step S2210, the total capacity of the syringe and the total stroke of the piston push rod in the syringe are obtained.
步骤S2220,根据单次注射剂量、总容量和总行程,确定目标步数。Step S2220: Determine the target number of steps according to the single injection dose, total volume and total stroke.
在本实施例中,针筒的总容量和活塞推杆在针筒内的总行程可以是由连续注射器的针筒所决定的,在针筒不变的情况下,针筒的总容量和活塞推杆在针筒内的总行程也不会发生改变。因此,可以是将针筒的总容量和活塞推杆在针筒内的总行程预先存储在连续注射器中,在每次确定目标步数的时候直接调用。In this embodiment, the total capacity of the syringe and the total stroke of the piston push rod in the syringe can be determined by the syringe of the continuous syringe. Under the condition that the syringe remains unchanged, the total capacity of the syringe and the piston The total stroke of the plunger in the barrel also does not change. Therefore, the total volume of the syringe and the total stroke of the plunger in the syringe can be stored in the continuous syringe in advance, and called directly each time the target number of steps is determined.
例如,在总容量为C1,单次注射剂量为C2,活塞推杆在针筒内的总行程为L1的情况下,目标步数L2可以表示为:
Figure PCTCN2021121669-appb-000001
For example, when the total volume is C1, the single injection dose is C2, and the total stroke of the plunger rod in the syringe is L1, the target number of steps L2 can be expressed as:
Figure PCTCN2021121669-appb-000001
在本公开的一个实施例中,可以是预先设置有两套配合使用的针筒和活塞推杆。对于第一套配合使用的第一个针筒和第一个活塞推杆,第一个活塞推杆上可以设置有磁铁。对于第二套配合使用的第二个针筒和第二个活塞推杆,第二个活塞推杆上可以不设置磁铁。第一个针筒和第二个针筒的总容量可以不同,第一个活塞推杆在第一个针筒内的总行程、与第二个活塞推杆在第二个针筒内的总行程也可以不同。In one embodiment of the present disclosure, there may be two sets of syringes and piston push rods that are used together in advance. For the first syringe and the first piston push rod used together with the first set, a magnet may be provided on the first piston push rod. For the second syringe and the second piston push rod used with the second set, the second piston push rod may not be provided with a magnet. The total capacity of the first syringe and the second syringe can be different, the total stroke of the first plunger rod in the first syringe, and the total stroke of the second plunger rod in the second syringe The itinerary can also vary.
连续注射器中可以设置有霍尔传感器。在通过霍尔传感器检测到磁场的情况下,可以确定连续注射器使用的是第一个针筒和第一个活塞推杆。那么,在步骤S2210中可以是获取第一个针筒的总容量和第一个活塞推杆在第一个针筒内的总行程,来确定目标步数。Hall sensors may be provided in the continuous syringe. With the detection of the magnetic field by the Hall sensor, it can be determined that the continuous syringe is using the first barrel and the first plunger. Then, in step S2210, the total capacity of the first syringe and the total stroke of the first piston push rod in the first syringe may be obtained to determine the target number of steps.
在通过霍尔传感器未检测到磁场的情况下,可以确定连续注射器使用的是第二个针筒和第二个活塞推杆。那么,在步骤S2210中可以是获取第二个针筒的总容量和第二个活塞推杆在第二个针筒内的总行程,来确定目标步数。In the absence of a magnetic field detected by the Hall sensor, it can be determined that the continuous syringe is using a second barrel and a second plunger. Then, in step S2210, the total capacity of the second syringe and the total stroke of the second piston push rod in the second syringe may be obtained to determine the target number of steps.
通过本实施例,可以实现两套配合使用的针筒和活塞推杆切换时的自动识别。Through this embodiment, automatic identification when switching between two sets of matched syringes and piston push rods can be realized.
步骤S2300,响应于注射操作,控制步进电机根据目标步数转动,以推动活塞推杆前进,将针筒内的液体推出。其中,推出液体的剂量与步骤S2100中所获得的单次注射剂量相同。In step S2300, in response to the injection operation, the stepper motor is controlled to rotate according to the target number of steps, so as to push the piston push rod forward and push out the liquid in the syringe. The dose of the ejected liquid is the same as the single injection dose obtained in step S2100.
在本公开的一个实施例中,注射操作可以是在连续注射器执行注射程序的过程中,用户按动连续注射器上的注射按键的操作。例如,在连续注射器执行注射程序的过程中,用户可以是按压该注射按键一次,就会触发一次注射操作,无需用户在每次注射的过程中都要保持按压注射按键的动作。连续注射器在每次接收到注射操作时,都会执行一次本实施例的步骤S2300。In one embodiment of the present disclosure, the injection operation may be an operation performed by a user pressing an injection button on the continuous injector during the process of executing the injection procedure by the continuous injector. For example, in the process of executing the injection procedure with the continuous injector, the user may press the injection button once to trigger an injection operation, and the user does not need to keep pressing the injection button during each injection. Each time the continuous injector receives an injection operation, step S2300 of this embodiment will be performed once.
在本实施例中,控制步进电机根据目标步数转动,具体可以是根据目标步数、和预先存储的步进电机的电机参数,生成对应的第一脉冲信号,以使步进电机在该第一脉冲信号的驱动下进行沿第一方向转动,在正常情况下,第一脉冲信号驱动步进电机移动的步数与目标步数相同。In this embodiment, the stepper motor is controlled to rotate according to the target number of steps. Specifically, the corresponding first pulse signal may be generated according to the target number of steps and the pre-stored motor parameters of the stepper motor, so that the stepper motor can rotate in the Driven by the first pulse signal, it rotates in the first direction. Under normal circumstances, the number of steps that the first pulse signal drives the stepping motor to move is the same as the target number of steps.
其中,电机参考可以包括步进电机的步距角、电机驱动器细分数、电机轴一周的导程。Wherein, the motor reference may include the step angle of the stepper motor, the number of subdivisions of the motor driver, and the lead of one revolution of the motor shaft.
在控制步进电机根据目标步数转动的过程中,步进电机会推动活塞推杆向针头方向前进,使得设置在针筒和针头之间的第一单向阀开启,将针筒内的液体推出,在针筒内不包含空气、且包含液体的剂量大于单次注射剂量、且步进电机不丢步的正常情况下,推出的液体的剂量与单次注射剂 量相同。In the process of controlling the stepper motor to rotate according to the target number of steps, the stepper motor will push the piston push rod forward in the direction of the needle head, so that the first one-way valve set between the needle cylinder and the needle head is opened, and the liquid in the needle cylinder is opened. For ejection, in the normal case that the syringe does not contain air, and the dose of liquid contained is greater than the single injection dose, and the stepper motor does not lose steps, the ejected liquid dose is the same as the single injection dose.
通过本实施例,根据单次注射剂量确定步进电机的目标步数,并响应于注射操作,控制步进电机根据目标步数转动,以推动活塞推杆前进,将针筒内的液体推出,可以实现按照单次注射剂量自动注射的目的,使得连续注射器的每次的注射量固定、可控,提升用户体验。Through this embodiment, the target number of steps of the stepper motor is determined according to the single injection dose, and in response to the injection operation, the stepper motor is controlled to rotate according to the target number of steps, so as to push the piston push rod forward and push out the liquid in the syringe, The purpose of automatic injection according to a single injection dose can be achieved, so that each injection volume of the continuous injector is fixed and controllable, and the user experience is improved.
在本公开的一个实施例中,该方法还可以包括如下所示的步骤S2400~S2500:In an embodiment of the present disclosure, the method may further include steps S2400 to S2500 as shown below:
步骤S2400,检测针筒内液体的剩余剂量。Step S2400, detecting the remaining dose of the liquid in the syringe.
在本实施例中,连续注射器可以是根据步进电机的推出距离、和前述步骤S2210所得到总容量和总行程,得到针筒内液体的剩余剂量。In this embodiment, the continuous syringe may obtain the remaining dose of the liquid in the syringe according to the push-out distance of the stepper motor, and the total volume and total stroke obtained in the foregoing step S2210.
在本实施例中,步进电机的推出距离可以是根据目标步数,以及步进电机在最后一次吸入液体之后、接收到注射操作的次数所确定的。例如,在目标步数为L2,步进电机在最后一次吸入液体之后、接收到注射操作的次数为N1,那么,步进电机的推出距离L3可以表示为L3=L2*N1。In this embodiment, the push-out distance of the stepper motor may be determined according to the target number of steps and the number of times the stepper motor receives the injection operation after the last suction of the liquid. For example, if the target number of steps is L2, and the number of times the stepper motor receives injection operations after the last suction of liquid is N1, then the push-out distance L3 of the stepper motor can be expressed as L3=L2*N1.
在总容量为C1,总行程为L1,步进电机的推出距离为L3的情况下,针筒内液体的剩余剂量C3可以表示为:
Figure PCTCN2021121669-appb-000002
When the total volume is C1, the total stroke is L1, and the push-out distance of the stepper motor is L3, the remaining dose C3 of the liquid in the syringe can be expressed as:
Figure PCTCN2021121669-appb-000002
步骤S2500,在剩余剂量小于目标注射剂量的情况下,控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒,使得针筒内充满液体。Step S2500, when the remaining dose is less than the target injection dose, the stepper motor is controlled to drive the piston push rod to return to the initial position, so as to suck the liquid in the medicine bottle into the syringe, so that the syringe is filled with liquid.
在剩余剂量小于目标注射剂量的情况下,表明连续注射器需要重新吸入液体。因此,控制步进电机带动活塞推杆退回初始位置上,可以是根据步进电机的推出距离生成第二脉冲信号,该第二脉冲信号可以驱动步进电机沿第二方向转动、并向远离针头的方向退回至初始位置上,且步进电机退回的距离与前述的推出距离L3相同。In cases where the remaining dose is less than the target injected dose, the continuous syringe needs to be re-aspirated. Therefore, to control the stepper motor to drive the piston push rod back to the initial position, a second pulse signal can be generated according to the push-out distance of the stepper motor, and the second pulse signal can drive the stepper motor to rotate in the second direction and move away from the needle. Return to the initial position in the direction of the stepper motor, and the distance that the stepper motor retreats is the same as the aforementioned push-out distance L3.
在步进电机带动活塞推杆退回的过程中,设置在连接管和针筒之间的第二单向阀开启,药瓶内的液体被吸入针筒中。在步进电机带动活塞推杆退回初始位置上的情况下,针筒内液体的剂量与针筒的总容量相同。When the stepper motor drives the piston push rod to retreat, the second one-way valve arranged between the connecting pipe and the syringe is opened, and the liquid in the medicine bottle is sucked into the syringe. When the stepper motor drives the piston push rod to return to the initial position, the dose of liquid in the syringe is the same as the total volume of the syringe.
在本实施例中,在针筒内液体的剩余剂量小于目标注射剂量的情况下,通过控制步进电机带动活塞推杆退回至初始位置上,从药瓶内吸入液体,可以使得连续注射器能够自动地进行连续注射。In this embodiment, when the remaining dose of the liquid in the syringe is less than the target injection dose, the stepper motor is controlled to drive the piston push rod to return to the initial position, and the liquid is sucked from the medicine bottle, so that the continuous syringe can be automatically continuous injection.
在本公开的一个实施例中,该方法还可以包括:In an embodiment of the present disclosure, the method may further include:
在控制步进电机带动活塞推杆退回的过程中,按照第二设定频率检测步进电机是否丢步;在检测到步进电机丢步的情况下,确定步进电机带动活塞推杆退回初始位置上,控制步进电机停止转动。In the process of controlling the stepper motor to drive the piston push rod back, check whether the stepper motor loses steps according to the second set frequency; in the case of detecting the stepper motor lost steps, it is determined that the stepper motor drives the piston push rod to return to the initial stage position, control the stepper motor to stop rotating.
在本实施例中,连续注射器中可以设置有编码器,用于检测步进电机在每个脉冲的驱动下所转动的实际移动距离。根据步进电机的步距角和细分数,可以确定步进电机在一个脉冲的驱动下的目标移动距离。在该实际移动距离与目标移动距离不符的情况下,可以确定步进电机丢步。In this embodiment, an encoder may be provided in the continuous injector to detect the actual moving distance of the stepping motor rotated by each pulse. According to the step angle and subdivision number of the stepping motor, the target moving distance of the stepping motor under the driving of one pulse can be determined. In the case that the actual moving distance does not match the target moving distance, it can be determined that the stepper motor has lost a step.
该第二设定频率可以是预先根据应用场景或具体需求所设定的,例如,该第二设定频率可以是与用于驱动步进电机的脉冲信号的频率相同,以确定步进电机在每个脉冲信号的驱动下转动时是否丢步。The second set frequency may be set in advance according to the application scenario or specific requirements. For example, the second set frequency may be the same as the frequency of the pulse signal used to drive the stepping motor, so as to determine whether the stepping motor is in Whether to lose steps when rotating under the drive of each pulse signal.
在本公开的一个实施例中,在连续注射器从药瓶中吸入液体的过程中,该方法还可以包括如下所示的步骤S2600~S2700:In an embodiment of the present disclosure, during the process of inhaling the liquid from the medicine bottle by the continuous syringe, the method may further include the following steps S2600-S2700:
步骤S2600,检测连接管内是否存在气泡。Step S2600, detecting whether air bubbles exist in the connecting pipe.
在本实施例中,可以是在连续注射器上设置有卡槽、及设置在卡槽处的气泡传感器,连接管可以是固定在该卡槽中。通过气泡传感器可以检测卡槽中的部分连接管内是否存在气泡。In this embodiment, the continuous syringe may be provided with a card slot and a bubble sensor arranged at the card slot, and the connecting tube may be fixed in the card slot. The air bubble sensor can detect whether there are air bubbles in some connecting pipes in the card slot.
步骤S2700,在连接管内存在气泡的情况下,控制步进电机停止转动,并发出警报。Step S2700, in the case of the existence of air bubbles in the connecting pipe, the stepper motor is controlled to stop rotating, and an alarm is issued.
如果检测到连接管内存在气泡,则表明药瓶内的液体用尽,需要更换药瓶或者是重新在药瓶内倒入液体。如果继续步进电机带动活塞推杆退回,可能会导致针筒内进入空气,因此,需要控制步进电机停止转动,以避免将空气吸入针筒内。If it is detected that there are air bubbles in the connecting tube, it means that the liquid in the medicine bottle is exhausted, and the medicine bottle needs to be replaced or the liquid should be poured into the medicine bottle again. If the stepper motor continues to drive the piston push rod back, it may cause air to enter the syringe. Therefore, it is necessary to control the stepper motor to stop rotating to avoid air being sucked into the syringe.
通过发出警报,可以提醒用户更换药瓶或者是重新在药瓶内倒入液体,以继续进行注射。By sounding an alarm, the user can be reminded to replace the vial or refill the vial to continue the injection.
在本公开的一个实施例中,该方法还可以包括如下所示的步骤S3100~S3300:In an embodiment of the present disclosure, the method may further include steps S3100 to S3300 as shown below:
步骤S3100,响应于进入排空状态的操作,控制连续注射器进入排空状态。Step S3100, in response to the operation of entering the emptying state, control the continuous syringe to enter the emptying state.
在本实施例中,连续注射器上可以设置有排空程序启动按钮,用户通过点击该按钮,触发进入排空状态的操作。In this embodiment, an emptying program start button may be provided on the continuous syringe, and the user can trigger the operation to enter the emptying state by clicking the button.
通过控制连续注射器进入排空状态,可以使得连续注射器在排空状态下,将针筒内的空气排出,并保留针筒内的液体。By controlling the continuous syringe to enter the emptying state, the continuous syringe can be made to discharge the air in the syringe barrel and retain the liquid in the syringe barrel in the emptying state.
步骤S3200,在接收到启动排空操作的情况下,控制步进电机推动活塞推杆前进,以将针筒内的空气排出。Step S3200, in the case of receiving the start-up emptying operation, the stepper motor is controlled to push the piston push rod forward, so as to discharge the air in the syringe.
在本公开的一个实施例中,用户可以是通过按压排空按钮,触发启动排空操作。In one embodiment of the present disclosure, the user may trigger the start of the emptying operation by pressing the emptying button.
本实施例中的该排空按钮与前述的注射按钮,可以是由同一按钮提供,例如,该按钮可以是扳机。The emptying button in this embodiment and the aforementioned injection button may be provided by the same button, for example, the button may be a trigger.
在第一个例子中,可以是在用户按压排空按钮的过程中,连续注射器可以接收到启动排空操作,控制步进电机推动活塞推杆前进。In the first example, when the user presses the emptying button, the continuous syringe can receive the start emptying operation, and control the stepper motor to push the piston push rod forward.
在本实施例中,用户可以根据实际情况,在针筒内存在空气的情况下,持续按压排空按钮,以将针筒内的空气全部排出,并保留针筒内的液体。In this embodiment, according to the actual situation, the user can continuously press the emptying button when there is air in the syringe to exhaust all the air in the syringe and retain the liquid in the syringe.
在第二个例子中,可以是用户按压一下排空按钮,连续注射器就可以接收到启动排空操作,控制步进电机推动活塞推杆前进至指定位置上。其中,该指定位置为针筒内与靠近针头的位置,当活塞推杆位于指定位置上时,步进电机无法再推动活塞前进,针筒内的空气和液体全部排出。In the second example, the user can press the emptying button, and the continuous syringe can receive the start emptying operation, and control the stepper motor to push the piston push rod to advance to the designated position. Among them, the designated position is the position in the syringe and near the needle. When the piston push rod is at the designated position, the stepper motor can no longer push the piston forward, and the air and liquid in the syringe are completely discharged.
步骤S3300,在接收到停止排空操作的情况下,控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒。Step S3300, in the case of receiving the stop emptying operation, the stepper motor is controlled to drive the piston push rod to return to the initial position, so as to suck the liquid in the medicine bottle into the syringe.
在前述的第一个例子的基础上,可以是用户释放该排空按钮,触发停止排空操作,连续注射器自动控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒。On the basis of the aforementioned first example, the user can release the emptying button to trigger the stop emptying operation, and the continuous syringe automatically controls the stepper motor to drive the piston push rod to return to the initial position, so as to suck the liquid in the medicine bottle Syringe.
在前述的第二个例子的基础上,可以是步进电机推动活塞推杆前进至指定位置上的情况下,自动触发停止排空操作。使得连续注射器在活塞推杆前进至指定位置之后,直接控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒。On the basis of the aforementioned second example, when the stepper motor pushes the piston push rod to advance to a specified position, the emptying operation is automatically triggered to stop. So that the continuous syringe directly controls the stepper motor to drive the piston push rod to return to the initial position after the piston push rod advances to the designated position, so as to suck the liquid in the medicine bottle into the syringe.
通过本实施例的排空操作,可以保证注射之前针筒内没有空气,避免将空气注入注射对象体内,保证注射对象的安全。Through the emptying operation of this embodiment, it can be ensured that there is no air in the syringe before injection, so as to avoid injecting air into the body of the injection object and ensure the safety of the injection object.
在实际的注射场景中,由于待注射的液体的粘稠度可能不同,连续注射器所采用的针头的粗细也可能不同,导致步进电机推动活塞推杆的压力也可能不同。在压力较大时,步进电机可以是通过较慢的速度推动活塞推杆;在压力较小时,步进电机可以是通过较快的速度推动活塞推杆。In an actual injection scenario, since the viscosity of the liquid to be injected may be different, the thickness of the needle used in the continuous injector may also be different, resulting in different pressures of the stepper motor to push the piston push rod. When the pressure is high, the stepper motor can push the piston push rod at a slower speed; when the pressure is small, the stepper motor can push the piston push rod at a faster speed.
在本公开的一个实施例中,在排空过程中,或者是在连续注射器开机后首次注射过程中,该方法还可以包括自适应确定本轮注射过程中的目标转速的步骤,包括如下所示的步骤S3400~S3800:In an embodiment of the present disclosure, during the emptying process, or during the first injection process after the continuous injector is powered on, the method may further include the step of adaptively determining the target rotational speed in the current injection process, including the following steps: Steps S3400~S3800:
步骤S3400,在控制步进电机转动的过程中,按照预设的加速度控制步进电机增加转速。Step S3400, in the process of controlling the rotation of the stepping motor, control the stepping motor to increase the rotational speed according to a preset acceleration.
具体的,可以是在步进电机推动活塞推杆前进的过程中,按照预设的加速度控制步进电机增加转速。步进电机的初始转速例如可以是0。Specifically, in the process of pushing the piston push rod forward by the stepping motor, the stepping motor may be controlled to increase the rotational speed according to the preset acceleration. The initial rotational speed of the stepper motor may be zero, for example.
步骤S3500,在控制步进电机增加转速的过程中,按照第一设定频率检测步进电机是否丢步,在步进电机不丢步的情况下,继续执行步骤S3400;在步进电机丢步的情况下,执行步骤S3600。Step S3500, in the process of controlling the stepper motor to increase the rotational speed, according to the first set frequency to detect whether the stepper motor loses steps, if the stepper motor does not lose steps, continue to perform step S3400; if the stepper motor loses steps In the case of , step S3600 is executed.
在本实施例中,连续注射器中可以设置有编码器,用于检测步进电机在每个脉冲的驱动下所转动的实际移动距离。根据步进电机的步距角和细 分数,可以确定步进电机在一个脉冲的驱动下的目标移动距离。在该实际移动距离与目标移动距离不符的情况下,可以确定步进电机丢步。In this embodiment, an encoder may be provided in the continuous injector to detect the actual moving distance of the stepping motor rotated by each pulse. According to the step angle and subdivision of the stepping motor, the target moving distance of the stepping motor under the driving of one pulse can be determined. In the case that the actual moving distance does not match the target moving distance, it can be determined that the stepper motor has lost a step.
该第一设定频率可以是预先根据应用场景或具体需求所设定的,例如,该第一设定频率可以是与用于驱动步进电机的脉冲信号的频率相同,以确定步进电机在每个脉冲信号所对应的转速下转动时是否丢步。The first set frequency may be set in advance according to the application scenario or specific requirements. For example, the first set frequency may be the same as the frequency of the pulse signal used to drive the stepping motor, so as to determine whether the stepping motor is in Whether to lose steps when rotating at the speed corresponding to each pulse signal.
步骤S3600,按照预设的规则降低步进电机的转速。Step S3600, reducing the rotational speed of the stepping motor according to a preset rule.
在一个例子中,可以是按照设定的转速步长降低下个脉冲的所对应的转速,使得步进电机在下个转动周期内按照降低后的转速转动。在发生丢步时步进电机所对应的转速为V1,按照设定的转速步长ΔV降速后,下个脉冲的所对应的转速可以为V2=V1-ΔV。其中,设定的转速步长可以是预先根据应用场景或具体需求所设定的,例如,该转速步长可以是5。In one example, the rotation speed corresponding to the next pulse may be reduced according to the set rotation speed step, so that the stepper motor rotates according to the reduced rotation speed in the next rotation period. When a lost step occurs, the corresponding speed of the stepper motor is V1. After the speed is reduced according to the set speed step ΔV, the corresponding speed of the next pulse can be V2=V1-ΔV. The set rotation speed step size may be set in advance according to the application scenario or specific requirements, for example, the rotation speed step size may be 5.
在另一个例子中,还可以是按照设定的百分比来降低下个脉冲的所对应的转速,使得步进电机在下个转动周期内按照降低后的转速转动。在发生丢步时步进电机所对应的转速为V1,按照设定的百分比M(其中,M为小于100%的百分数)降速后,下个脉冲的所对应的转速可以为V2=V1-V1*M。其中,设定的百分比可以是预先根据应用场景或具体需求所述设定的,例如,设定的百分比可以是10%。In another example, the rotational speed corresponding to the next pulse may also be reduced by a set percentage, so that the stepper motor rotates at the reduced rotational speed in the next rotation period. When a lost step occurs, the corresponding speed of the stepping motor is V1. After the speed is reduced according to the set percentage M (where M is a percentage less than 100%), the corresponding speed of the next pulse can be V2=V1- V1*M. The set percentage may be set in advance according to application scenarios or specific requirements, for example, the set percentage may be 10%.
步骤S3700,在步进电机根据降低后的转速转动的过程中停止丢步的情况下,确定步进电机的当前转速,作为目标转速。Step S3700, in the case that the stepping motor stops losing steps during the rotation according to the reduced rotational speed, determine the current rotational speed of the stepping motor as the target rotational speed.
如果步进电机在按照降速后的当前转速转动的情况下仍然丢步,则可以继续执行步骤S3600来降低转速,直至步进电机停止丢步。If the stepping motor still loses steps even though the stepping motor rotates at the current speed after the speed reduction, step S3600 may be continued to reduce the speed until the stepping motor stops losing steps.
步骤S3800,控制步进电机按照目标转速进行转动。Step S3800, controlling the stepping motor to rotate according to the target rotational speed.
在得到目标转速之后,步进电机可以是在本轮注射过程中,均按照目标转速转动。After the target rotational speed is obtained, the stepper motor may rotate according to the target rotational speed during the injection process of the current round.
通过本实施例,通过检测步进电机是否丢步,来调整步进电机在本轮注射中的转速,在液体较为粘稠、或者是针头较细的情况下,以较低的转速转动;在液体较为稀薄、或者是针头较粗的情况下,以较高的转速转动,这样,可以自适应调整步进电机推动活塞推杆的速度,提升用户体验。Through this embodiment, the speed of the stepper motor in the current round of injection is adjusted by detecting whether the stepper motor loses steps, and when the liquid is relatively viscous or the needle is thin, the rotation speed is lower; When the liquid is thinner or the needle is thicker, it rotates at a higher speed, so that the speed at which the stepper motor pushes the piston push rod can be adaptively adjusted to improve the user experience.
在本公开的一个实施例中,该方法还可以包括:记录连续注射器的注射信息;展示注射信息。其中,注射信息至少包括总注射次数和/或已注射液体的总剂量。In one embodiment of the present disclosure, the method may further include: recording the injection information of the continuous injector; and displaying the injection information. The injection information includes at least the total number of injections and/or the total dose of the injected liquid.
在本实施例中,注射器可以记录每次启动过程中,接收到注射操作的次数,并进行统计,得到总注射次数。根据总注射次数和单次注射剂量,可以得到已注射液体的总剂量。In this embodiment, the injector can record the number of times of injection operations received during each start-up process, and make statistics to obtain the total number of injections. Based on the total number of injections and the single injection dose, the total dose of fluid injected can be obtained.
本实施例通过展示注射信息,可以使得用户能够直观看到本轮注射的 实际情况,可以提升用户体验。By displaying the injection information in this embodiment, the user can intuitively see the actual situation of the injection in this round, and the user experience can be improved.
在本公开的一个实施例中,该方法还可以包括:将本轮注射的注射信息上传至服务器或者是上位机进行存储,以便于后期进行查询、追溯。In an embodiment of the present disclosure, the method may further include: uploading the injection information of the current round of injections to a server or a host computer for storage, so as to facilitate later query and traceability.
在本公开的一个实施例中,该方法还可以包括:响应于开机,检测步进电机电路是否正常;在电路正常的情况下,控制步进电机带动活塞推杆退回初始位置上,并进入注射流程;在电路异常的情况下,发出警报提醒用户。In an embodiment of the present disclosure, the method may further include: in response to power-on, detecting whether the stepper motor circuit is normal; when the circuit is normal, controlling the stepper motor to drive the piston push rod to return to the initial position and enter the injection Process; in case of abnormal circuit, an alarm is issued to remind the user.
<例子1><Example 1>
图3为本公开实施例在排空过程中连续注射器的控制方法的一个例子的流程图。如图3所示,该方法可以包括:FIG. 3 is a flowchart of an example of a method for controlling a continuous injector during an emptying process according to an embodiment of the present disclosure. As shown in Figure 3, the method may include:
步骤S3001,响应于用户点击排空程序启动按钮的操作,控制连续注射器进入排空状态。Step S3001, in response to the user's operation of clicking the emptying program start button, the continuous syringe is controlled to enter the emptying state.
步骤S3002,在用户按压排空按钮的过程中,控制步进电机转动,以推动活塞推杆前进。Step S3002, during the process of pressing the emptying button by the user, the stepper motor is controlled to rotate, so as to push the piston push rod forward.
步骤S3003,在控制步进电机转动的过程中,按照预设的加速度控制步进电机增加转速。Step S3003, in the process of controlling the rotation of the stepping motor, control the stepping motor to increase the rotational speed according to a preset acceleration.
步骤S3004,在控制步进电机增加转速的过程中,按照第一设定频率检测步进电机是否丢步。在步进电机不丢步的情况下,继续执行步骤S3003;在步进电机丢步的情况下,执行步骤S3005。Step S3004 , in the process of controlling the stepper motor to increase the rotational speed, it is detected whether the stepper motor loses steps according to the first set frequency. In the case that the stepping motor does not lose steps, continue to execute step S3003; in the case that the stepping motor loses steps, execute step S3005.
步骤S3005,按照预设的规则降低步进电机的转速。Step S3005, reducing the rotational speed of the stepping motor according to a preset rule.
步骤S3006,在步进电机根据降低后的转速转动的过程中停止丢步的情况下,确定步进电机的当前转速,作为目标转速。Step S3006, in the case that the stepping motor stops losing steps in the process of rotating according to the reduced rotational speed, determine the current rotational speed of the stepping motor as the target rotational speed.
步骤S3007,控制步进电机按照目标转速进行转动,直至将针筒内的空气排出。In step S3007, the stepper motor is controlled to rotate according to the target rotation speed until the air in the syringe is discharged.
步骤S3008,在用户释放排空按钮的情况下,控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒。In step S3008, when the user releases the emptying button, the stepper motor is controlled to drive the piston push rod to return to the initial position, so as to suck the liquid in the medicine bottle into the syringe.
<例子2><Example 2>
图4为本公开实施例在注射过程中连续注射器的控制方法的一个例子的流程图。FIG. 4 is a flowchart of an example of a method for controlling a continuous injector during an injection process according to an embodiment of the present disclosure.
如图4所示,该方法可以包括:As shown in Figure 4, the method may include:
步骤S4001,获取连续注射器的单次注射剂量。Step S4001, obtaining a single injection dose of the continuous injector.
步骤S4002,根据单次注射剂量,确定步进电机在单次注射过程中的目标步数。Step S4002, according to the single injection dose, determine the target number of steps of the stepping motor in the single injection process.
步骤S4003,响应于注射操作,检测是否得到目标转速。在得到目标转速的情况下,执行步骤S4004,在未得到目标转速的情况下,执行步骤 S4010。Step S4003, in response to the injection operation, it is detected whether the target rotational speed is obtained. When the target rotational speed is obtained, step S4004 is performed, and when the target rotational speed is not obtained, step S4010 is performed.
步骤S4004,检测针筒内液体的剩余剂量是否大于单次注射剂量。在剩余剂量大于或等于单次注射剂量的情况下,执行步骤S4005;在单次注射剂量小于单次注射剂量的情况下,执行步骤S4006。Step S4004, detecting whether the remaining dose of the liquid in the syringe is greater than the single injection dose. If the remaining dose is greater than or equal to the single injection dose, step S4005 is executed; if the single injection dose is smaller than the single injection dose, step S4006 is executed.
步骤S4005,控制步进电机根据目标步数按照目标转速转动,以推动活塞推杆前进,将针筒内的液体推出。其中,推出液体的剂量与单次注射剂量相同。In step S4005, the stepper motor is controlled to rotate at the target rotational speed according to the target number of steps, so as to push the piston push rod forward and push out the liquid in the syringe. Among them, the dose of liquid pushed out is the same as the single injection dose.
步骤S4006,控制步进电机带动活塞推杆退回。Step S4006, the stepper motor is controlled to drive the piston push rod to retreat.
步骤S4007,在控制步进电机带动活塞推杆退回的过程中,检测连接管内是否存在气泡。在连接管内存在气泡的情况下,执行步骤S4009;在连接管内不存在气泡的情况下,执行步骤S4008。Step S4007 , in the process of controlling the stepper motor to drive the piston push rod to retreat, it is detected whether there are air bubbles in the connecting pipe. In the case where there are air bubbles in the connecting pipe, step S4009 is performed; in the case where there are no air bubbles in the connecting pipe, step S4008 is performed.
步骤S4008,控制步进电机带动活塞推杆退回初始位置上,以将药瓶内的液体吸入针筒,使得针筒内充满液体。In step S4008, the stepper motor is controlled to drive the piston push rod to return to the initial position, so as to suck the liquid in the medicine bottle into the syringe, so that the syringe is filled with liquid.
步骤S4009,控制步进电机停止转动,并发出警报。In step S4009, the stepper motor is controlled to stop rotating, and an alarm is issued.
步骤S4010,控制步进电机转动以推进活塞推杆,并按照预设的加速度控制步进电机增加转速。Step S4010, controlling the stepping motor to rotate to push the piston push rod, and controlling the stepping motor to increase the rotational speed according to a preset acceleration.
步骤S4011,在控制步进电机增加转速的过程中,按照第一设定频率检测步进电机是否丢步。在步进电机不丢步的情况下,继续执行步骤S4010;在步进电机丢步的情况下,执行步骤S4012。Step S4011 , in the process of controlling the stepper motor to increase the rotational speed, it is detected whether the stepper motor loses steps according to the first set frequency. In the case that the stepper motor does not lose steps, continue to execute step S4010; in the case that the stepper motor loses steps, execute step S4012.
步骤S4012,按照预设的规则降低步进电机的转速。Step S4012, reducing the rotational speed of the stepping motor according to a preset rule.
步骤S4013,在步进电机根据降低后的转速转动的过程中停止丢步的情况下,确定步进电机的当前转速,作为目标转速。Step S4013, in the case that the stepping motor stops losing steps during the rotation according to the reduced rotational speed, determine the current rotational speed of the stepping motor as the target rotational speed.
在得到目标转速的情况下,继续执行步骤S4004。When the target rotational speed is obtained, step S4004 is continued.
<装置实施例><Apparatus Example>
在本实施例中,提供一种连续注射器的控制装置5000,如图5所示,包括单次剂量获取模块5100、目标步数确定模块5200和注射模块5300。该单次剂量获取模块5100用于获取连续注射器的单次注射剂量;该目标步数确定模块5200用于根据单次注射剂量,确定步进电机在单次注射过程中的目标步数;该注射模块5300用于响应于注射操作,控制步进电机根据目标步数转动,以推动活塞推杆前进,将针筒内的液体推出;其中,推出液体的剂量与单次注射剂量相同。In this embodiment, a control device 5000 for a continuous injector is provided, as shown in FIG. 5 , including a single dose acquisition module 5100 , a target step number determination module 5200 and an injection module 5300 . The single dose acquisition module 5100 is used to acquire the single injection dose of the continuous injector; the target step number determination module 5200 is used to determine the target number of steps of the stepper motor in the single injection process according to the single injection dose; the injection The module 5300 is used to control the stepper motor to rotate according to the target number of steps in response to the injection operation, so as to push the piston push rod forward and push out the liquid in the syringe; wherein, the dose of the liquid pushed out is the same as the single injection dose.
在本公开的一个实施例中,目标步数确定模块5200可以用于:In one embodiment of the present disclosure, the target steps determination module 5200 may be used to:
获取针筒的总容量、及活塞推杆在针筒内的总行程;Obtain the total capacity of the syringe and the total stroke of the piston push rod in the syringe;
根据单次注射剂量、总容量和总行程,确定目标步数。Determine the target number of steps based on the single injection dose, total volume, and total stroke.
在本公开的一个实施例中,该连续注射器的控制装置5000还可以包括:In one embodiment of the present disclosure, the control device 5000 of the continuous injector may further include:
用于检测针筒内液体的剩余剂量的模块;A module for detecting the remaining dose of liquid in the syringe;
用于在剩余剂量小于目标注射剂量的情况下,控制步进电机带动活塞推杆退回预设的初始位置上,以将药瓶内的液体吸入针筒,使得针筒内充满液体的模块。A module for controlling the stepper motor to drive the piston push rod to return to the preset initial position when the remaining dose is less than the target injection dose, so as to suck the liquid in the medicine bottle into the syringe, so that the syringe is filled with liquid.
在本公开的一个实施例中,方法还包括:In one embodiment of the present disclosure, the method further includes:
用于检测连接管内是否存在气泡的模块;A module for detecting the presence of air bubbles in the connecting pipe;
用于在连接管内存在气泡的情况下,控制步进电机停止转动,并发出警报的模块。A module used to control the stepper motor to stop rotating and issue an alarm when there are air bubbles in the connecting pipe.
在本公开的一个实施例中,控制步进电机带动活塞推杆退回预设的初始位置上包括:In an embodiment of the present disclosure, controlling the stepper motor to drive the piston push rod to return to the preset initial position includes:
在控制步进电机带动活塞推杆退回的过程中,按照第二设定频率检测步进电机是否丢步;In the process of controlling the stepper motor to drive the piston push rod back, check whether the stepper motor loses steps according to the second set frequency;
在检测到步进电机丢步的情况下,确定步进电机带动活塞推杆退回初始位置上,控制步进电机停止转动。When it is detected that the stepper motor loses steps, it is determined that the stepper motor drives the piston push rod to return to the initial position, and the stepper motor is controlled to stop rotating.
在本公开的一个实施例中,该连续注射器的控制装置5000还可以包括:In one embodiment of the present disclosure, the control device 5000 of the continuous injector may further include:
用于响应于进入排空状态的操作,控制连续注射器进入排空状态的模块;means for controlling the continuous injector to enter the empty state in response to an operation to enter the empty state;
用于在接收到启动排空操作的情况下,控制步进电机推动活塞推杆前进,以将针筒内的空气排出的模块;A module for controlling the stepper motor to push the piston push rod forward to discharge the air in the syringe when receiving the start-up emptying operation;
用于在接收到停止排空操作的情况下,控制步进电机带动活塞推杆退回预设的初始位置上,以将药瓶内的液体吸入针筒的模块。The module is used to control the stepper motor to drive the piston push rod to return to the preset initial position to suck the liquid in the medicine bottle into the syringe under the condition of receiving the stop emptying operation.
在本公开的一个实施例中,该连续注射器的控制装置5000还可以包括:In one embodiment of the present disclosure, the control device 5000 of the continuous injector may further include:
用于在控制步进电机转动的过程中,按照预设的加速度控制步进电机增加转速的模块;A module used to control the stepping motor to increase the speed according to the preset acceleration during the process of controlling the rotation of the stepping motor;
用于在控制步进电机增加转速的过程中,按照第一设定频率检测步进电机是否丢步的模块;A module used to detect whether the stepper motor loses steps according to the first set frequency during the process of controlling the stepper motor to increase the speed;
用于在步进电机丢步的情况下,按照预设的规则降低步进电机的转速的模块;A module for reducing the speed of the stepping motor according to preset rules when the stepping motor loses steps;
用于在步进电机在按照降低后的转速转动的过程中停止丢步的情况下,确定步进电机的当前转速,作为目标转速的模块;A module for determining the current speed of the stepping motor as the target speed when the stepping motor stops losing steps in the process of rotating at the reduced speed;
该注射模块5300还用于控制步进电机按照目标转速进行转动。The injection module 5300 is also used to control the stepping motor to rotate according to the target rotational speed.
在本公开的一个实施例中,该连续注射器的控制装置5000还可以包括:In one embodiment of the present disclosure, the control device 5000 of the continuous injector may further include:
用于记录连续注射器的注射信息的模块,注射信息至少包括总注射次数和/或已注射液体的总剂量;A module for recording injection information of a continuous injector, the injection information including at least the total number of injections and/or the total dose of injected liquid;
用于展示注射信息的模块。A module for displaying injection information.
本领域技术人员应当明白,可以通过各种方式来实现连续注射器的控制装置5000。例如,可以通过指令配置处理器来实现连续注射器的控制装置5000。例如,可以将指令存储在ROM中,并且当启动设备时,将指令从ROM读取到可编程器件中来实现连续注射器的控制装置5000。例如,可以将连续注射器的控制装置5000固化到专用器件(例如ASIC)中。可以将连续注射器的控制装置5000分成相互独立的单元,或者可以将它们合并在一起实现。连续注射器的控制装置5000可以通过上述各种实现方式中的一种来实现,或者可以通过上述各种实现方式中的两种或更多种方式的组合来实现。Those skilled in the art will appreciate that the control device 5000 for the continuous injector can be implemented in various ways. For example, the control device 5000 for the continuous injector may be implemented by configuring a processor with instructions. For example, the control apparatus 5000 for the continuous injector may be implemented by storing the instructions in ROM and reading the instructions from the ROM into the programmable device when the device is activated. For example, the control device 5000 for a continuous injector can be built into a dedicated device (eg, an ASIC). The control device 5000 for the continuous injector may be divided into mutually independent units, or they may be implemented in combination. The control device 5000 for the continuous injector may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
在本实施例中,连续注射器的控制装置5000可以具有多种实现形式,例如,连续注射器的控制装置5000可以是任何的提供控制服务的软件产品或者应用程序中运行的功能模块,或者是这些软件产品或者应用程序的外设嵌入件、插件、补丁件等,还可以是这些软件产品或者应用程序本身。In this embodiment, the control device 5000 for the continuous injector may have various implementation forms. For example, the control device 5000 for the continuous injector may be any software product that provides control services or a functional module running in an application program, or these software Peripheral embedded parts, plug-ins, patches, etc. of products or applications, and may also be these software products or applications themselves.
<连续注射器><Continuous Syringe>
在本实施例中,还提供一种连续注射器6000。该连续注射器6000可以是如图1中所示的连续注射器1100。In this embodiment, a continuous syringe 6000 is also provided. The continuous injector 6000 may be the continuous injector 1100 shown in FIG. 1 .
如图6所示,连续注射器6000还可以包括处理器6100和存储器6200,该存储器6200用于存储可执行的计算机程序;该计算机程序用于控制该处理器6100执行根据本公开任意实施例的方法。As shown in FIG. 6, the continuous injector 6000 may further include a processor 6100 and a memory 6200, the memory 6200 is used to store an executable computer program; the computer program is used to control the processor 6100 to perform the method according to any embodiment of the present disclosure .
上述各实施例主要重点描述与其他实施例的不同之处,但本领域技术人员应当清楚的是,上述各实施例可以根据需要单独使用或者相互结合使用。The above embodiments mainly focus on describing the differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as required.
本公开中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分相互参见即可,每个实施例重点说明的都是与其他实施例的不同之处,但本领域技术人员应当清楚的是,上述各实施例可以根据需要单独使用或者相互结合使用。另外,对于装置实施例而言,由于其是与方法实施例相对应,所以描述得比较简单,相关之处参见方法实施例的对应部分的说明即可。以上所描述的系统实施例仅仅是示意性的,其中作为分离部件说明的模块可以是或者也可以不是物理上分开的。The various embodiments in the present disclosure are described in a progressive manner, and the same and similar parts between the various embodiments can be referred to each other. It should be clear to those skilled in the art that the above embodiments can be used individually or in combination with each other as required. In addition, as for the apparatus embodiment, since it corresponds to the method embodiment, the description is relatively simple, and the relevant part may refer to the description of the corresponding part of the method embodiment. The system embodiments described above are merely illustrative, in which modules described as separate components may or may not be physically separate.
本公开可以是装置、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure may be an apparatus, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意 合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically coded devices, such as printers with instructions stored thereon Hole cards or raised structures in grooves, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边界服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or border servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,编程语言包括面向对象的编程语言一诸如Smalltalk、C++等,以及常规的过程式编程语言一诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络-包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for carrying out operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source or object code written in any combination, programming languages including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network - including a local area network (LAN) or a wide area network (WAN) - or may be connected to an external computer (eg using an Internet service provider via the Internet connect). In some embodiments, custom electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), can be personalized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它 可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executables for implementing the specified logical function(s) instruction. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are all equivalent.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本公开的范围由所附权利要求来限定。Various embodiments of the present disclosure have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (10)

  1. 一种连续注射器的控制方法,所述连续注射器包括针筒、活塞推杆、步进电机;所述方法包括:A control method of a continuous syringe, the continuous syringe comprises a syringe, a piston push rod, and a stepper motor; the method includes:
    获取所述连续注射器的单次注射剂量;obtaining a single injection dose of the continuous syringe;
    根据所述单次注射剂量,确定所述步进电机在单次注射过程中的目标步数;According to the single injection dose, determine the target number of steps of the stepper motor in the single injection process;
    响应于注射操作,控制所述步进电机根据所述目标步数转动,以推动所述活塞推杆前进,将所述针筒内的液体推出;其中,推出液体的剂量与所述单次注射剂量相同。In response to the injection operation, the stepper motor is controlled to rotate according to the target number of steps, so as to push the piston push rod forward and push out the liquid in the syringe; wherein, the dose of the liquid pushed out is the same as the single injection The dose is the same.
  2. 根据权利要求1所述的方法,其中,所述根据所述单次注射量,确定所述步进电机推动所述活塞推杆的单次行程包括:The method according to claim 1, wherein, according to the single injection amount, determining a single stroke of the stepper motor to push the piston push rod comprises:
    获取所述针筒的总容量、及所述活塞推杆在所述针筒内的总行程;Obtain the total capacity of the syringe and the total stroke of the piston push rod in the syringe;
    根据所述单次注射剂量、所述总容量和总行程,确定所述目标步数。The target number of steps is determined from the bolus dose, the total volume and the total stroke.
  3. 根据权利要求1所述的方法,所述连续注射器还包括药瓶、以及连接所述药瓶和所述针筒的连接管;所述方法还包括:The method of claim 1, the continuous syringe further comprising a vial and a connecting tube connecting the vial and the syringe; the method further comprising:
    检测所述针筒内液体的剩余剂量;detecting the remaining dose of liquid in the syringe;
    在所述剩余剂量小于所述目标注射剂量的情况下,控制所述步进电机带动所述活塞推杆退回预设的初始位置上,以将所述药瓶内的液体吸入所述针筒,使得所述针筒内充满所述液体。When the remaining dose is less than the target injection dose, the stepper motor is controlled to drive the piston push rod to return to a preset initial position, so as to suck the liquid in the medicine bottle into the syringe, The syringe is filled with the liquid.
  4. 根据权利要求3所述的方法,所述方法还包括:The method of claim 3, further comprising:
    检测所述连接管内是否存在气泡;在所述连接管内存在气泡的情况下,控制所述步进电机停止转动,并发出警报。Detect whether there are air bubbles in the connecting pipe; if there are air bubbles in the connecting pipe, control the stepping motor to stop rotating and issue an alarm.
  5. 根据权利要求3所述的方法,所述控制所述步进电机带动所述活塞推杆退回预设的初始位置上包括:The method according to claim 3, wherein the controlling the stepper motor to drive the piston push rod to return to a preset initial position comprises:
    在控制所述步进电机带动所述活塞推杆退回的过程中,按照第二设定频率检测所述步进电机是否丢步;In the process of controlling the stepper motor to drive the piston push rod to retreat, detecting whether the stepper motor loses steps according to the second set frequency;
    在检测到所述步进电机丢步的情况下,确定所述步进电机带动所述活塞推杆退回初始位置上,控制所述步进电机停止转动。When it is detected that the stepper motor loses steps, it is determined that the stepper motor drives the piston push rod to return to the initial position, and the stepper motor is controlled to stop rotating.
  6. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1, further comprising:
    响应于进入排空状态的操作,控制所述连续注射器进入排空状态;in response to the operation to enter the empty state, controlling the continuous injector to enter the empty state;
    在接收到启动排空操作的情况下,控制所述步进电机推动所述活塞推杆前进,以将所述针筒内的空气排出;Controlling the stepper motor to push the piston push rod forward in the case of receiving the start-up emptying operation, so as to discharge the air in the syringe;
    在接收到停止排空操作的情况下,控制所述步进电机带动所述活塞推杆退回预设的初始位置上,以将所述药瓶内的液体吸入所述针筒。In the case of receiving the stop emptying operation, the stepper motor is controlled to drive the piston push rod to return to a preset initial position, so as to suck the liquid in the medicine bottle into the syringe.
  7. 根据权利要求1或6所述的方法,所述方法还包括:The method of claim 1 or 6, further comprising:
    在控制所述步进电机转动的过程中,按照预设的加速度控制所述步进电机增加转速;In the process of controlling the rotation of the stepping motor, the stepping motor is controlled to increase the rotational speed according to a preset acceleration;
    在控制所述步进电机增加转速的过程中,按照第一设定频率检测所述步进电机是否丢步;In the process of controlling the stepper motor to increase the rotational speed, detecting whether the stepper motor loses steps according to the first set frequency;
    在所述步进电机丢步的情况下,按照预设的规则降低所述步进电机的转速;In the case that the stepping motor loses steps, reducing the rotational speed of the stepping motor according to a preset rule;
    在所述步进电机在按照降低后的转速转动的过程中停止丢步的情况下,确定所述步进电机的当前转速,作为目标转速;In the case that the stepping motor stops losing steps in the process of rotating at the reduced speed, determining the current speed of the stepping motor as the target speed;
    控制所述步进电机按照所述目标转速进行转动。The stepping motor is controlled to rotate according to the target rotational speed.
  8. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1, further comprising:
    记录所述连续注射器的注射信息,所述注射信息至少包括总注射次数和/或已注射液体的总剂量;展示所述注射信息。Record the injection information of the continuous injector, the injection information including at least the total number of injections and/or the total dose of the injected liquid; and display the injection information.
  9. 一种连续注射器的控制装置,所述连续注射器包括针筒、活塞推杆、步进电机;所述装置包括:A control device for a continuous syringe, the continuous syringe includes a syringe, a piston push rod, and a stepper motor; the device includes:
    单次剂量获取模块,用于获取所述连续注射器的单次注射剂量;a single dose acquisition module, used for acquiring a single injection dose of the continuous injector;
    目标步数确定模块,用于根据所述单次注射剂量,确定所述步进电机在单次注射过程中的目标步数;a target step number determination module, configured to determine the target number of steps of the stepper motor in a single injection process according to the single injection dose;
    注射模块,用于响应于注射操作,控制所述步进电机根据所述目标步数转动,以推动所述活塞推杆前进,将所述针筒内的液体推出;an injection module, configured to control the stepper motor to rotate according to the target number of steps in response to an injection operation, so as to push the piston push rod forward and push out the liquid in the syringe;
    其中,推出液体的剂量与所述单次注射剂量相同。Therein, the dose of the ejected liquid is the same as the single injection dose.
  10. 一种连续注射器,包括处理器和存储器,所述存储器用于存储可执行的计算机程序,所述计算机程序用于控制所述处理器执行根据权利要求1至8中任一项所述的方法。A continuous injector comprising a processor and a memory for storing an executable computer program for controlling the processor to perform the method according to any one of claims 1 to 8.
PCT/CN2021/121669 2020-10-12 2021-09-29 Continuous syringe control method and apparatus, and continuous syringe WO2022078215A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011085749.2A CN112206069B (en) 2020-10-12 2020-10-12 Continuous injector control method and device and continuous injector
CN202011085749.2 2020-10-12

Publications (1)

Publication Number Publication Date
WO2022078215A1 true WO2022078215A1 (en) 2022-04-21

Family

ID=74053565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/121669 WO2022078215A1 (en) 2020-10-12 2021-09-29 Continuous syringe control method and apparatus, and continuous syringe

Country Status (2)

Country Link
CN (1) CN112206069B (en)
WO (1) WO2022078215A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115998988A (en) * 2022-12-02 2023-04-25 珠海凯生医用科技有限公司 Electronic pen type insulin injection control method, injector, injection control system and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112206069B (en) * 2020-10-12 2023-06-02 北京天悦生科技有限公司 Continuous injector control method and device and continuous injector

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5662612A (en) * 1993-11-24 1997-09-02 Liebel Flarsheim Company Controlling plunger drives for fluid injections in animals
CN103222901A (en) * 2013-05-02 2013-07-31 陈凯 Automatic continuous injection device for drug injection of adult chicken
CN203915139U (en) * 2014-04-28 2014-11-05 常州市栩杰电子科技有限公司 Poult automatic injector
CN205433991U (en) * 2015-11-22 2016-08-10 晋中职业技术学院 Animal doctor is with animal continuous injection ware
CN107440814A (en) * 2017-07-31 2017-12-08 山东中医药大学 A kind of adjustable precise continuous syringe and its application method
CN207236878U (en) * 2017-03-10 2018-04-17 余长贵 A kind of animal doctor's continuous injecting apparatus
CN110292681A (en) * 2019-07-09 2019-10-01 浙江大学 A kind of novel livestock Non-intermittent automatic injector
CN112206069A (en) * 2020-10-12 2021-01-12 北京天悦生科技有限公司 Continuous injector control method and device and continuous injector

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2510960B1 (en) * 2011-04-12 2017-06-28 F. Hoffmann-La Roche AG Infusion pump device with cylinder-piston dosing unit and optical piston position detection
US8810187B2 (en) * 2011-08-19 2014-08-19 Oriental Motor Boston Technology Group Incorporated Method and apparatus for misstep detection and recovery in a stepper motor
FR3010908A1 (en) * 2013-09-24 2015-03-27 Biocorp Rech Et Dev INJECTOR PEN
CN105213063A (en) * 2014-06-24 2016-01-06 上海益诺思生物技术有限公司 Sd rat continuous intravenous injection equipment
CN104158449A (en) * 2014-07-10 2014-11-19 北京航天发射技术研究所 On-off control system and method for stepping motor
MX2018014363A (en) * 2016-05-24 2019-04-11 Unl Holdings Llc Accurate dose control mechanisms and drug delivery syringes.

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5662612A (en) * 1993-11-24 1997-09-02 Liebel Flarsheim Company Controlling plunger drives for fluid injections in animals
CN103222901A (en) * 2013-05-02 2013-07-31 陈凯 Automatic continuous injection device for drug injection of adult chicken
CN203915139U (en) * 2014-04-28 2014-11-05 常州市栩杰电子科技有限公司 Poult automatic injector
CN205433991U (en) * 2015-11-22 2016-08-10 晋中职业技术学院 Animal doctor is with animal continuous injection ware
CN207236878U (en) * 2017-03-10 2018-04-17 余长贵 A kind of animal doctor's continuous injecting apparatus
CN107440814A (en) * 2017-07-31 2017-12-08 山东中医药大学 A kind of adjustable precise continuous syringe and its application method
CN110292681A (en) * 2019-07-09 2019-10-01 浙江大学 A kind of novel livestock Non-intermittent automatic injector
CN112206069A (en) * 2020-10-12 2021-01-12 北京天悦生科技有限公司 Continuous injector control method and device and continuous injector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115998988A (en) * 2022-12-02 2023-04-25 珠海凯生医用科技有限公司 Electronic pen type insulin injection control method, injector, injection control system and storage medium
CN115998988B (en) * 2022-12-02 2023-07-14 珠海凯生医用科技有限公司 Electronic pen type insulin injection control method, injector, injection control system and storage medium

Also Published As

Publication number Publication date
CN112206069A (en) 2021-01-12
CN112206069B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
WO2022078215A1 (en) Continuous syringe control method and apparatus, and continuous syringe
CN104721915B (en) Accurate accurate measurement is carried out to the drug application using injection method by ultrasound principle
US20210353871A1 (en) Monitoring system and method
US20230145568A1 (en) Medicine administering system including injection pen and companion device
US10864327B2 (en) Automatic medication delivery tracking
WO2003099358A3 (en) Apparatus for rapid auto-injection of medication
US10632255B2 (en) Drug infusion device
US11664107B2 (en) Intelligent medication delivery systems and methods using a prescription-regulated software application
JP2016511654A5 (en)
WO2013099123A1 (en) Medicine injection device
ATE294601T1 (en) PEN-TYPE INJECTOR WITH HOLDING DEVICE FOR MEDICATION CONTAINER
US20140207074A1 (en) Drug delivery device with means for handling data
DK1732627T3 (en) Injection apparatus having a needle cartridge for dispensing a pharmaceutical liquid
HRP20090658T1 (en) Medication delivery device
US11878152B2 (en) Determining a status of an injection
JP1654190S (en) Module for drug delivery device
JP1654189S (en) Module for drug delivery device
US20220362464A1 (en) Reservoir state monitoring
JP2020192365A (en) Reusable medication delivery device with remaining medication determination capability
JP2018517974A5 (en)
KR20180076071A (en) Injection Appartus with Gear Pump
US20160263316A1 (en) Methods and systems for communicating with an insulin administering device
CN104740729A (en) Insulin syringe
JP1654188S (en) Module for drug delivery device
Team Software Requirement Analysis for Network Printer System

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21879261

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21879261

Country of ref document: EP

Kind code of ref document: A1