WO2023070247A1 - Closed-loop artificial pancreas insulin infusion control system - Google Patents

Closed-loop artificial pancreas insulin infusion control system Download PDF

Info

Publication number
WO2023070247A1
WO2023070247A1 PCT/CN2021/126014 CN2021126014W WO2023070247A1 WO 2023070247 A1 WO2023070247 A1 WO 2023070247A1 CN 2021126014 W CN2021126014 W CN 2021126014W WO 2023070247 A1 WO2023070247 A1 WO 2023070247A1
Authority
WO
WIPO (PCT)
Prior art keywords
algorithm
insulin infusion
insulin
module
blood glucose
Prior art date
Application number
PCT/CN2021/126014
Other languages
French (fr)
Inventor
Cuijun YANG
Original Assignee
Medtrum Technologies Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Medtrum Technologies Inc. filed Critical Medtrum Technologies Inc.
Priority to PCT/CN2021/126014 priority Critical patent/WO2023070247A1/en
Publication of WO2023070247A1 publication Critical patent/WO2023070247A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14532Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring glucose, e.g. by tissue impedance measurement
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/172Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body electrical or electronic
    • A61M5/1723Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body electrical or electronic using feedback of body parameters, e.g. blood-sugar, pressure

Definitions

  • the present invention mainly relates to the field of medical devices, and in particular, to a closed-loop artificial pancreatic insulin infusion controlling system.
  • pancreas of healthy people can automatically secrete the required amount of insulin/glucagon according to the glucose level in the human blood, thereby maintaining a reasonable range of blood glucose fluctuations.
  • diabetes mellitus is defined as a metabolic disease caused by abnormal pancreatic function, and it is also classified as one of the top three chronic conditions by the WHO.
  • the present medical advancement has not been able to find a cure for diabetes mellitus. Yet, the best the technology could do is control the onset symptoms and complications by stabilising the blood glucose level for diabetes patients.
  • Diabetic patients on an insulin pump need to check their blood glucose before infusing insulin into their bodies.
  • Most detection methods can continuously detect blood glucose and send the blood glucose data to the remote device in real-time for the user to view.
  • This detection method is called Continuous Glucose Monitoring (CGM) , which requires the detection device to be attached to the surface of the patient's skin, and the sensor carried by the device to be inserted into the interstitial fluid for testing.
  • CGM Continuous Glucose Monitoring
  • the infusion system mimics an artificial pancreas to fill the gaps of the required insulin amount via the closed-loop pathway or the semi-closed-loop pathway.
  • the proportional-integral-derivative (PID) algorithm and the model-predictive-control (MPC) algorithm have been widely studied.
  • PID proportional-integral-derivative
  • MPC model-predictive-control
  • the simple constitute of the PID algorithm it is not suitable for more complex scenarios.
  • the MPC algorithm faces the dilemma of establishing an accurate model and dealing with large computations, which may lead to deviation for the predicted infusion.
  • the embodiment of the present invention discloses a closed-loop artificial pancreas insulin infusion control system.
  • the system is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm.
  • the first algorithm is used to calculate the first insulin infusion amount I 1
  • the second algorithm is used to calculate the second insulin infusion amount I 2
  • the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3 .
  • the final infusion result is more accurate and reliable by further optimising the first insulin infusion amount I1 and the second insulin infusion amount I2, realising precise control of the closed-loop artificial pancreatic insulin infusion control system.
  • the invention discloses a closed-loop artificial pancreas insulin infusion control system, including a detection module configured to the current blood glucose level G continuously; a program module, connected to the detection module, preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm.
  • the first algorithm is used to calculate the first insulin infusion amount I 1
  • the second algorithm is used to calculate the second insulin infusion amount I 2
  • the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3 .
  • An infusion module connected to the program module, the program module sends the final insulin infusion amount I 3 to the infusion module, and the infusion module is configured to infuse insulin according to the final insulin infusion amount I 3 .
  • the first and second algorithms are from one of the classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm.
  • the rMPC algorithm or rPID algorithm is an algorithm that converts blood glucose that is asymmetric in the original physical space to a blood glucose risk that is approximately symmetric in the risk space based on the classic PID algorithm and the classic MPC algorithm.
  • the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm includes one or more of a segmented weighting conversion, a relative value conversion, a blood glucose risk index conversion, and an improved control variability grid analysis conversion.
  • the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm further include one or more of the following processing methods:
  • the autoregressive method is used to compensate for the detecting delay of interstitial fluid glucose concentration and blood glucose concentration.
  • the final insulin infusion amount I 3 is optimised by the average value of the first insulin infusion amount I 1 and the second insulin infusion amount I 2 :
  • the final insulin infusion amount I 3 is optimised by the weighted value of the first insulin infusion amount I 1 and the second insulin infusion amount I 2 :
  • the final insulin infusion amount I 3 is optimised by comparing the first insulin infusion amount I 1 and the second insulin infusion amount I 2 with the current statistical analysis result I 4 :
  • it further includes a meal recognition module and/or a motion recognition module.
  • the motion recognition module further includes a movement sensor.
  • the motion sensor is provided in the detection module, the program module or the infusion module.
  • the motion sensor includes a three-axis acceleration sensor or a gyroscope.
  • any two of the detection module, the program module and the infusion module are connected configured to form a single part whose attached position on the skin is different from the third module.
  • the detection module, the program module and the infusion module are connected together configured to form a single part that is attached to only one position on the skin.
  • the closed-loop artificial pancreas insulin infusion control system disclosed in the present invention is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm.
  • the first algorithm is used to calculate the first insulin infusion amount I 1
  • the second algorithm is used to calculate the second insulin infusion amount I 2
  • the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3 .
  • the final infusion amount I 3 is more accurate and reliable, realising precise control of the closed-loop artificial pancreatic insulin infusion control system.
  • the first algorithm and the second algorithm are one of the rMPC algorithm or the rPID algorithm, which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk in the risk space, making full use of the advantages of rPID algorithm and rMPC algorithm to face complex scenarios, so that the artificial pancreas can provide reliable insulin infusion under various conditions. Blood glucose can reach the ideal level at the expected time, realising precise control for a closed-loop artificial pancreas insulin infusion system.
  • the final output of the compound artificial pancreas algorithm is the same result calculated by the first algorithm and the second algorithm, making the result more feasible and reliable.
  • the final output of the compound artificial pancreas algorithm is the same result obtained by averaging or weighting the different results calculated by the first algorithm and the second algorithm.
  • the two sets of algorithms compensate each other to improve the accuracy of the output results.
  • the final output of the compound artificial pancreas algorithm is obtained by comparing the different results calculated by the first algorithm and the second algorithm with the statistical analysis results of the historical data so as to ensure the reliability of the insulin infusion from another aspect.
  • the motion sensor can automatically and accurately sense the user's physical activity state and send the activity state parameters to the program module so that the compound artificial pancreas algorithm can quickly switch to the rMPC algorithm.
  • the output reliability of the compound artificial pancreas algorithm under exercise scenarios is improved.
  • the detection, program, and infusion modules are connected and configured to form a single part attached to only one position on the skin. If the three modules are connected as a whole and attached in only one position, the number of the device on the user skin will be reduced, thereby reducing the interference of more attached devices on user activities. At the same time, it also effectively solves the problem of poor wireless communication between separating devices, further enhancing the user experience.
  • FIG. 1 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to one embodiment of the present invention.
  • FIG. 2 is a comparison diagram of the blood glucose in the original physical space and the risk space, which is obtained through the segmented weighting and the relative value conversion according to an embodiment of the present invention.
  • FIG. 3 is a comparison diagram of the blood glucose in the original physical space and the risk space, which is obtained through the BGRI and CVGA method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an insulin IOB curve according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of four types of mainstream clinical optimal basal rate settings according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • FIG. 8 is a schematic diagram of the module relationship of the closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present invention.
  • Fig. 9 is a schematic diagram of dual-drug switching according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • MPC algorithm is facing the dilemma of establishing an accurate model and deal with large computation, which may lead to deviation for the predicted infusion.
  • the present invention provides a closed-loop artificial pancreas insulin infusion control system.
  • the system is preset with a compound artificial pancreas algorithm, including the rPID algorithm and the rMPC algorithm, which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space, making full use of the advantages of rPID algorithm and rMPC algorithm to face complex scenarios, so that the artificial pancreas can provide reliable insulin infusion under various conditions.
  • Blood glucose can reach the ideal level at the expected time, realising precise control for a closed-loop artificial pancreas insulin infusion system.
  • FIG. 1 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to the embodiment of the present invention.
  • the closed-loop artificial pancreas insulin infusion control system disclosed in the embodiment of the present invention mainly includes a detection module 100, a program module 101, and an infusion module 102.
  • the detection module 100 is used to continuously detect the user's real-time blood glucose (BG) level.
  • detection module 100 is a Continuous Glucose Monitoring (CGM) for detecting real-time BG, monitoring BG changes, and sending them to the program module 101.
  • CGM Continuous Glucose Monitoring
  • Program module 101 is used to control the detection module 100 and the infusion module 102. Therefore, program module 101 is connected to detection module 100 and infusion module 102, respectively.
  • the connection refers to a conventional electrical connection or a wireless connection.
  • the infusion module 102 includes the essential mechanical assemblies used to infuse insulin and is controlled by program module 101. According to the current insulin infusion dose calculated by program module 101, infusion module 102 injects the current insulin dose required into the user's body. At the same time, the real-time infusion status of infusion module 102 can also be fed back to program module 101.
  • the embodiment of the present invention does not limit the specific positions and connection relationships of the detection module 100, the program module 101 and the infusion module 102, as long as the aforementioned functional conditions can be satisfied.
  • the three are electrically connected to form a single part. Therefore, the three modules can be attached on only one position of the user's skin. If the three modules are connected as a whole and attached in only one position, the number of the device on the user skin will be reduced, thereby reducing the interference of more attached devices on user activities. At the same time, it also effectively solves the problem of poor wireless communication between separating devices, further enhancing the user experience.
  • Another embodiment of the present invention is that the program module 101 and the infusion module 102 are electrically connected to form a single part, while the detection module 100 is separately provided in another part. At this time, the detection module 100 and the program module 101 transmit wireless signals to realise the mutual connection. Therefore, program module 101 and infusion module 102 can be attached to the user's skin position while the detection module 100 is attached to the other position.
  • Another embodiment of the present invention is that the program module 101 and the detection module 100 are electrically connected, forming a single part, while the infusion module 102 is separately provided in another part.
  • the infusion module 102 and the program module 101 transmit wireless signals to realise the mutual connection. Therefore, program module 101 and the detection module 100 can be attached to the same position of the user's skin while the infusion module 102 is attached to the other position.
  • Another embodiment of the present invention is that the three are provided in different parts, thus being attached to different positions. Simultaneously, program module 101, detection module 100, and infusion module 102 transmit wireless signals to realize the mutual connection.
  • program module 101 of the embodiment of the present invention also has functions such as storage, recording, and access to the database.
  • program module 101 can be reused. In this way, the user's physical condition data can be stored, but the production and consumption costs can be saved.
  • program module 101 can be separated from the detection module 100, the infusion module 102, or both the detection module 100 and the infusion module 102.
  • the service lives of the detection module 100, the program module 101, and the infusion module 102 are different. Therefore, when the three are electrically connected to form a single device, the three can also be separated in pairs. For example, if one module expires, the user can only replace this module and keep the other two modules continuously using.
  • the program module 101 of the embodiment of the present invention may also include multiple sub-modules. According to the functions of the sub-modules, different sub-modules can be respectively assembled in a different part, which is not a specific limitation herein, as long as the control conditions of the program module 101 can be satisfied.
  • the program module 101 is preset with an rPID (risk-proportional-integral-derivative) algorithm that converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space.
  • the rPID algorithm is obtained by converting the classic PID (proportional-integral-derivative) algorithm. The specific converting method will be detailed below.
  • module 101 controls the infusion Module 102 infuses insulin.
  • K P is the gain coefficient of the proportional part
  • K I is the gain coefficient of the integral part
  • K D is the gain coefficient of the differential part
  • G represents the current blood glucose level
  • G B represents the target blood glucose level
  • PID (t) represents the infusion instruction sent to the insulin infusion system.
  • the normal blood glucose range is 80-140 mg/dL, and it can also be widened to 70-180 mg/dL.
  • General hypoglycemia can reach 20-40 mg/dL, while high blood glucose can reach 400-600 mg/dL.
  • the distribution of high/low blood glucose (original physical space) has significant asymmetry.
  • the risk of high blood glucose and low blood glucose corresponding to the same degree of blood glucose deviation from the normal range will be significantly different, such as a decrease of 70 mg/dL, from 120mg/dL to 50mg/dL will be considered severe hypoglycemia, with high clinical risk, and emergency measures such as supplementing carbohydrates need to be taken.
  • the increase of 70 mg/dL, from 120mg/dL to 190mg/dL is just beyond the normal range.
  • the degree of high blood glucose is not serious, and it is often reached in daily situations, and there is no need to take treatment measures.
  • the asymmetric blood glucose in the original physical space is converted to the approximately symmetric blood glucose in risk space, making the PID algorithm more robust.
  • rPID (t) represents the infusion instruction sent to the insulin infusion system after risk conversion
  • r blood glucose risk
  • a blood glucose value greater than the target blood glucose G B is converted by the relative value, as follows:
  • Fig. 2 is a comparison diagram of the blood glucose in the original physical space and the risk space obtained through the segmented weighting and the relative value conversion according to an embodiment of the present invention.
  • the blood glucose risk (ie Ge) on both sides of the target blood glucose value presents a severe asymmetry consisting of the original physical space.
  • the blood glucose risk on both sides of the target blood glucose value is approximately symmetric. In this way, the integral term can be kept stable, making the rPID algorithm more robust.
  • BGRI blood glucose risk index
  • the conversion function f (G) is as follows:
  • the blood glucose concentration at zero risk point is 112mg/dL.
  • the blood glucose concentration at the zero-risk point can also be adjusted in conjunction with clinical practice risks and data trends; there is no specific limitation here.
  • the specific fitting method is not specifically limited.
  • an improved Control Variability Grid Analysis (CVGA) method is used.
  • the blood glucose concentration at zero risk point is defined as 110 mg/dL in the original CVGA, and the following equal-risk blood glucose concentration data pairs are assumed (90 mg/dL, 180mg/dL; 70mg/dL, 300mg/dL; 50mg/dL, 400mg/dL) .
  • the risk data of (70mg/dL, 300mg/dL) was revised to (70mg/dL, 250mg/dL)
  • blood glucose concentration at zero risk point is defined as G B .
  • a polynomial model is fitted to it, and the following risk functions for the two sides of the zero-risk point are obtained:
  • n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
  • the blood glucose concentration at the zero-risk point and equal risk data pairs can also be adjusted in conjunction with clinical practice risks and data trends, and there is no specific limitation here.
  • the specific fitting method is not specifically limited.
  • the data used to limit the maximum is also not specifically limited here.
  • Fig. 3 is a comparison diagram of the blood glucose in the original physical space and the risk space, which has been obtained through the BGRI and CVGA method according to an embodiment of the present invention.
  • Zone-MPC Similar to the treatment of Zone-MPC, within the normal range of blood glucose, the blood glucose risk after conversion by BGRI and CVGA methods is quite flat, especially within 80-140mg/dL. Unlike Zone-MPC, where the blood glucose risk is completely zero in this range, it loses the ability to adjust further. Although the blood glucose risk in rPID is smooth within this range, it still has a stable and slow adjustment ability, making blood glucose further adjust to close the target value to achieve more precise blood glucose control.
  • a unified processing method can be used for data deviating from both sides of the zero-risk point.
  • the BGRI or CVGA method can deal with the data deviating from both sides of the zero-risk point;
  • Different treatment methods can also be used, such as combining the BGRI and CVGA methods at the same time.
  • the glucose concentration at zero risk point blood is the same, such as G B .
  • the BGRI method is used, and the blood glucose concentration is greater than G B , the CVGA method is used. At this time:
  • the conversion function f (G) is as follows:
  • the BGRI method is used, and the blood glucose concentration is less than G B , the CVGA method is used. At this time:
  • the conversion function f (G) is as follows:
  • n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
  • the blood glucose level at the zero risk point can also be set as the target blood glucose value G B , when the blood glucose concentration is less than G B, the BGRI method is used, when the blood glucose concentration is great than G B , such as segmented weighting or relative value converting.
  • the conversion function f (G) is as follows:
  • the conversion function f (G) is as follows:
  • the blood glucose value at the zero risk point is the target blood glucose value G B
  • the segmented weighting converting, relative value converting, and CVGA method are used, the functions are the same. Therefore, when the blood glucose concentration is great than G B, the BGRI method is used, when the blood glucose concentration is less than G B , such as segmented weighting or relative value converting, the result is equivalent to the result that when the blood glucose value is less than the target blood glucose value G B , the CVGA method is used when the blood glucose level is greater than the target blood glucose value G B , the BGRI method is used, and the calculation formula is not repeated here.
  • the target blood glucose value G B is 80-140 mg/dL; preferably, the target blood glucose value G B is 110-120 mg/dL.
  • the asymmetric blood glucose in the original physical space can be converted to the approximately symmetric blood glucose in risk space in the rPID algorithm to retain the simplicity and robustness of the PID algorithm and control blood glucose risk with clinical value, to achieve precise control of the closed-loop artificial pancreatic insulin infusion system.
  • insulin absorption delay about 20 minutes from subcutaneous to blood circulation tissue, and about 100 minutes to liver
  • insulin onset delay about 30-100 minutes
  • interstitial fluid glucose concentration about 5-150 minutes
  • blood glucose detecting delay approximately 5-15 minutes
  • an insulin feedback compensation mechanism is introduced.
  • the amount of insulin that has not been absorbed in the body is subtracted from the output, which is a component that is proportional to the estimated plasma insulin concentration (the plasma insulin concentration also regulates the actual human insulin secretion as a negative feedback Signal) .
  • the formula is as follows:
  • PID (t) represents the infusion instruction sent to the insulin infusion system
  • PIDc (t) represents the infusion instruction with compensation sent to the insulin infusion system
  • represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output. If the coefficient increases, the algorithm will be relatively conservative, and if the coefficient decreases, the algorithm will be relatively aggressive. Therefore, in the embodiment of the present invention, the range of ⁇ is 0.4-0.6. Preferably, ⁇ is 0.5.
  • PID c (n-1) represents the output with compensation at the previous moment
  • K 0 represents the coefficient of the output part with compensation at the previous moment
  • K 1 represents the coefficient of the estimated part of the plasma insulin concentration at the previous moment
  • K 2 represents the coefficient of the estimated part of the plasma insulin concentration at the previous time
  • the time interval can be selected according to actual needs.
  • rPID c (t) represents the infusion instruction with compensation sent to the insulin infusion system after risk conversion
  • IOB insulin on board
  • Fig. 4 is an insulin IOB curve according to an embodiment of the present invention.
  • the cumulative residual amount of insulin previously infused can be calculated, and the selection of the specific curve can be determined based on the actual insulin action time of the user.
  • PID′ (t) PID (t) -IOB (t)
  • PID' (t) represents the infusion instruction sent to the insulin infusion system after deducting IOB
  • PID (t) represents the infusion instruction sent to the insulin infusion system
  • IOB (t) represents the amount of insulin that has not yet worked in the body at time t.
  • the output formula after deducting the amount of insulin that has not yet worked in the body after risk conversion through the aforementioned method is as follows:
  • rPID′ (t) represents the infusion instruction sent to the insulin infusion system after risk conversion, deducting the amount of insulin that has not yet worked in the body;
  • IOB (t) is divided into meal insulin IOBm and non-meal insulin IOBo.
  • IOB (t) IOB m, t +IOB o, t
  • IOB m, t represents the amount of meal insulin that has not yet worked in the body at time t;
  • IOB o, t represents the amount of non-meal insulin that has not yet worked in the body at time t;
  • I m, t represents the amount of meal insulin
  • I o, t represents the amount of non-meal insulin
  • IOB (t) represents the amount of insulin that has not yet worked in the body at time t.
  • Dividing the IOB into meal and non-meal insulin can make insulin cleared faster when meals ingesting or blood sugar are too high and can obtain greater insulin output and regulate blood glucose more quickly.
  • a longer insulin action time curve is used to make insulin clear more slowly, and blood sugar regulation is more conservative and stable.
  • an autoregressive method is used to compensate for detecting delay of interstitial fluid glucose concentration and blood glucose concentration.
  • the formula is as follows:
  • G SC (n) represents the glucose concentration in the interstitial fluid at the current moment, that is, the measured value of the detecting system
  • G SC (n-1) and G SC (n-2) represent the glucose concentration in the interstitial fluid at the first previous time and the second previous time, respectively;
  • K 0 represents the coefficient of the estimated concentration of blood glucose at the previous moment
  • K 01 and K 2 respectively represent the coefficient of glucose concentration in the interstitial fluid at the first previous time and the second previous time, respectively.
  • the blood glucose concentration is estimated by the interstitial fluid glucose concentration, which compensates for the detecting delay of the interstitial fluid glucose concentration and blood glucose, making the PID algorithm more accurate.
  • the rPID algorithm can also more accurately calculate the actual insulin demand for the human body.
  • the insulin absorption delay, the insulin onset delay, the detecting delay of interstitial fluid glucose concentration and blood glucose can be partially compensated or fully compensated.
  • all delay factors are considered fully compensated for making the rPID algorithm more accurate.
  • the program module 101 is preset with an rMPC (risk-model-predict-control) algorithm that converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space.
  • the rMPC algorithm is obtained by converting the classic MPC (risk-model-predict-control) algorithm.
  • program module 101 controls infusion Module 102 infuses insulin.
  • the classic MPC algorithm consists of three elements, the prediction model, the value function and the constraints.
  • the classic MPC prediction model is as follows:
  • I t represents the amount of insulin infusion at the current moment
  • G t represents the blood glucose concentration at the current moment.
  • the parameter matrix is as follows:
  • b1, b2, b3, Ki are initial values.
  • the value function of the MPC algorithm is composed of the sum of squared deviations of the output G (blood glucose level) and the sum of squared changes of the input I (insulin amount) .
  • the MPC algorithm needs to obtain the minimum solution of the value function.
  • I′ t+j represents the change of insulin infusion after step j;
  • N and P are the number of steps in the control time window and the predictive time window, respectively;
  • R is the weighting coefficient of the insulin component.
  • the amount of insulin infusion at step j isI t +I′ t+j .
  • control time window Tc 30min
  • prediction time window Tp 60min
  • weighting coefficient R of the amount of insulin is 11000. It should be noted that although the control time window used in the calculation is 30min, only the first step calculation result of insulin output is used in the actual operation. After the operation, the minimum solution of the above value function is recalculated according to the latest blood glucose data obtained.
  • the infusion time step in the control time window is j n , and the range of j n is 0-30 min, preferably 2 min.
  • the number of steps N T c /j n , and the range of j is 0 to N.
  • the weighting coefficients of the amount of insulin, the control time window and the predicted time window can also be selected as other values, which are not specifically limited here.
  • the distribution of high/low blood glucose (original physical space) has significant asymmetry.
  • the risk of high blood glucose and low blood glucose corresponding to the same degree of blood glucose deviation from the normal range will be significantly different in clinical practice.
  • the asymmetric blood glucose in the original physical space is converted to the approximately symmetric blood glucose in risk space, making the MPC algorithm more accurate and flexible.
  • r t+j represents the blood glucose risk after step j
  • I′ t+j represents the change of insulin infusion after step j.
  • the deviation of blood glucose value is converted to the corresponding blood glucose risk.
  • the specific conversion method is the same as that in the aforementioned rPID algorithm, such as segmented weighting and relative value converting; it also includes setting a fixed zero risk point in the risk space.
  • the blood glucose concentration at the zero risk point can be set as the target blood glucose value.
  • Data on both sides deviating from the zero risk point are processed, such as using BGRI and the improved CVGA method; it also includes different methods for processing data that deviates from the target blood glucose value.
  • n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
  • step j G t+j If the detected blood glucose concentration in step j G t+j is less than G B , the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is greater than G B , the CVGA method will be used:
  • step j G t+j If the detected blood glucose concentration in step j G t+j is great than G B , the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is less than G B , the CVGA method will be used:
  • n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
  • step j G t+j If the detected blood glucose concentration in step j G t+j is less than G B, the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is great than G B , the segmented weighting converting will be used:
  • the BGRI method When the detected blood glucose concentration in step j G t+j is less than G B, the BGRI method is used, when the detected blood glucose concentration in step j G t+j is great than G B , the relative value converting is used:
  • the functions are the same when the segmented weighting converting, relative value converting, and CVGA method is used. Therefore, when the blood glucose concentration is great than G B, the BGRI method is used, when the blood glucose concentration is less than G B , such as segmented weighting or relative value converting, the result is equivalent to the result that when the blood glucose value is less than the target blood glucose value G B , the CVGA method is used when the blood glucose level is greater than the target blood glucose value G B , the BGRI method is used, and the calculation formula is not repeated here.
  • r t+j represents the blood glucose risk at step j
  • G t+j represents the blood glucose level detected in step j.
  • the target blood glucose value G B is 80-140 mg/dL, preferably, the target blood glucose value G B is 110-120 mg/dL.
  • the insulin feedback compensation mechanism can be used; in order to compensate for the delay of insulin onset, IOB can be used; in order to compensate for detecting delay of interstitial fluid glucose concentration and blood glucose concentration, the autoregressive method can be used.
  • the specific compensation method is also consistent with the rPID algorithm, specifically:
  • I t+j represents the infusion instruction sent to the insulin infusion system after step j;
  • rI c (t+j) represents the infusion instruction with compensation sent to the insulin infusion system after step j;
  • represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output. If the coefficient increases, the algorithm will be relatively conservative, and if the coefficient decreases, the algorithm will be relatively aggressive. Therefore, in the embodiment of the present invention, the range of ⁇ is 0.4-0.6. Preferably, ⁇ is 0.5.
  • rI′ t+j represents the infusion instruction sent to the insulin infusion system after deducting IOB at step j after risk conversion
  • rI t+j represents the infusion instruction sent to the insulin infusion system at step j after risk conversion
  • IOB (t+j) represents the amount of insulin that has not yet worked in the body at time t+j.
  • IOB (t+j) can be divided into meal insulin and non-meal insulin.
  • the formula is as follows:
  • IOB (t+j) IOB m, t+j +IOB o, t+j
  • IOB m, t+j represents the amount of meal insulin that has not yet worked in the body at time t+j;
  • IOB o, t +j represents the amount of non-meal insulin that has not yet worked in the body at time t+j;
  • I m, t+j represents the amount of meal insulin at time t+j
  • I o, t+j represents the amount of non-meal insulin at time t+j
  • IOB (t+j) represents the amount of insulin that has not yet worked in the body at time t+j.
  • the final insulin infusion amount is rI′ t+j ;
  • the autoregressive method is used to detect the delay of interstitial fluid glucose concentration and blood glucose concentration.
  • G SC (t+j) represents the glucose concentration in the interstitial fluid at the time t+j, that is, the measured value of the detecting system
  • G SC (t+j-1) and G SC (t+j-2) represent the glucose concentration in the interstitial fluid at the time t+j-1 and t+j-2, respectively;
  • K 0 represents the coefficient of the estimated concentration of blood glucose at the time t+j-1;
  • K 01 and K 2 respectively represent the coefficient of glucose concentration in the interstitial fluid at the time t+j-1 and t+j-2, respectively.
  • the compound artificial pancreas algorithm is preset in program module 101.
  • the compound artificial pancreas algorithm includes a first algorithm and a second algorithm.
  • the detection module 100 detects the current blood glucose level and sends the current blood glucose level to the program module 101
  • the first algorithm calculates the first insulin infusion amount I 1
  • the second algorithm calculates the second insulin infusion amount I 2
  • the compound artificial pancreas algorithm optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 to obtain the final insulin infusion, and send the final insulin infusion amount I 3 to the infusion module 102
  • the infusion module 102 performs insulin infusion according to the final infusion amount I 3 .
  • the first and second algorithms are classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm.
  • the rMPC algorithm or rPID algorithm is an algorithm that converts blood glucose that is asymmetric in the original physical space to a blood glucose risk that is approximately symmetric in the risk space.
  • the conversion method of blood glucose risk in rMPC algorithm and rPID algorithm is as described above.
  • the algorithm parameter is K P
  • K D T D /K P
  • T D 60min-90 min
  • K I T I *K P
  • T I can be 150min-450 min.
  • the algorithm parameter is K.
  • the algorithm parameter is K P
  • K D T D /K P
  • T D 60min-90 min
  • K I T I *K P
  • T I can be 150min-450 min.
  • the algorithm parameter is K.
  • ⁇ and ⁇ can be adjusted according to the first insulin infusion amount I 1 and the second insulin infusion amount I 2 .
  • I 1 ⁇ I 2 , ⁇ ; when I 1 ⁇ I 2 , ⁇ ; preferably, ⁇ + ⁇ 1.
  • ⁇ and ⁇ may also be other value ranges, which are not specifically limited here.
  • the algorithms are mutually referenced.
  • the first algorithm and the second algorithm are the rMPC algorithm and the rPID algorithm, which are mutually referenced to improve the accuracy of the output further and make the result more feasible and reliable.
  • the program module 101 also provides a memory that stores the user's historical physical state, blood glucose level, insulin infusion, and other information. Statistical analysis can be performed based on the information in the memory to obtain the current statistical analysis result I 4 , when I 1 ⁇ I 2 , compare I 1 , I 2 and I 4 to calculate the final insulin infusion amount I 3 , the one that is closer to the statistical analysis result I 4 is selected as a result of the compound artificial pancreas algorithm, that is the final insulin infusion amount I 3 , and the program module 101 sends the final insulin infusion amount I 3 to the infusion module 102 to infuse;
  • the blood glucose risk space conversion method in the rMPC algorithm and/or rPID algorithm and/or the compensation method regarding the delay effect can also be changed to adjust and make them more closely, and then finally determine the output result of the compound artificial pancreas algorithm through the above arithmetic average, weighting processing, or comparison with the statistical analysis result.
  • the closed-loop artificial pancreas control system further includes a meal recognition module and/or a motion recognition module, used to identify whether the user is eating or exercising.
  • a meal recognition module and/or a motion recognition module, used to identify whether the user is eating or exercising.
  • Commonly used meal identification can be determined based on the rate of blood glucose change and compared with a specific threshold.
  • the rate of blood glucose change can be calculated from two moments or obtained by linear regression at multiple moments within a period of time. Specifically, when the rate of change at the two moments is used for calculation, the calculation formula is:
  • G t represents the blood glucose level at the current moment
  • G t-1 represents the blood glucose level at the previous moment
  • ⁇ t represents the time interval between the current moment and the last moment.
  • G t represents the blood glucose level at the current moment
  • G t-1 represents the blood glucose level at the previous moment
  • G t-2 represents the blood glucose level at the second previous moment
  • ⁇ t represents the time interval between the current moment and the last moment.
  • the original continuous glucose data can also be filtered or smoothed.
  • the threshold can be set to 1.8mg/mL-3mg/mL or personalised.
  • exercise recognition can also be detected based on the rate of blood glucose change and a specific threshold.
  • the rate of blood glucose change can also be calculated as described above, and the threshold can be personalised.
  • the closed-loop artificial pancreas insulin infusion control system further includes a movement sensor (not shown) .
  • the motion sensor automatically detects the user's physical activity, and the program module 101 can receive physical activity status information.
  • the motion sensor can automatically and accurately sense the user's physical activity state and send the activity state parameters to the program module 101 to improve the output reliability of the compound artificial pancreas algorithm in exercise scenarios.
  • the motion sensor is provided in detection module 100, the program module 101 or the infusion module 102.
  • the motion sensor is provided in the program module 101.
  • the embodiment of the present invention does not limit the number of motion sensors and the installation positions of these multiple motion sensors, as long as the conditions for the motion sensor to sense the user's activity status can be satisfied.
  • the motion sensor includes a three-axis acceleration sensor or a gyroscope.
  • the three-axis acceleration sensor or gyroscope can more accurately sense the body's activity intensity, activity mode or body posture.
  • the motion sensor combines a three-axis acceleration sensor and a gyroscope.
  • the blood glucose risk conversion methods used by the rMPC algorithm and the rPID algorithm can be the same or different, and the compensation methods for the delay effect can also be the same or different.
  • the calculation process can also be adjusted based on actual conditions.
  • the program module 101 provides an adaptive unit that adjusts the algorithm gain coefficient according to the user's weight.
  • the infusion module 102 or the program module 101 can indicate the user's daily insulin requirement DIR.
  • the weight adjustment coefficient e can be set as the population mean value, 0.53U/kg, and it can also be customised according to their exercise habits. For example, a lower weight adjustment coefficient can be used for professional sports patients, such as 0.4U/kg; for patients less involved in the exercise, a higher weight adjustment factor can be used, such as 0.6 U/kg.
  • a personalised weight adjustment factor can be selected in a larger range based on their pancreatic secretion function and insulin resistance, such as 0.1-1.5 U/kg, and the more commonly used range is 0.6-1.1 U/kg.
  • the different coefficients can be set during daytime and night. For example, a smaller time parameter can be selected at night.
  • the algorithm preset in the program module 101 is the classic MPC algorithm or rMPC algorithm, and its gain coefficient K is related to weight BW,
  • c is the safety factor
  • s is the clinical experience coefficient
  • e is the weight adjustment coefficient
  • the safety factor c is set as 1.25 -3; the clinical experience coefficient s can be 1500, 1700, 1800, 2000, 2200, 2500, etc., which can be adjusted according to the clinical results, and there is no specific limitation here.
  • the clinical experience coefficient s is 1700; the range of the weight adjustment coefficient e is described above.
  • the gain coefficient Kp of the PID algorithm or rPID algorithm and the gain coefficient K of the MPC algorithm or rMPC algorithm can also be adjusted by introducing the coefficient Sb (t) related to the basal insulin requirement, correspondingly:
  • Ba y*DIR/24
  • y is the basal insulin compensation coefficient, which takes a value of 0.1 to 5.
  • the average population value of this coefficient is 0.47, and the data for children is slightly smaller, for example, 0.3-0.4.
  • the daily basal insulin quantity Ba average can be calculated according to the user's actual basal rate setting.
  • the basal insulin requirement B (t) at time t can be set according to the four mainstream clinical optimal basal rate settings.
  • FIG. 5 shows the four types of mainstream clinical optimal basal rate settings from the reference Holterhus, PM, J. Bokelmann, et al. (2013) . "Predicting the Optimal Basal Insulin Infusion Pattern in Children and Adolescents on Insulin Pumps. " Diabetes Care 36 (6) : 1507-1511, where the horizontal axis is time, 24 hours a day, and the vertical axis is the relative deviation between the basal insulin requirement and the average of the daily basal insulin quantity Ba at the corresponding time. Most of them are within [0.5, 1.5] .
  • B (t) can also be set refer to the basic rate segmentation settings commonly used in clinical practice, such as three-stage settings, as follows:
  • B (t) can also be calculated according to the user-known and appropriate base rate setting.
  • the range of Sb (t) is 0.2-2, preferably 0.5-1.5.
  • the conversion method of rPID algorithm and the rMPC algorithm which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk in risk space, and the processing method for the calculation result, and the beneficial effects are as described above, which will not be repeated here.
  • FIG. 6 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, an infusion module 102, and an electronic module 103.
  • the detection module 100 is used to detect the user's real-time blood glucose level continuously.
  • the detection module 100 is a continuous glucose monitor (Continuous Glucose Monitoring, CGM) , which can detect blood glucose levels in real-time, monitor blood glucose changes, and send the current blood glucose levels to the infusion module 102 and the electronic module 103.
  • CGM Continuous Glucose Monitoring
  • the infusion module 102 includes the mechanical assembly necessary for insulin infusion and other components capable of executing the first algorithm, such as an infusion processor 1021, controlled by the electronic module 103.
  • the infusion module 102 receives the current blood glucose level sent by the detection module 100, calculates the first insulin infusion amount I 1 currently required through the first algorithm and sends the calculated first insulin infusion amount I 1 to the electronic module 103.
  • the electronic module 103 is used to control the operation of detection module 100 and the infusion module 102. Therefore, the electronic module 103 is connected to the detection module 100 and the infusion module 102, respectively.
  • the electronic module 103 is an external electronic device such as a mobile phone or a handset, and the connection refers to a wireless connection.
  • the electronic module 103 includes a second processor. In the embodiment of the present invention, the second processor is capable of executing the second algorithm and the third algorithm, such as an electronic processor 1031. After the electronic module 103 receives the current blood sugar level, the current required second insulin infusion amount I 2 is calculated through the second algorithm.
  • the first and second algorithms used by the electronic module 103 and the infusion module 102 to calculate the amount of insulin currently required are different.
  • the electronic module 103 After the electronic module 103 receives the first insulin infusion amount I 1 sent by the infusion module 102, it further optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 through the third algorithm to obtain the final insulin infusion amount I 3 , and sends final insulin infusion amount I 3 to the infusion module 102, the infusion module 102 injects the currently needed insulin amount I 3 into the user's body. At the same time, the infusion status of the infusion module 102 can also be fed back to the electronic module 103 in real-time.
  • the specific optimisation method is as described above. which is:
  • the electronic module 103 can also compare I 1 , I 2 and I 4 , which is a statistical analysis result at the current time by analysing the historical information based on the user's body state, blood sugar level and insulin infusion at each time in the past. The one that is closer to the statistical analysis result I 4 is selected as the final insulin infusion amount I 3 , and the electronic module 103 sends the final insulin infusion amount I 3 to the infusion module 102 to infuse;
  • the user's historical information may be stored in the electronic module 103 or a cloud management system (not shown) , and the cloud management system and the electronic module 103 are connected wirelessly.
  • FIG. 7 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, an infusion module 102, and an electronic module 103.
  • the detection module 100 is used to detect the user's real-time blood glucose level continuously.
  • the detection module 100 is a continuous glucose monitor (Continuous Glucose Monitoring, CGM) , which can detect blood glucose levels in real-time, monitor blood glucose changes, and the current blood glucose levels have only been sent to the infusion module 102.
  • the detection module 100 further includes a second processor.
  • the second processor is capable of executing the second algorithm, such as a detection processor 1001. After detecting the real-time blood glucose level, detection module 100 directly calculates the second insulin infusion amount I 2 through the second algorithm and sends the calculated second insulin infusion amount I 2 to the electronic module 103.
  • infusion module 102 after receiving the current blood glucose level sent by the detection module 100, calculates the first insulin infusion amount I 1 currently required through the first algorithm and sends the calculated first insulin infusion amount I 1 to the electronic module 103.
  • the first and second algorithms used by the electronic module 103 and the infusion module 102 to calculate the amount of insulin currently required are different.
  • the electronic module 103 After the electronic module 103 receives the first insulin infusion amount I 1 sent by the infusion module 102 and the second insulin infusion amount I 2 sent by the detection module 103, it further optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 through the third algorithm to obtain the final insulin infusion amount I 3 . It sends the final insulin infusion amount I 3 to the infusion module 102.
  • the infusion module 102 injects the currently needed insulin amount I 3 into the user's body. At the same time, the infusion status of the infusion module 102 can also be fed back to the electronic module 103 in real-time.
  • the specific optimisation method is as described above.
  • the infusion processor 1021 preliminarily calculates the first insulin infusion amount I 1 .
  • the second processor (such as the electronic processor 1031 and the detection processor 1001) preliminarily calculate the second insulin infusion amount I2, and I1 and I2 being sent to the electronic module 103.
  • the electronic module 103 performs further optimisation and then sends the optimised final insulin infusion amount I 3 to the infusion module 102 to infuse insulin, improving the accuracy of infusion instructions.
  • the first algorithm and the second algorithm are one of the classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm.
  • the advantages of using the rPID or rMPC algorithm to calculate are as described above, and the beneficial effects of other optimisation methods are also as described above and will not be repeated here.
  • the embodiment of the present invention does not limit the specific position and connection relationship of the detection module 100 and the infusion module 102, as long as the aforementioned functional conditions can be met.
  • the two modules are electrically connected to form an integral assembly and are pasted in the same place on the user's skin. If the two modules are connected as a whole and pasted in the same position, the number of user skin pasting devices will be reduced, thereby reducing the interference of more pasted devices on user activities; at the same time, it also effectively solves the problem of poor wireless communication between separate devices, which further enhance the user experience.
  • the two modules are arranged in different components and are passed on different positions of the user's skin.
  • the detection module 100 and the infusion module 102 transmit wireless signals to realise the mutual connection.
  • FIG. 8 is a schematic diagram of the module relationship of the closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present invention.
  • the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, a program module 101, and an infusion module 102.
  • the infusion module 102 can perform multi-drug infusion, and the drugs can be a combination for regulating blood glucose for diabetic patients.
  • hypoglycemic drugs such as insulin and its analogue
  • other combination drugs are anti-hypoglycemic drugs, which has opposite effects with hypoglycemic drugs, such as pancreatic hypertension Glucagon and its analogs, cortisol and its analogs, growth hormone and its analogs, epinephrine and its analogs, glucose, etc., dextrins with similar effects Analogs (such as pramlintide) , etc.
  • the infusion module 102 can infuse the hypoglycemic drug and/or the anti-hypoglycemic drug into the user according to the hypoglycemic drug infusion instruction and/or the anti-hypoglycemic drug infusion instruction issued by the program module 101.
  • the hypoglycemic and blood sugar raising drugs can be infused separately through different drug paths or through the same drug path at different times.
  • the specific drug path design is not limited here.
  • FIG. 9 is a schematic diagram of dual-drug infusion switching according to two embodiments of the present invention.
  • the hypoglycemic drug infusion instruction and/or the current anti-hypoglycemic drug infusion instruction are obtained by comparing the predicted blood glucose concentration estimated G P with the target blood glucose value G B , and the predicted blood glucose concentration G P may be predicted based on the prediction model of rMPC or other suitable blood glucose prediction algorithms; the hypoglycemic drug infusion data and/or the anti-hypoglycemic drug infusion data can be calculated by the aforementioned rMPC algorithm or rPID algorithm or compound artificial pancreas algorithm. Specifically:
  • the infusion module 102 starts to infuse the hypoglycemic drug according to the hypoglycemic drug infusion data I t , which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
  • the infusion module 102 starts to infuse the anti-hypoglycemic drug infusion according to the anti-hypoglycemic drug infusion data D t , which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
  • I b represents the amount of hypoglycemic drugs that need to be infused to control blood glucose at the target blood glucose level G B without interference.
  • the infusion module 102 When the infusion module 102 has only one set of drug infusion paths, when G P ⁇ G B , that is, I t ⁇ I b , the infusion module 102 starts to infuse anti-hypoglycemic drugs, and the anti-hypoglycemic drug infusion data D t can be calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm, and the infusion of hypoglycemic drugs is stopped at the same time to prevent the hypoglycemic drugs and the anti-hyperglycemic drugs from affecting each other due to their antagonistic effects.
  • the hypoglycemic drugs and anti-hyperglycemic can be infused simultaneously, which can effectively prevent hypoglycemia.
  • I t ⁇ 0 the infusion of hyperglycemic drugs is stopped and only infuse anti-hyperglycemic drugs.
  • the hypoglycemic drug infusion instruction and/or the current anti-hypoglycemic drug infusion instruction may be directly performed by comparing the required amount of the hypoglycemic drug It with the target hypoglycemic drug amount I b , and the hypoglycemic drug required amount I t and the target hypoglycemic drug amount I b can be calculated by the aforementioned rMPC algorithm, rPID algorithm, or compound artificial pancreas algorithm. Specifically: when the infusion module 102 has at least two sets of drug infusion paths:
  • the infusion module 102 starts to infuse the hypoglycemic drug according to the hypoglycemic drug infusion data I t , which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
  • hypoglycemic drugs and anti-hypoglycemic can be infused at the same time, which can effectively prevent the occurrence of hypoglycemia.
  • the hypoglycemic drug required amount I t and the target hypoglycemic drug amount I b can be calculated by the aforementioned rMPC algorithm, rPID algorithm, or compound artificial pancreas algorithm.
  • the anti-hypoglycemic drug infusion data D t can be calculated by the rMPC algorithm, rPID, compound artificial pancreas algorithm.
  • the hypoglycemic is insulin
  • the anti-hypoglycemic is glucagon
  • the calculation methods of the hypoglycemic drug infusion data and the anti-hypoglycemic infusion data at each stage may be the same or different.
  • the same algorithm architecture ensures the basic conditions'consistency, which makes the calculation results more accurate.
  • the compound artificial pancreas algorithm is used for calculation, and the advantages of the rPID algorithm and the rMPC algorithm are fully utilised to face complex scenarios to make the blood glucose control ideally.
  • FIG. 10 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
  • the closed-loop artificial pancreas insulin infusion control system disclosed in the embodiment of the present invention mainly includes a detection module 200 and an infusion module 202.
  • the detection module 100 is used to continuously detect the user's current blood glucose (BG) level.
  • detection module 100 is a Continuous Glucose Monitoring (CGM) for detecting real-time BG and monitoring BG changes.
  • the detection module 200 also includes a detection processing unit 2001.
  • the detection processing unit 2001 is preset with an algorithm for calculating insulin amount for infusion. When the user's current blood glucose level is detected by the detection module 200, the detection processing unit 2001 calculates the insulin amount required by the user through the preset algorithm. The insulin amount required by the user is sent to infusion module 202.
  • the infusion module 202 includes the essential mechanical assemblies for insulin infusion and an electronic transceiver that receives the user's insulin amount information from the detection module 200. According to the current insulin infusion amount sent by the detection module 200, infusion module 202 infuses the currently required insulin into the user's body. At the same time, the infusion status of infusion module 202 can also be fed back to detection module 200 in real-time.
  • the algorithm for calculating the insulin infusion amount, preset in the detection processing unit 2001 is one of the classic PID algorithms, the classic MPC algorithm, the rMPC rPID algorithm or the compound artificial pancreas algorithm.
  • the algorithm or the compound artificial pancreas algorithm is described above and will not be repeated here.
  • the embodiment of the present invention does not limit the specific position and connection relationship of the detection module 200 and the infusion module 202, as long as the aforementioned functional conditions can be met.
  • the two are electrically connected to form an integral assembly and are pasted in the same place on the user's skin. If the two modules are connected as a whole and pasted in the same position, the number of user skin pasting devices will be reduced, thereby reducing the interference of more pasted devices on user activities; at the same time, it also effectively solves the problem of poor wireless communication between separate devices, which further enhance the user experience.
  • the two modules are arranged in different components and are passed on different positions of the user's skin.
  • the detection module 100 and the infusion module 102 transmit wireless signals to realize the mutual connection.
  • the present invention discloses a closed-loop artificial pancreas insulin infusion control system, which is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm.
  • the first algorithm is used to calculate the first insulin infusion amount I 1
  • the second algorithm is used to calculate the second insulin infusion amount I 2
  • the compound artificial pancreas algorithm further optimizes I 1 and I 2 to obtain the final insulin infusion amount I 3 .

