A cartridge screw pump for insulin injection

By designing an insulin injection pump that includes a housing, a pen cartridge injection mechanism, and a screw telescopic mechanism, combined with a power unit and an intelligent control module, high-precision insulin injection is achieved, solving the problems of injection accuracy and miniaturization in existing technologies, and possessing an anti-lock function.

CN116870293BActive Publication Date: 2026-04-10PHRAY TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PHRAY TECH CO LTD
Filing Date
2023-07-13
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing insulin pumps have shortcomings in terms of injection accuracy and miniaturization, making it difficult to achieve high-precision control of insulin dosage and small size with existing technology.

Method used

A pen refill screw pump was designed, including a housing, a pen refill injection mechanism, a power unit, a power supply module, and an intelligent control module. By setting up a primary screw telescopic mechanism and a secondary screw telescopic mechanism, combined with the power unit and the intelligent control module, the pump can accurately control the injection volume of insulin solution, reduce the overall size, and has an anti-lock function.

Benefits of technology

It achieves high-precision injection control of insulin solution, significantly reduces overall size and power consumption, and prevents locking-up through an intelligent control module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116870293B_ABST
    Figure CN116870293B_ABST
Patent Text Reader

Abstract

A kind of pen core screw rod pump for insulin injection, shell, pen core injection mechanism, primary screw rod telescopic mechanism, secondary screw rod telescopic mechanism, power device, power module and intelligent control module, power device is connected with primary screw rod telescopic mechanism transmission, secondary screw rod telescopic mechanism is installed in primary screw rod telescopic mechanism and is connected with primary screw rod telescopic mechanism transmission, pen core injection mechanism is set in the upper portion of secondary screw rod telescopic mechanism, key operation module is equipped on the shell, sensor assembly is set on primary screw rod telescopic mechanism, power module provides power to power device and intelligent control module respectively, and intelligent control module is connected with power device, key operation module and sensor assembly signal respectively.This application can accurately control the injection amount of insulin liquid, realize high-precision drug delivery, significantly reduce the overall size, the rotation torque and speed of intelligent control power motor, reduce the impact degree, reduce the energy consumption of electric energy, also have anti-lock function.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of insulin injection, in particular to a pen cartridge screw pump for insulin injection. BACKGROUND

[0002] The insulin pump is composed of an injection pump, a small syringe and a connecting infusion tube. The basic use of the insulin pump is to inject insulin according to the required dose. However, the injection amount of insulin is very small each time, and how to control the injection amount of insulin with high precision and at the same time require the injection pump to be small in size is a difficult problem that needs to be solved urgently.

[0003] According to the query, there are some related patent literatures reported in the existing patent literatures, mainly including the following:

[0004] 1. The patent with the authorized announcement number CN108159530 A and the name of "a driving rod and motor integrated assembly structure for an insulin pump" belongs to the technical field of medical devices. The driving rod and motor integrated assembly structure of the insulin pump adopts an integrated assembly structure, and the two are fixed on the same fixed seat to form an integral whole, which ensures the concentricity of the driving rod and the motor, enables the driving rod to smoothly stretch and retract under the driving of the motor, maximizes the straightness of the guide, reduces the resistance, and prolongs the service life of the driving mechanism.

[0005] 2. The patent with the authorized announcement number CN109529154 A and the name of "a new type of multi-section sinking cylinder type insulin pump pushing mechanism" belongs to the technical field of medical devices. The pushing mechanism of the multi-section sinking cylinder type insulin pump is adopted, and through the setting of the main guide rail, the auxiliary guide rail and the main and auxiliary guide rods, the phenomenon that the traditional square guide groove guide requires high machining precision of the equipment can be replaced, and when the machining precision is low, the phenomenon of being easily stuck during the pushing and returning process can be avoided, which causes the failure of the insulin pump and the failure of the infusion of insulin.

[0006] The above two patents only solve the effectiveness and structure life problem of the driving mechanism, and do not involve the improvement of injection precision and the miniaturization of the injection pump body, which is the difficult problem that needs to be solved urgently in the future precision medicine. The medical device with high precision and good user experience is the mainstream direction of the future development of the insulin injection pump. SUMMARY

[0007] The purpose of the present application is to provide a pen cartridge screw pump for insulin injection. The present application can accurately control the injection amount of insulin liquid, realize high-precision drug delivery, significantly reduce the overall size, intelligently control the rotation torque and speed of the power motor, reduce the impact force, reduce the energy consumption of electric energy, and also has the function of preventing lock.

[0008] To achieve the above object, the present application adopts the following technical solutions:

[0009] A pen refill screw rod pump for insulin injection, comprising a shell, a pen refill injection mechanism, a primary screw rod telescopic mechanism, a secondary screw rod telescopic mechanism, a power device, a power module and an intelligent control module, the pen refill injection mechanism, the primary screw rod telescopic mechanism and the secondary screw rod telescopic mechanism are coaxially and vertically arranged on the left side of the shell, the power device, the power module and the intelligent control module are arranged on the right side of the shell, the power device is in transmission connection with the primary screw rod telescopic mechanism, the power device drives the primary screw rod telescopic mechanism to extend and retract, the secondary screw rod telescopic mechanism is installed inside the primary screw rod telescopic mechanism and in transmission connection with the primary screw rod telescopic mechanism, the primary screw rod telescopic mechanism drives the secondary screw rod telescopic mechanism to extend and retract, the pen refill injection mechanism is arranged on the upper part of the secondary screw rod telescopic mechanism and connected with the extension end of the secondary screw rod telescopic mechanism, a key operation module is arranged on the shell, a sensor assembly is arranged on the primary screw rod telescopic mechanism, the power module provides power for the power device and the intelligent control module respectively, and the intelligent control module is in signal connection with the power device, the key operation module and the sensor assembly respectively.

[0010] The bottom of the shell is open and fixedly connected with a bottom cover, a pen barrel structure-like injection barrel is integrally formed on the left side of the inside of the shell in the vertical direction, the upper end of the injection barrel extends out of the top of the shell, the lower end of the injection barrel extends to the lower left part of the inside of the shell, an electrical inner cavity is arranged in the lower right part of the inside of the shell, the power module and the intelligent control module are arranged in the electrical inner cavity, and the power device is arranged in the upper right part of the inside of the shell.

[0011] The pen refill injection mechanism comprises a pen refill and a refill piston, the pen refill is coaxially and fixedly embedded in the injection barrel, the outer circle of the pen refill is in close contact with the inner circle of the injection barrel, the lower end of the pen refill is open, the lower end of the pen refill is located in the injection barrel and close to the lower end of the injection barrel, the upper end of the pen refill is integrally formed with a T-shaped hollow cylindrical head with a large upper part and a small lower part, the maximum circumferential diameter of the T-shaped hollow cylindrical head is smaller than the diameter of the pen refill, the lower end of the T-shaped hollow cylindrical head is connected with the upper end of the pen refill through a circular table cylinder with a thin upper part and a thick lower part, a needle cap is coaxially and threadedly connected with the upper end of the injection barrel, the T-shaped hollow cylindrical head is embedded in the needle cap, a cylindrical protrusion is integrally formed on the top center of the needle cap in a coaxial manner, a first center hole is formed in the vertical direction in the center of the cylindrical protrusion, an injection hose is coaxially and fixedly embedded in the first center hole, the upper end of the injection hose extends out of the upper end of the cylindrical protrusion and is connected with an injection needle, a second center hole coaxial with the first center hole is formed in the center of the needle cap, the inner diameter of the second center hole is smaller than that of the first center hole, the upper end of the second center hole is connected with the lower end of the first center hole, a needle tube is coaxially and fixedly embedded in the second center hole, the needle tube coaxially penetrates through the T-shaped hollow cylindrical head and extends into the T-shaped hollow cylindrical head, the lower end of the needle tube is in communication with the inside of the pen refill, and the refill piston is coaxially and sealingly slidably arranged in the pen refill.

[0012] The primary screw telescopic mechanism comprises a primary fixed rod, a primary tubular screw and a driving cylinder, a circular ring flange is integrally formed on the outer edge of the upper surface of the fixed seat, a third central hole is formed in the center of the fixed seat, the primary fixed rod is coaxially arranged below the injection cylinder, the upper end of the primary fixed rod is located at the center of the lower end of the injection cylinder, the lower end of the primary fixed rod is fixedly connected in the third central hole, the primary tubular screw is coaxially sleeved outside the primary fixed rod, the driving cylinder is coaxially sleeved outside the primary tubular screw and arranged between the injection cylinder and the fixed seat, the upper end of the driving cylinder is rotatably connected to the lower end of the injection cylinder, the lower end of the driving cylinder is rotatably connected to the circular ring flange, the inner diameter of the driving cylinder is smaller than the inner diameter of the pen core, the first internal thread is arranged on the inner circle of the upper end of the driving cylinder, the first external thread is arranged on the outer circle of the primary tubular screw in the axial direction and threadedly matched with the first internal thread, the second internal thread is arranged on the inner circle of the upper end of the primary tubular screw, the lower end of the primary tubular screw is flush with the lower end of the driving cylinder and higher than the upper surface of the fixed seat, the upper end of the primary tubular screw is higher than the upper end of the driving cylinder, the limit ring above the upper end of the driving cylinder is fixedly sleeved on the outer circle of the upper end of the primary tubular screw, the first wedge-shaped buckle protruding upward is arranged on the upper end surface of the driving cylinder, the second wedge-shaped buckle protruding downward is arranged on the lower end surface of the limit ring, when the primary tubular screw is contracted into the driving cylinder and moves downward to the lower limit position, the second wedge-shaped buckle is engaged with the first wedge-shaped buckle, the third wedge-shaped buckle protruding upward is arranged on the upper end surface of the limit ring, the driving gear is fixedly sleeved on the outer circle of the upper end of the driving cylinder;