Abstract

A closed-loop artificial pancreas insulin infusion control system, including a detection module (100) configured to the current blood glucose level G; a program module (101), connected to the detection module (100), preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3; and an infusion module (102), connected to the program module (101), the program module (101) sends the final insulin infusion amount I 3 to the infusion module (102), the infusion module (102) is configured to infuse insulin according to the final insulin infusion amount I 3. Through further optimisation of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, the final infusion result is more accurate and reliable, realising precise control of the closed-loop artificial pancreatic insulin infusion control system.

Description

CLOSED-LOOP ARTIFICIAL PANCREAS INSULIN INFUSION CONTROL SYSTEM TECHNICAL FIELD
The present invention mainly relates to the field of medical devices, and in particular, to a closed-loop artificial pancreatic insulin infusion controlling system.
BACKGROUND
The pancreas of healthy people can automatically secrete the required amount of insulin/glucagon according to the glucose level in the human blood, thereby maintaining a reasonable range of blood glucose fluctuations. However, for diabetic patients, the function of their pancreas has been severely compromised, and the pancreas cannot secrete the required dosage of insulin. Therefore, diabetes mellitus is defined as a metabolic disease caused by abnormal pancreatic function, and it is also classified as one of the top three chronic conditions by the WHO. The present medical advancement has not been able to find a cure for diabetes mellitus. Yet, the best the technology could do is control the onset symptoms and complications by stabilising the blood glucose level for diabetes patients.
Diabetic patients on an insulin pump need to check their blood glucose before infusing insulin into their bodies. At present, most detection methods can continuously detect blood glucose and send the blood glucose data to the remote device in real-time for the user to view. This detection method is called Continuous Glucose Monitoring (CGM) , which requires the detection device to be attached to the surface of the patient's skin, and the sensor carried by the device to be inserted into the interstitial fluid for testing. According to the blood glucose (BG) level, the infusion system mimics an artificial pancreas to fill the gaps of the required insulin amount via the closed-loop pathway or the semi-closed-loop pathway.
At present, in order to achieve insulin infusion controlled by closed-loop or semi-closed-loop, the proportional-integral-derivative (PID) algorithm and the model-predictive-control (MPC) algorithm have been widely studied. However, due to the simple constitute of the PID algorithm, it is not suitable for more complex scenarios. Similarly, the MPC algorithm faces the dilemma of establishing an accurate model and dealing with large computations, which may lead to deviation for the predicted infusion.
Therefore, there is an urgent need for a closed-loop artificial pancreas insulin infusion control system with a compound artificial pancreas algorithm in the prior art.
BRIEF SUMMARY OF THE INVENTION
The embodiment of the present invention discloses a closed-loop artificial pancreas insulin infusion control system. The system is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3. The final infusion result is  more accurate and reliable by further optimising the first insulin infusion amount I1 and the second insulin infusion amount I2, realising precise control of the closed-loop artificial pancreatic insulin infusion control system.
The invention discloses a closed-loop artificial pancreas insulin infusion control system, including a detection module configured to the current blood glucose level G continuously; a program module, connected to the detection module, preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3. An infusion module, connected to the program module, the program module sends the final insulin infusion amount I 3 to the infusion module, and the infusion module is configured to infuse insulin according to the final insulin infusion amount I 3.
According to one aspect of the present invention, the first and second algorithms are from one of the classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm.
According to one aspect of the present invention, the rMPC algorithm or rPID algorithm is an algorithm that converts blood glucose that is asymmetric in the original physical space to a blood glucose risk that is approximately symmetric in the risk space based on the classic PID algorithm and the classic MPC algorithm.
According to one aspect of the present invention, the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm includes one or more of a segmented weighting conversion, a relative value conversion, a blood glucose risk index conversion, and an improved control variability grid analysis conversion.
According to one aspect of the present invention, the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm further include one or more of the following processing methods:
① subtract a component that is proportional to the predicted plasma insulin concentration;
② deduct the amount of insulin that has not yet worked in the body;
③ the autoregressive method is used to compensate for the detecting delay of interstitial fluid glucose concentration and blood glucose concentration.
According to one aspect of the present invention, the final insulin infusion amount I 3 is optimised by the average value
Figure PCTCN2021126014-appb-000001
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2:
① obtain the average value
Figure PCTCN2021126014-appb-000002
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000003
② substitute the average value
Figure PCTCN2021126014-appb-000004
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
④ calculate steps ①~③ cyclically until I 1=I 2 and the final insulin infusion amount I 3=I 1=I 2.
According to one aspect of the present invention, the final insulin infusion amount I 3 is optimised by the  weighted value
Figure PCTCN2021126014-appb-000005
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2:
① obtain the weighted value
Figure PCTCN2021126014-appb-000006
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000007
where α and β are the weighting coefficients of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, respectively.
② substitute the average value
Figure PCTCN2021126014-appb-000008
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
④ calculate steps ①~③ cyclically until I 1=I 2 and the final insulin infusion amount I 3=I 1=I 2.
According to one aspect of the present invention, the final insulin infusion amount I 3 is optimised by comparing the first insulin infusion amount I 1 and the second insulin infusion amount I 2 with the current statistical analysis result I 4:
Figure PCTCN2021126014-appb-000009
According to one aspect of the present invention, it further includes a meal recognition module and/or a motion recognition module.
According to one aspect of the present invention, the motion recognition module further includes a movement sensor.
According to one aspect of the present invention, the motion sensor is provided in the detection module, the program module or the infusion module.
According to one aspect of the present invention, the motion sensor includes a three-axis acceleration sensor or a gyroscope.
According to one aspect of the present invention, any two of the detection module, the program module and the infusion module, are connected configured to form a single part whose attached position on the skin is different from the third module.
According to one aspect of the present invention, the detection module, the program module and the infusion module are connected together configured to form a single part that is attached to only one position on the skin. Compared with the prior art, the technical solution of the present invention has the following advantages:
The closed-loop artificial pancreas insulin infusion control system disclosed in the present invention is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3. By further optimising the first insulin infusion amount I 1 and the second insulin infusion amount I 2, the final infusion amount I 3 is more accurate and reliable, realising precise control of the closed-loop artificial pancreatic insulin infusion control system.
Furthermore, the first algorithm and the second algorithm are one of the rMPC algorithm or the rPID algorithm,  which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk in the risk space, making full use of the advantages of rPID algorithm and rMPC algorithm to face complex scenarios, so that the artificial pancreas can provide reliable insulin infusion under various conditions. Blood glucose can reach the ideal level at the expected time, realising precise control for a closed-loop artificial pancreas insulin infusion system.
Furthermore, the final output of the compound artificial pancreas algorithm is the same result calculated by the first algorithm and the second algorithm, making the result more feasible and reliable.
Furthermore, the final output of the compound artificial pancreas algorithm is the same result obtained by averaging or weighting the different results calculated by the first algorithm and the second algorithm. The two sets of algorithms compensate each other to improve the accuracy of the output results.
Furthermore, the final output of the compound artificial pancreas algorithm is obtained by comparing the different results calculated by the first algorithm and the second algorithm with the statistical analysis results of the historical data so as to ensure the reliability of the insulin infusion from another aspect.
Furthermore, the motion sensor can automatically and accurately sense the user's physical activity state and send the activity state parameters to the program module so that the compound artificial pancreas algorithm can quickly switch to the rMPC algorithm. The output reliability of the compound artificial pancreas algorithm under exercise scenarios is improved.
Furthermore, the detection, program, and infusion modules are connected and configured to form a single part attached to only one position on the skin. If the three modules are connected as a whole and attached in only one position, the number of the device on the user skin will be reduced, thereby reducing the interference of more attached devices on user activities. At the same time, it also effectively solves the problem of poor wireless communication between separating devices, further enhancing the user experience.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to one embodiment of the present invention.
FIG. 2 is a comparison diagram of the blood glucose in the original physical space and the risk space, which is obtained through the segmented weighting and the relative value conversion according to an embodiment of the present invention.
FIG. 3 is a comparison diagram of the blood glucose in the original physical space and the risk space, which is obtained through the BGRI and CVGA method according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of an insulin IOB curve according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of four types of mainstream clinical optimal basal rate settings according to an embodiment of the present invention
FIG. 6 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
FIG. 7 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
FIG. 8 is a schematic diagram of the module relationship of the closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present invention.
Fig. 9 is a schematic diagram of dual-drug switching according to an embodiment of the present invention.
FIG. 10 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
DETAILED DESCRIPTION
As mentioned above, due to the simple constitute of the PID algorithm, it is not suitable for more complex scenarios. MPC algorithm is facing the dilemma of establishing an accurate model and deal with large computation, which may lead to deviation for the predicted infusion.
In order to solve this problem, the present invention provides a closed-loop artificial pancreas insulin infusion control system. The system is preset with a compound artificial pancreas algorithm, including the rPID algorithm and the rMPC algorithm, which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space, making full use of the advantages of rPID algorithm and rMPC algorithm to face complex scenarios, so that the artificial pancreas can provide reliable insulin infusion under various conditions. Blood glucose can reach the ideal level at the expected time, realising precise control for a closed-loop artificial pancreas insulin infusion system.
Various exemplary embodiments of the present invention will now be described in detail with reference to the drawings. The relative arrangement of the components and the steps, numerical expressions and numerical values outlined in the embodiments are not construed as limiting the scope of the invention.
In addition, it should be understood that, for ease of description, the dimensions of the various components shown in the figures are not necessarily drawn in the actual scale relationship. For example, certain units' thickness, width, length, or distance may be exaggerated relative to other parts.
The following description of the exemplary embodiments is merely illustrative and does not limit the invention and its application or use. The techniques, methods, and devices are known to those of ordinary skill in the art may not be discussed in detail, but such techniques, methods, and devices should be considered part of the specification.
It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once an item is defined or illustrated in a drawing, it will not be discussed further in the following description of the drawings.
FIG. 1 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to the embodiment of the present invention.
The closed-loop artificial pancreas insulin infusion control system disclosed in the embodiment of the present invention mainly includes a detection module 100, a program module 101, and an infusion module 102.
The detection module 100 is used to continuously detect the user's real-time blood glucose (BG) level. Generally, detection module 100 is a Continuous Glucose Monitoring (CGM) for detecting real-time BG, monitoring BG changes, and sending them to the program module 101.
Program module 101 is used to control the detection module 100 and the infusion module 102. Therefore, program module 101 is connected to detection module 100 and infusion module 102, respectively. Here, the  connection refers to a conventional electrical connection or a wireless connection.
The infusion module 102 includes the essential mechanical assemblies used to infuse insulin and is controlled by program module 101. According to the current insulin infusion dose calculated by program module 101, infusion module 102 injects the current insulin dose required into the user's body. At the same time, the real-time infusion status of infusion module 102 can also be fed back to program module 101.
The embodiment of the present invention does not limit the specific positions and connection relationships of the detection module 100, the program module 101 and the infusion module 102, as long as the aforementioned functional conditions can be satisfied.
As in an embodiment of the present invention, the three are electrically connected to form a single part. Therefore, the three modules can be attached on only one position of the user's skin. If the three modules are connected as a whole and attached in only one position, the number of the device on the user skin will be reduced, thereby reducing the interference of more attached devices on user activities. At the same time, it also effectively solves the problem of poor wireless communication between separating devices, further enhancing the user experience.
Another embodiment of the present invention is that the program module 101 and the infusion module 102 are electrically connected to form a single part, while the detection module 100 is separately provided in another part. At this time, the detection module 100 and the program module 101 transmit wireless signals to realise the mutual connection. Therefore, program module 101 and infusion module 102 can be attached to the user's skin position while the detection module 100 is attached to the other position.
Another embodiment of the present invention is that the program module 101 and the detection module 100 are electrically connected, forming a single part, while the infusion module 102 is separately provided in another part. The infusion module 102 and the program module 101 transmit wireless signals to realise the mutual connection. Therefore, program module 101 and the detection module 100 can be attached to the same position of the user's skin while the infusion module 102 is attached to the other position.
Another embodiment of the present invention is that the three are provided in different parts, thus being attached to different positions. Simultaneously, program module 101, detection module 100, and infusion module 102 transmit wireless signals to realize the mutual connection.
It should be noted that the program module 101 of the embodiment of the present invention also has functions such as storage, recording, and access to the database. Thus, program module 101 can be reused. In this way, the user's physical condition data can be stored, but the production and consumption costs can be saved. As described above, when the service life of the detection module 100 or the infusion module 102 expires, program module 101 can be separated from the detection module 100, the infusion module 102, or both the detection module 100 and the infusion module 102.
Generally, the service lives of the detection module 100, the program module 101, and the infusion module 102 are different. Therefore, when the three are electrically connected to form a single device, the three can also be separated in pairs. For example, if one module expires, the user can only replace this module and keep the other two modules continuously using.
Here, it should be noted that the program module 101 of the embodiment of the present invention may also include multiple sub-modules. According to the functions of the sub-modules, different sub-modules can be respectively assembled in a different part, which is not a specific limitation herein, as long as the control conditions of the program module 101 can be satisfied.
Specifically, the program module 101 is preset with an rPID (risk-proportional-integral-derivative) algorithm that converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space. The rPID algorithm is obtained by converting the classic PID (proportional-integral-derivative) algorithm. The specific converting method will be detailed below. According to the corresponding infusion instructions calculated by the rPID algorithm, module 101 controls the infusion Module 102 infuses insulin.
The classic PID algorithm can be expressed by the following formula:
Figure PCTCN2021126014-appb-000010
Where:
K P is the gain coefficient of the proportional part;
K I is the gain coefficient of the integral part;
K D is the gain coefficient of the differential part;
G represents the current blood glucose level;
G B represents the target blood glucose level;
C represents a constant;
PID (t) represents the infusion instruction sent to the insulin infusion system.
Considering the actual distribution characteristics of glucose concentration in diabetic patients, for example, the normal blood glucose range is 80-140 mg/dL, and it can also be widened to 70-180 mg/dL. General hypoglycemia can reach 20-40 mg/dL, while high blood glucose can reach 400-600 mg/dL.
The distribution of high/low blood glucose (original physical space) has significant asymmetry. In clinical practice, the risk of high blood glucose and low blood glucose corresponding to the same degree of blood glucose deviation from the normal range will be significantly different, such as a decrease of 70 mg/dL, from 120mg/dL to 50mg/dL will be considered severe hypoglycemia, with high clinical risk, and emergency measures such as supplementing carbohydrates need to be taken. The increase of 70 mg/dL, from 120mg/dL to 190mg/dL is just beyond the normal range. For diabetic patients, the degree of high blood glucose is not serious, and it is often reached in daily situations, and there is no need to take treatment measures.
Considering the asymmetric characteristics of the clinical risk of glucose concentration, the asymmetric blood glucose in the original physical space is converted to the approximately symmetric blood glucose in risk space, making the PID algorithm more robust.
Correspondingly, the rPID algorithm formula is converted into the following form:
Figure PCTCN2021126014-appb-000011
Where:
rPID (t) represents the infusion instruction sent to the insulin infusion system after risk conversion;
r means blood glucose risk;
The meanings of other symbols are the same as described above.
In order to maintain the integration stability of PID, combined with the physiological effect of insulin to lower blood glucose, in one embodiment of the present invention, input parameter of the PID, blood glucose deviation amount Ge=G-GB is processed, such as segmented weighting (example: GB=110mg/dL) , as follows:
Figure PCTCN2021126014-appb-000012
In another embodiment of the present invention, a blood glucose value greater than the target blood glucose G B is converted by the relative value, as follows:
Figure PCTCN2021126014-appb-000013
Fig. 2 is a comparison diagram of the blood glucose in the original physical space and the risk space obtained through the segmented weighting and the relative value conversion according to an embodiment of the present invention.
In the original PID algorithm, the blood glucose risk (ie Ge) on both sides of the target blood glucose value presents a severe asymmetry consisting of the original physical space. After being converted to the blood glucose risk space, the blood glucose risk on both sides of the target blood glucose value is approximately symmetric. In this way, the integral term can be kept stable, making the rPID algorithm more robust.
In another embodiment of the present invention, there is a fixed zero-risk point during risk conversion, and the data on both sides of the deviation from the zero-risk point is processed. The original parameter corresponding to greater than zero risk point is positive when converted to the risk space, and the original parameter corresponding to less than zero risk point is negative when converted to the risk space. Specifically, the classic blood glucose risk index (BGRI) method can be used. This method is based on clinical practice. It is believed that the clinical risks of 20mg/dL for hypoglycemia and 600mg/dL for hyperglycemia are equivalent. Through logarithm conversion, the overall blood glucose in the range of 20-600mg/dL is processed. The blood glucose concentration at zero risk point in this method is set as G B. The risk space conversion formula is as follows:
Figure PCTCN2021126014-appb-000014
where:
r (G) =10*f (G)  2
The conversion function f (G) is as follows:
f (G) =1.509* [ (ln (G) )  1.084-5.381]
In the classic blood glucose risk index (BGRI) method, the blood glucose concentration at zero risk point is 112mg/dL. In other embodiments of the present invention, the blood glucose concentration at the zero-risk point can also be adjusted in conjunction with clinical practice risks and data trends; there is no specific limitation here. When fitting the risk space of the blood glucose concentration where the blood glucose  concentration is greater than that at zero risk point, the specific fitting method is not specifically limited.
In another embodiment of the present invention, an improved Control Variability Grid Analysis (CVGA) method is used. The blood glucose concentration at zero risk point is defined as 110 mg/dL in the original CVGA, and the following equal-risk blood glucose concentration data pairs are assumed (90 mg/dL, 180mg/dL; 70mg/dL, 300mg/dL; 50mg/dL, 400mg/dL) . In the embodiment of the present invention, considering the real risks of clinical practice and the trend characteristics of the data, it was adjusted, and the risk data of (70mg/dL, 300mg/dL) was revised to (70mg/dL, 250mg/dL) , and blood glucose concentration at zero risk point is defined as G B. At the same time, a polynomial model is fitted to it, and the following risk functions for the two sides of the zero-risk point are obtained:
Figure PCTCN2021126014-appb-000015
And the maximum value is limited as:
|r|=min (|r|, n)
Where the range of the limit of the maximum value n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
In other embodiments of the present invention, the blood glucose concentration at the zero-risk point and equal risk data pairs can also be adjusted in conjunction with clinical practice risks and data trends, and there is no specific limitation here. When fitting equal risk data pairs, the specific fitting method is not specifically limited. The data used to limit the maximum is also not specifically limited here.
Fig. 3 is a comparison diagram of the blood glucose in the original physical space and the risk space, which has been obtained through the BGRI and CVGA method according to an embodiment of the present invention.
Similar to the treatment of Zone-MPC, within the normal range of blood glucose, the blood glucose risk after conversion by BGRI and CVGA methods is quite flat, especially within 80-140mg/dL. Unlike Zone-MPC, where the blood glucose risk is completely zero in this range, it loses the ability to adjust further. Although the blood glucose risk in rPID is smooth within this range, it still has a stable and slow adjustment ability, making blood glucose further adjust to close the target value to achieve more precise blood glucose control.
In another embodiment of the present invention, a unified processing method can be used for data deviating from both sides of the zero-risk point. As in the preceding embodiment, the BGRI or CVGA method can deal with the data deviating from both sides of the zero-risk point; Different treatment methods can also be used, such as combining the BGRI and CVGA methods at the same time. The glucose concentration at zero risk point blood is the same, such as G B. When the blood glucose concentration is less than G B, the BGRI method is used, and the blood glucose concentration is greater than G B, the CVGA method is used. At this time:
r=-r (G) , if G≤G B
where:
r (G) =10*f (G)  2
The conversion function f (G) is as follows:
f (G) =1.509* [ (ln (G) )  1.084-5.381]
r = -4.8265*10 4-4*G 2+0.45563*G-44.855, if G>G B
Similarly, when the blood glucose concentration is great than G B, the BGRI method is used, and the blood glucose concentration is less than G B, the CVGA method is used. At this time:
r=r (G) , if G>G B
where:
r (G) =10*f (G)  2
The conversion function f (G) is as follows:
f (G) =1.509* [ (ln (G) )  1.084-5.381]
r = G-G B, if G>G B
And the maximum value is limited as:
|r|=min (|r|, n)
Where the range of the limit of the maximum value n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
In other embodiments of the present invention, the blood glucose level at the zero risk point can also be set as the target blood glucose value G B, when the blood glucose concentration is less than G B, the BGRI method is used, when the blood glucose concentration is great than G B, such as segmented weighting or relative value converting.
When it is converted by segmented weighting, the formula is:
r=-r (G) , if G≤G B
where:
r (G) =10*f (G)  2
The conversion function f (G) is as follows:
f (G) =1.509* [ (ln (G) )  1.084-5.381]
Figure PCTCN2021126014-appb-000016
When it is converted by a relative value, the formula is:
r=-r (G) , if G≤G B
where:
r (G) =10*f (G)  2
The conversion function f (G) is as follows:
f (G) =1.509* [ (ln (G) )  1.084-5.381]
Figure PCTCN2021126014-appb-000017
When the blood glucose value at the zero risk point is the target blood glucose value G B, for the data less than to the target blood glucose value G B, when the segmented weighting converting, relative value converting, and CVGA method are used, the functions are the same. Therefore, when the blood glucose concentration is great  than G B, the BGRI method is used, when the blood glucose concentration is less than G B, such as segmented weighting or relative value converting, the result is equivalent to the result that when the blood glucose value is less than the target blood glucose value G B, the CVGA method is used when the blood glucose level is greater than the target blood glucose value G B, the BGRI method is used, and the calculation formula is not repeated here.
In each embodiment of the present invention, the target blood glucose value G B is 80-140 mg/dL; preferably, the target blood glucose value G B is 110-120 mg/dL.
Through the above-converting methods, the asymmetric blood glucose in the original physical space can be converted to the approximately symmetric blood glucose in risk space in the rPID algorithm to retain the simplicity and robustness of the PID algorithm and control blood glucose risk with clinical value, to achieve precise control of the closed-loop artificial pancreatic insulin infusion system.
There are three major delay effects in the closed-loop artificial pancreas control system: insulin absorption delay (about 20 minutes from subcutaneous to blood circulation tissue, and about 100 minutes to liver) , insulin onset delay (about 30-100 minutes) , interstitial fluid glucose concentration and blood glucose detecting delay (approximately 5-15 minutes) . Any attempt to accelerate the closed-loop responsiveness may result in unstable system behaviour and system oscillations. In order to compensate for the insulin absorption delay in the closed-loop artificial pancreas control system, in one embodiment of the present invention, an insulin feedback compensation mechanism is introduced. The amount of insulin that has not been absorbed in the body is subtracted from the output, which is a component that is proportional to the estimated plasma insulin concentration
Figure PCTCN2021126014-appb-000018
 (the plasma insulin concentration also regulates the actual human insulin secretion as a negative feedback Signal) . The formula is as follows:
Figure PCTCN2021126014-appb-000019
Where:
PID (t) represents the infusion instruction sent to the insulin infusion system;
PIDc (t) represents the infusion instruction with compensation sent to the insulin infusion system;
γ represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output. If the coefficient increases, the algorithm will be relatively conservative, and if the coefficient decreases, the algorithm will be relatively aggressive. Therefore, in the embodiment of the present invention, the range of γ is 0.4-0.6. Preferably, γ is 0.5.
Figure PCTCN2021126014-appb-000020
represents the estimation of plasma insulin concentration, which various conventional prediction algorithms can obtain, for example, directly calculated from the infused insulin according to the pharmacokinetic curve of insulin, or using conventional autoregressive methods:
Figure PCTCN2021126014-appb-000021
Where:
Figure PCTCN2021126014-appb-000022
represents the estimation of the plasma insulin concentration at the current moment;
PID c (n-1) represents the output with compensation at the previous moment;
Figure PCTCN2021126014-appb-000023
represents the estimation of the plasma insulin concentration at the previous moment;
Figure PCTCN2021126014-appb-000024
represents the estimation of the plasma insulin concentration at the time of up and up;
K 0 represents the coefficient of the output part with compensation at the previous moment;
K 1 represents the coefficient of the estimated part of the plasma insulin concentration at the previous moment;
K 2 represents the coefficient of the estimated part of the plasma insulin concentration at the previous time;
Where: 
Figure PCTCN2021126014-appb-000025
the time interval can be selected according to actual needs.
Correspondingly, the compensation output formula after risk conversion through the aforementioned method is as follows:
Figure PCTCN2021126014-appb-000026
Where:
rPID c (t) represents the infusion instruction with compensation sent to the insulin infusion system after risk conversion;
The meanings of the other characters are as described above.
In order to compensate for the delay of insulin onset in the closed-loop artificial pancreas control system, in one embodiment of the present invention, insulin on board (IOB) , which has not yet worked in the body, is introduced, and the IOB is subtracted from the output of insulin to prevent accumulation and overdose for insulin infusion, which can lead to risks such as postprandial hypoglycemia.
Fig. 4 is an insulin IOB curve according to an embodiment of the present invention.
According to the IOB curve shown in FIG. 4, the cumulative residual amount of insulin previously infused can be calculated, and the selection of the specific curve can be determined based on the actual insulin action time of the user.
PID′ (t) =PID (t) -IOB (t)
Where:
PID' (t) represents the infusion instruction sent to the insulin infusion system after deducting IOB;
PID (t) represents the infusion instruction sent to the insulin infusion system;
IOB (t) represents the amount of insulin that has not yet worked in the body at time t.
Correspondingly, the output formula after deducting the amount of insulin that has not yet worked in the body after risk conversion through the aforementioned method is as follows:
rPID′ (t) =rPID (t) -IOB (t)
Where:
rPID′ (t) represents the infusion instruction sent to the insulin infusion system after risk conversion, deducting the amount of insulin that has not yet worked in the body;
The meanings of the other characters are as described above.
In order to obtain an ideal control effect, IOB (t) is divided into meal insulin IOBm and non-meal insulin IOBo.
The formula is as follows:
IOB (t) =IOB m, t+IOB o, t
Where:
Figure PCTCN2021126014-appb-000027
Where:
IOB m, t represents the amount of meal insulin that has not yet worked in the body at time t;
IOB o, t represents the amount of non-meal insulin that has not yet worked in the body at time t;
Di (i=2-8) represents the respective coefficients corresponding to the IOB curve with insulin action time i;
I m, t represents the amount of meal insulin;
I o, t represents the amount of non-meal insulin;
IOB (t) represents the amount of insulin that has not yet worked in the body at time t.
Dividing the IOB into meal and non-meal insulin can make insulin cleared faster when meals ingesting or blood sugar are too high and can obtain greater insulin output and regulate blood glucose more quickly. When approaching the target, a longer insulin action time curve is used to make insulin clear more slowly, and blood sugar regulation is more conservative and stable.
When PID’ (t) >0 or rPID’ (t) >0, the final insulin infusion amount is PID’ (t) or rPID’ (t) ;
When PID' (t) <0 or rPID' (t) <0, the final insulin infusion amount is 0.
In an embodiment of the present invention, an autoregressive method is used to compensate for detecting delay of interstitial fluid glucose concentration and blood glucose concentration. The formula is as follows:
Figure PCTCN2021126014-appb-000028
Where:
G SC (n) represents the glucose concentration in the interstitial fluid at the current moment, that is, the measured value of the detecting system;
Figure PCTCN2021126014-appb-000029
represents the estimated concentration of blood glucose at the previous moment;
G SC (n-1) and G SC (n-2) represent the glucose concentration in the interstitial fluid at the first previous time and the second previous time, respectively;
K 0 represents the coefficient of the estimated concentration of blood glucose at the previous moment;
K 01 and K 2 respectively represent the coefficient of glucose concentration in the interstitial fluid at the first previous time and the second previous time, respectively.
Where: 
Figure PCTCN2021126014-appb-000030
The blood glucose concentration is estimated by the interstitial fluid glucose concentration, which compensates for the detecting delay of the interstitial fluid glucose concentration and blood glucose, making the PID algorithm more accurate. Correspondingly, the rPID algorithm can also more accurately calculate the actual insulin demand for the human body.
In the embodiment of the present invention, the insulin absorption delay, the insulin onset delay, the detecting delay of interstitial fluid glucose concentration and blood glucose can be partially compensated or fully compensated. Preferably, all delay factors are considered fully compensated for making the rPID algorithm more accurate.
In another embodiment of the present invention, the program module 101 is preset with an rMPC (risk-model-predict-control) algorithm that converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose in the risk space. The rMPC algorithm is obtained by converting the classic MPC (risk-model-predict-control) algorithm. According to the corresponding infusion instructions calculated by the rMPC algorithm, program module 101 controls infusion Module 102 infuses insulin.
The classic MPC algorithm consists of three elements, the prediction model, the value function and the constraints. The classic MPC prediction model is as follows:
x t+1=Ax t+BI t
G t=Cx t
Where:
x t+1 represents the state parameter at the next moment, 
Figure PCTCN2021126014-appb-000031
x t represents the current state parameter, 
Figure PCTCN2021126014-appb-000032
I t represents the amount of insulin infusion at the current moment;
G t represents the blood glucose concentration at the current moment.
The parameter matrix is as follows:
Figure PCTCN2021126014-appb-000033
Figure PCTCN2021126014-appb-000034
C=[1 0 0]
Where:
b1, b2, b3, Ki are initial values.
The value function of the MPC algorithm is composed of the sum of squared deviations of the output G (blood glucose level) and the sum of squared changes of the input I (insulin amount) . The MPC algorithm needs to obtain the minimum solution of the value function.
Figure PCTCN2021126014-appb-000035
Where:
I′ t+j represents the change of insulin infusion after step j;
Figure PCTCN2021126014-appb-000036
represents the difference between the predicted blood glucose concentration and the target blood glucose value after step j;
t represents the current moment;
N and P are the number of steps in the control time window and the predictive time window, respectively;
R is the weighting coefficient of the insulin component.
The amount of insulin infusion at step j isI t+I′ t+j.
In the embodiment of the present invention, the control time window Tc=30min, the prediction time window Tp=60min, and the weighting coefficient R of the amount of insulin is 11000. It should be noted that although the control time window used in the calculation is 30min, only the first step calculation result of insulin output is used in the actual operation. After the operation, the minimum solution of the above value function is recalculated according to the latest blood glucose data obtained.
In the embodiment of the present invention, the infusion time step in the control time window is j n, and the range of j n is 0-30 min, preferably 2 min. The number of steps N=T c/j n, and the range of j is 0 to N.
In other embodiments of the present invention, the weighting coefficients of the amount of insulin, the control time window and the predicted time window can also be selected as other values, which are not specifically limited here.
As mentioned above, the distribution of high/low blood glucose (original physical space) has significant asymmetry. The risk of high blood glucose and low blood glucose corresponding to the same degree of blood glucose deviation from the normal range will be significantly different in clinical practice. Considering the asymmetric characteristics of the clinical risk of glucose concentration, the asymmetric blood glucose in the original physical space is converted to the approximately symmetric blood glucose in risk space, making the MPC algorithm more accurate and flexible.
The value function of the rMPC algorithm after risk conversion is as follows:
Figure PCTCN2021126014-appb-000037
Where:
r t+j represents the blood glucose risk after step j;
I′ t+j represents the change of insulin infusion after step j.
The deviation of blood glucose value is converted to the corresponding blood glucose risk. The specific conversion method is the same as that in the aforementioned rPID algorithm, such as segmented weighting and relative value converting; it also includes setting a fixed zero risk point in the risk space. The blood glucose concentration at the zero risk point can be set as the target blood glucose value. Data on both sides deviating from the zero risk point are processed, such as using BGRI and the improved CVGA method; it also includes different methods for processing data that deviates from the target blood glucose value.
Specifically, when the segmented weighting converting is used:
Figure PCTCN2021126014-appb-000038
When the relative value converting is used:
Figure PCTCN2021126014-appb-000039
When the BGRI method is used:
Figure PCTCN2021126014-appb-000040
Where:
r (G t+j) =10*f (G t+j2
The conversion function f (G t+j) is as follows:
f (G t+j) =1.509* [ (ln G t+j) )  1.084-5.381]
When the CVGA method is used:
Figure PCTCN2021126014-appb-000041
And the maximum value is limited as:
|r t+j |=min (|r t+j|, n)
Where the range of the limit of the maximum value n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
If the detected blood glucose concentration in step j G t+j is less than G B, the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is greater than G B, the CVGA method will be used:
r t+j=-r (G t+j) , if G t+j≤G B
Where:
r (G t+j) =10*f (G t+j2
The conversion function f (G t+j) is as follows:
f (G t+j) =1.509* [ (ln G t+j) )  1.084-5.381]
r t+j = -4.8265*10 4-4*G t+j 2+0.45563*G t+j-44.855, if G t+j>G B
If the detected blood glucose concentration in step j G t+j is great than G B, the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is less than G B, the CVGA method will be used:
r t+j=r (G t+j) , if G t+j>G B
Where:
r (G t+j) =10*f (G t+j2
The conversion function f (G t+j) is as follows:
f (G t+j) =1.509* [ (ln G t+j) )  1.084-5.381]
r t+j = G t+j-G B, if G t+j≤G B
And the maximum value is limited as:
|r|=min (|r|, n)
Where the range of the limit of the maximum value n is from 0 to 80mg/dL, preferably, the value of n is 60mg/dL.
If the detected blood glucose concentration in step j G t+j is less than G B, the BGRI method will be used. If the detected blood glucose concentration in step j G t+j is great than G B, the segmented weighting converting will be used:
r t+j=-r (G t+j) , if G t+j≤G B
Where:
r (G t+j) =10*f (G t+j2
The conversion function f (G t+j) is as follows:
f (G t+j) =1.509* [ (ln G t+j) )  1.084-5.381]
Figure PCTCN2021126014-appb-000042
When the detected blood glucose concentration in step j G t+j is less than G B, the BGRI method is used, when the detected blood glucose concentration in step j G t+j is great than G B, the relative value converting is used:
r t+j=-r (G t+j) , if G t+j≤G B
Where:
r (G t+j) =10*f (G t+j2
The conversion function f (G t+j) is as follows:
f (G t+j) =1.509* [ (ln G t+j) )  1.084-5.381]
Figure PCTCN2021126014-appb-000043
For the data less than the target blood glucose value GB, the functions are the same when the segmented weighting converting, relative value converting, and CVGA method is used. Therefore, when the blood glucose concentration is great than G B, the BGRI method is used, when the blood glucose concentration is less than G B, such as segmented weighting or relative value converting, the result is equivalent to the result that when the blood glucose value is less than the target blood glucose value G B, the CVGA method is used when the blood glucose level is greater than the target blood glucose value G B, the BGRI method is used, and the calculation formula is not repeated here.
It should be noted that in the above conversion formulas:
r t+j represents the blood glucose risk at step j;
G t+j represents the blood glucose level detected in step j.
The target blood glucose value G B is 80-140 mg/dL, preferably, the target blood glucose value G B is 110-120 mg/dL.
The beneficial effects after risk conversion and the comparison of the relationship between blood glucose and blood glucose risk are consistent with the rPID algorithm and will not be repeated here.
Similarly, in order to compensate for the insulin absorption delay, the insulin feedback compensation mechanism can be used; in order to compensate for the delay of insulin onset, IOB can be used; in order to compensate for detecting delay of interstitial fluid glucose concentration and blood glucose concentration, the autoregressive method can be used. The specific compensation method is also consistent with the rPID algorithm, specifically:
For insulin absorption delay, the compensation formula is as follows:
Figure PCTCN2021126014-appb-000044
Where:
I t+j represents the infusion instruction sent to the insulin infusion system after step j;
rI c (t+j) represents the infusion instruction with compensation sent to the insulin infusion system after step j;
γ represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output. If the coefficient increases, the algorithm will be relatively conservative, and if the coefficient decreases, the algorithm will be relatively aggressive. Therefore, in the embodiment of the present invention, the range of γ is 0.4-0.6. Preferably, γ is 0.5.
Figure PCTCN2021126014-appb-000045
represents the estimation of plasma insulin concentration after step j.
For the delay of insulin onset, the compensation formula is as follows:
rI′ t+j=rI t+j-IOB (t+j)
Where:
rI′ t+j represents the infusion instruction sent to the insulin infusion system after deducting IOB at step j after risk conversion;
rI t+j represents the infusion instruction sent to the insulin infusion system at step j after risk conversion;
IOB (t+j) represents the amount of insulin that has not yet worked in the body at time t+j.
Similarly, IOB (t+j) can be divided into meal insulin and non-meal insulin. The formula is as follows:
IOB (t+j) =IOB m, t+j+IOB o, t+j
Where:
Figure PCTCN2021126014-appb-000046
Where:
IOB m, t+j represents the amount of meal insulin that has not yet worked in the body at time t+j;
IOB o, t+j represents the amount of non-meal insulin that has not yet worked in the body at time t+j;
Di (i=2-8) represents the respective coefficients corresponding to the IOB curve with insulin action time i;
I m, t+j represents the amount of meal insulin at time t+j;
I o, t+j represents the amount of non-meal insulin at time t+j;
IOB (t+j) represents the amount of insulin that has not yet worked in the body at time t+j.
When rI′ t+j>0, the final insulin infusion amount is rI′ t+j;
When rI′ t+j<0, the final insulin infusion amount is 0.
The autoregressive method is used to detect the delay of interstitial fluid glucose concentration and blood glucose concentration.
the formula is as follows:
Figure PCTCN2021126014-appb-000047
Where:
G SC (t+j) represents the glucose concentration in the interstitial fluid at the time t+j, that is, the measured value of the detecting system;
Figure PCTCN2021126014-appb-000048
represents the estimated concentration of blood glucose at the time t+j-1;
G SC (t+j-1) and G SC (t+j-2) represent the glucose concentration in the interstitial fluid at the time t+j-1 and t+j-2, respectively;
K 0 represents the coefficient of the estimated concentration of blood glucose at the time t+j-1;
K 01 and K 2 respectively represent the coefficient of glucose concentration in the interstitial fluid at the time t+j-1 and t+j-2, respectively.
Where: 
Figure PCTCN2021126014-appb-000049
The beneficial effects of various compensation methods are consistent with those in the rPID algorithm, which will not be repeated here.
In the rMPC algorithm, it is preferable to compensate for the delay of insulin onset and the detecting delay of interstitial fluid glucose concentration and blood glucose concentration.
In another embodiment of the present invention, the compound artificial pancreas algorithm is preset in program module 101. The compound artificial pancreas algorithm includes a first algorithm and a second algorithm. When the detection module 100 detects the current blood glucose level and sends the current blood glucose level to the program module 101, the first algorithm calculates the first insulin infusion amount I 1, the second algorithm calculates the second insulin infusion amount I 2, the compound artificial pancreas algorithm optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 to obtain the final insulin infusion, and send the final insulin infusion amount I 3 to the infusion module 102, and the infusion module 102 performs insulin infusion according to the final infusion amount I 3.
The first and second algorithms are classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm. The rMPC algorithm or rPID algorithm is an algorithm that converts blood glucose that is asymmetric in the original physical space to a blood glucose risk that is approximately symmetric in the risk space. The conversion method of blood glucose risk in rMPC algorithm and rPID algorithm is as described above.
If I 1=I 2, then I 3=I 1=I 2;
If I 1≠I 2, then substitutes the average arithmetic value of I 1 and I 2 into the first and second algorithm to optimise the parameters, and then recalculate the current insulin infusion amount I 1 and I 2. If the data are not the same, repeat the above process until I 3=I 1=I 2, that is:
① obtain the average value
Figure PCTCN2021126014-appb-000050
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000051
② substitute the average value
Figure PCTCN2021126014-appb-000052
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
④ calculate steps ①~③ cyclically until I 1=I 2 and the final insulin infusion amount I 3=I 1=I 2.
At this time, when the first algorithm or the second algorithm is PID or rPID algorithm, the algorithm parameter is K P, and K D = T D /K P, T D can be 60min-90 min, K I=T I*K P, T I can be 150min-450 min. When the  first algorithm or the second algorithm is the MPC or rPMC algorithm, the algorithm parameter is K.
If I 1≠I 2, then the weighted value of I1 and I2 is substituted into the first and second algorithms to optimise the parameters and then recalculate the current insulin infusion amount I 1 and I 2. If the data are not the same, adjust the weighting coefficient to repeat the above process until I 3=I 1=I 2, that is:
① obtain the weighted value
Figure PCTCN2021126014-appb-000053
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000054
where α and β are the weighting coefficients of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, respectively.
② substitute the average value
Figure PCTCN2021126014-appb-000055
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters; ④ calculate steps ①~③ cyclically until I 1=I 2, and the final insulin infusion amount I 3=I 1=I 2.
Similarly, when the first algorithm or the second algorithm is PID or rPID algorithm, the algorithm parameter is K P, and K D = T D /K P, T D can be 60min-90 min, K I=T I*K P, T I can be 150min-450 min. When the first algorithm or the second algorithm is the MPC or rPMC algorithm, the algorithm parameter is K.
In the embodiment of the present invention, α and β can be adjusted according to the first insulin infusion amount I 1 and the second insulin infusion amount I 2. When I 1≥I 2, α≤β; when I 1≤I 2, α≥β; preferably, α+β=1. In other embodiments of the present invention, α and β may also be other value ranges, which are not specifically limited here.
When the calculation results of the two are the same, that is, I 3=I 1=I 2, it can be considered that the amount of insulin infusion at the current moment can make the blood glucose level reach the ideal level. Through the processing mentioned above, the algorithms are mutually referenced. Preferably, the first algorithm and the second algorithm are the rMPC algorithm and the rPID algorithm, which are mutually referenced to improve the accuracy of the output further and make the result more feasible and reliable.
In another embodiment of the present invention, the program module 101 also provides a memory that stores the user's historical physical state, blood glucose level, insulin infusion, and other information. Statistical analysis can be performed based on the information in the memory to obtain the current statistical analysis result I 4, when I 1≠I 2, compare I 1, I 2 and I 4 to calculate the final insulin infusion amount I 3, the one that is closer to the statistical analysis result I 4 is selected as a result of the compound artificial pancreas algorithm, that is the final insulin infusion amount I 3, and the program module 101 sends the final insulin infusion amount I 3 to the infusion module 102 to infuse;
Figure PCTCN2021126014-appb-000056
Through comparison with historical data, the reliability of insulin infusion is ensured, on the other hand.
In another embodiment of the present invention, when I 1 and I 2 are inconsistent, and the difference is large, the blood glucose risk space conversion method in the rMPC algorithm and/or rPID algorithm and/or the compensation method regarding the delay effect can also be changed to adjust and make them more closely, and then finally determine the output result of the compound artificial pancreas algorithm through the above arithmetic average, weighting processing, or comparison with the statistical analysis result.
In another embodiment of the present invention, the closed-loop artificial pancreas control system further includes a meal recognition module and/or a motion recognition module, used to identify whether the user is eating or exercising. Commonly used meal identification can be determined based on the rate of blood glucose change and compared with a specific threshold. The rate of blood glucose change can be calculated from two moments or obtained by linear regression at multiple moments within a period of time. Specifically, when the rate of change at the two moments is used for calculation, the calculation formula is:
dG t/dt= (G t-G t-1) /△t
where:
G t represents the blood glucose level at the current moment;
G t-1 represents the blood glucose level at the previous moment;
△t represents the time interval between the current moment and the last moment.
When the rate of change at three moments is used for calculation, the calculation formula is:
dG t/dt= (3G t-4G t-1+G t-2) /2△t
where:
G t represents the blood glucose level at the current moment;
G t-1 represents the blood glucose level at the previous moment;
G t-2 represents the blood glucose level at the second previous moment
△t represents the time interval between the current moment and the last moment.
Before calculating the blood glucose change rate, the original continuous glucose data can also be filtered or smoothed. The threshold can be set to 1.8mg/mL-3mg/mL or personalised.
Similar to meal recognition, exercise can cause a rapid drop in blood glucose. Therefore, exercise recognition can also be detected based on the rate of blood glucose change and a specific threshold. The rate of blood glucose change can also be calculated as described above, and the threshold can be personalised.
In order to determine the occurrence of movement more quickly, the closed-loop artificial pancreas insulin infusion control system further includes a movement sensor (not shown) . The motion sensor automatically detects the user's physical activity, and the program module 101 can receive physical activity status information. The motion sensor can automatically and accurately sense the user's physical activity state and send the activity state parameters to the program module 101 to improve the output reliability of the compound artificial pancreas algorithm in exercise scenarios.
The motion sensor is provided in detection module 100, the program module 101 or the infusion module 102. Preferably, in the embodiment of the present invention, the motion sensor is provided in the program module 101.
It should be noted that the embodiment of the present invention does not limit the number of motion sensors and the installation positions of these multiple motion sensors, as long as the conditions for the motion sensor to sense the user's activity status can be satisfied.
The motion sensor includes a three-axis acceleration sensor or a gyroscope. The three-axis acceleration sensor or gyroscope can more accurately sense the body's activity intensity, activity mode or body posture. Preferably,  in the embodiment of the present invention, the motion sensor combines a three-axis acceleration sensor and a gyroscope.
It should be noted that in the calculation process, the blood glucose risk conversion methods used by the rMPC algorithm and the rPID algorithm can be the same or different, and the compensation methods for the delay effect can also be the same or different. The calculation process can also be adjusted based on actual conditions.
In another embodiment of the present invention, the program module 101 provides an adaptive unit that adjusts the algorithm gain coefficient according to the user's weight. In some embodiments of the invention, the infusion module 102 or the program module 101 can indicate the user's daily insulin requirement DIR. In the embodiment of the invention, DIR can be calculated by body weight BW. Specifically, DIR is proportional to BW, that is, DIR= e*BW, where e is the weight adjustment coefficient.
For patients with type 1 diabetes, the weight adjustment coefficient e can be set as the population mean value, 0.53U/kg, and it can also be customised according to their exercise habits. For example, a lower weight adjustment coefficient can be used for professional sports patients, such as 0.4U/kg; for patients less involved in the exercise, a higher weight adjustment factor can be used, such as 0.6 U/kg. For patients with type 2 diabetes, a personalised weight adjustment factor can be selected in a larger range based on their pancreatic secretion function and insulin resistance, such as 0.1-1.5 U/kg, and the more commonly used range is 0.6-1.1 U/kg.
In an embodiment of the present invention, the algorithm preset in the program module 101 is a classic PID algorithm or rPID algorithm, and the gain coefficient of the proportional part Kp=DIR/ (BW*m) , m is the user weight compensation coefficient, and the value is 50~ 500, preferably, m is 135.
The integral part gain coefficient K I and the differential part gain coefficient K D of the PID algorithm or rPID algorithm can be converted into coefficients related to Kp, such as K D = T D /K P, T D can be set as 60-90 min, K I=T I*K P, T I can be set as 150min-450 min. Large T D and T I make the algorithms too radical, while little T D and T I make the algorithms too conservative. The different coefficients can be set during daytime and night. For example, a smaller time parameter can be selected at night.
In another embodiment of the present invention, the algorithm preset in the program module 101 is the classic MPC algorithm or rMPC algorithm, and its gain coefficient K is related to weight BW,
Figure PCTCN2021126014-appb-000057
Where:
c is the safety factor;
s is the clinical experience coefficient;
e is the weight adjustment coefficient.
According to the risk of nighttime hypoglycemia, the safety factor c is set as 1.25 -3; the clinical experience coefficient s can be 1500, 1700, 1800, 2000, 2200, 2500, etc., which can be adjusted according to the clinical results, and there is no specific limitation here. In a preferred embodiment of the present invention, the clinical experience coefficient s is 1700; the range of the weight adjustment coefficient e is described above.
In the foregoing two embodiments, the gain coefficient Kp of the PID algorithm or rPID algorithm and the gain coefficient K of the MPC algorithm or rMPC algorithm can also be adjusted by introducing the coefficient Sb (t)  related to the basal insulin requirement, correspondingly:
K′ P=K P*Sb (t)
K′=K*Sb (t)
The coefficient Sb (t) related to the basal insulin requirement is the ratio of the basal insulin requirement B (t) to the average of the daily basal insulin quantity Ba at time t, that is, Sb (t) =B (t) /Ba. Where, Ba=y*DIR/24, y is the basal insulin compensation coefficient, which takes a value of 0.1 to 5. The average population value of this coefficient is 0.47, and the data for children is slightly smaller, for example, 0.3-0.4.
The daily basal insulin quantity Ba average can be calculated according to the user's actual basal rate setting. The basal insulin requirement B (t) at time t can be set according to the four mainstream clinical optimal basal rate settings. FIG. 5 shows the four types of mainstream clinical optimal basal rate settings from the reference Holterhus, PM, J. Bokelmann, et al. (2013) . "Predicting the Optimal Basal Insulin Infusion Pattern in Children and Adolescents on Insulin Pumps. " Diabetes Care 36 (6) : 1507-1511, where the horizontal axis is time, 24 hours a day, and the vertical axis is the relative deviation between the basal insulin requirement and the average of the daily basal insulin quantity Ba at the corresponding time. Most of them are within [0.5, 1.5] .
B (t) can also be set refer to the basic rate segmentation settings commonly used in clinical practice, such as three-stage settings, as follows:
① When the time t is from 0 am to 4 am, B (t) =0.5DIR/48;
② When the time t is 4 am to 10 am, B (t) =1.5DIR/48;
③When the time t is from 10 am to 0 am, B (t) =DIR/48.
In other embodiments of the invention, B (t) can also be calculated according to the user-known and appropriate base rate setting.
In the embodiment of the present invention, the range of Sb (t) is 0.2-2, preferably 0.5-1.5. By introducing the coefficient Sb (t) related to the basal insulin requirement in different time periods, the gain coefficient is adjusted with the change of time to meet the user's insulin demand in different periods and further improve the accuracy of closed-loop control.
In other embodiments of the present invention, the conversion method of rPID algorithm and the rMPC algorithm, which converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk in risk space, and the processing method for the calculation result, and the beneficial effects are as described above, which will not be repeated here.
FIG. 6 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
In other embodiments of the present invention, the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, an infusion module 102, and an electronic module 103.
The detection module 100 is used to detect the user's real-time blood glucose level continuously. Generally, the detection module 100 is a continuous glucose monitor (Continuous Glucose Monitoring, CGM) , which can detect blood glucose levels in real-time, monitor blood glucose changes, and send the current blood glucose levels to the infusion module 102 and the electronic module 103.
The infusion module 102 includes the mechanical assembly necessary for insulin infusion and other components capable of executing the first algorithm, such as an infusion processor 1021, controlled by the electronic module 103. The infusion module 102 receives the current blood glucose level sent by the detection module 100, calculates the first insulin infusion amount I 1 currently required through the first algorithm and sends the calculated first insulin infusion amount I 1 to the electronic module 103.
The electronic module 103 is used to control the operation of detection module 100 and the infusion module 102. Therefore, the electronic module 103 is connected to the detection module 100 and the infusion module 102, respectively. Here, the electronic module 103 is an external electronic device such as a mobile phone or a handset, and the connection refers to a wireless connection. The electronic module 103 includes a second processor. In the embodiment of the present invention, the second processor is capable of executing the second algorithm and the third algorithm, such as an electronic processor 1031. After the electronic module 103 receives the current blood sugar level, the current required second insulin infusion amount I 2 is calculated through the second algorithm. The first and second algorithms used by the electronic module 103 and the infusion module 102 to calculate the amount of insulin currently required are different.
After the electronic module 103 receives the first insulin infusion amount I 1 sent by the infusion module 102, it further optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 through the third algorithm to obtain the final insulin infusion amount I 3, and sends final insulin infusion amount I 3 to the infusion module 102, the infusion module 102 injects the currently needed insulin amount I 3 into the user's body. At the same time, the infusion status of the infusion module 102 can also be fed back to the electronic module 103 in real-time. The specific optimisation method is as described above. which is:
If I 1=I 2, then I 3=I 1=I 2;
If I 1≠I 2, the electronic module 103 further substitutes the average arithmetic value of the two or the weighted value into the algorithm to recalculate the current insulin infusion amount I 1 and I 2. If the data are not the same, repeat the above process until I 3=I 1=I 2, that is:
① obtain the average value
Figure PCTCN2021126014-appb-000058
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000059
② substitute the average value
Figure PCTCN2021126014-appb-000060
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
④ calculate steps ①~③ cyclically until I 1=I 2, and the final insulin infusion amount I 3=I 1=I 2.
Or:
① obtain the average value
Figure PCTCN2021126014-appb-000061
of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
Figure PCTCN2021126014-appb-000062
where α and β are the weighting coefficients of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, respectively.
② substitute the average value
Figure PCTCN2021126014-appb-000063
into the first algorithm and the second algorithm to adjust the algorithm parameters;
③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
④ calculate steps ①~③ cyclically until I 1=I 2, and the final insulin infusion amount I 3=I 1=I 2.
When I 1≠I 2, the electronic module 103 can also compare I 1, I 2 and I 4, which is a statistical analysis result at the current time by analysing the historical information based on the user's body state, blood sugar level and insulin infusion at each time in the past. The one that is closer to the statistical analysis result I 4 is selected as the final insulin infusion amount I 3, and the electronic module 103 sends the final insulin infusion amount I 3 to the infusion module 102 to infuse;
Figure PCTCN2021126014-appb-000064
In the embodiment of the present invention, the user's historical information may be stored in the electronic module 103 or a cloud management system (not shown) , and the cloud management system and the electronic module 103 are connected wirelessly.
FIG. 7 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
In the embodiments of the present invention, the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, an infusion module 102, and an electronic module 103.
The detection module 100 is used to detect the user's real-time blood glucose level continuously. Generally, the detection module 100 is a continuous glucose monitor (Continuous Glucose Monitoring, CGM) , which can detect blood glucose levels in real-time, monitor blood glucose changes, and the current blood glucose levels have only been sent to the infusion module 102. The detection module 100 further includes a second processor. In the embodiment of the present invention, the second processor is capable of executing the second algorithm, such as a detection processor 1001. After detecting the real-time blood glucose level, detection module 100 directly calculates the second insulin infusion amount I 2 through the second algorithm and sends the calculated second insulin infusion amount I 2 to the electronic module 103.
As mentioned above, infusion module 102, as mentioned above, after receiving the current blood glucose level sent by the detection module 100, calculates the first insulin infusion amount I 1 currently required through the first algorithm and sends the calculated first insulin infusion amount I 1 to the electronic module 103. The first and second algorithms used by the electronic module 103 and the infusion module 102 to calculate the amount of insulin currently required are different.
After the electronic module 103 receives the first insulin infusion amount I 1 sent by the infusion module 102 and the second insulin infusion amount I 2 sent by the detection module 103, it further optimises the first insulin infusion amount I 1 and the second insulin infusion amount I 2 through the third algorithm to obtain the final insulin infusion amount I 3. It sends the final insulin infusion amount I 3 to the infusion module 102. The infusion module 102 injects the currently needed insulin amount I 3 into the user's body. At the same time, the infusion status of the infusion module 102 can also be fed back to the electronic module 103 in real-time. The specific optimisation method is as described above.
In the above two embodiments of the present invention, after the detection module 100 detects the current blood glucose level, the infusion processor 1021 preliminarily calculates the first insulin infusion amount I 1. The second processor (such as the electronic processor 1031 and the detection processor 1001) preliminarily  calculate the second insulin infusion amount I2, and I1 and I2 being sent to the electronic module 103. The electronic module 103 performs further optimisation and then sends the optimised final insulin infusion amount I 3 to the infusion module 102 to infuse insulin, improving the accuracy of infusion instructions.
In the above two embodiments of the present invention, the first algorithm and the second algorithm are one of the classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm. The advantages of using the rPID or rMPC algorithm to calculate are as described above, and the beneficial effects of other optimisation methods are also as described above and will not be repeated here.
The embodiment of the present invention does not limit the specific position and connection relationship of the detection module 100 and the infusion module 102, as long as the aforementioned functional conditions can be met.
As in an embodiment of the present invention, the two modules are electrically connected to form an integral assembly and are pasted in the same place on the user's skin. If the two modules are connected as a whole and pasted in the same position, the number of user skin pasting devices will be reduced, thereby reducing the interference of more pasted devices on user activities; at the same time, it also effectively solves the problem of poor wireless communication between separate devices, which further enhance the user experience.
As in another embodiment of the present invention, the two modules are arranged in different components and are passed on different positions of the user's skin. The detection module 100 and the infusion module 102 transmit wireless signals to realise the mutual connection.
FIG. 8 is a schematic diagram of the module relationship of the closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present invention.
In the embodiment of the present invention, the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, a program module 101, and an infusion module 102. The infusion module 102 can perform multi-drug infusion, and the drugs can be a combination for regulating blood glucose for diabetic patients. Its metabolite is glucose, the main drugs are hypoglycemic drugs, such as insulin and its analogue, and other combination drugs are anti-hypoglycemic drugs, which has opposite effects with hypoglycemic drugs, such as pancreatic hypertension Glucagon and its analogs, cortisol and its analogs, growth hormone and its analogs, epinephrine and its analogs, glucose, etc., dextrins with similar effects Analogs (such as pramlintide) , etc.
The infusion module 102 can infuse the hypoglycemic drug and/or the anti-hypoglycemic drug into the user according to the hypoglycemic drug infusion instruction and/or the anti-hypoglycemic drug infusion instruction issued by the program module 101. The hypoglycemic and blood sugar raising drugs can be infused separately through different drug paths or through the same drug path at different times. The specific drug path design is not limited here.
FIG. 9 is a schematic diagram of dual-drug infusion switching according to two embodiments of the present invention.
In an embodiment of the present invention, the hypoglycemic drug infusion instruction and/or the current anti-hypoglycemic drug infusion instruction are obtained by comparing the predicted blood glucose concentration estimated G P with the target blood glucose value G B, and the predicted blood glucose concentration G P may be predicted based on the prediction model of rMPC or other suitable blood glucose prediction algorithms; the hypoglycemic drug infusion data and/or the anti-hypoglycemic drug infusion data can be calculated by the aforementioned rMPC algorithm or rPID algorithm or compound artificial pancreas  algorithm. Specifically:
When G P≥G B, the infusion module 102 starts to infuse the hypoglycemic drug according to the hypoglycemic drug infusion data I t, which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
When GP<GB, the infusion module 102 starts to infuse the anti-hypoglycemic drug infusion according to the anti-hypoglycemic drug infusion data D t, which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
In the embodiment of the present invention, I b represents the amount of hypoglycemic drugs that need to be infused to control blood glucose at the target blood glucose level G B without interference. When G P=G B, I t=I b, when G P >G B, with the infusion of hypoglycemic drugs, G P further decreases, and It also decreases. When the infusion module 102 has only one set of drug infusion paths, when G P<G B, that is, I t<I b, the infusion module 102 starts to infuse anti-hypoglycemic drugs, and the anti-hypoglycemic drug infusion data D t can be calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm, and the infusion of hypoglycemic drugs is stopped at the same time to prevent the hypoglycemic drugs and the anti-hyperglycemic drugs from affecting each other due to their antagonistic effects. When the infusion module 102 has at least two sets of drug infusion paths when 0≤I t<I b, the hypoglycemic drugs and anti-hyperglycemic can be infused simultaneously, which can effectively prevent hypoglycemia. When I t<0, the infusion of hyperglycemic drugs is stopped and only infuse anti-hyperglycemic drugs.
In another embodiment of the present invention, the hypoglycemic drug infusion instruction and/or the current anti-hypoglycemic drug infusion instruction may be directly performed by comparing the required amount of the hypoglycemic drug  It with the target hypoglycemic drug amount I b, and the hypoglycemic drug required amount I t and the target hypoglycemic drug amount I b can be calculated by the aforementioned rMPC algorithm, rPID algorithm, or compound artificial pancreas algorithm. Specifically: when the infusion module 102 has at least two sets of drug infusion paths:
When I t≥I b, the infusion module 102 starts to infuse the hypoglycemic drug according to the hypoglycemic drug infusion data I t, which is calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm;
When 0≤I t<I b, the hypoglycemic drugs and anti-hypoglycemic can be infused at the same time, which can effectively prevent the occurrence of hypoglycemia. The hypoglycemic drug required amount I t and the target hypoglycemic drug amount I b can be calculated by the aforementioned rMPC algorithm, rPID algorithm, or compound artificial pancreas algorithm.
When I t<0, the infusion of hyperglycemic drugs is stopped and only infuse anti-hyperglycemic drugs. The anti-hypoglycemic drug infusion data D t can be calculated by the rMPC algorithm, rPID, compound artificial pancreas algorithm.
Preferably, in the embodiment of the present invention, the hypoglycemic is insulin, and the anti-hypoglycemic is glucagon.
It should be noted that in the above embodiments, the calculation methods of the hypoglycemic drug infusion data and the anti-hypoglycemic infusion data at each stage may be the same or different. Preferably, the same algorithm architecture ensures the basic conditions'consistency, which makes the calculation results more accurate. More preferably, the compound artificial pancreas algorithm is used for calculation, and the advantages of the rPID algorithm and the rMPC algorithm are fully utilised to face complex scenarios to make  the blood glucose control ideally.
FIG. 10 is a schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present invention.
The closed-loop artificial pancreas insulin infusion control system disclosed in the embodiment of the present invention mainly includes a detection module 200 and an infusion module 202. The detection module 100 is used to continuously detect the user's current blood glucose (BG) level. Generally, detection module 100 is a Continuous Glucose Monitoring (CGM) for detecting real-time BG and monitoring BG changes. The detection module 200 also includes a detection processing unit 2001. The detection processing unit 2001 is preset with an algorithm for calculating insulin amount for infusion. When the user's current blood glucose level is detected by the detection module 200, the detection processing unit 2001 calculates the insulin amount required by the user through the preset algorithm. The insulin amount required by the user is sent to infusion module 202.
The infusion module 202 includes the essential mechanical assemblies for insulin infusion and an electronic transceiver that receives the user's insulin amount information from the detection module 200. According to the current insulin infusion amount sent by the detection module 200, infusion module 202 infuses the currently required insulin into the user's body. At the same time, the infusion status of infusion module 202 can also be fed back to detection module 200 in real-time.
In the embodiment of the present invention, the algorithm for calculating the insulin infusion amount, preset in the detection processing unit 2001, is one of the classic PID algorithms, the classic MPC algorithm, the rMPC rPID algorithm or the compound artificial pancreas algorithm. The calculation method and beneficial effects of using rPID algorithm, rMPC. The algorithm or the compound artificial pancreas algorithm is described above and will not be repeated here.
The embodiment of the present invention does not limit the specific position and connection relationship of the detection module 200 and the infusion module 202, as long as the aforementioned functional conditions can be met.
As in an embodiment of the present invention, the two are electrically connected to form an integral assembly and are pasted in the same place on the user's skin. If the two modules are connected as a whole and pasted in the same position, the number of user skin pasting devices will be reduced, thereby reducing the interference of more pasted devices on user activities; at the same time, it also effectively solves the problem of poor wireless communication between separate devices, which further enhance the user experience.
As in another embodiment of the present invention, the two modules are arranged in different components and are passed on different positions of the user's skin. The detection module 100 and the infusion module 102 transmit wireless signals to realize the mutual connection.
In summary, the present invention discloses a closed-loop artificial pancreas insulin infusion control system, which is preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimizes I 1 and I 2 to obtain the final insulin infusion amount I 3. By optimizing the first insulin infusion amount I 1 and the second insulin infusion amount I 2, the final infusion result is more accurate and reliable, realizing precise control of the closed-loop artificial pancreatic insulin infusion control system.
While the invention has been described in detail regarding the specific embodiments of the present invention, it should be understood that it will be appreciated by those skilled in the art that the above embodiments may be  modified without departing from the scope and spirit of the invention. The appended claims define the scope of the invention.