[0013] The secondary screw telescopic mechanism comprises a secondary fixed tube sleeve and a secondary tubular screw, the secondary fixed tube sleeve is coaxially and slidingly sleeved on the primary fixed rod, the secondary tubular screw is coaxially and slidingly sleeved on the secondary fixed tube sleeve and located in the primary tubular screw, the second external thread is arranged on the outer circle of the secondary tubular screw in the axial direction and threadedly matched with the second internal thread, the upper end of the secondary fixed tube sleeve is flush with the upper end of the primary fixed rod, the lower end of the secondary fixed tube sleeve is flush with the lower end of the primary tubular screw, the upper end of the secondary tubular screw is higher than the upper end of the primary tubular screw and fixedly connected with the limit screw plug above the limit ring, the diameter of the limit screw plug is smaller than the inner diameter of the pen core, the top of the limit screw plug is inserted into the pen core and fixedly connected with the bottom of the core piston, the fourth wedge-shaped buckle protruding downward is arranged on the bottom outer edge of the limit screw plug, when the secondary tubular screw is contracted into the primary tubular screw and moves downward to the lower limit position, the fourth wedge-shaped buckle is engaged with the third wedge-shaped buckle, the lower end of the secondary tubular screw is higher than the lower end of the secondary fixed tube sleeve, the first limit clamping groove is formed in the outer side wall of the primary fixed rod in the axial direction and open downward and outward, the first limit clamping block is integrally formed on the inner wall of the lower end of the secondary fixed tube sleeve and slidingly clamped in the first limit clamping groove, the second limit clamping groove is formed in the outer side wall of the secondary fixed tube sleeve in the axial direction and open downward and outward, the second limit clamping block is integrally formed on the inner wall of the lower end of the secondary tubular screw and slidingly clamped in the second limit clamping groove;

[0014] The first internal thread, the first external thread, the second internal thread and the second external thread are all trapezoidal threads with the same pitch.

[0015] The power device comprises a power motor fixedly installed in the upper right part of the shell, an output shaft of the power motor vertically arranged at the lower side of the power motor, a motor gear coaxially fixedly installed at the lower end of the output shaft of the power motor, the motor gear located at the right side of the drive gear and in meshing transmission connection with the drive gear, the power module in electrical connection with the power motor, and the intelligent control module in signal connection with the power motor.

[0016] The sensor assembly comprises a position sensor arranged at the lower side of the lower end tail trapezoidal thread of the first internal thread, a wire harness passage axially formed in the cylinder body of the drive cylinder at a position corresponding to the position sensor, an installation hole with a diameter larger than the wire harness passage coaxially arranged at the lower end of the wire harness passage, the lower end port of the installation hole being formed on the lower end surface of the drive cylinder, an elastic conductor fixedly arranged in the upper part of the installation hole, a first signal wire arranged in the wire harness passage, the upper end of the first signal wire connected with the position sensor, the lower end of the first signal wire connected with the elastic conductor, the lower end of the elastic conductor fixedly connected with a conductive ball arranged in the lower part of the installation hole, the lower side of the conductive ball protruding out of the lower end port of the installation hole, a conductive sheet fixedly arranged on the upper surface of the fixed seat, the conductive sheet in up-and-down rolling contact with the conductive ball, and the conductive sheet in signal connection with the intelligent control module through a second signal wire passing through the lower surface of the fixed seat and introduced into the electrical inner cavity.

[0017] The refill is made of transparent material, a camera with light arranged in the middle position of the outer wall of the refill and embedded in the inner wall of the injection cylinder, the power module in electrical connection with the camera, and the intelligent control module in signal connection with the camera.

[0018] The intelligent control module is a microcomputer with an embedded processor, and further comprises a soft limit of the two-stage screw telescopic mechanism, the soft limit parameters of which are determined by the geometric parameters of the one-stage and two-stage pipe screws, i.e., the pitch, total length and working length, so that when the second limit block on the inner wall of the lower end of the two-stage pipe screw slides up to the upper end of the second limit slot and is pulled, and the two-stage pipe screw is retracted into the one-stage pipe screw and moves down to the lower limit position, the intelligent control module immediately controls the power motor to stop rotating.

[0019] By adopting the above technical scheme, the intelligent control method of the refill type insulin screw injection pump specifically comprises the following steps:

[0020] (1) starting the refill screw pump, operating the key operation module, the intelligent control module controlling the power device to work, the power device driving the one-stage screw telescopic mechanism and the two-stage screw telescopic mechanism to retract, and the prefabricated insulin liquid medicine being filled into the refill injection mechanism;

[0021] (II) operating the key operating module, the intelligent control module controls the power device to work, the power device drives the first screw rod telescopic mechanism to extend first, when the first screw rod telescopic mechanism extends to the limit, the sensor assembly transmits a signal to the intelligent control module, the intelligent control module controls the power device to reduce the rotating speed, so as to reduce the impact of the first screw rod telescopic mechanism, then the second screw rod telescopic mechanism begins to extend, until the second screw rod telescopic mechanism extends to the maximum limit position, the intelligent control module controls the power device to stop; during the extension of the first screw rod telescopic mechanism and the second screw rod telescopic mechanism, the pen core injection mechanism injects the insulin liquid medicine;

[0022] (III) after the insulin liquid medicine injection is completed, repeat step (I) to refill the insulin liquid medicine, and prepare for the next injection.

[0023] Step (I) is specifically: turn on the power module, the intelligent control module is initialized, insert the injection needle into the insulin ampoule, operate the key operating module, the intelligent control module controls the power motor to reverse, the output shaft of the power motor drives the driving cylinder to reverse through the motor gear and the driving gear, the driving cylinder drives the first screw rod to shrink into the driving cylinder through the first inner thread and the first outer thread, the first screw rod drives the second fixed pipe sleeve and the second screw rod to move downward relative to the first fixed rod, the second screw rod drives the limit screw plug and the core piston to move downward, so that the core piston can draw the insulin liquid medicine in the insulin ampoule into the pen core through the injection needle, the injection hose and the needle tube, when the first screw rod shrinks into the driving cylinder and moves downward to the lower limit position, the second wedge-shaped buckle engages with the first wedge-shaped buckle, the first screw rod cannot continue to move downward, the driving cylinder drives the first screw rod to rotate reversely through the first wedge-shaped buckle and the second wedge-shaped buckle, the first screw rod rotates relative to the second screw rod, the first screw rod drives the second screw rod to shrink into the first screw rod through the second inner thread and the second outer thread, the second screw rod continues to drive the limit screw plug and the core piston to move downward, the core piston continues to draw the insulin liquid medicine in the insulin ampoule into the pen core through the injection needle, the injection hose and the needle tube, when the second screw rod shrinks into the first screw rod and moves downward to the lower limit position, the fourth wedge-shaped buckle engages with the third wedge-shaped buckle, the second screw rod cannot continue to move downward, the intelligent control module immediately controls the power motor to stop rotating, the pen core is filled with the insulin liquid medicine, the insulin liquid medicine filling operation is completed, a new injection needle is replaced, and the injection is prepared.

[0024] The step (two) is specifically: operating the key operation module, the intelligent control module controls the power motor to rotate forward, the output shaft of the power motor drives the motor gear to rotate, the motor gear meshes with the transmission driving gear, the driving gear drives the driving cylinder to rotate forward, the driving cylinder rotates relative to the first tubular screw, the driving cylinder drives the first tubular screw to stretch out of the driving cylinder through the first internal thread and the first external thread, the first tubular screw drives the second fixed pipe sleeve and the second tubular screw to move upward relative to the first fixed rod, the first limiting clamping block on the inner wall of the lower end of the second fixed pipe sleeve slides upward along the first limiting clamping groove on the outer side wall of the first fixed rod, the second tubular screw drives the limiting screw plug and the core piston to move upward, so that the core piston pushes the insulin liquid in the pen refill out and injects through the needle tube, the injection hose and the injection needle, wherein, since the first internal thread, the first external thread, the second internal thread and the second external thread are trapezoidal threads with the same pitch, one rotation of the driving cylinder can realize the upward movement of the first tubular screw by a pitch length, and the conductive ball and the conductive sheet roll in contact once, then the position sensor transmits a signal to the intelligent control module once, the intelligent control module obtains the rotation number information of the driving cylinder by collecting the signal of the position sensor, the intelligent control module obtains the distance of the upward movement of the first tubular screw according to the rotation number of the driving cylinder, at the same time, the intelligent control module processes the image collected by the camera by using the pyramid YOLO7 algorithm, identifies the position of the core piston, and then measures the injected amount of the insulin liquid in the pen refill, the intelligent control module controls the power motor to change the rotation torque and speed, so as to reduce the impact between the first tubular screw and the driving cylinder, until the first tubular screw moves upward to the upper limit position, that is, the first tubular screw and the driving cylinder cannot continue to rotate relative motion, at the same time, the first limiting clamping block slides upward to the upper end of the first limiting clamping groove and is pulled, the first tubular screw and the second tubular screw are connected as a whole, the movement form of the first tubular screw changes from vertical up-down movement to rotation with the driving cylinder, then the first tubular screw rotates relative to the second tubular screw, the first tubular screw drives the second tubular screw to stretch out of the first tubular screw through the second internal thread and the second external thread, the second tubular screw moves upward relative to the second fixed pipe sleeve, the second tubular screw continues to drive the limiting screw plug and the core piston to move upward, the core piston continues to push the insulin liquid in the pen refill out and inject through the needle tube, the injection hose and the injection needle, when the second limiting clamping block on the inner wall of the lower end of the second tubular screw slides upward to the upper end of the second limiting clamping groove and is pulled, the second tubular screw moves to the upper limit position, the first tubular screw and the second tubular screw cannot continue to rotate relative to each other, the intelligent control module controls the power motor to stop rotating, and the whole insulin liquid injection process is completed.

[0025] The action flow of the intelligent control module controlling the power motor to change the rotation torque and speed is as follows:

[0026] A) When the intelligent control module collects the position sensor signal times to reach the first set number of times, the rotation number of the drive cylinder reaches the first set number of turns, the first-stage tubular screw moves up to approach its upper limit position state, and the intelligent control module measures the injected amount of insulin liquid in the pen core through the camera to be greater than one-third and to approach one-half. The intelligent control module controls the drive current of the power motor to be raised to 125% of the standard state (50 mA), raises the rotation torque of the power motor, and reduces the speed of the power motor to 80% of the standard state (200 rpm / Sec) through PWM speed regulation.

[0027] B) The drive cylinder continues to rotate forward, and when the intelligent control module collects the position sensor signal times to reach the second set number of times, the rotation number of the drive cylinder reaches the second set number of turns, the first-stage tubular screw moves up to further approach its upper limit position state, and the intelligent control module identifies the further upward movement of the core piston through the camera and measures the injected amount of insulin liquid in the pen core to further approach one-half. The intelligent control module controls the drive current of the power motor to be raised to 150% of the standard state (50 mA), raises the rotation torque of the power motor, and reduces the speed of the power motor to 60% of the standard state (200 rpm / Sec) through PWM speed regulation.

[0028] C) The drive cylinder continues to rotate forward, and when the intelligent control module collects the position sensor signal times to reach the third set number of times, the rotation number of the drive cylinder reaches the third set number of turns, the first-stage tubular screw moves up to almost approach its upper limit position state, and the intelligent control module identifies the further upward movement of the core piston through the camera and measures the injected amount of insulin liquid in the pen core to almost approach one-half. The intelligent control module controls the drive current of the power motor to be raised to 200% of the standard state (50 mA), raises the rotation torque of the power motor, and reduces the speed of the power motor to 20% of the standard state (200 rpm / Sec) through PWM speed regulation, to reduce the impact force of the first-stage tubular screw and the drive cylinder.

[0029] D) The drive cylinder continues to rotate forward, and when the intelligent control module collects the position sensor signal times to reach the fourth set number of times, the rotation number of the drive cylinder reaches the fourth set number of turns, the first-stage tubular screw moves up to its upper limit position state, and the intelligent control module identifies the further upward movement of the core piston through the camera and measures the injected amount of insulin liquid in the pen core to further reach one-half. The intelligent control module controls the drive current of the power motor to be raised to 300% of the standard state (50 mA), raises the rotation torque of the power motor, and reduces the speed of the power motor to 5% of the standard state (200 rpm / Sec) through PWM speed regulation, to further reduce the impact force of the first-stage tubular screw and the drive cylinder.

[0030] The pyramid YOLO7 algorithm inputs an image collected by a camera. The resolution of the real-time monitoring picture image of the camera is w x h pixels, w takes a value of 1280 pixels, and h takes a value of 720 pixels. The pyramid YOLO7 algorithm performs rectangular window clipping on the w x h pixel key frame of the original input image. The starting point and the ending point of the rectangular window clipping are marked as two points A (x1, y1) and B (x2, y2) respectively. The starting point A (x1, y1) and the ending point B (x2, y2) are determined as follows:

[0031] (1) Analyzing the historical detection data, the coordinates of the target object hotspot maximum circumscribed rectangle region marked by the pyramid YOLO7 algorithm with adaptive weights in the last 7 days are obtained, and are marked as S1 {(x 11 , y 11 ), (x 21 , y 21 )}, S2 {(x 12 , y 12 ), (x 22 , y 22 )}, S3 {(x 13 , y 13 ), (x 23 , y 23 )}, and S n {(x 1n , y 1n ), (x 2n , y 2n )} respectively.

[0032] (2) x 11 , x 12 , x 13 , …, x 1n are sorted in ascending order, and the first 50% data series is taken, denoted as ; the X direction coordinate of the starting point A (x1, y1) is calculated, as shown in the following formula 1):

[0033]

[0034] In the above formula 1), [n / 2] is the integer part of n / 2; similarly, y 11 , y 12 , y 13 , …, y 1n are sorted in ascending order, and the first 50% data series is taken, denoted as ; the Y direction coordinate of the starting point A (x1, y1) is calculated, as shown in the following formula 2):

[0035]

[0036] , judge whether the coordinates of x1 and y1 are out of bounds, if the value of x1 or y1 is less than 1, then the value of x1 or y1 is 1, otherwise, respectively, down to the integer;

[0037] (3), x 21 , x 22 , x 23 , …, x 2n Sort in descending order, take the first 50% of the data series, denoted as ; Calculate the X direction coordinate of the end point B (x2, y2), as shown in the following formula 3):

[0038]

[0039] ; Similarly, y 21 , y 22 , y 23 , …, y 2n Sort in descending order, take the first 50% of the data series, denoted as , Calculate the Y direction coordinate of the end point B (x2, y2), as shown in the following formula 4):

[0040]

[0041] , judge whether the coordinates of x2 and y2 are out of bounds, if x2 is greater than 1280, then the value of x2 is 1280, if the value of y2 is greater than 720, then the value of y2 is 720, otherwise, respectively, down to the integer;

[0042] (4), if the time accumulation days of historical data is less than 7 days, the coordinate of the start point A is set to (1, 1), and the coordinate of the end point B is set to (1280, 720), that is, x1=1, x2=1280, y1=1, y2=720.

[0043] The flow of the pyramid YOLO7 algorithm for image processing is as follows:

[0044] (I), when the pen core screw pump is working for insulin liquid injection, the intelligent control module acquires the image collected by the camera every 10ms, and the pyramid YOLO7 algorithm judges whether the image threshold is greater than 5ml / hour, if it is greater than 5ml / hour, go to the next step (II), otherwise continue to execute the current step (I);

[0045] (II), if the current injection amount is less than half of the pen core capacity, the image A after the key frame of the camera at the current time is acquired through rectangular window clipping; take the current time as the starting point, acquire the key frame through rectangular window clipping of the previous 500ms and 2 seconds, respectively denoted as image B and C, go to the next step (III);

[0046] (III), first, the pyramid YOLO7 algorithm for image A YOLO7 target object detection, calculate the current image exists injection volume is less than or equal to 0, greater than 0 less than 1 / 2 and 1 the maximum probability, marked as P{a, b, c}, YOLO7 algorithm in advance offline for the above three target training; further, the image A is divided into two equal parts according to the length and width direction, segmentation into A1, A2, A3 and A4 four sub images, respectively calculate the current sub image exists injection volume is less than or equal to 0, greater than 0 less than 1 / 2 and 1 three target maximum probability, marked as P1, P2, P3 and P4, the P1, P2, P3 and P4 with the P is also a three dimensional vector; screening the P1, P2, P3 and P4 of each dimension of the four sub images maximum value, marked as P5{d, e, f}; further, the image A is divided into four equal parts according to the length and width direction, segmentation into A 11 … 44 The 16 sub images, respectively calculate the current sub image exists less than or equal to 0, greater than 0 less than 1 / 2 and 1 three target maximum probability, marked as P 11 … P 44 , the P 11 … P 44 With the P is also a three dimensional vector; screening the P 11 … P 44 Each dimension of the 16 sub images maximum value, marked as P 55 {g, h, i}; through three layers of pyramid YOLO7 algorithm identification, the final target detection probability of image A P A As follows:

[0047]

[0048] Wherein, w1…w9 is the weight, its value with the detection result of YOLO7 dynamic variable weight, its calculation as follows 6)~8):

[0049] ;

[0050] (IV), then, with reference to the pyramid YOLO7 method of adaptive weight for image A, image B and C are processed, the final target detection probability of image B and C is obtained, marked as P B And P C ;

[0051] (V), the final target detection probability of the three images A, B and C corresponding to P A , P B And P CThe maximum value in the middle dimension is obtained, and the final detection result of the injection speed and the injection amount at the current time is obtained according to the maximum value determination principle, that is, less than or equal to 0, greater than 0 and less than 1 / 2, and 1, for example: when the calculation result is P A ={1, 0, 0}, P B ={0.56, 0.16, 0}, P C ={0.46, 0.09, 0}, P A , P B and P C The maximum value in the middle dimension appears in the first dimension, so according to the maximum value determination principle, the current injection condition is judged to be less than or equal to 0.