Claims (14)

  1. A closed-loop artificial pancreas insulin infusion control system, wherein, including,
    a detection module, configured to detect the current blood glucose level G continuously;
    a program module, connected to the detection module, preset with a compound artificial pancreas algorithm, including a first algorithm and a second algorithm. The first algorithm is used to calculate the first insulin infusion amount I 1, the second algorithm is used to calculate the second insulin infusion amount I 2, and the compound artificial pancreas algorithm further optimises I 1 and I 2 to obtain the final insulin infusion amount I 3; and
    an infusion module, connected to the program module, the program module sends the final insulin infusion amount I 3 to the infusion module, the infusion module is configured to infuse insulin according to the final insulin infusion amount I 3.
  2. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    the first and second algorithms are classic PID algorithms, the classic MPC algorithm, the rMPC algorithm, or the rPID algorithm.
  3. A closed-loop artificial pancreas insulin infusion control system of claim 2, wherein,
    the rMPC algorithm or rPID algorithm is an algorithm that converts blood glucose that is asymmetric in the original physical space to a blood glucose risk that is approximately symmetric in the risk space based on the classic PID algorithm and the classic MPC algorithm.
  4. A closed-loop artificial pancreas insulin infusion control system of claim 3, wherein,
    the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm includes one or more of a segmented weighting conversion, a relative value conversion, a blood glucose risk index conversion, and an improved control variability grid analysis conversion.
  5. A closed-loop artificial pancreas insulin infusion control system of claim 4, wherein,
    the blood glucose risk conversion method of the rMPC algorithm and the rPID algorithm further include one or more of the following processing methods:
    ① subtract a component that is proportional to the predicted plasma insulin concentration;
    ② deduct the amount of insulin that has not yet worked in the body;
    ③ the autoregressive method is used to compensate for the detecting delay of interstitial fluid glucose concentration and blood glucose concentration.
  6. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    the final insulin infusion amount I 3 is optimised by the average value
    Figure PCTCN2021126014-appb-100001
    of the first insulin infusion amount I 1 and the second insulin infusion amount I 2:
    ① obtain the average value
    Figure PCTCN2021126014-appb-100002
    of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
    Figure PCTCN2021126014-appb-100003
    ② substitute the average value
    Figure PCTCN2021126014-appb-100004
    into the first algorithm and the second algorithm to adjust the  algorithm parameters;
    ③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
    ④ calculate steps ①~③ cyclically until I 1=I 2, and the final insulin infusion amount I 3=I 1=I 2.
  7. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    the final insulin infusion amount I 3 is optimised by the weighted value
    Figure PCTCN2021126014-appb-100005
    of the first insulin infusion amount I 1 and the second insulin infusion amount I 2:
    ① obtain the weighted value
    Figure PCTCN2021126014-appb-100006
    of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, and
    Figure PCTCN2021126014-appb-100007
    where α and β are the weighting coefficients of the first insulin infusion amount I 1 and the second insulin infusion amount I 2, respectively.
    ② substitute the weighted value
    Figure PCTCN2021126014-appb-100008
    into the first algorithm and the second algorithm to adjust the algorithm parameters;
    ③ recalculate the first insulin infusion amount I 1 and the second insulin infusion amount I 2 based on the current blood glucose level and the first algorithm and the second algorithm with adjusted the parameters;
    ④ calculate steps ①~③ cyclically until I 1=I 2, and the final insulin infusion amount I 3=I 1=I 2.
  8. A closed-loop artificial pancreas insulin infusion control system of claim1, wherein,
    the final insulin infusion amount I 3 is optimised by comparing the first insulin infusion amount I 1 and the second insulin infusion amount I 2 with the current statistical analysis result I 4:
    Figure PCTCN2021126014-appb-100009
  9. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    further includes a meal recognition module and/or a motion recognition module.
  10. A closed-loop artificial pancreas insulin infusion control system of claim 9, wherein,
    the motion recognition module further includes a movement sensor.
  11. A closed-loop artificial pancreas insulin infusion control system of claim 10, wherein,
    the motion sensor is provided in the detection module, the program module or the infusion module.
  12. A closed-loop artificial pancreas insulin infusion control system of claim 11, wherein,
    the motion sensor includes a three-axis acceleration sensor or a gyroscope.
  13. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    any two of the detection module, the program module and the infusion module are connected configured to form a single part whose attached position on the skin is different from the third module.
  14. A closed-loop artificial pancreas insulin infusion control system of claim 1, wherein,
    the detection module, the program module and the infusion module are connected configured to form a single part that is attached to only one position on the skin.
PCT/CN2021/126014 2021-10-25 2021-10-25 Closed-loop artificial pancreas insulin infusion control system WO2023070247A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/126014 WO2023070247A1 (en) 2021-10-25 2021-10-25 Closed-loop artificial pancreas insulin infusion control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/126014 WO2023070247A1 (en) 2021-10-25 2021-10-25 Closed-loop artificial pancreas insulin infusion control system

Publications (1)

Publication Number Publication Date
WO2023070247A1 true WO2023070247A1 (en) 2023-05-04

Family

ID=86159829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/126014 WO2023070247A1 (en) 2021-10-25 2021-10-25 Closed-loop artificial pancreas insulin infusion control system

Country Status (1)

Country Link
WO (1) WO2023070247A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132064A1 (en) * 2005-06-13 2009-05-21 Carnegie Mellon University Apparatuses, Systems, and Methods Utilizing Adaptive Control
US20120078067A1 (en) * 2009-05-29 2012-03-29 University Of Virginia Patent Foundation System Coordinator and Modular Architecture for Open-Loop and Closed-Loop Control of Diabetes
US20150073572A1 (en) * 2013-09-10 2015-03-12 Alstom Technology Ltd Automatic tuning control system for air pollution control systems
CN104958077A (en) * 2015-07-24 2015-10-07 珠海福尼亚医疗设备有限公司 Intelligent control close-loop artificial pancreas system
CN106108917A (en) * 2015-12-28 2016-11-16 美敦力迷你迈德公司 Sensing system, equipment and method for continuous glucose monitoring
CN108261591A (en) * 2016-12-30 2018-07-10 上海移宇科技股份有限公司 A kind of closed loop control algorithm of artificial pancreas

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132064A1 (en) * 2005-06-13 2009-05-21 Carnegie Mellon University Apparatuses, Systems, and Methods Utilizing Adaptive Control
US20120078067A1 (en) * 2009-05-29 2012-03-29 University Of Virginia Patent Foundation System Coordinator and Modular Architecture for Open-Loop and Closed-Loop Control of Diabetes
US20150073572A1 (en) * 2013-09-10 2015-03-12 Alstom Technology Ltd Automatic tuning control system for air pollution control systems
CN104958077A (en) * 2015-07-24 2015-10-07 珠海福尼亚医疗设备有限公司 Intelligent control close-loop artificial pancreas system
CN106108917A (en) * 2015-12-28 2016-11-16 美敦力迷你迈德公司 Sensing system, equipment and method for continuous glucose monitoring
CN108261591A (en) * 2016-12-30 2018-07-10 上海移宇科技股份有限公司 A kind of closed loop control algorithm of artificial pancreas