[0052] (VI) After the detection is completed, re-enter the next round of detection and turn to step (I) for processing.

[0053] The application has outstanding substantial characteristics and significant progress compared with the prior art. Specifically, the inner circle of the upper end of the driving cylinder is provided with a first internal thread, the outer circle of the primary tubular screw rod is provided with a first external thread in the axial direction which threadedly cooperates with the first internal thread, the inner circle of the upper end of the primary tubular screw rod is provided with a second internal thread, the outer circle of the secondary tubular screw rod is provided with a second external thread in the axial direction which threadedly cooperates with the second internal thread, the first internal thread, the first external thread, the second internal thread and the second external thread are all trapezoidal threads with the same pitch, so that the driving cylinder rotates one circle to realize the extension or contraction of the primary tubular screw rod or the secondary tubular screw rod by one pitch length, the injection amount of the insulin liquid can be accurately controlled, high-precision drug delivery is realized, and the overall size is significantly reduced, so that during the whole insulin liquid injection process, the intelligent control module can calculate the rotation number of the driving cylinder by collecting the signal of the position sensor, the intelligent control module obtains the distance of the upward movement of the primary tubular screw rod according to the rotation number of the driving cylinder, the intelligent control module processes the image collected by the camera by adopting the pyramid YOLO7 algorithm, identifies the position of the core piston, and then measures the injected amount of the insulin liquid in the pen core, the intelligent control module controls the driving motor to change the rotation torque and speed, reduces the impact force between the primary tubular screw rod and the driving cylinder, and reduces the energy consumption of the electric energy; the intelligent control module is also provided with a soft limit of the secondary screw rod extension mechanism, the soft limit parameter is determined by the geometric parameters of the primary tubular screw rod and the secondary tubular screw rod, i.e. the pitch, the total length and the working length, and when the second limit block on the inner wall of the lower end of the secondary tubular screw rod slides upward to the upper end of the second limit slot and is pulled, and the secondary tubular screw rod is contracted downward into the primary tubular screw rod and moves downward to the lower limit position, the intelligent control module immediately controls the driving motor to stop rotating, avoids the secondary tubular screw rod being pulled tight or the secondary tubular screw rod being too tight in the primary tubular screw rod to cause locking, and also avoids the driving motor being overloaded to cause the output shaft torque of the driving motor to be too large and damaged, thereby protecting the driving motor, the primary tubular screw rod and the secondary tubular screw rod.

[0054] When the insulin medicine is filled, the power motor drives the driving cylinder to reverse through the motor gear and the driving gear, and the primary tubular screw is contracted downward into the driving cylinder. The outer circle of the upper end of the primary tubular screw is fixedly sleeved with a limiting ring located above the upper end of the driving cylinder. The upper end surface of the driving cylinder is provided with a first wedge-shaped buckle protruding upward. The lower end surface of the limiting ring is provided with a second wedge-shaped buckle protruding downward. The upper end surface of the limiting ring is provided with a third wedge-shaped buckle protruding upward. The bottom outer edge of the limiting screw plug is provided with a fourth wedge-shaped buckle protruding downward. When the primary tubular screw is contracted downward into the driving cylinder and moves downward to the lower limit position, the second wedge-shaped buckle is engaged with the first wedge-shaped buckle. At this time, the primary tubular screw reversely rotates with the driving cylinder, avoiding the primary tubular screw from being too deep or too tight in the driving cylinder to cause locking. The primary tubular screw drives the secondary tubular screw to contract downward into the primary tubular screw through the second inner thread and the second outer thread. Similarly, when the secondary tubular screw is contracted downward into the primary tubular screw and moves downward to the lower limit position, the fourth wedge-shaped buckle is engaged with the third wedge-shaped buckle. At this time, the secondary tubular screw cannot continue to contract downward into the primary tubular screw. Since the second wedge-shaped buckle is engaged with the first wedge-shaped buckle and the fourth wedge-shaped buckle is engaged with the third wedge-shaped buckle, the locking prevention function is realized in structure.

[0055] In summary, the insulin medicine injection amount can be accurately controlled, high-precision drug delivery can be realized, the overall size can be significantly reduced, the rotation torque and speed of the power motor can be intelligently controlled, the impact force can be reduced, the energy consumption of electric energy can be reduced, and the locking prevention function is also realized. BRIEF DESCRIPTION OF DRAWINGS

[0056] Figure 1 is the initial state schematic diagram of the present application when the insulin medicine is filled and ready to be injected.

[0057] Figure 2 is an intermediate state schematic diagram of the present application in the process of injecting the insulin medicine (the primary tubular screw moves upward to the upper limit position).

[0058] Figure 3 is a schematic diagram of the present application after the insulin medicine injection is completed (the secondary tubular screw moves upward to the upper limit position).

[0059] Figure 4 is an intermediate state schematic diagram of the present application in the process of refilling the insulin medicine (the primary tubular screw moves downward to the lower limit position).

[0060] Figure 5 is a schematic diagram of the present application after the insulin medicine is refilled (the secondary tubular screw moves downward to the lower limit position).

[0061] Figure 6 is the working state diagram of the limit ring when the primary pipe screw and the secondary pipe screw return to the initial state after the insulin liquid refilling of the application is completed

[0062] Figure 7 is the elevation view of the position sensor, the elastic conductor, the first signal conductor and the conductive ball on the driving cylinder of the application.

[0063] Figure 8 is the schematic diagram of the rectangular window clipping of the w x h pixel key frame of the original input image by the pyramid YOLO7 algorithm of the application.

[0064] Figure 9 is the schematic diagram of the target object detection of image A by the YOLO7 algorithm of the application.

[0065] Figure 10 is Figure 1 is the local enlarged view of A in

[0066] Figure 11 is the local enlarged view of B in Figure 7 DETAILED DESCRIPTION

[0067] The embodiments of the application are further illustrated below with reference to the accompanying drawings.

[0068] As shown in Figures 1-11 , a pen core screw pump for insulin injection includes a shell 1, a pen core injection mechanism, a primary screw telescopic mechanism, a secondary screw telescopic mechanism, a power device, a power module and an intelligent control module. The pen core injection mechanism, the primary screw telescopic mechanism and the secondary screw telescopic mechanism are coaxially and vertically arranged in the left side of the shell. The power device, the power module and the intelligent control module are arranged in the right side of the shell 1. The power device is in transmission connection with the primary screw telescopic mechanism. The power device drives the primary screw telescopic mechanism to extend and retract. The secondary screw telescopic mechanism is installed in the primary screw telescopic mechanism and in transmission connection with the primary screw telescopic mechanism. The primary screw telescopic mechanism drives the secondary screw telescopic mechanism to extend and retract. The pen core injection mechanism is arranged in the upper part of the secondary screw telescopic mechanism and connected with the extension end of the secondary screw telescopic mechanism. The shell 1 is provided with a key operation module 2. The primary screw telescopic mechanism is provided with a sensor assembly. The power module provides power to the power device and the intelligent control module respectively. The intelligent control module is in signal connection with the power device, the key operation module 2 and the sensor assembly respectively.

[0069] ​The bottom of the shell 1 is open and fixedly connected with a bottom cover 3, a left side inside the shell 1 is integrally formed in a vertical direction with an injection cylinder 4 in a structure similar to a pen barrel, the upper end of the injection cylinder 4 extends out of the top of the shell 1 in an upward direction, the lower end of the injection cylinder 4 extends to the lower left part inside the shell 1 in a downward direction, the lower right part inside the shell 1 is provided with an electrical inner cavity 5, a power module and an intelligent control module are arranged in the electrical inner cavity 5, and a power device is arranged in the upper right part inside the shell 1.

[0070] The refill injection mechanism comprises a refill 6 and a core piston 7, the refill 6 is coaxially fixedly embedded in the injection cylinder 4, the outer circle of the refill 6 is in close contact with the inner circle of the injection cylinder 4, the lower end of the refill 6 is open, the lower end of the refill 6 is located in the injection cylinder 4 and close to the lower end of the injection cylinder 4, the upper end of the refill 6 is integrally formed with a T-shaped hollow cylindrical head 8 which is large at the top and small at the bottom, the maximum circumferential diameter of the T-shaped hollow cylindrical head 8 is smaller than the diameter of the refill 6, the lower end of the T-shaped hollow cylindrical head 8 is connected with the upper end of the refill 6 through a circular truncated cone 9 which is thin at the top and thick at the bottom, the upper end of the injection cylinder 4 is coaxially screw-connected with a needle cap 10, the T-shaped hollow cylindrical head 8 is embedded in the needle cap 10, the top center of the needle cap 10 is coaxially integrally formed with a cylindrical protrusion 11, the center of the cylindrical protrusion 11 is provided with a first central hole in a vertical direction, a injection hose 12 is coaxially fixedly embedded in the first central hole, the upper end of the injection hose 12 extends out of the upper end of the cylindrical protrusion 11 and is connected with a injection needle, the center of the needle cap 10 is provided with a second central hole coaxial with the first central hole, the inner diameter of the second central hole is smaller than that of the first central hole, the upper end of the second central hole is connected with the lower end of the first central hole, a needle tube 13 is coaxially fixedly embedded in the second central hole, the needle tube 13 coaxially penetrates through the T-shaped hollow cylindrical head 8 and extends into the T-shaped hollow cylindrical head 8, the lower end of the needle tube 13 communicates with the inside of the refill 6, and the core piston 7 is coaxially and sealingly slidably arranged in the refill 6.

[0071] The first-stage screw telescopic mechanism comprises a first-stage fixed rod 15, a first-stage tubular screw 16 and a driving cylinder 17, the outer edge of the upper surface of the fixed seat 14 is integrally formed with a circular ring flange 18, the center of the fixed seat 14 is provided with a third central hole, the first-stage fixed rod 15 is coaxially arranged below the injection cylinder 4, the upper end of the first-stage fixed rod 15 is located at the center of the lower end of the injection cylinder 4, the lower end of the first-stage fixed rod 15 is fixedly connected in the third central hole, the first-stage tubular screw 16 is coaxially sleeved outside the first-stage fixed rod 15, the driving cylinder 17 is coaxially sleeved outside the first-stage tubular screw 16 and arranged between the injection cylinder 4 and the fixed seat 14, the upper end of the driving cylinder 17 is rotatably connected to the lower end of the injection cylinder 4, the lower end of the driving cylinder 17 is rotatably connected to the circular ring flange 18, the inner diameter of the driving cylinder 17 is smaller than the inner diameter of the pen core 6, the inner circle of the upper end of the driving cylinder 17 is provided with a first internal thread 19, the outer circle of the first-stage tubular screw 16 is provided with a first external thread 20 which is threadedly matched with the first internal thread 19 in the axial direction, the inner circle of the upper end of the first-stage tubular screw 16 is provided with a second internal thread 21, the lower end of the first-stage tubular screw 16 is flush with the lower end of the driving cylinder 17 and higher than the upper surface of the fixed seat 14, the upper end of the first-stage tubular screw 16 is higher than the upper end of the driving cylinder 17, the outer circle of the upper end of the first-stage tubular screw 16 is fixedly sleeved with a limiting ring 22 which is located above the upper end of the driving cylinder 17, the upper end surface of the driving cylinder 17 is provided with a first wedge-shaped buckle 23 which protrudes upward, the lower end surface of the limiting ring 22 is provided with a second wedge-shaped buckle 24 which protrudes downward, when the first-stage tubular screw 16 is contracted downward into the driving cylinder 17 and moves downward to the lower limit position, the second wedge-shaped buckle 24 is engaged with the first wedge-shaped buckle 23, the upper end surface of the limiting ring 22 is provided with a third wedge-shaped buckle 25 which protrudes upward, the outer circle of the upper end of the driving cylinder 17 is fixedly sleeved with a driving gear 26;

[0072] The secondary screw telescopic mechanism comprises a secondary fixed sleeve 27 and a secondary tubular screw 28. The secondary fixed sleeve 27 is coaxially sleeved on the primary fixed rod 15. The secondary tubular screw 28 is coaxially sleeved on the secondary fixed sleeve 27 and located in the primary tubular screw 16. The outer circle of the secondary tubular screw 28 is provided with a second external thread 29 which is threadedly connected with the second internal thread 21. The upper end of the secondary fixed sleeve 27 is flush with the upper end of the primary fixed rod 15. The lower end of the secondary fixed sleeve 27 is flush with the lower end of the primary tubular screw 16. The upper end of the secondary tubular screw 28 is higher than the upper end of the primary tubular screw 16 and is fixedly connected with a limiting screw plug 30 which is located above the limiting ring 22. The diameter of the limiting screw plug 30 is smaller than the inner diameter of the pen core 6. The top of the limiting screw plug 30 extends into the pen core 6 and is fixedly connected with the bottom of the core piston 7. The bottom outer edge of the limiting screw plug 30 is provided with a fourth wedge-shaped buckle 31 which is protruded downward. When the secondary tubular screw 28 is contracted downward into the primary tubular screw 16 and moves to the lower limit position, the fourth wedge-shaped buckle 31 is engaged with the third wedge-shaped buckle 25. The lower end of the secondary tubular screw 28 is higher than the lower end of the secondary fixed sleeve 27. The outer side wall of the primary fixed rod 15 is provided with a first limiting clamping groove 32 which is open downward and outward. The lower end of the secondary fixed sleeve 27 is integrally formed with a first limiting clamping block 33 which is correspondingly and slidingly clamped in the first limiting clamping groove 32. The outer side wall of the secondary fixed sleeve 27 is provided with a second limiting clamping groove 34 which is open downward and outward. The lower end of the secondary tubular screw 28 is integrally formed with a second limiting clamping block 35 which is correspondingly and slidingly clamped in the second limiting clamping groove 34.

[0073] The first internal thread 19, the first external thread 20, the second internal thread 21 and the second external thread 29 are all trapezoidal threads with the same pitch.

[0074] The power device comprises a power motor 36 which is fixedly installed in the upper right part of the shell 1. The output shaft of the power motor 36 is vertically arranged on the lower side of the power motor 36. The lower end of the output shaft of the power motor 36 is coaxially fixedly installed with a motor gear 37 which is located on the right side of the driving gear 26 and is in meshing transmission connection with the driving gear 26. The power motor 36 is electrically connected with the power supply module and is signal connected with the intelligent control module.

[0075] The sensor assembly comprises a position sensor 38 arranged on the lower side of the lower end butt trapezoidal thread of the first internal thread 19, a wire harness passage 39 is axially arranged on the corresponding position of the barrel of the drive cylinder 17 to the position sensor 38, a mounting hole 40 with a diameter larger than the wire harness passage 39 is coaxially arranged at the lower end of the wire harness passage 39, the lower end of the mounting hole 40 is arranged on the lower end surface of the drive cylinder 17, an elastic conductor 41 is fixedly arranged in the mounting hole 40, one first signal wire 42 is arranged in each wire harness passage 39, the upper end of the first signal wire 42 is connected with the position sensor 38, the lower end of the first signal wire 42 is connected with the elastic conductor 41, the lower end of the elastic conductor 41 is fixedly connected with a conductive ball 43 arranged in the lower part of the mounting hole 40, the lower side of the conductive ball 43 protrudes out of the lower end of the mounting hole 40, a conductive sheet 44 is fixedly arranged on the upper surface of the fixed seat 14, the conductive sheet 44 is in rolling contact with the conductive ball 43 in the upper and lower corresponding positions, and the conductive sheet 44 is signal-connected with the intelligent control module through a second signal wire passing through the lower surface of the fixed seat 14 and introduced into the electrical inner cavity 5.

[0076] The pen core 6 is made of transparent material, a camera with light is arranged in the middle position of the outer wall of the pen core 6 and embedded in the inner wall of the injection cylinder 4, the power module is electrically connected with the camera, and the intelligent control module is signal-connected with the camera.

[0077] The intelligent control module is a microcomputer with an embedded processor, and further comprises a soft limit of a two-stage screw telescopic mechanism, the soft limit parameters of which are determined by the geometric parameters of the one-stage pipe screw 16 and the two-stage pipe screw 28, i.e. the pitch, the total length and the working length, so that when the second limit block on the inner wall of the lower end of the two-stage pipe screw 28 slides upward to the upper end of the second limit slot and is pulled, and the two-stage pipe screw 28 is retracted downward into the one-stage pipe screw 16 and moves downward to the lower limit position, the intelligent control module immediately controls the power motor 36 to stop rotating.

[0078] The power module, the intelligent control module, the injection needle and the camera are not shown in the figure, the power module, the intelligent control module, the key operation module 2, the power motor 36, the injection needle and the camera are all conventional technologies, and the specific structure and working principle will not be described here, the control and calculation method of the intelligent control module of the present application is a conventional technology, and does not involve a new computer program.

[0079] By adopting the above technical scheme, the intelligent control method of the pen core type insulin screw injection pump specifically comprises the following steps:

[0080] (1) starting the pen core screw pump, operating the key operation module 2, the intelligent control module controls the power device to work, the power device drives the one-stage screw telescopic mechanism and the two-stage screw telescopic mechanism to retract, and the prefabricated insulin liquid medicine is filled into the pen core injection mechanism;

[0081] (II) operating the key operation module 2, the intelligent control module controls the power device to work, the power device drives the first screw rod telescopic mechanism to extend first, when the first screw rod telescopic mechanism extends to the limit, the sensor assembly transmits the signal to the intelligent control module, the intelligent control module controls the power device to reduce the rotating speed, so as to reduce the impact of the first screw rod telescopic mechanism, then the second screw rod telescopic mechanism begins to extend, until the second screw rod telescopic mechanism extends to the maximum limit position, the intelligent control module controls the power device to stop; in the process of extending the first screw rod telescopic mechanism and the second screw rod telescopic mechanism, the pen core injection mechanism carries out the insulin liquid injection.

[0082] (III) after the insulin liquid injection is completed, repeat step (I), refill the insulin liquid, and prepare for the next injection.