Similar Documents

Publication Publication Date Title
US8690820B2 (en) Automatic insulin pumps using recursive multivariable models and adaptive control algorithms
WO2019072141A1 (en) Cloud big data-based method and system for insulin pump individualized configuration optimization
León-Vargas et al. Postprandial blood glucose control using a hybrid adaptive PD controller with insulin-on-board limitation
KR20150097731A (en) Method and system for a hybrid control-to-target and control-to-range model predictive control of an artificial pancreas
CN116020001A (en) Closed-loop artificial pancreas insulin infusion control system
Wang et al. Automatic bolus and adaptive basal algorithm for the artificial pancreatic β-cell
CN116139367A (en) Self-adaptive insulin infusion method and system
CN116670774A (en) Closed-loop control method and system for improving blood glucose response after non-notification source blood glucose fluctuation
CN112402731B (en) Closed-loop insulin infusion system for preventing hypoglycemia
WO2023070247A1 (en) Closed-loop artificial pancreas insulin infusion control system
WO2023070251A1 (en) Closed-loop artificial pancreas insulin infusion control system
WO2023070252A1 (en) Closed-loop artificial pancreas insulin multi-drug control system
WO2023070245A1 (en) Closed-loop artificial pancreas insulin infusion control system
WO2023070253A1 (en) Closed-loop artificial pancreas insulin infusion control system
WO2023070246A1 (en) Closed-loop artificial pancreas insulin infusion control system
WO2023070250A1 (en) Closed-loop artificial pancreas insulin infusion personalized control system
Dansa et al. Blood glucose regulation through bihormonal non-singular terminal sliding mode controller
Batora et al. Bihormonal control of blood glucose in people with type 1 diabetes
WO2023072306A1 (en) Closed-loop artificial pancreatic insulin infusion control system
Jørgensen et al. An artificial pancreas based on simple control algorithms and physiological insight
Ata et al. Model based control of artificial pancreas under meal disturbances
US20190192774A1 (en) Automatic closed-loop glucose control with an adaptive meal bolus calculator
Rashid et al. Plasma insulin cognizant predictive control for artificial pancreas
CN116020005A (en) Closed-loop artificial pancreas insulin infusion personalized control system
CN116020004A (en) Closed-loop artificial pancreas insulin infusion control system

Legal Events

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

Ref document number: 21961639

Country of ref document: EP

Kind code of ref document: A1