[0083] Step (I) is specifically: turn on the power module, the intelligent control module initializes, insert the injection needle into the insulin ampoule, operate the key operation module 2, the intelligent control module controls the power motor 36 to reverse, the output shaft of the power motor 36 drives the driving cylinder 17 to reverse through the motor gear 37 and the driving gear 26, the driving cylinder 17 drives the first screw rod 16 to shrink into the driving cylinder 17 through the first inner thread 19 and the first outer thread 20, the first screw rod 16 drives the second fixed pipe sleeve 27 and the second screw rod 28 to move downward relative to the first fixed rod 15, the second screw rod 28 drives the limit screw plug 30 and the core piston 7 to move downward, so that the core piston 7 can draw the insulin liquid in the insulin ampoule into the pen core 6 through the injection needle, the injection hose 12 and the needle tube 13, when the first screw rod 16 shrinks into the driving cylinder 17 and moves to the lower limit position, the second wedge-shaped buckle 24 engages with the first wedge-shaped buckle 23, the first screw rod 16 cannot continue to move downward, the driving cylinder 17 drives the first screw rod 16 to rotate reversely through the first wedge-shaped buckle 23 and the second wedge-shaped buckle 24, the first screw rod 16 rotates reversely relative to the second screw rod 28, the first screw rod 16 drives the second screw rod 28 to shrink into the first screw rod 16 through the second inner thread 21 and the second outer thread 29, the second screw rod 28 continues to drive the limit screw plug 30 and the core piston 7 to move downward, the core piston 7 continues to draw the insulin liquid in the insulin ampoule into the pen core 6 through the injection needle, the injection hose 12 and the needle tube 13, when the second screw rod 28 shrinks into the first screw rod 16 and moves to the lower limit position, the fourth wedge-shaped buckle 31 engages with the third wedge-shaped buckle 25, the second screw rod 28 cannot continue to move downward, the intelligent control module immediately controls the power motor 36 to stop rotating, the pen core 6 is filled with the insulin liquid, a new injection needle is replaced, and the injection is prepared.

[0084] Step (two) is specifically: the operation of the key operation module 2, the intelligent control module controls the power motor 36 to rotate forward, the output shaft of the power motor 36 drives the motor gear 37 to rotate, the motor gear 37 engages the transmission drive gear 26, the drive gear 26 drives the drive cylinder 17 to rotate forward, the drive cylinder 17 rotates relative to the first tubular screw rod 16, the drive cylinder 17 drives the first internal thread 19 and the first external thread 20 to make the first tubular screw rod 16 extend out of the drive cylinder 17, the first tubular screw rod 16 drives the second fixed pipe sleeve 27 and the second tubular screw rod 28 to move upwards relative to the first fixed rod 15, the first limiting block 33 on the inner wall of the lower end of the second fixed pipe sleeve 27 slides upwards along the first limiting slot 32 on the outer side wall of the first fixed rod 15, the second tubular screw rod 28 drives the limiting screw plug 30 and the core piston 7 to move upwards, so that the core piston 7 pushes the insulin liquid in the pen refill 6 out and injects it through the needle tube 13, the injection hose 12 and the injection needle, wherein, since the first internal thread 19, the first external thread 20, the second internal thread 21 and the second external thread 29 are all trapezoidal threads with the same pitch, one rotation of the drive cylinder 17 can make the first tubular screw rod 16 move upwards by a pitch length, and the conductive ball 43 and the conductive sheet 44 roll in contact once, so the position sensor 38 sends a signal to the intelligent control module once, the intelligent control module obtains the rotation number information of the drive cylinder 17 by collecting the signal of the position sensor 38, the intelligent control module obtains the distance of the upward movement of the first tubular screw rod 16 according to the rotation number of the drive cylinder 17, at the same time, the intelligent control module processes the image collected by the camera by using the pyramid YOLO7 algorithm, identifies the position of the core piston 7, and then measures the injected amount of the insulin liquid in the pen refill 6, the intelligent control module controls the power motor 36 to change the rotation torque and speed, and reduces the impact force between the first tubular screw rod 16 and the drive cylinder 17, until the first tubular screw rod 16 moves upwards to the upper limit position, that is, the first tubular screw rod 16 and the drive cylinder 17 cannot continue to rotate relative to each other, at the same time, the first limiting block 33 slides upwards to the upper end of the first limiting slot 32 and is pulled, the first tubular screw rod 16 and the drive cylinder 17 are connected as a whole, the movement form of the first tubular screw rod 16 changes from vertical up-down movement to rotation with the drive cylinder 17, so the first tubular screw rod 16 rotates relative to the second tubular screw rod 28, the first tubular screw rod 16 drives the second tubular screw rod 28 to extend out of the first tubular screw rod 16 through the second internal thread 21 and the second external thread 29, the second tubular screw rod 28 moves upwards relative to the second fixed pipe sleeve 27, the second tubular screw rod 28 continues to drive the limiting screw plug 30 and the core piston 7 to move upwards, the core piston 7 continues to push the insulin liquid in the pen refill 6 out and inject it through the needle tube 13, the injection hose 12 and the injection needle, when the second limiting block 35 on the inner wall of the lower end of the second tubular screw rod 28 slides upwards to the upper end of the second limiting slot 34 and is pulled, the second tubular screw rod 28 moves to its upper limit position,The primary tubular screw 16 and the secondary tubular screw 28 cannot continue to rotate relative to each other, the intelligent control module controls the power motor 36 to stop rotating, and the whole insulin liquid injection process is completed.

[0085] The intelligent control module controls the power motor 36 to change the rotating torque and speed action process as follows:

[0086] A) When the intelligent control module collects the position sensor 38 signal times to reach the first set number of times, the rotation number of the drive cylinder 17 reaches the first set number of turns, the primary tubular screw 16 moves upwards to approach the upper limit position state, and at the same time the intelligent control module measures that the injected amount of insulin liquid in the pen core 6 is greater than one-third and approaches one-half, the intelligent control module controls the drive current of the power motor 36 to be raised to 125% of the standard state (50mA), the rotating torque of the power motor 36 is raised, and through PWM speed regulation, the speed of the power motor 36 is reduced to 80% of the standard state (200rpm / Sec);

[0087] B) The drive cylinder 17 continues to rotate forward, and when the intelligent control module collects the position sensor 38 signal times to reach the second set number of times, the rotation number of the drive cylinder 17 reaches the second set number of turns, the primary tubular screw 16 moves upwards to further approach the upper limit position state, and at the same time the intelligent control module identifies that the core piston 7 further moves upwards, and measures that the injected amount of insulin liquid in the pen core 6 further approaches one-half, the intelligent control module controls the drive current of the power motor 36 to be raised to 150% of the standard state (50mA), the rotating torque of the power motor 36 is raised, and through PWM speed regulation, the speed of the power motor 36 is reduced to 60% of the standard state (200rpm / Sec);

[0088] C) The drive cylinder 17 continues to rotate forward, and when the intelligent control module collects the position sensor 38 signal times to reach the third set number of times, the rotation number of the drive cylinder 17 reaches the third set number of turns, the primary tubular screw 16 moves upwards to approach the upper limit position state, and at the same time the intelligent control module identifies that the core piston 7 further moves upwards, and measures that the injected amount of insulin liquid in the pen core 6 approaches one-half, the intelligent control module controls the drive current of the power motor 36 to be raised to 200% of the standard state (50mA), the rotating torque of the power motor 36 is raised, and through PWM speed regulation, the speed of the power motor 36 is reduced to 20% of the standard state (200rpm / Sec), reducing the impact of the primary tubular screw 16 and the drive cylinder 17;

[0089] D), the intelligent control module collects the position sensor signal to the fourth set number of times, the rotation number of the drive cylinder 17 reaches the fourth set number of turns, the primary tubular screw rod 16 moves up to its upper limit position state, and at the same time the intelligent control module identifies the further upward movement of the core piston 7 through the camera, measures that the injected amount of insulin liquid in the pen core 6 further reaches one-half, and the intelligent control module controls the driving current of the power motor 36 to be raised to 300% of the standard state (50 mA), raises the rotation torque of the power motor 36, and reduces the speed of the power motor 36 to 5% of the standard state (200 rpm / Sec) through PWM speed regulation, further reducing the impact force of the primary tubular screw rod 16 and the drive cylinder 17.

[0090] The pyramid YOLO7 algorithm inputs an image collected by a camera. The resolution of the real-time monitoring picture image of the camera is w x h pixels, w is 1280 pixels, and h is 720 pixels. The pyramid YOLO7 algorithm performs rectangular window clipping on the w x h pixel key frame of the original input image. The starting point and the ending point of the rectangular window clipping are marked as two points A (x1, y1) and B (x2, y2) respectively. The starting point A (x1, y1) and the ending point B (x2, y2) are determined as follows:

[0091] (1) Analyze the historical detection data to obtain the coordinates of the target object hotspot maximum bounding rectangle region marked by the pyramid YOLO7 algorithm with adaptive weight in the last 7 days, respectively marked as S1{(x 11 , y 11 ), (x 21 , y 21 )}, S2{(x 12 , y 12 ), (x 22 , y 22 )}, S3{(x 13 , y 13 ), (x 23 , y 23 )}, and S n {(x 1n , y 1n ), (x 2n , y 2n )};

[0092] (2) Sort x 11 , x 12 , x 13 , …, x 1n from small to large, take the first 50% data series, and mark it as ; Calculate the X direction coordinate of the starting point A (x1, y1), as shown in the following formula 1) :

[0093]

[0094] In the above formula 1), [n / 2] is the integer part of n / 2; similarly, y 11 , y 12 , y 13 , …, y 1n are sorted in ascending order, and the first 50% of the data series are recorded as The Y direction coordinate of the starting point A (x1, y1) is calculated as shown in the following formula 2):

[0095]

[0096] It is determined whether the coordinates of x1 and y1 are out of bounds. If the value of x1 or y1 is less than 1, the value of x1 or y1 is 1, otherwise, the integer part is taken respectively.

[0097] (3) x 21 , x 22 , x 23 , …, x 2n are sorted in descending order, and the first 50% of the data series are recorded as The X direction coordinate of the ending point B (x2, y2) is calculated as shown in the following formula 3):

[0098]

[0099] Similarly, y 21 , y 22 , y 23 , …, y 2n are sorted in descending order, and the first 50% of the data series are recorded as The Y direction coordinate of the ending point B (x2, y2) is calculated as shown in the following formula 4):

[0100]

[0101] It is determined whether the coordinates of x2 and y2 are out of bounds. If the value of x2 is greater than 1280, the value of x2 is 1280, if the value of y2 is greater than 720, the value of y2 is 720, otherwise, the integer part is taken respectively.

[0102] (4) If the time accumulation of the historical data is less than 7 days, the coordinates of the starting point A are set as (1, 1), and the coordinates of the ending point B are set as (1280, 720), that is, x1=1, x2=1280, y1=1, y2=720.

[0103] The flow of the pyramid YOLO7 algorithm for image processing is as follows:

[0104] (I) When the 6-screw pump of this pen cartridge is injecting insulin, the intelligent control module acquires the image captured by the camera every 10ms. The pyramid YOLO7 algorithm determines whether the image threshold is greater than 5ml / hour. If it is greater than 5ml / hour, proceed to the next step (II); otherwise, continue to execute the current step (I).

[0105] (II) If the current injection amount is less than half of the capacity of the pen refill 6, obtain the key frame of the camera at the current moment and crop it through a rectangular window, and record it as image A; starting from the current moment, obtain the key frames of the previous 500ms and the previous 2 seconds and crop them through a rectangular window, and record them as images B and C respectively, and proceed to the next step (III).

[0106] (III) First, the pyramid-style YOLO7 algorithm performs YOLO7 target object detection on image A, calculating the maximum probability of the presence of injection doses less than or equal to 0, greater than 0 but less than 1 / 2, and 1 in the current image, labeled as P{a, b, c}. The YOLO7 algorithm has been trained offline in advance for the above three types of targets. Further, image A is divided into four sub-images, A1, A2, A3, and A4, by 2 equal parts along both length and width. The maximum probability of the presence of injection doses less than or equal to 0, greater than 0 but less than 1 / 2, and 1 in each sub-image is calculated, labeled as P1, P2, P3, and P4. P1, P2, P3, and P4, like P, are also three-dimensional vectors. The maximum value of each dimension of P1, P2, P3, and P4 in the four sub-images is selected and denoted as P5{d, e, f}. Further still, image A is divided into four equal parts along both length and width, labeled as A1, A2, A3, and A4. 11 …A 44 Divide the image into 16 equal sub-images, and calculate the maximum probability of each sub-image containing a target of three types: less than or equal to 0, greater than 0 but less than 1 / 2, and 1. Let P be the maximum probability of each sub-image containing a target of three types: less than or equal to 0, greater than 0 but less than 1 / 2, and 1. 11 …P 44 The P mentioned 11 …P 44 Like P, it is also a three-dimensional vector; P is used to filter the 16 sub-images. 11 …P 44 The maximum value of each dimension is denoted as P. 55 {g, h, i}; After identification using the three-layer pyramid YOLO7 algorithm, the final target detection probability P of image A is... A As shown in equation 5):

[0107]

[0108] Where w1…w9 are weights, whose values ​​change dynamically with the detection results of YOLO7, and are calculated as follows: (6)~8).

[0109] ;

[0110] (IV), then, referring to the pyramid YOLO7 method of adaptive weight for image A, image B and C are processed to obtain the final target detection probability of image B and C, denoted as P B and P C ;

[0111] (V), the final target detection probability P A , P B and P C corresponding to the three images A, B and C are taken out, the maximum value of the dimension is adopted, and the maximum value is determined according to the principle, the final detection result of the current injection speed and injection amount is obtained, that is, less than or equal to 0, greater than 0 less than 1 / 2 and 1, for example: when the calculation result is P A ={1,0,0}, P B ={0.56,0.16,0}, P C ={0.46,0.09,0}, P A , P B and P C The maximum value of the dimension appears in the first dimension, so according to the maximum value determination principle, it is judged that the current injection condition is less than or equal to 0;

[0112] (VI), after the detection is completed, re-enter the next round of detection, turn to step (I) for processing.

[0113] The upper end of the drive cylinder 17 is internally threaded with a first internal thread 19, the outer circle of the primary tubular screw rod 16 is axially provided with a first external thread 20 that threadedly cooperates with the first internal thread 19, the upper end of the primary tubular screw rod 16 is internally threaded with a second internal thread 21, the outer circle of the secondary tubular screw rod 28 is axially provided with a second external thread 29 that threadedly cooperates with the second internal thread 21, and the first internal thread 19, the first external thread 20, the second internal thread 21, and the second external thread 29 are all trapezoidal threads with the same pitch, so that one rotation of the drive cylinder 17 can achieve the extension or contraction of the primary tubular screw rod 16 or the secondary tubular screw rod 28 by one pitch length, accurately control the injection amount of insulin liquid, achieve high-precision drug delivery, and significantly reduce the overall size, so that during the entire insulin liquid injection process, the intelligent control module can calculate the number of rotations of the drive cylinder 17 by collecting the signal of the position sensor 38, the intelligent control module can obtain the distance of upward movement of the primary tubular screw rod 16 according to the number of rotations of the drive cylinder 17, the intelligent control module can process the image collected by the camera using the pyramid YOLO7 algorithm, identify the position of the core piston 7, and then measure the injected amount of insulin liquid in the pen core 6, the intelligent control module can control the power motor 36 to change the rotation torque and speed, and reduce the impact force between the primary tubular screw rod 16 and the drive cylinder 17; the intelligent control module also has a soft limit of the secondary screw rod extension mechanism, and the soft limit parameters are determined by the geometric parameters of the primary tubular screw rod 16 and the secondary tubular screw rod 28, i.e., the pitch, the total length, and the working length, so that when the second limit block on the inner wall of the lower end of the secondary tubular screw rod 28 slides upward to the upper end of the second limit slot and is pulled, and the secondary tubular screw rod 28 is contracted downward into the primary tubular screw rod 16 and moves downward to the lower limit position, the intelligent control module immediately controls the power motor 36 to stop rotating, avoids the secondary tubular screw rod 28 being pulled tight or the secondary tubular screw rod 28 being too tight in the primary tubular screw rod 16 to cause locking, and also avoids the power motor 36 being overloaded to cause the output shaft torque to be too large and damaged, thereby protecting the power motor 36, the primary tubular screw rod 16, and the secondary tubular screw rod 28.

[0114] When the insulin medicine liquid is filled, the power motor 36 drives the driving cylinder 17 to reverse through the motor gear 37 and the driving gear 26, so that the primary tubular screw rod 16 is contracted downward into the driving cylinder 17. Since the outer circle of the upper end of the primary tubular screw rod 16 is fixedly sleeved with the limiting ring 22 located above the upper end of the driving cylinder 17, the upper end surface of the driving cylinder 17 is provided with a first wedge-shaped buckle 23 protruding upward, the lower end surface of the limiting ring 22 is provided with a second wedge-shaped buckle 24 protruding downward, the upper end surface of the limiting ring 22 is provided with a third wedge-shaped buckle 25 protruding upward, and the bottom outer edge of the limiting screw plug 30 is provided with a fourth wedge-shaped buckle 31 protruding downward. When the primary tubular screw rod 16 is contracted downward into the driving cylinder 17 and moves downward to the lower limit position, the second wedge-shaped buckle 24 is engaged with the first wedge-shaped buckle 23. At this time, the primary tubular screw rod 16 reversely rotates with the driving cylinder 17, so as to avoid the primary tubular screw rod 16 from being locked due to being too deep or too tight in the driving cylinder 17. The primary tubular screw rod 16 rotates relative to the secondary tubular screw rod 28. The primary tubular screw rod 16 drives the secondary tubular screw rod 28 to contract downward into the primary tubular screw rod 16 through the second inner thread 21 and the second outer thread 29. Similarly, when the secondary tubular screw rod 28 is contracted downward into the primary tubular screw rod 17 and moves downward to the lower limit position, the fourth wedge-shaped buckle 31 is engaged with the third wedge-shaped buckle 25. At this time, the secondary tubular screw rod 28 cannot continue to contract downward into the primary tubular screw rod 16. Since the second wedge-shaped buckle 24 is engaged with the first wedge-shaped buckle 23 and the fourth wedge-shaped buckle 31 is engaged with the third wedge-shaped buckle 25, the structure can further play a role in preventing locking.

[0115] The above examples are only used to illustrate but not to limit the technical solutions of the present application. Although the present application is described in detail with reference to the above examples, those skilled in the art should understand that the present application can still be modified or replaced equivalently without departing from the spirit and scope of the present application. Any modification or partial replacement should be covered in the scope of the claims of the present application.

Claims

1. A pen cartridge screw pump for insulin injection, characterized in that: The device includes a housing, a refill injection mechanism, a primary screw telescopic mechanism, a secondary screw telescopic mechanism, a power unit, a power module, and an intelligent control module. The refill injection mechanism, the primary screw telescopic mechanism, and the secondary screw telescopic mechanism are coaxially and vertically arranged on the left side of the housing. The power unit, power module, and intelligent control module are all located on the right side of the housing. The power unit is connected to the primary screw telescopic mechanism and drives its extension and retraction. The secondary screw telescopic mechanism is installed inside the primary screw telescopic mechanism and is connected to it. The primary screw telescopic mechanism drives its extension and retraction. The refill injection mechanism is located on the upper part of the secondary screw telescopic mechanism and is connected to its extension and retraction end. The housing has a button operation module, and the primary screw telescopic mechanism has a sensor assembly. The power module provides power to both the power unit and the intelligent control module. The intelligent control module is connected to the power unit, the button operation module, and the sensor assembly via signals. The bottom of the housing is open and fixedly connected to a bottom cover. An injection cylinder is integrally formed vertically on the left side inside the housing. The upper end of the injection cylinder extends upward through the top of the housing, and the lower end of the injection cylinder extends downward to the lower left part inside the housing. An electrical cavity is provided in the lower right part inside the housing. The power module and intelligent control module are located in the electrical cavity, and the power unit is located in the upper right part inside the housing. The pen cartridge injection mechanism includes a pen cartridge and a piston. The pen cartridge is coaxially and fixedly embedded in the injection barrel, with the outer circumference of the pen cartridge in close contact with the inner circumference of the injection barrel. The lower end of the pen cartridge is open and located inside the injection barrel, close to its lower end. The upper end of the pen cartridge has an integrally formed T-shaped hollow cylindrical head, which is larger at the top and smaller at the bottom. The maximum circumferential diameter of the T-shaped hollow cylindrical head is smaller than the diameter of the pen cartridge. The lower end of the T-shaped hollow cylindrical head is connected to the upper end of the pen cartridge via a frustum-shaped cylinder that is thinner at the top and thicker at the bottom. A needle cap is coaxially threaded onto the upper end of the injection barrel, and the T-shaped hollow cylindrical head is embedded in the needle cap. The top center of the needle cap has an integrally formed coaxial shape. A cylindrical protrusion has a first central hole vertically formed at its center. An injection tube is coaxially fixedly embedded in the first central hole. The upper end of the injection tube extends out of the upper end of the cylindrical protrusion and is connected to an injection needle. A second central hole, coaxial with the first central hole, is formed at the center of the needle cap. The inner diameter of the second central hole is smaller than that of the first central hole. The upper end of the second central hole is connected to the lower end of the first central hole. A needle tube is coaxially fixedly embedded in the second central hole. The needle tube coaxially passes through the T-shaped hollow cylindrical head and extends into the T-shaped hollow cylindrical head. The lower end of the needle tube communicates with the inside of the pen refill. The core piston is coaxially and slidably disposed in the pen refill. The primary screw telescopic mechanism includes a primary fixed rod, a primary tubular screw, and a drive cylinder. A circular raised edge is integrally formed on the outer edge of the upper surface of the fixed seat. A third center hole is opened in the center of the fixed seat. The primary fixed rod is coaxially positioned below the syringe barrel, with its upper end located at the center of the lower end of the syringe barrel. The lower end of the primary fixed rod is fixedly connected to the third center hole. The primary tubular screw is coaxially sleeved outside the primary fixed rod. The drive cylinder is coaxially sleeved outside the primary tubular screw and positioned between the syringe barrel and the fixed seat. The upper end of the drive cylinder is rotatably connected to the lower end of the syringe barrel, and the lower end of the drive cylinder is rotatably connected to the circular raised edge. The inner diameter of the drive cylinder is smaller than the inner diameter of the pen refill. A first internal thread is provided on the inner circle of the upper end of the drive cylinder. The outer circle of the primary tubular screw... The first external thread is provided along the axial direction to engage with the first internal thread. The inner circle of the upper end of the first-stage tubular screw is provided with a second internal thread. The lower end of the first-stage tubular screw is flush with the lower end of the drive cylinder and is higher than the upper surface of the fixed seat. The upper end of the first-stage tubular screw is higher than the upper end of the drive cylinder. A limiting ring located above the upper end of the drive cylinder is fixedly fitted on the outer circle of the upper end of the first-stage tubular screw. A first wedge-shaped buckle protruding upward is provided on the upper end face of the drive cylinder. A second wedge-shaped buckle protruding downward is provided on the lower end face of the limiting ring. When the first-stage tubular screw retracts downward into the drive cylinder and moves down to the lower limit position, the second wedge-shaped buckle engages with the first wedge-shaped buckle. A third wedge-shaped buckle protruding upward is provided on the upper end face of the limiting ring. A drive gear is fixedly fitted on the outer circumference of the upper end of the drive cylinder. The secondary screw telescopic mechanism includes a secondary fixed sleeve and a secondary tubular screw. The secondary fixed sleeve is coaxially and slidably fitted onto a primary fixed rod. The secondary tubular screw is coaxially and slidably fitted onto the secondary fixed sleeve and located within the primary tubular screw. The outer circumference of the secondary tubular screw is provided with a second external thread along the axial direction that mates with a second internal thread. The upper end of the secondary fixed sleeve is flush with the upper end of the primary fixed rod, and the lower end of the secondary fixed sleeve is flush with the lower end of the primary tubular screw. The upper end of the secondary tubular screw is higher than the upper end of the primary tubular screw and is fixedly connected to a limiting screw plug located above a limiting ring. The diameter of the limiting screw plug is smaller than the inner diameter of the pen refill, and the top of the limiting screw plug extends into the pen refill and is fixedly connected to the bottom of the core piston. Next, a fourth wedge-shaped buckle protruding downwards is provided on the bottom outer edge of the limiting screw plug. When the secondary tubular screw retracts downwards into the primary tubular screw and moves down to the lower limit position, the fourth wedge-shaped buckle engages with the third wedge-shaped buckle. The lower end of the secondary tubular screw is higher than the lower end of the secondary fixed sleeve. The outer wall of the primary fixed rod is provided with a first limiting groove with lower and outer openings along the axial direction. The inner wall of the lower end of the secondary fixed sleeve is integrally formed with a first limiting block that is slidably locked in the first limiting groove. The outer wall of the secondary fixed sleeve is provided with a second limiting groove with lower and outer openings along the axial direction. The inner wall of the lower end of the secondary tubular screw is integrally formed with a second limiting block that is slidably locked in the second limiting groove. The first internal thread, the first external thread, the second internal thread, and the second external thread are all trapezoidal threads with the same pitch.

2. The pen cartridge screw pump for insulin injection according to claim 1, characterized in that: The power unit includes a power motor, which is fixedly installed in the upper right part of the housing. The output shaft of the power motor is vertically arranged on the lower side of the power motor. A motor gear is coaxially fixedly installed at the lower end of the output shaft of the power motor. The motor gear is located on the right side of the drive gear and meshes with the drive gear for transmission. The power module is electrically connected to the power motor, and the intelligent control module is signal connected to the power motor.

3. The pen cartridge screw pump for insulin injection according to claim 1, characterized in that: The sensor assembly includes a position sensor, which is located on the lower side of the trapezoidal thread at the lower end of the first internal thread. A wiring harness channel is axially provided on the cylinder body corresponding to the position sensor. The lower end of the wiring harness channel is coaxially provided with a mounting hole with a diameter larger than the wiring harness channel. The lower port of the mounting hole is located on the lower end face of the drive cylinder. An elastic conductor is fixedly installed in the upper part of the mounting hole. A first signal wire is passed through the wiring harness channel. The upper end of the first signal wire is connected to the position sensor, and the lower end of the first signal wire is connected to the elastic conductor. A conductive ball located in the lower part of the mounting hole is fixedly connected to the lower end of the elastic conductor. The lower side of the conductive ball protrudes downward from the lower port of the mounting hole. A conductive sheet is fixedly installed on the upper surface of the fixed seat. The conductive sheet and the conductive ball are in corresponding rolling contact. The conductive sheet is connected to the intelligent control module via a second signal wire that passes through the lower surface of the fixed seat and is introduced into the electrical cavity.

4. The pen cartridge screw pump for insulin injection according to claim 3, characterized in that: The pen refill is made of transparent material. A camera with its own light is embedded in the inner wall of the syringe in the middle of the outer wall of the pen refill. The power module is electrically connected to the camera, and the intelligent control module is connected to the camera signal.

5. The pen cartridge screw pump for insulin injection according to claim 4, characterized in that: The intelligent control module is a microcomputer with an embedded processor. The intelligent control module also has a built-in soft limit for the secondary screw telescopic mechanism. Its soft limit parameters are determined by the geometric parameters of the primary and secondary tubular screws: pitch, total length, and working length. Therefore, when the second limit block on the inner wall of the lower end of the secondary tubular screw slides upward to the upper end of the second limit slot and is pulled up, and when the secondary tubular screw retracts downward into the primary tubular screw and moves to the lower limit position, the intelligent control module immediately controls the power motor to stop rotating.

Citation Information

Patent Citations

  • Drive rod and motor integrated assembly structure for insulin pump

    CN108159530A

  • Novel multi-section displacer type insulin pump feeding mechanism

    CN109529154A

  • Two-stage retractable propulsion structure for insulin infusion pump and micro-infusion pump

    CN110812616A

  • Two-stage drive injection device for insulin pump

    CN111921038A