Closed-loop artificial pancreas insulin infusion control system

By transforming blood glucose values ​​into an approximately symmetric blood glucose risk space using the rMPC algorithm, and combining it with piecewise weighting and the BRGI method to compensate for insulin delay, the prediction bias problem of the MPC algorithm in the closed-loop artificial pancreas system is solved, achieving precise blood glucose control and user-friendly device design.

CN116020007BActive Publication Date: 2025-11-25MEDTRUM TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202111242326.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2025-11-25
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

Existing MPC algorithms are difficult to model accurately and have a large computational load in closed-loop artificial pancreas insulin infusion control systems, resulting in infusion prediction errors and failing to achieve precise blood glucose control.

Method used

The rMPC algorithm is used to transform blood glucose values ​​in the original physical space to an approximately symmetrical blood glucose risk space. Combined with piecewise weighting, relative values ​​and BRGI methods, the asymmetry of blood glucose distribution is considered to compensate for insulin absorption and delayed onset, thereby optimizing blood glucose regulation.

Benefits of technology

It achieves precise control of the closed-loop artificial pancreas insulin infusion system, can handle complex usage scenarios, reduces interference from device adhesion to user activities, enhances user experience, and improves the flexibility and accuracy of blood glucose regulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116020007B_ABST
    Figure CN116020007B_ABST
Patent Text Reader

Abstract

The application discloses a closed-loop artificial pancreas insulin infusion control system, which comprises a detection module, a program module connected with the detection module, an rMPC algorithm and a target blood glucose value G pre-set in the program module, and an infusion module. B The rMPC algorithm converts blood glucose in an original physical space which is asymmetric into blood glucose in an approximate symmetric risk space, can retain the characteristics of considering the changing short-term effects of a classical MPC algorithm, consider the asymmetry of blood glucose distribution, has the advantages of precision and flexibility, and realizes precise control of the closed-loop artificial pancreas insulin infusion system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of medical devices, in particular to a closed-loop artificial pancreas insulin infusion control system. BACKGROUND

[0002] The pancreas of a normal person can automatically secrete the required insulin / glucagon according to the glucose level in the human blood, so as to maintain a reasonable blood glucose fluctuation range. The pancreas function of a diabetic patient is abnormal, and cannot normally secrete the required insulin of the human body. Diabetes is a metabolic disease, which is a lifelong disease. Current medical technology cannot cure diabetes, and can only control the occurrence and development of diabetes and its complications by stabilizing blood glucose.

[0003] A diabetic patient needs to detect blood glucose before injecting insulin into the body. The current detection means can continuously detect blood glucose and send blood glucose data to a display device in real time, so as to facilitate the user to view. This detection method is called continuous glucose monitoring (CGM). The detection device needs to be attached to the skin surface, and the probe carried thereby is inserted into the subcutaneous tissue fluid to complete the detection. According to the blood glucose value detected by the CGM, the infusion device inputs the required insulin into the subcutaneous tissue, thereby constituting a closed-loop or semi-closed-loop artificial pancreas.

[0004] At present, in order to realize the closed-loop or semi-closed-loop control of insulin infusion, a model-predictive-control (MPC) algorithm uses a prediction model to predict the future behavior of the insulin pump output under the change of blood glucose, which can conveniently process additional inputs such as meals, exercise, etc., and the physiological significance of the model parameters is clear, which is convenient for personalized setting and optimization, so as to realize the regulation and control of insulin infusion, thereby being widely studied and used. However, due to the difficulty in establishing an accurate model and the large amount of calculation of the MPC algorithm, the MPC algorithm can also have a predicted infusion deviation.

[0005] Therefore, the prior art urgently needs a closed-loop artificial pancreas insulin infusion control system containing an optimized MPC algorithm. SUMMARY

[0006] The embodiment of the present application discloses a closed-loop artificial pancreas insulin infusion control system. The rMPC algorithm in the system converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk space, considers the recent change and the asymmetry of the distribution of the blood glucose, has the advantages of precision and flexibility, and realizes the precise control of the closed-loop artificial pancreas insulin infusion system.

[0007] The application discloses a closed-loop artificial pancreas insulin infusion control system, which comprises a detection module, a program module connected with the detection module, an infusion module and an insulin infusion indication calculated by an rMPC algorithm in the program module. B The rMPC algorithm calculates the insulin infusion indication according to the blood glucose risk, and the program module controls the infusion module to infuse insulin according to the insulin infusion indication calculated by the rMPC algorithm.

[0008] According to one aspect of the application, the rMPC algorithm comprises a prediction model, a value function and a constraint condition, and the prediction model is as follows:

[0009] x t+1 =Ax t +BI t

[0010] G t =Cx t

[0011] Wherein:

[0012] x t+1 represents a state parameter at the next moment,

[0013] x t represents a state parameter at the current moment,

[0014] I t represents an insulin infusion amount at the current moment;

[0015] G t represents a blood glucose concentration at the current moment.

[0016] The parameter matrix is as follows:

[0017]

[0018]

[0019] C=[1 0 0]

[0020] b1,b2,b3,K are prior values.

[0021] The value function is as follows:

[0022]

[0023] Wherein:

[0024] I′ t+jrepresents the change of insulin infusion amount after the jth step;

[0025] r t+j represents the blood glucose risk value after the jth step;

[0026] t represents the current time;

[0027] N, P are respectively the step numbers in the control time window and the prediction time window;

[0028] R is a weighted coefficient of the insulin component.

[0029] According to an aspect of the present application, the blood glucose risk r t+j is calculated as:

[0030]

[0031] G t+j represents the blood glucose value detected at the jth step.

[0032] According to an aspect of the present application, the blood glucose risk r t+j is in relation to the calculation as:

[0033]

[0034] G t+j represents the blood glucose value detected at the jth step.

[0035] According to an aspect of the present application, the blood glucose risk r t+j is calculated as:

[0036]

[0037] wherein,

[0038] r(G t+j ) = 10 * f(G t+j ) 2

[0039] wherein, f(G t+j ) is a conversion function, and its calculation formula is:

[0040] f(G t+j ) = 1.509 * [(ln(G t+j )) 1.084 - 5.381]

[0041] G t+j represents the blood glucose value detected at the jth step.

[0042] According to an aspect of the present application, the blood glucose risk r t+j is calculated as:

[0043]

[0044] G t+j This represents the blood glucose value detected at step j.

[0045] According to one aspect of the invention, blood glucose risk r t+j The maximum value is limited to: |r t+j |=min(|r t+j |,n).

[0046] According to one aspect of the invention, the maximum value n is limited to 0 to 80 mg / dL.

[0047] According to one aspect of the invention, r t+j The maximum value of n is limited to 60 mg / dL.

[0048] According to one aspect of the invention, the blood glucose value G detected at step j is... t+j Greater than the target blood glucose level G B Blood glucose risk t+j The calculation is as follows:

[0049] r t+j =r(G t+j ), if G t+j >G B ,

[0050] in,

[0051] r(G t+j )=10*f(G t+j ) 2

[0052] Where, f(G) t+j Let ) be the transformation function, and its calculation formula is:

[0053] f(G t+j )=1.509*[(ln(G t+j )) 1.084 -5.381];

[0054] The blood glucose value G detected at step j t+j Not greater than the target blood glucose level (G) B At that time, the blood glucose risk r is calculated as follows:

[0055] r t+j =G t+j -G B ,if G t+j ≤G B

[0056] G t+j This represents the blood glucose value detected at step j.

[0057] According to an aspect of the present application, the blood glucose risk r t+j is limited to a maximum value of |r t+j | = min(|r t+j |, n).

[0058] According to an aspect of the present application, the maximum value n is limited to a value comprised between 0 and 80 mg / dL.

[0059] According to an aspect of the present application, the blood glucose risk r t+j is limited to a maximum value of 60 mg / dL.

[0060] According to an aspect of the present application, the blood glucose value G t+j detected at the jth step is not greater than the target blood glucose value G B , the blood glucose risk r t+j is calculated as:

[0061] r t+j = -r(G t+j ), if G t+j ≤ G B

[0062] where:

[0063] r(G t+j ) = 10*f(G t+j ) 2

[0064] The conversion function f(G t+j ) is such that:

[0065] f(G t+j ) = 1.509*[(ln(G t+j )) 1.084 - 5.381]

[0066] When the blood glucose value G t+j detected at the jth step is greater than the target blood glucose value G B , the blood glucose risk r t+j is calculated as:

[0067] 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

[0068] G t+j denotes the blood glucose value detected at the jth step.

[0069] According to one aspect of the invention, when the blood glucose value G detected at step j is... t+j Not greater than the target blood glucose level (G) B At that time, the blood glucose risk r t+j The calculation is as follows:

[0070] r t+j =-r(G t+j ), if G t+j ≤G B

[0071] in:

[0072] r(G t+j )=10*f(G t+j ) 2

[0073] Transformation function f(G) t+j )Down:

[0074] f(G t+j )=1.509*[(ln(G t+j )) 1.084 -5.381]

[0075] The blood glucose value G detected at step j t+j Greater than the target blood glucose level G B At that time, the blood glucose risk r t+j The calculation is as follows:

[0076]

[0077] G t+j This represents the blood glucose value detected at step j.

[0078] According to one aspect of the invention, when calculating the amount of insulin that has not yet taken effect in the body (IOB), insulin is differentiated into meal insulin and non-meal insulin.

[0079] According to one aspect of the invention, the blood glucose value G detected at step j is... t+j Not greater than the target blood glucose level (G) B At that time,

[0080] blood glucose risk r t+j The calculation is as follows:

[0081] r t+j =-r(G t+j ), if G t+j ≤G B

[0082] in:

[0083] r(Gt+j )=10*f(G t+j ) 2

[0084] Conversion function f(G t+j ) is:

[0085] f(G t+j )=1.509*[(ln(G t+j )) 1.084 -5.381]

[0086] When the blood glucose value G t+j detected at the jth step is greater than the target blood glucose value G B , the blood glucose risk r t+j is calculated as:

[0087]

[0088] G t+j represents the blood glucose value detected at the jth step.

[0089] According to one aspect of the present application, the target blood glucose value G B is 80-140 mg / dL.

[0090] According to one aspect of the present application, the target blood glucose value G B is 110-120 mg / dL.

[0091] According to one aspect of the present application, the rMPC algorithm further comprises one or more of the following processing methods:

[0092] ③According to the insulin absorption delay in the artificial pancreas control system, the amount of plasma insulin not absorbed in the body is deducted

[0093]

[0094] Wherein,

[0095] I t+j represents the infusion instruction sent to the insulin infusion system at the jth step;

[0096] rI c(t+j) represents the infusion instruction sent to the insulin infusion system at the jth step after risk conversion;

[0097] γ is the compensation coefficient of the estimated plasma insulin concentration to the algorithm output;

[0098] is the plasma insulin concentration estimation;

[0099] IV. deducting the amount of insulin that is not yet active in the body from the insulin delay in the artificial pancreas control system

[0100] IOB(t+j):

[0101] rI' t+j = rI t+j - IOB(t+j)

[0102] rI' t+j denotes the infusion command sent to the insulin infusion system after risk conversion and deduction of IOB at step j;

[0103] rI t+j denotes the infusion command sent to the insulin infusion system after risk conversion at step j;

[0104] IOB(t+j) denotes the amount of insulin that is not yet active in the body at time t+j;

[0105] III. the sensing delay of blood glucose and interstitial glucose concentration is compensated for using an autoregressive method.

[0106] According to one aspect of the application, the plasma insulin concentration is estimated by an autoregressive method.

[0107] According to one aspect of the application, the compensation factor γ is between 0.4 and 0.6.

[0108] According to one aspect of the application, the compensation factor γ is 0.5.

[0109] According to one aspect of the application, the amount of insulin that is not yet active in the body, IOB(t+j), is obtained from the IOB curve.

[0110] According to one aspect of the application, in calculating said amount of insulin that is not yet active in the body, IOB(t+j), the insulin amount is meal insulin and non-meal insulin:

[0111] IOB(t+j) = IOB m,t+j + IOB o,t+j

[0112]

[0113] wherein,

[0114] IOB m,t+j denotes the amount of meal insulin that is not yet active in the body at time t+j;

[0115] IOB o,t+j denotes the amount of non-meal insulin that is not yet active in the body at time t+j;

[0116] Di (i=i-8) represents the corresponding coefficient of the IOB curve corresponding to the insulin action time i respectively;

[0117] I m,t+j represents the meal insulin amount at t+j time;

[0118] I 0,t+j represents the non-meal insulin amount at t+j time;

[0119] IOB(t+j) represents the insulin amount that has not yet acted in the body at t+j time.

[0120] According to one aspect of the present application, two of the detection module, the program module and the infusion module are connected to each other to form an integral structure, and the third module is respectively attached to different positions of the skin.

[0121] According to one aspect of the present application, the detection module, the program module and the infusion module are connected to form an integral structure, and are attached to the same position of the skin.

[0122] Compared with the prior art, the technical scheme of the present application has the following advantages:

[0123] In the closed-loop artificial pancreas insulin infusion control system disclosed in the present application, the rMPC algorithm converts the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk space, can retain the characteristics of considering the changing near-term effects of the classical MPC algorithm, consider the asymmetry of the blood glucose distribution, have the advantages of precision and flexibility, and realize precise control of the closed-loop artificial pancreas insulin infusion system.

[0124] Further, the rMPC algorithm can be processed by or in combination with piecewise weighting, relative value, BRGI method and improved CVGA method, and the target blood glucose concentration or zero risk point blood glucose concentration or equal risk point data pair can be flexibly selected according to the actual situation, so that the rMPC algorithm is more robust, and still has slow adjustment ability in the relatively flat interval, so that the closed-loop artificial pancreas can face more complex use scenarios, thereby realizing more precise blood glucose control.

[0125] Further, the rMPC algorithm also compensates for insulin absorption delay, insulin onset delay, blood glucose and interstitial fluid glucose concentration sensing delay, so that the output calculated by the rMPC algorithm is more reliable.

[0126] Further, in order to compensate for the delay in the effect of insulin, in the rMPC algorithm, the IOB is processed for meal insulin and other insulin except for meal, and the insulin can be cleared faster when the meal and blood glucose are too high, the insulin output can be greater, and the blood glucose regulation is faster. When close to the target, a longer insulin action time curve is used, and the blood glucose regulation is more conservative.

[0127] Further, the detection module, the program module and the infusion module are connected to form an integral structure and are attached to the same position of the skin. The three modules are connected to form an integral structure and are attached to the same position, so that the number of devices attached to the skin of the user is reduced, thereby weakening the interference of the attachment of a large number of devices on the stretching of the user; meanwhile, the problem of poor wireless communication between separated devices is effectively solved, and the user experience is further enhanced. BRIEF DESCRIPTION OF DRAWINGS

[0128] Figure 1 A schematic diagram of the module relationship of a closed-loop artificial pancreas insulin infusion control system according to an embodiment of the present application;

[0129] Figure 2 A comparison diagram of the relationship between the risk space and the blood glucose in the original physical space obtained by the piecewise weighting processing and the relative value conversion method according to an embodiment of the present application;

[0130] Figure 3 A comparison diagram of the relationship between the risk space and the blood glucose in the original physical space obtained by the BGRI and CVGA methods according to an embodiment of the present application;

[0131] Figure 4 An insulin IOB curve according to an embodiment of the present application;

[0132] Figure 5 A schematic diagram of four types of mainstream clinical optimal basal rate settings cited in an embodiment of the present application;

[0133] Figure 6 A schematic diagram of the module relationship of a closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present application;

[0134] Figure 7 A schematic diagram of the module relationship of a closed-loop artificial pancreas insulin infusion control system according to another embodiment of the present application;

[0135] Figure 8 A schematic diagram of the module relationship of a closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present application;

[0136] Figure 9 A schematic diagram of double-drug switching according to an embodiment of the present application;

[0137] Figure 10 Fig. 1 is a schematic diagram of a closed-loop artificial pancreas insulin infusion control system according to an embodiment of the present application. DETAILED DESCRIPTION

[0138] As mentioned above, due to the difficulty in establishing an accurate model and large amount of calculation of the MPC algorithm, the infusion deviation of the prediction of the MPC algorithm in the prior art artificial pancreas may occur.

[0139] To solve the problem, the present application provides a closed-loop artificial pancreas insulin infusion control system, wherein an rMPC algorithm is preset in the system to convert the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk space, which can not only retain the characteristics of considering the changing short-term effects of the classical MPC algorithm, but also consider the asymmetry of the blood glucose distribution, and has the advantages of precision and flexibility, thereby realizing the precise control of the closed-loop artificial pancreas insulin infusion system.

[0140] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be understood that the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments are not to be construed as limiting the scope of the present application unless otherwise specifically stated.

[0141] In addition, it should be understood that the sizes of the various components shown in the drawings are not necessarily drawn in accordance with the actual proportional relationship, for example, the thickness, width, length, or distance of certain units can be enlarged relative to other structures.

[0142] The following description of the exemplary embodiments is merely illustrative in nature and is in no way intended to limit the application or its application or uses in any way. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art can not be discussed in detail herein, but should be considered part of the present specification when applicable.

[0143] It should be noted that similar reference numbers and letters represent similar items in the following drawings, and therefore, once an item is defined or described in one drawing, it need not be further discussed in subsequent drawings.

[0144] Figure 1 Fig. 1 is a schematic diagram of a closed-loop artificial pancreas insulin infusion control system according to an embodiment of the present application.

[0145] The closed-loop artificial pancreas insulin infusion control system disclosed in the embodiments of the present application mainly includes a detection module 100, a program module 101, and an infusion module 102.

[0146] The detection module 100 is configured to continuously detect the current blood glucose level of the user. Generally, the detection module 100 is a continuous glucose monitoring (CGM) device, which can detect the current blood glucose level of the user in real time, monitor the change of the blood glucose level, and send the current blood glucose level to the program module 101.

[0147] The program module 101 is configured to control the operation of the detection module 100 and the infusion module 102. Therefore, the program module 101 is connected to the detection module 100 and the infusion module 102, respectively. Here, the connection includes a conventional electrical connection or a wireless connection.

[0148] The infusion module 102 includes the mechanical structure necessary for insulin infusion and is controlled by the program module 101. According to the current insulin infusion amount data sent by the program module 101, the infusion module 102 infuses the current required insulin into the user. At the same time, the infusion state of the infusion module 102 can also be fed back to the program module 101 in real time.

[0149] The embodiments of the present application do 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 above-mentioned functional conditions can be met.

[0150] In one embodiment of the present application, the three are electrically connected to each other to form an integral structure. Therefore, the three are attached to the same position on the user's skin. The three modules are connected to form an integral structure and are attached to the same position, so that the number of devices attached to the user's skin is reduced, thereby reducing the interference with the user's activities caused by the attachment of more devices; at the same time, the problem of the reliability of wireless communication between separate devices is effectively solved, further enhancing the user experience.

[0151] In another embodiment of the present application, the program module 101 and the infusion module 102 are connected to each other to form an integral structure, and the detection module 100 is separately arranged in another structure. At this time, the detection module 100 and the program module 101 transmit wireless signals to each other to realize the connection with each other. Therefore, the program module 101 and the infusion module 102 are attached to a certain position on the user's skin, and the detection module 100 is attached to another position on the user's skin.

[0152] In another embodiment of the present application, the program module 101 and the detection module 100 are connected to each other to form an integral structure, and the infusion module 102 is separately arranged in another structure. The infusion module 102 and the program module 101 transmit wireless signals to each other to realize the connection with each other. Therefore, the program module 101 and the detection module 100 can be attached to a certain position on the user's skin, and the infusion module 102 can be attached to another position on the user's skin.

[0153] As in another embodiment of the present application, the three are respectively provided in different structures. Thus, the three are respectively attached to different positions of the user's skin. At this time, the program module 101 transmits wireless signals with the detection module 100 and the infusion module 102 respectively to achieve connection with each other.

[0154] It should be noted that the program module 101 of the embodiment of the present application also has functions of storage, recording and access to databases, etc. Thus, the program module 101 can be reused. In this way, not only can the user's physical condition data be stored, but also production costs and user use costs can be saved. As described above, when the detection module 100 or the infusion module 102 reaches the end of life, the 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.

[0155] Generally, the service life of the detection module 100, the program module 101 and the infusion module 102 is different. Thus, when the three are electrically connected to each other to form one device, the three can also be separated from each other in pairs. For example, when one module reaches the end of life, the user can only replace the module and keep the other two modules for continued use.

[0156] Here, it should be noted that the program module 101 of the embodiment of the present application can also include a plurality of sub-modules. According to the functions of the sub-modules, different sub-modules can be respectively provided in different structures, which are not specifically limited here, as long as the control conditions of the program module 101 can be met.

[0157] Specifically, the program module 101 is pre-provided with an rPID (risk-proportional-integral-derivative) algorithm for converting blood glucose that is asymmetric in the original physical space to blood glucose risk that is approximately symmetric in the risk space. The rPID algorithm is obtained by converting processing on the basis of a classical PID (proportional-integral-derivative) algorithm, and the specific processing manner will be described in detail below. According to the corresponding infusion instructions calculated by the rPID algorithm, the program module 101 controls the infusion module 102 to infuse insulin.

[0158] The classical PID algorithm can be represented by the following formula:

[0159]

[0160] Wherein:

[0161] K P is the gain coefficient of the proportional part;

[0162] K I is the gain coefficient of the integral part;

[0163] K D is the gain coefficient of the differential part;

[0164] G represents the current blood glucose value;

[0165] G B G represents the target blood glucose value;

[0166] C represents a constant;

[0167] PID(t) represents the infusion instruction sent to the insulin infusion system.

[0168] Considering the actual distribution characteristics of the glucose concentration of a diabetic patient, such as the normal blood glucose range of 80-140 mg / dL, which can also be relaxed to 70-180 mg / dL, the general hypoglycemia can reach 20-40 mg / dL, and the hyperglycemia can reach 400-600 mg / dL.

[0169] The distribution of hyper / hypoglycemia has significant asymmetry in the original physical space, and the same degree of deviation of blood glucose from the normal range corresponds to significantly different risks of hyperglycemia and hypoglycemia in clinical practice, such as a decrease of 70 mg / dL from 120 mg / dL to 50 mg / dL, which is considered to be severe hypoglycemia with a high clinical risk, and emergency measures such as supplement of carbohydrates need to be taken; while an increase of 70 mg / dL from 120 mg / dL to 190 mg / dL just exceeds the normal range, and the degree of high blood glucose is not serious for a diabetic patient, and it is often reached in daily situations, and basically no treatment measures need to be taken.

[0170] In view of the asymmetric characteristics of the clinical risk of glucose concentration, the asymmetric blood glucose in the original physical space is converted to the blood glucose risk in the risk space which is approximately symmetric, so that the PID algorithm is more robust.

[0171] Correspondingly, the rPID algorithm formula is converted to the following form:

[0172]

[0173] Among them:

[0174] rPID(t) represents the infusion instruction sent to the insulin infusion system after risk conversion;

[0175] r represents the blood glucose risk;

[0176] The meanings of other symbols are as described above.

[0177] In order to maintain the stability of the PID integral, in combination with the physiological effect of insulin in reducing blood glucose, in an embodiment of the present application, the input parameter of the PID, the blood glucose deviation Ge=G-G B is processed, such as piecewise weighted processing is made on Ge=G-G B , as follows:

[0178]

[0179] In another embodiment of the present application, the deviation from the target blood glucose G B is converted using a relative value as follows:

[0180]

[0181] Figure 2 A blood glucose risk space obtained by piecewise weighting processing and relative value conversion is compared with a blood glucose relationship diagram of the original physical space.

[0182] In the original PID algorithm, the blood glucose risk (i.e., Ge) on both sides of the target blood glucose value presents a serious asymmetry consistent with the original physical space, and after conversion to the blood glucose risk space, the blood glucose risk on both sides of the target blood glucose value is approximately symmetrical, so that the integral term can remain stable, making the rPID algorithm more robust.

[0183] In another embodiment of the present application, there is a fixed zero risk point when converting the risk, and data deviating from both sides of the zero risk point is processed. The original parameter corresponding to the greater zero risk point is positive when converted to the risk space, and the original parameter corresponding to the less zero risk is negative when converted to the risk space. Specifically, the classic blood glucose risk index (BGRI) method can be used for reference. This method is based on clinical practice and considers that the clinical risk of hypoglycemia of 20 mg / dL and hyperglycemia of 600 mg / dL is equivalent, and the blood glucose in the range of 20-600 mg / dL is processed as a whole by logarithmization. The blood glucose value corresponding to the zero risk point of this method is set to the target blood glucose value G B . The risk space conversion formula is as follows:

[0184]

[0185] wherein:

[0186] r(G)=10*f(G) 2

[0187] The conversion function f(G) is as follows:

[0188] f(G)=1.509*[(ln(G)) 1.084 -5.381]

[0189] In the classic blood glucose risk index method, the blood glucose value corresponding to the zero risk point is 112 mg / dL. In other embodiments of the present application, the zero risk point blood glucose value can also be adjusted in combination with the risk and data trend of clinical practice, which is not specifically limited here. The risk space of the blood glucose value greater than the zero risk point is fitted, and the specific fitting method is not specifically limited.

[0190] In another embodiment of the present application, the zero risk point blood glucose value defined by the original CVGA method is 110 mg / dL, and the following equal risk data pairs (90 mg / dL, 180 mg / dL; 70 mg / dL, 300 mg / dL; 50 mg / dL, 400 mg / dL) are assumed. In the embodiment of the present application, the equal risk data pair (70 mg / dL, 300 mg / dL) is adjusted to (70 mg / dL, 250 mg / dL) in consideration of the real risk and data trend in clinical practice, and the zero risk point blood glucose value is set as the target blood glucose value G B . A polynomial model is fitted to obtain the following risk function for the two sides of the zero risk point:

[0191]

[0192] The maximum value is limited as follows:

[0193] |r| = min (|r|, n)

[0194] The value of the maximum value n is 0-80 mg / dL, and preferably 60 mg / dL.

[0195] In other embodiments of the present application, the zero risk point blood glucose value and the equal risk data pair can also be adjusted in consideration of the real risk and data trend in clinical practice, and the equal risk point is fitted. The fitting method is not specifically limited, and the specific value for limiting the maximum value is also not specifically limited.

[0196] Figure 3 The graph is a comparison of the blood glucose risk converted to the risk space by the BGRI and CVGA methods and the blood glucose in the original physical space.

[0197] Similar to the processing of Zone-MPC, the blood glucose risk converted by the BGRI and CVGA methods is relatively flat in the normal range of blood glucose, especially within 80-140 mg / dL. Unlike Zone-MPC, which is completely 0 in this range and loses the ability to further optimize, the risk of rPID is flat in this range, but still has stable and slow adjustment ability, which can further adjust the blood glucose to the target value and achieve more accurate blood glucose control.

[0198] In another embodiment of the present application, uniform processing can be applied to the data on both sides of the zero risk point, as in the foregoing embodiment, the data on both sides of the zero risk point can be processed by BGRI or CVGA method; or different processing can be applied, such as combining BGRI and CVGA method, in which case the same zero risk point blood glucose value, such as target blood glucose value G B , can be used. B When the blood glucose value is less than the target blood glucose value G B , the BGRI method is used, and when the blood glucose value is greater than the target blood glucose value G

[0199] r = -r(G), if G ≤ G B ,

[0200] wherein:

[0201] r(G) = 10*f(G) 2

[0202] The conversion function f(G) is as follows:

[0203] f(G) = 1.509*[(ln(G)) 1.084 -5.381]

[0204] r = -4.8265*10 4 -4*G 2 +0.45563*G - 44.855, if G > G B .

[0205] Similarly, the CVGA method can be used when the blood glucose value is less than the target blood glucose value G B , and the BGRI method can be used when the blood glucose value is greater than the target blood glucose value G B , in which case:

[0206] r = r(G), if G > G B ,

[0207] wherein:

[0208] r(G) = 10*f(G) 2

[0209] The conversion function f(G) is as follows:

[0210] f(G) = 1.509*[(ln(G)) 1.084 -5.381]

[0211] r = G - G B , if G ≤ G B .

[0212] Meanwhile, the maximum value can also be limited:

[0213] |r| = min(|r|, n)

[0214] wherein the maximum value n is defined in the range of 0-80 mg / dL, preferably n is 60 mg / dL.

[0215] In other embodiments of the present application, the blood glucose value at the zero risk point can also be set as the target blood glucose value G B , the BGRI method is used for data less than or equal to the target blood glucose value G B , and the deviation amount processing method, such as piecewise weighted processing or relative value processing, is used for data greater than the target blood glucose value G B .

[0216] When the piecewise weighted processing is used, at this time:

[0217] r = -r(G), if G≤G B ,

[0218] wherein:

[0219] r(G) = 10*f(G) 2

[0220] Under the conversion function f(G):

[0221] f(G) = 1.509*[(ln(G)) 1.084 -5.381]

[0222]

[0223] When the relative value processing is used:

[0224] r = -r(G), if G≤G B ,

[0225] wherein:

[0226] r(G) = 10*f(G) 2

[0227] Under the fitted symmetric conversion function f(G):

[0228] f(G) = 1.509*[(ln(G)) 1.084 -5.381]

[0229] r = 100*(G-G B ) / G, if G>G B

[0230] When the blood glucose values corresponding to the zero risk points are all the target blood glucose value G BWhen the data is less than or equal to the target blood glucose value G B , the processing functions of the piecewise weighted processing, the relative value processing and the CVGA method are consistent, so when the piecewise weighted processing or the relative value processing is adopted for the data less than or equal to the target blood glucose value G B , and the BGRI method is adopted for the data greater than the zero risk point blood glucose value, the processing results are equivalent to the aforementioned CVGA method for the blood glucose value less than or equal to the target blood glucose value G B , and the BGRI method for the blood glucose value greater than the target blood glucose value G B , and the calculation formula is not repeated here.

[0231] It should be noted that in each embodiment of the present application, the target blood glucose value G B is 80-140 mg / dL, and preferably, the target blood glucose value G B is 110-120 mg / dL.

[0232] The above processing methods can make the rPID algorithm convert the asymmetric blood glucose in the original physical space to the approximately symmetric blood glucose risk in the risk space, so as to not only retain the simple and robust characteristics of the PID algorithm, but also have the targeted and clinically valuable blood glucose risk control function, and realize the precise control of the closed-loop artificial pancreas insulin infusion system.

[0233] In the closed-loop artificial pancreas control system, there are three major delay effects: insulin absorption delay (about 20 minutes from subcutaneous to blood circulation tissue, and about 100 minutes to reach the liver), insulin onset delay (about 30-100 minutes), and sensing delay of interstitial fluid glucose concentration and blood glucose (about 5-15 minutes). Any attempt to accelerate the responsiveness of the closed-loop system can lead to unstable system behavior and system oscillation. In order to compensate for the insulin absorption delay in the closed-loop artificial pancreas control system, in an embodiment of the present application, an insulin feedback compensation mechanism is introduced. The amount of insulin that has not been absorbed in the body is deducted from the output, and a component proportional to the estimated plasma insulin concentration (the actual human insulin secretion also uses the insulin concentration in the blood plasma as a negative feedback signal). The formula is as follows:

[0234]

[0235] Wherein:

[0236] PID(t) represents the infusion instruction sent to the insulin infusion system;

[0237] PID c (t) represents the infusion instruction with compensation sent to the insulin infusion system;

[0238] γ represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output, the coefficient becomes larger, the algorithm becomes relatively conservative, and the coefficient becomes smaller, the algorithm becomes relatively aggressive, therefore, in the embodiment of the application, the range of γ is 0.4-0.6, preferably, γ is 0.5.

[0239] represents the estimation of the plasma insulin concentration, which can be obtained by various conventional prediction algorithms, such as being directly calculated from the infused insulin according to the pharmacokinetic curve of the insulin, or using a conventional autoregressive method:

[0240]

[0241] wherein:

[0242] represents the estimation of the plasma insulin concentration at the current time;

[0243] PID c (n-1) represents the output with compensation at the last time;

[0244] represents the estimation of the plasma insulin concentration at the last time;

[0245] represents the estimation of the plasma insulin concentration at the time before the last time;

[0246] K0 represents the coefficient of the output part with compensation at the last time;

[0247] K1 represents the coefficient of the estimation part of the plasma insulin concentration at the last time;

[0248] K2 represents the coefficient of the estimation part of the plasma insulin concentration at the time before the last time;

[0249] wherein, the initial value is The time interval between each time can be selected according to actual needs.

[0250] Correspondingly, the compensation output formula after the risk conversion by the foregoing method is as follows:

[0251]

[0252] wherein:

[0253] rPIDc(t) represents the infusion instruction with compensation sent to the insulin infusion system after the risk conversion;

[0254] rPID(t) represents the infusion instruction sent to the insulin infusion system after the risk conversion;

[0255] The meanings of other characters are as described above.

[0256] In order to compensate for the delay of insulin action in the closed-loop artificial pancreas control system, in one embodiment of the present application, insulin on board (IOB) is introduced, which is the amount of insulin that has not yet acted in the body, and the IOB is deducted from the output of insulin, so as to prevent the accumulation and excess of insulin infusion, and to cause the risk of postprandial hypoglycemia.

[0257] Figure 4 is an insulin IOB curve according to an embodiment of the present application.

[0258] According to the IOB curve shown in FIG. 1, the cumulative residual amount of previously infused insulin can be calculated, and the selection of the specific curve can be determined according to the actual insulin action time of the user. Figure 4

[0259] PID'(t) = PID(t) - IOB(t)

[0260] wherein:

[0261] PID'(t) represents the infusion instruction sent to the insulin infusion system after deducting the IOB;

[0262] PID(t) represents the infusion instruction sent to the insulin infusion system;

[0263] IOB(t) represents the amount of insulin that has not yet acted in the body at time t.

[0264] Correspondingly, the output formula for deducting the amount of insulin that has not yet acted in the body after risk conversion by the foregoing method is as follows:

[0265] rPID'(t) = rPID(t) - IOB(t)

[0266] wherein:

[0267] rPID'(t) represents the infusion instruction sent to the insulin infusion system after deducting the amount of insulin that has not yet acted in the body after risk conversion;

[0268] rPID(t) represents the infusion instruction sent to the insulin infusion system after risk conversion;

[0269] The meanings of other characters are as described above.

[0270] In order to obtain a more ideal control effect, the calculation of IOB is processed as follows, IOB m , IOB o respectively correspond to the IOB of meal insulin and other insulin except meal. The formula is as follows:

[0271] IOB(t) = IOB m,t + IOB o,t ​

[0272] wherein:

[0273]

[0274] wherein:

[0275] IOB m,t represents the amount of meal insulin that has not yet acted in the body at time t;

[0276] IOB o,t represents the amount of non-meal insulin that has not yet acted in the body at time t;

[0277] D i (i = 2-8) represents the respective coefficients of the IOB curve corresponding to the insulin action time of i, respectively;

[0278] I m,t represents the amount of meal insulin;

[0279] I 0,t represents the amount of non-meal insulin;

[0280] IOB(t) represents the amount of insulin that has not yet acted in the body at time t.

[0281] The meal insulin and non-meal insulin are distinguished in the processing of IOB, which can make the insulin be cleared faster when eating and blood glucose is too high, can obtain greater insulin output, and blood glucose regulation is faster. When close to the target, a longer insulin action time curve is used to make the insulin be cleared slower, and blood glucose regulation is more conservative and stable.

[0282] When PID'(t) > 0 or rPID'(t) > 0, the final amount of insulin infused is PID'(t) or rPID'(t);

[0283] When PID'(t) < 0 or rPID'(t) < 0, the final amount of insulin infused is 0.

[0284] In order to compensate for the sensing delay of tissue fluid glucose concentration and blood glucose in the closed-loop artificial pancreas control system, in an embodiment of the present application, an autoregressive method is used for compensation, and the formula is as follows:

[0285]

[0286] wherein,

[0287] G SC (n) represents the current time interstitial fluid glucose concentration, that is, the measurement value of the sensing system;

[0288] represents the estimated concentration of blood glucose at the previous time;

[0289] G SC (n-1) and G SC (n-2) represent the interstitial fluid glucose concentration at the previous time and the time before the previous time respectively;

[0290] K0 represents the coefficient of the estimated concentration of blood glucose at the previous time;

[0291] K1 and K2 represent the coefficients of the interstitial fluid glucose concentration at the previous time and the time before the previous time respectively.

[0292] wherein, at the initial time,

[0293] By estimating the blood glucose concentration through the interstitial fluid glucose concentration, the sensing delay of the interstitial fluid glucose concentration and the blood glucose is compensated, the PID algorithm is more accurate, and accordingly, the rPID algorithm can more accurately calculate the actual demand of the human body for insulin.

[0294] In the embodiment of the present application, the insulin absorption delay, the insulin onset delay, the sensing delay of the interstitial fluid glucose concentration and the blood glucose can be partially compensated or fully compensated, preferably, all the delay factors are considered for full compensation, so that the rPID algorithm is more accurate.

[0295] In another embodiment of the present application, the program module 101 is pre-provided with an rMPC (risk-model-predictive-control) algorithm for converting the blood glucose asymmetric in the original physical space to the blood glucose risk approximately symmetric in the risk space, the rMPC algorithm is obtained by converting processing on the basis of the classical MPC (model-predictive-control) algorithm, and the corresponding infusion instruction calculated according to the rMPC algorithm is used by the program module 101 to control the infusion module 102 to infuse insulin.

[0296] The classical MPC algorithm is composed of three elements, a prediction model, a value function and a constraint condition. The prediction model of the classical MPC is as follows:

[0297] x t+1 =Ax t +BI t

[0298] G t =Cx t

[0299] wherein:

[0300] x t+1 represents the state parameter at the next time,

[0301] xt a state parameter representing a current time,

[0302] I t an insulin infusion amount representing a current time;

[0303] G t a blood glucose concentration representing a current time.

[0304] The parameter matrix is as follows:

[0305]

[0306]

[0307] C=[1 0 0]

[0308] b1, b2, b3, K are prior values.

[0309] The value function of the MPC is composed of the square sum of the deviation of the output G (blood glucose value) and the square sum of the change of the input I (insulin amount). The MPC needs to obtain the minimum solution of the value function.

[0310]

[0311] wherein:

[0312] I′ t+j represents the change of the insulin infusion amount after the jth step;

[0313] represents the difference between the predicted blood glucose concentration and the target blood glucose value after the jth step;

[0314] t represents a current time;

[0315] N and P are respectively the step number in the control time window and the prediction time window;

[0316] R is the weighted coefficient of the insulin component.

[0317] The insulin infusion amount of the jth step is I t +I′ t+j .

[0318] In the embodiment of the present application, the control time window T c = 30 min, the prediction time window T p = 60 min, and the weighted coefficient R of the insulin amount is 11000. It should be noted that although the control time window adopted in the calculation is 30 min, only the first step operation result of the insulin output is adopted in the actual operation, and after the operation, the minimum solution of the above value function is recalculated according to the latest blood glucose value obtained.

[0319] In the embodiment of the present application, the infusion time step j in the control time window is controlled n , j n The value range of j is 0-30 min, preferably 2 min. The number of steps N = T c / j n The range of j is 0 to N.

[0320] In other embodiments of the present application, the control time window, the prediction time window and the weighted coefficient of insulin amount can also be selected as other values, which are not specifically limited here.

[0321] As mentioned earlier, due to the significant asymmetry of the distribution of high / low blood glucose (original physical space), the same degree of deviation of blood glucose from the normal range corresponds to significantly different high blood glucose risk and low blood glucose risk in clinical practice. In view of 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 risk in the risk space, so that the MPC algorithm is more accurate and flexible. The value function of the rMPC algorithm after the risk conversion is as follows:

[0322]

[0323] Wherein,

[0324] r t+j represents the blood glucose risk value after the jth step;

[0325] I′ t+j represents the change of insulin infusion amount after the jth step.

[0326] The deviation of blood glucose value is converted into the corresponding blood glucose risk, and the specific conversion method is the same as that in the aforementioned rPID algorithm, such as segmented weighted processing and relative value processing; it also includes setting a fixed zero risk point in the risk space, and the blood glucose concentration of the zero risk point can be set as the target blood glucose value. The data deviating from both sides of the zero risk point is processed, such as using the BGRI and improved CVGA method; it also includes using different methods to process the data deviating from both sides of the target blood glucose value.

[0327] Specifically, when using segmented weighted processing:

[0328]

[0329] When using relative value processing:

[0330]

[0331] When using the classical blood glucose risk index method:

[0332]

[0333] wherein:

[0334] r(G t+j ) = 10 * f(G t+j ) 2

[0335] The conversion function f(G t+j ) is as follows:

[0336] f(G t+j ) = 1.509 * [(ln(G t+j )) 1.084 - 5.381]

[0337] When the control variability grid analysis method is used:

[0338]

[0339] The maximum value is also limited:

[0340] |r t+j | = min(|r t+j |, n)

[0341] wherein the value range of the maximum value n is 0-80 mg / dL, and preferably the value of n is 60 mg / d.

[0342] When the BGRI method is used when the blood glucose value is less than the target blood glucose value G B , and the CVGA method is used when the blood glucose value is greater than the target blood glucose value G B :

[0343] r t+j = -r(G t+j ), if G t+j ≤ G B

[0344] wherein:

[0345] r(G t+j ) = 10 * f(G t+j ) 2

[0346] The conversion function f(G t+j ) is as follows:

[0347] f(G t+j ) = 1.509 * [(ln(G t+j )) 1.084 - 5.381]

[0348] r t+j = -4.8265 * 10 4 - 4 * G t+j2 +0.45563*G t+j -44.855,if G t+j >G B

[0349] When the CVGA method is used when the blood glucose value is less than the target blood glucose value G B , and the BGRI method is used when the blood glucose value is greater than the target blood glucose value G B :

[0350] r t+j = r(G t+j ),if G t+j >G B ,

[0351] where:

[0352] r(G t+j ) = 10*f(G t+j ) 2

[0353] The conversion function f(G t+j ) is as follows:

[0354] f(G t+j ) = 1.509*[(ln(G t+j )) 1.084 -5.381]

[0355] r t+j G t+j -G B ,if G t+j ≤G B .

[0356] The maximum value can also be limited:

[0357] |r t+j | = min(|r t+j |,n)

[0358] where the value of the maximum value n is in the range of 0-80 mg / dL, and preferably, the value of n is 60 mg / dL.

[0359] When the BGRI method is used when the blood glucose value is less than the target blood glucose value G B , and the piecewise weighted method is used when the blood glucose value is greater than the target blood glucose value G B :

[0360] r t+j = -r(G t+j ),if G t+j ≤G B

[0361] Wherein:

[0362] r(G t+j ) = 10 * f(G B ) B

[0363] The conversion function f(G t+j ) is as follows:

[0364] f(G c(t+j) ) = 1.509 * [(ln(G t+j )) t+j - 5.381]

[0365]

[0366] When the BGRI method is used when the blood glucose value is less than the target blood glucose value G t+j , and the relative value conversion is used when the blood glucose value is greater than the target blood glucose value G t+j , the following is obtained:

[0367] r m,t+j = - r(G o,t+j ), if G m,t+j ≤ G o,t+j

[0368] Wherein:

[0369] r(G i ) = 10 * f(G m,t+j ) 0,t+j

[0370] The conversion function f(G t+j ) is as follows:

[0371] f(G t+j ) = 1.509 * [(ln(G t+j )) SC - 5.381]

[0372]

[0373] When the segmented weighted processing or the relative value processing is used for data less than or equal to the target blood glucose value G SC , and the BGRI method is used for data greater than the zero risk point blood glucose value, the processing result is equivalent to the aforementioned CVGA method when the blood glucose value is less than or equal to the target blood glucose value G SC , and the BGRI method when the blood glucose value is greater than the target blood glucose value G P , and the calculation formula is not repeated.

[0374] It should be noted that in the above various conversion formulas:

[0375] r DGj is the blood glucose risk value at the jth step;

[0376] G t+j Gj is the blood glucose value detected at the jth step.

[0377] G is the target blood glucose value B G is 80-140 mg / dL, preferably, G is 110-120 mg / dL. B G is 110-120 mg / dL.

[0378] The beneficial effects after risk conversion and the relationship between blood glucose and blood glucose risk are consistent with those in the rPID algorithm, which are not repeated here.

[0379] Similarly, in order to compensate for the insulin absorption delay, an insulin feedback compensation mechanism can also be used for compensation; in order to compensate for the delay in the effect of insulin, IOB compensation can also be used; the sensing delay of interstitial fluid glucose concentration and blood glucose concentration can also be compensated by autoregressive compensation, and the specific compensation methods are consistent with those in the rPID algorithm, specifically:

[0380] For insulin absorption delay, the compensation formula is as follows:

[0381]

[0382] Wherein:

[0383] I t+j Ij represents the infusion instruction sent to the insulin infusion system at the jth step;

[0384] rI c(t+j) rIj represents the infusion instruction sent to the insulin infusion system after risk conversion at the jth step;

[0385] γ represents the compensation coefficient of the estimated plasma insulin concentration to the algorithm output, and the larger the coefficient, the more conservative the algorithm, and the smaller the coefficient, the more aggressive, therefore, in the embodiment of the present application, the range of γ is 0.4-0.6, preferably, γ is 0.5.

[0386] Ij represents the estimated plasma insulin concentration at the jth step.

[0387] For insulin effect delay, the compensation formula is as follows:

[0388] rI′ t+j rI′j = rIj t+j -IOB(t+j)

[0389] Wherein:

[0390] rI′ t+j rI′j represents the infusion instruction sent to the insulin infusion system after deducting IOB at the jth step after risk conversion;

[0391] rI t+j represents the infusion indication sent to the insulin infusion system at step j after risk conversion;

[0392] IOB(t+j) represents the amount of insulin in the body that has not yet acted at time t+j.

[0393] Similarly, IOB(t+j) can also be meal and non-meal differentiated, in which case:

[0394] IOB(t+j) = IOB m,t+j + IOB o,t+j

[0395] wherein:

[0396]

[0397] wherein:

[0398] IOB m,t+j represents the amount of meal insulin in the body that has not yet acted at time t+j;

[0399] IOB o,t+j represents the amount of non-meal insulin in the body that has not yet acted at time t+j;

[0400] D i (i = 2-8) represent the respective coefficients of the IOB curve corresponding to the insulin action time i, respectively;

[0401] I m,t+j represents the amount of meal insulin at time t+j;

[0402] I 0,t+j represents the amount of non-meal insulin at time t+j;

[0403] IOB(t+j) represents the amount of insulin in the body that has not yet acted at time t+j.

[0404] When rI' t+j > 0, the final amount of insulin infused is rI' t+j .

[0405] When rI' t+j < 0, the final amount of insulin infused is 0.

[0406] For the sensing delay of interstitial glucose concentration and blood glucose concentration, autoregressive compensation can also be used, the formula is as follows:

[0407]

[0408] wherein,

[0409] GSC (t+j) represents the interstitial fluid glucose concentration at time t+j, i.e. the measured value of the sensing system;

[0410] Gest(t+j-1) represents the estimated concentration of blood glucose at time t+j-1;

[0411] Gest(t+j-1) represents the estimated concentration of blood glucose at time t+j-1; SC (t+j-1) and G SC (t+j-2) represent the interstitial fluid glucose concentration at time t+j-1 and t+j-2, respectively;

[0412] K0 represents the coefficient of the estimated concentration of blood glucose at time t+j-1;

[0413] K1 and K2 represent the coefficients of the interstitial fluid glucose concentration at time t+j-1 and t+j-2, respectively.

[0414] wherein at the initial time,

[0415] The beneficial effects of the various compensation methods are consistent with those in the rPID algorithm, which are not repeated here.

[0416] It should be noted that in the rMPC algorithm, it is preferable to compensate for the delay in the effect of insulin and the sensing delay of the interstitial fluid glucose concentration and the blood glucose concentration.

[0417] In another embodiment of the present application, the program module 101 is pre-provided with a composite artificial pancreas algorithm, the composite artificial pancreas algorithm comprises a first algorithm and a second algorithm, when the detection module 100 detects the current blood glucose value and sends the current blood glucose value to the program module 101, the first algorithm calculates a first insulin infusion amount I1, the second algorithm calculates a second insulin infusion amount I2, the composite artificial pancreas algorithm optimizes the calculation of the first insulin infusion amount I1 and the second insulin infusion amount I2, obtains a final insulin infusion amount I3, and sends the final insulin infusion amount I3 to the infusion module 102, and the infusion module 102 performs insulin infusion according to the final infusion amount I3.

[0418] The first algorithm and the second algorithm are one of a classic PID algorithm, a classic MPC algorithm, an rMPC algorithm or an rPID algorithm. The rMPC algorithm or the rPID algorithm is an algorithm for converting blood glucose that is asymmetric in the original physical space to blood glucose risk that is approximately symmetric in the risk space. The conversion method of blood glucose risk in the rMPC algorithm and the rPID algorithm is as described above.

[0419] When I1=I2, I3=I1=I2;

[0420] When I1≠I2, the arithmetic mean of I1 and I2 can be substituted into the first algorithm and the second algorithm respectively to re-optimize the algorithm parameters, and the insulin infusion amount required at the current time is calculated again by the first algorithm and the second algorithm respectively after the parameter optimization, if I1 and I2 are still not the same, the arithmetic mean of I1 and I2 is taken again to repeat the above process until I1 and I2 are the same, that is:

[0421] ①Solving the average of the first insulin infusion amount I1 and the second insulin infusion amount I2

[0422] ②The average value is substituted into the first algorithm and the second algorithm respectively, and the algorithm parameters are adjusted;

[0423] ③The first insulin infusion amount I1 and the second insulin infusion amount I2 are recalculated based on the current blood glucose value, the first algorithm and the second algorithm after adjusting the parameters;

[0424] ④The steps ①-③ are calculated in a loop until I1=I2, and the final insulin infusion amount I3=I1=I2.

[0425] At this time, when the first algorithm or the second algorithm is PID or rPID algorithm, the algorithm parameters are K P , and K D =T D / K P , T D can be taken as 60min-90min, K I =T I *K P , and T I can be taken as 150min-450min. When the first algorithm or the second algorithm is MPC or rPMC algorithm, the algorithm parameters are K.

[0426] When I1≠I2, I1 and I2 can also be weighted, and the calculated value after the weighted processing is substituted into the first algorithm and the second algorithm respectively to re-optimize the algorithm parameters, and the insulin infusion amount required at the current time is calculated again by the first algorithm and the second algorithm respectively after the parameter optimization, if I1 and I2 are still not the same, I1 and I2 are weighted again, the weighting coefficient is adjusted, and the above process is repeated until I1 and I2 are the same, that is:

[0427] ①Solving the weighted average of the first insulin infusion amount I1 and the second insulin infusion amount I2 Wherein α and β are the weighting coefficients of the first insulin infusion amount I1 and the second insulin infusion amount I2 respectively;

[0428] ②The weighted average value The algorithm parameters are adjusted and brought into the first algorithm and the second algorithm;

[0429] III. Recalculating the first insulin infusion amount I1 and the second insulin infusion amount I2 based on the current blood glucose value, the first algorithm and the second algorithm after the adjustment of the algorithm parameters;

[0430] IV. Performing loop calculation on steps I-III until I1=I2, and the final insulin infusion amount I3=I1=I2.

[0431] Similarly, when the first algorithm or the second algorithm is a PID or RPID algorithm, the algorithm parameters are K P , and K D =T D / K P , T D may be 60min-90min, and K I =T I *K P , T I may be 150min-450min. When the first algorithm or the second algorithm is an MPC or rPMC algorithm, the algorithm parameters are K.

[0432] In the embodiments of the present application, α and β can be adjusted according to the size of the first insulin infusion amount I1 and the second insulin infusion amount I2, when I1≥I2, α≤β; when I1≤I2, α≥β; preferably, α+β=1. In other embodiments of the present application, α and β can also be in other value ranges, which are not limited here.

[0433] When the calculation results of the two are the same, that is, I3=I1=I2, it can be considered that the insulin infusion amount at the current time can make the blood glucose value reach the ideal level. Through the processing in the above manner, each algorithm is referenced by each other, preferably, the first algorithm and the second algorithm are respectively an rMPC algorithm and an rPID algorithm, and the two algorithms are referenced by each other, further improving the accuracy of the output result, and making the result more feasible and reliable.

[0434] In another embodiment of the present application, the program module 101 is further provided with a memory for storing information such as the historical body state, blood glucose value and insulin infusion amount of the user, and statistical analysis can be performed based on the information in the memory to obtain a statistical analysis result I4. When I1≠I2, I1, I2 and I4 are compared respectively, the final insulin infusion amount I3 is calculated, and one of I1 and I2 that is closer to the statistical analysis result I4 is selected as the calculation result of the final composite artificial pancreas algorithm, that is, the final insulin infusion amount I3. The program module 101 sends the final insulin infusion amount I3 to the infusion device 102 for infusion; that is:

[0435]

[0436] By comparison with historical data, the reliability of the insulin infusion amount is ensured from another aspect.

[0437] In another embodiment of the present application, when both I1 and I2 are inconsistent and the difference is large, the blood glucose risk space conversion manner and / or the compensation manner for the delay effect in the rMPC algorithm and / or the rPID algorithm can also be adjusted to be similar, and then the output result of the compound artificial pancreas algorithm is finally determined by the above-mentioned arithmetic mean, weighted processing, or comparison with the statistical analysis result.

[0438] In another embodiment of the present application, the closed-loop artificial pancreas control system further comprises a meal recognition module and a motion recognition module. The meal recognition commonly used to identify whether the user is having a meal or exercising can be based on the blood glucose change rate and judged by a specific threshold. The blood glucose change rate can be calculated from two time points before and after or obtained by linear regression of multiple time points in a period of time. Specifically, when the change rate of two time points before and after is used for calculation, the calculation formula is:

[0439] dG t / dt=(G t -G t-1 ) / Δt

[0440] wherein:

[0441] G t represents the blood glucose value at the current time point;

[0442] G t-1 represents the blood glucose value at the previous time point;

[0443] Δt represents the time interval between the current time point and the previous time point.

[0444] When the change rate calculation formula of three time points is used, the calculation formula is:

[0445] dG t / dt=(3G t -4G t-1 +G t-2 ) / 2Δt

[0446] wherein:

[0447] G t represents the blood glucose value at the current time point;

[0448] G t-1 represents the blood glucose value at the previous time point;

[0449] G t-2 represents the blood glucose value at the time point two hours before;

[0450] Δt represents the time interval between the current time and the last time.

[0451] Before calculating the blood glucose rate of change, the original continuous glucose data can also be filtered or smoothed. The threshold can be set to 1.8mg / mL-3mg / mL, or personalized.

[0452] Similar to meal recognition, exercise recognition can also be based on the blood glucose rate of change and determined by a specific threshold value due to the rapid decline in blood glucose caused by exercise. The calculation of the blood glucose rate of change can also be as described above, and the threshold value can be personalized. In order to determine the occurrence of exercise more quickly, the closed-loop artificial pancreas insulin infusion control system also includes an exercise sensor (not shown). The exercise sensor is used to automatically detect the physical activity of the user, and the program module 101 can receive the physical activity information. The exercise sensor can automatically and accurately sense the physical activity state of the user and send the activity state parameter to the program module 101, thereby improving the output reliability of the composite artificial pancreas algorithm in the exercise scenario.

[0453] The exercise sensor can be provided in the detection module 100, the program module 101, or the infusion module 102. Preferably, in the embodiment of the present application, the exercise sensor is provided in the program module 101.

[0454] It should be noted that the number of exercise sensors and the position of the plurality of exercise sensors are not limited in the embodiment of the present application, as long as the exercise sensor can sense the activity state of the user.

[0455] The exercise sensor includes a three-axis acceleration sensor or a gyroscope. The three-axis acceleration sensor or the gyroscope can more accurately sense the activity intensity, activity mode, or body posture. Preferably, in the embodiment of the present application, the exercise sensor is a combination of a three-axis acceleration sensor and a gyroscope.

[0456] It should be noted that the blood glucose risk conversion method used by the rMPC algorithm and the rPID algorithm in the calculation process can be the same or different, and the compensation method for the delay effect can also be the same or different. The calculation process can also be adjusted according to the actual situation.

[0457] In another embodiment of the present application, the program module 101 further includes an adaptive unit for adjusting the algorithm gain coefficient according to the user's body weight. In some embodiments of the present application, the infusion module 102 or the program module 101 can indicate the user's total daily insulin requirement DIR. In another embodiment of the present application, the DIR can be calculated from the body weight BW. Specifically, the DIR is proportional to the BW, i.e. DIR=e*BW, wherein e is the body weight adjustment coefficient.

[0458] For type 1 diabetes patients, the body weight adjustment coefficient e can be selected as the population average 0.53 U / kg, and personalized processing can be combined with their exercise habits, such as selecting a lower body weight adjustment coefficient for professional athletes, such as 0.4 U / kg; and selecting a higher body weight adjustment coefficient for patients with less exercise, such as 0.6 U / kg. For type 2 diabetes patients, the body weight adjustment coefficient can be selected in a larger range in combination with their pancreatic secretion function and insulin resistance, such as 0.1-1.5 U / kg, and the commonly used range is 0.6-1.1 U / kg.

[0459] In an embodiment of the present application, the preset algorithm in the program module 101 is a classic PID algorithm or an rPID algorithm, and the gain coefficient Kp of the proportional part is DIR / (BW*m), m is a user weight compensation coefficient, and the value is 50-500, preferably, m is 135.

[0460] The gain coefficient K I of the integral part and the gain coefficient K D of the differential part in the PID algorithm or the rPID algorithm can be converted into a coefficient related to Kp, such as K D =T D / K P , T D can be 60 min-90 min, K I =T I *K P , T I can be 150 min-450 min. T D , T I is large, the algorithm is aggressive, and vice versa. Different coefficient settings can be used during the day and at night, such as selecting a smaller time parameter at night.

[0461] In another embodiment of the present application, the preset algorithm in the program module 101 is a classic MPC algorithm or an rMPC algorithm, and the gain coefficient K is related to BW:

[0462]

[0463] Wherein:

[0464] c is a safety coefficient;

[0465] s is a clinical experience coefficient;

[0466] e is a body weight adjustment coefficient, U / Kg.

[0467] The safety factor c can be selected between 1.25-3 according to the risk of nocturnal hypoglycemia; the value of the clinical experience factor s can be 1500, 1700, 1800, 2000, 2200, 2500, etc., which can be adjusted according to clinical results, and is not specifically limited here. In the preferred embodiment of the present application, the clinical experience factor s is 1700. The value range of the body weight adjustment factor e is as described above.

[0468] In the foregoing two embodiments, the gain coefficient Kp of the PID algorithm or the rPID algorithm and the gain coefficient K of the MPC algorithm or the rMPC algorithm can also be adjusted by introducing a coefficient Sb(t) related to the basal insulin requirement, and correspondingly, K' = K * Sb(t), K' = K * Sb(t). P P

[0469] The coefficient Sb(t) related to the basal insulin requirement is the ratio of the basal insulin requirement B(t) at time t to the average daily basal insulin amount Ba, i.e., Sb(t) = B(t) / Ba. Wherein, Ba = y * DIR / 24, y is a basal insulin amount compensation factor, with a value of 0.1-5, the population average of this factor is 0.47, and children are slightly smaller, for example, it can be taken as 0.3-0.4.

[0470] The average daily basal insulin amount Ba can be calculated according to the actual basal rate setting of the user. The basal insulin requirement B(t) at time t can be set according to the four types of mainstream clinical optimal basal rate setting. Figure 5 There are four types of mainstream clinical optimal basal rate setting, which come from the reference [Holterhus, P. M., 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.], wherein the horizontal axis is time, 24h a day, and the vertical axis is the relative deviation of the basal insulin requirement at the corresponding time from the average daily basal insulin amount Ba, which is mostly between 0.5 and 1.5.

[0471] B(t) can also refer to the commonly used basal rate segmentation setting in the clinic, such as adopting three segment settings, as follows:

[0472] ① When the time t is from 0am to 4am, B(t) = 0.5DIR / 48;

[0473] ② When the time t is from 4am to 10am, B(t) = 1.5DIR / 48;​​

[0474] When the time t is from 10:00 am to 0:00 am, B(t) = DIR / 48.

[0475] In other embodiments of the application, B(t) can also be calculated according to the basal rate set by the user as known and appropriate.

[0476] In the embodiments of the application, 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, meeting the insulin requirement of the user in different time periods, and further improving the accuracy of closed-loop control.

[0477] In the embodiments of the application, the conversion mode of the rPID algorithm and the rMPC algorithm for converting the blood glucose that is asymmetric in the original physical space to the blood glucose risk that is approximately symmetric in the risk space, the compensation mode of various delays, and the beneficial effects have been described above and will not be repeated here. Meanwhile, the calculation results of each algorithm can be further processed, and the further processing mode of the calculation results, the beneficial effects, etc. have been described above and will not be repeated here.

[0478] Figure 6 The schematic diagram of the module relationship of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the application.

[0479] In the embodiments of the application, the closed-loop artificial pancreas insulin infusion control system mainly includes a detection module 100, an infusion module 102, and an electronic module 103.

[0480] The detection module 100 is used for continuously detecting the real-time blood glucose value of the user. Generally, the detection module 100 is a continuous glucose monitor (CGM) that can detect the blood glucose value in real time and monitor the blood glucose change, and send the current blood glucose value to the infusion module 102 and the electronic module 103.

[0481] The infusion module 102 contains the mechanical structure necessary for insulin infusion, and also includes an infusion processor 1021 and other elements capable of executing the first algorithm, and is controlled by the electronic module 103. After receiving the current blood glucose value sent by the detection module 100, the infusion module 102 calculates the first insulin infusion amount I1 required at present by the first algorithm, and sends the calculated first insulin infusion amount I1 to the electronic module 103.

[0482] The electronic module 103 is used to control the operation of the detection module 100 and the infusion module 102. Therefore, the electronic module 103 is connected with 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 therefore the connection means wireless connection. The electronic module 103 comprises a second processor, which in the embodiment of the present application is an electronic processor 1031 or the like capable of executing a second algorithm and a third algorithm. After receiving the current blood glucose value sent by the detection module 100, the electronic module 103 calculates the second insulin infusion amount I2 required at present by the second algorithm. Here, the first algorithm and the second algorithm used by the electronic module 103 and the infusion module 102 to calculate the insulin amount required at present are not the same.

[0483] After receiving the first insulin infusion amount II sent by the infusion module 102, the electronic module 103 further calculates the first insulin infusion amount II and the second insulin infusion amount I2 by the third algorithm to obtain the final insulin infusion amount I3, and sends the final insulin infusion amount I3 to the infusion module 102, which infuses the insulin I3 required at present into the user. At the same time, the infusion state of the infusion module 102 can also be fed back to the electronic module 103 in real time. The specific optimization method is as described above. That is:

[0484] When II = I2, I3 = II = I2;

[0485] When II ≠ I2, the electronic module 103 further calculates the current insulin infusion amount II and I2 by putting the arithmetic mean or the value after weighted processing of the two into the algorithm, and if the data are still not the same, the above process is repeated until I3 = II = I2, that is:

[0486] ①solving the mean value of the first insulin infusion amount II and the second insulin infusion amount I2

[0487] ②putting the mean value into the first algorithm and the second algorithm to adjust the algorithm parameters;

[0488] ③re-calculating the first insulin infusion amount II and the second insulin infusion amount I2 based on the current blood glucose value, the first algorithm and the second algorithm after adjustment of the parameters;

[0489] ④performing loop calculation on steps ①-③ until II = I2, and the final insulin infusion amount I3 = II = I2.

[0490] Or:

[0491] ①solving the weighted mean value of the first insulin infusion amount II and the second insulin infusion amount I2 wherein a and b are weighting coefficients of the first insulin infusion amount I1 and the second insulin infusion amount I2 respectively;

[0492] ②The weighted mean value is brought into the first algorithm and the second algorithm, and the algorithm parameters are adjusted;

[0493] ③The first insulin infusion amount I1 and the second insulin infusion amount I2 are recalculated based on the current blood glucose value, the first algorithm and the second algorithm after the adjustment of the parameters;

[0494] ④The steps ①-③ are calculated in a loop until I1=I2, and the final insulin infusion amount I3=I1=I2.

[0495] When the two are different, the electronic module 103 can also compare the two with the statistical analysis result I4 obtained by statistically analyzing the historical information such as the body state, the blood glucose value and the insulin infusion amount of the user at each time point in the past, and select one of I1 and I2 that is closer to the statistical analysis result I4 as the final insulin infusion amount I3, and the electronic module 103 sends the final insulin infusion amount I3 to the infusion device 102 for infusion; that is:

[0496]

[0497] In the embodiment of the application, the historical information of the user can be stored in the electronic module 103 or in a cloud management system (not shown), and the cloud management system is connected to the electronic module 103 through wireless connection.

[0498] Figure 7 The figure shows the relationship between the modules of the closed-loop artificial pancreas insulin infusion control system according to another embodiment of the application.

[0499] In the embodiment of the application, the closed-loop artificial pancreas insulin infusion control system mainly comprises a detection module 100, an infusion module 102 and an electronic module 103.

[0500] The detection module 100 is used for continuously detecting the real-time blood glucose value of the user. Generally, the detection module 100 is a continuous glucose monitor (CGM) that can detect the blood glucose value in real time and monitor the change of the blood glucose value, and the current blood glucose value is only sent to the infusion module 102. The detection module 100 further comprises a second processor, which is a detection processor 1001 or the like capable of executing a second algorithm in the embodiment of the application. After the detection module 100 detects the real-time blood glucose value, the second processor directly calculates the second insulin infusion amount I2 through the second algorithm and sends the calculated second insulin infusion amount I2 to the electronic module 103.

[0501] ​The infusion module 102 receives the current blood glucose value sent by the detection module 100, and calculates the first insulin infusion amount I1 by the first algorithm, and sends the first insulin infusion amount I1 to the electronic module 103. Here, the first algorithm and the second algorithm used by the detection module 103 and the infusion module 102 to calculate the insulin amount are not the same.

[0502] After the electronic module 103 receives the first insulin infusion amount I1 and the second insulin infusion amount I2 sent by the detection module 100 and the infusion module 102 respectively, the electronic module 103 further optimizes the first insulin infusion amount I1 and the second insulin infusion amount I2 by a third algorithm to obtain a final insulin infusion amount I3, and sends the final insulin infusion amount I3 to the infusion module 102, and the infusion module 102 infuses the current required insulin I3 into the user. At the same time, the infusion state of the infusion module 102 can also be fed back to the electronic module 103 in real time. The specific optimization method is as described above.

[0503] In the above two embodiments of the present application, after the detection module 100 detects the current blood glucose value, the first insulin infusion amount I1 is initially calculated by the infusion processor 1021, the second insulin infusion amount I2 is initially calculated by the second processor (such as the electronic processor 1031 and the detection processor 1001), and I1 and I2 are sent to the electronic module 103, the electronic module 103 is further optimized, and the optimized final insulin infusion amount I3 is sent to the infusion module 102 for insulin infusion, thereby improving the accuracy of the infusion instruction.

[0504] In the above two embodiments of the present application, the first algorithm and the second algorithm are one of the classic PID algorithm, the classic MPC algorithm, the rMPC algorithm or the rPID algorithm, and the advantages of using the rPID or rMPC algorithm are as described above, and the beneficial effects of the further optimization method are also as described above, which are not repeated here.

[0505] The embodiments of the present application do not limit the specific positions and connection relationships of the detection module 100 and the infusion module 102, as long as the above-mentioned functional conditions can be met.

[0506] As in an embodiment of the present application, the two are electrically connected to each other to form an integral structure and are attached to the same position of the user's skin. The two modules are connected to form an integral structure and are attached to the same position, the number of devices attached to the user's skin is reduced, thereby weakening the interference of the attachment of more devices on the user's stretching activities; at the same time, the problem of poor wireless communication between separated devices is also effectively solved, further enhancing the user experience.

[0507] As in another embodiment of the present application, the two are respectively provided in different structures and respectively attached to different positions of the user's skin. At this time, the detection module 100 and the infusion module 102 transmit wireless signals to each other to achieve connection with each other.

[0508] Figure 8 The schematic diagram of the module relationship of the closed-loop artificial pancreas multi-drug infusion control system according to another embodiment of the present application.

[0509] The closed-loop artificial pancreas insulin infusion control system in the embodiment of the present application is as previously described, mainly including the detection module 100, the program module 101 and the infusion module 102, the infusion module 102 having a multi-drug infusion function, the drugs can be a combination of drugs for regulating blood glucose control for diabetic patients, the metabolite thereof being glucose, the main drug being insulin and its analogs and other hypoglycemic drugs, and other combination drugs being hyperglycemic drugs having opposite effects, such as glucagon and its analogs, cortisol and its analogs, growth hormone and its analogs, epinephrine and its analogs, glucose, and the like.

[0510] The infusion module 102 can infuse hypoglycemic drugs and / or hyperglycemic drugs into the user's body according to the hypoglycemic drug infusion instructions and / or hyperglycemic drug infusion instructions issued by the program module 101. The hypoglycemic drugs and the hyperglycemic drugs can be infused through different drug pipelines respectively, or can be infused at different times through the same drug pipeline, and the specific design of the drug pipeline is not limited here.

[0511] Figure 9 The schematic diagram of the dual-drug infusion switching according to the two embodiments of the present application.

[0512] In one embodiment of the present application, the hypoglycemic drug infusion instruction and / or the current hyperglycemic drug infusion instruction is obtained by comparing the blood glucose concentration estimate G P with the target blood glucose value G B , and the blood glucose concentration estimate G P can be estimated according to the prediction model of the rMPC or other suitable blood glucose prediction algorithm; the hypoglycemic drug infusion data and / or the hyperglycemic drug infusion data can be calculated by the aforementioned rMPC algorithm or rPID algorithm or the compound artificial pancreas algorithm. Specifically:

[0513] When G P ≥ G BWhen G t , the infusion module 102 starts to infuse the hypoglycemic drug according to the hypoglycemic drug infusion data I P calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm

[0514] When G B , the infusion module 102 starts to infuse the hyperglycemic drug according to the hyperglycemic drug infusion data D t calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm

[0515] It should be noted that in the embodiments of the present application, I b represents the amount of hypoglycemic drug required to control the blood glucose at the target blood glucose value G B in the absence of interference, when G P =G B , I t =I b , when G P >G B , with the infusion of the hypoglycemic drug, G P further decreases, and I t also decreases. When the infusion module 102 has only one set of drug infusion pipeline, when G P <G B , i.e. I t <I b , the infusion module 102 starts to infuse the hyperglycemic drug, and the hyperglycemic drug infusion data D t can be calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm, while the infusion of the hypoglycemic drug is stopped to prevent the hypoglycemic drug and the hyperglycemic drug from affecting each other due to antagonism. When the infusion module 102 has at least two sets of drug infusion pipelines, when 0≤I t <I b , the infusion of the hyperglycemic drug can be started while the infusion of the hypoglycemic drug is continued, which can effectively prevent the occurrence of hypoglycemia; when I t <0, the infusion of the hypoglycemic drug is stopped and only the hyperglycemic drug is infused.

[0516] In another embodiment of the present application, the hypoglycemic drug infusion instruction and / or the current hyperglycemic drug infusion instruction can be directly performed by comparing the required amount of hypoglycemic drug I t and the target hypoglycemic drug amount I b , and the required amount of hypoglycemic drug I t and the target hypoglycemic drug amount I b can be calculated by the aforementioned rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm. Specifically, when the infusion module 102 has at least two sets of drug infusion pipelines:

[0517] When I t ≥ I b , the infusion module 102 starts to perform the hypoglycemic drug infusion according to the hypoglycemic drug infusion data I t calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm.

[0518] When 0≤ I t <I b , the infusion of the hypoglycemic drug can be continued while the infusion of the hyperglycemic drug is started, which can effectively prevent the occurrence of hypoglycemia, and the hypoglycemic drug infusion data I t and the hyperglycemic drug infusion data D t can be calculated by the aforementioned rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm.

[0519] When I t <0, the infusion of the hypoglycemic drug is stopped and only the hyperglycemic drug is infused, and the hyperglycemic drug infusion data D t can be calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm.

[0520] When the infusion module 102 has only one set of drug infusion pipeline:

[0521] When I t ≥0, the infusion module 102 starts to perform the hypoglycemic drug infusion according to the hypoglycemic drug infusion data I t calculated by the rMPC algorithm or the rPID algorithm or the compound artificial pancreas algorithm.

[0522] When I t <0, the infusion of the hypoglycemic drug is stopped and only the hyperglycemic drug is infused.

[0523] Preferably, in the embodiments of the present application, the hypoglycemic drug is insulin and the hyperglycemic drug is glucagon.

[0524] It should be noted that in the above embodiments, the calculation methods of the hypoglycemic drug infusion data and the glucagon infusion data in each stage can be the same or different, preferably, the same algorithm architecture is used for calculation to ensure the consistency of the basic conditions during calculation, so that the calculation result is more accurate. More preferably, the compound artificial pancreas algorithm is used for calculation, which fully utilizes the advantages of the rPID algorithm and the rMPC algorithm to face complex situations, so that the blood glucose control level is more ideal.

[0525] Figure 10 It 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 application.

[0526] In the embodiments of the present application, the closed-loop artificial pancreas insulin infusion control system disclosed in the embodiments of the present application mainly comprises a detection module 200 and an infusion module 202. The detection module 200 is used for continuously detecting the current blood glucose value of a user. Generally, the detection module 100 is a continuous glucose monitoring (CGM) device, which can detect the current blood glucose value of the user in real time and monitor the blood glucose change; the detection module 200 further comprises a detection processing unit 2001, and the detection processing unit 2001 is preconfigured with an algorithm for calculating the insulin infusion amount. When the detection module 200 detects the current blood glucose value of the user, the detection processing unit 2001 calculates the required insulin amount of the user by using the preconfigured algorithm, and sends the required insulin amount of the user to the infusion module 202.

[0527] The infusion module 202 comprises mechanical structures necessary for infusion of insulin and an electronic transceiver for receiving the insulin amount information of the user from the detection module 200. According to the current insulin infusion amount data sent by the detection module 200, the infusion module 202 infuses the current required insulin into the user. At the same time, the infusion state of the infusion module 102 can also be fed back to the detection module 200 in real time.

[0528] In the embodiments of the present application, the algorithm preconfigured in the detection processing unit 2001 for calculating the insulin infusion amount is one of a classic PID algorithm, a classic MPC algorithm, an rMPC algorithm, an rPID algorithm or a composite artificial pancreas algorithm. The method and beneficial effects of using the rPID, rMPC algorithm or the composite artificial pancreas algorithm have been described above, and will not be repeated here.

[0529] The embodiments of the present application do not limit the specific positions and connection relationships of the detection module 2100 and the infusion module 202, as long as the above-mentioned functional conditions can be met.

[0530] In one embodiment of the present application, the two are electrically connected to each other to form an integral structure and are attached to the same position of the skin of the user. The two modules are connected to form an integral structure and are attached to the same position, so that the number of devices attached to the skin of the user is reduced, thereby weakening the interference of the attachment of a large number of devices on the stretching of the user; at the same time, the problem of poor wireless communication between separated devices is effectively solved, and the user experience is further enhanced.

[0531] In another embodiment of the present application, the two are arranged in different structures and are attached to different positions of the skin of the user. At this time, the detection module 200 and the infusion module 202 transmit wireless signals to each other to realize the connection with each other.

[0532] To sum up, the application discloses a closed-loop artificial pancreas insulin infusion control system, an rMPC algorithm is preset in the system, blood glucose asymmetry in an original physical space is converted to approximate symmetric blood glucose risk space, the classic MPC algorithm can consider the changing near-term effect characteristics, the blood glucose distribution asymmetry is considered, the advantages of precision and flexibility are combined, and the precise control of the closed-loop artificial pancreas insulin infusion system is realized.

[0533] Although some specific embodiments of the application have been described in detail by way of example with reference to the accompanying drawings, it is to be understood that the examples are for illustrative purposes only and are not to be construed as limiting the scope of the application. Those skilled in the art should understand that modifications of the above-described embodiments can be made without departing from the scope and spirit of the application. The scope of the application is defined by the appended claims.

Claims

1. A closed loop artificial pancreas insulin infusion control system, characterized by, The application relates to a blood glucose control system, comprising: a detection module for continuously detecting a current blood glucose value G; a program module connected to the detection module, the program module having preset therein an rMPC algorithm and a target blood glucose value G for converting blood glucose asymmetry in an original physical space to blood glucose risk approximate symmetry in a risk space B , the rMPC algorithm calculating an insulin infusion instruction according to the blood glucose risk; and an infusion module connected with the program module, which controls the infusion module to infuse insulin according to an insulin infusion indication calculated by the rMPC algorithm; the rMPC algorithm comprises a prediction model, a value function and a constraint condition, and the prediction model is as follows: x t+1 = Ax t + BI t G t = Cx t wherein: x t+1 representing a state parameter of the next time instant, x t a state parameter representing a current time, I t represents the insulin infusion amount at the current time point; G t G represents the blood glucose concentration at the current time point; a parameter matrix is as follows: C=[1 0 0] b1,b2,b 3, K is a prior value; a blood glucose value in the value function of the rMPC algorithm is subjected to risk conversion, and the value function after blood glucose risk conversion is as follows: wherein: I′ t+j represents the change in insulin infusion amount after the jth step; r t+j represents the blood glucose risk value after the jth step; t represents a current time; N and P are respectively a step number in a control time window and a prediction time window; R is a weighted coefficient of an insulin component; a blood glucose risk conversion method is an improved control variability grid analysis conversion method; when the control variability grid analysis method is adopted: wherein G B represents a target blood glucose value; G t+j represents a blood glucose value at the jth step of detection; a maximum value is simultaneously limited: r t+j | = min(|r t+j |,n) wherein a value range of the maximum value n is 0-80 mg / dL.

2. The closed loop artificial pancreas insulin infusion control system of claim 1, wherein, The maximum value n is 60 mg / dL.

3. The closed loop artificial pancreas insulin infusion control system according to claim 1 or 2, characterized in that, The target blood glucose value G B is 80-140 mg / dL.

4. The closed loop artificial pancreas insulin infusion control system of claim 3, wherein, The target blood glucose value G B is 110-120 mg / dL.

5. The closed loop artificial pancreas infusion control system of claim 1 or 2, wherein, The rMPC algorithm further comprises one or more processing modes as follows: 1) according to an insulin absorption delay in an artificial pancreas control system, an amount of in-vivo non-absorbed plasma insulin is deducted wherein, I t+j represents an infusion indication sent to the insulin infusion system at the jth step; rI c(t+j) represents the infusion indication sent to the insulin infusion system at step j after risk conversion; gamma represents a compensation coefficient of an estimated plasma insulin concentration to an algorithm output; denotes the estimate of the plasma insulin concentration at step j; 2) according to an insulin onset delay in the artificial pancreas control system, an in-vivo non-acting insulin amount IOB(t+j) is deducted: rI′ t+j = rI t+j - IOB(t + j) rI' t+j represents the infusion instruction sent to the insulin infusion system after IOB deduction at the jth step after risk conversion;​ rI t+j represents the infusion command sent to the insulin infusion system at step j after risk conversion; IOB(t+j) represents an in-vivo non-acting insulin amount at t+j; 3) an autoregressive method is adopted to compensate for a sensing delay of blood glucose and interstitial fluid glucose concentration.

6. The closed loop artificial pancreas insulin infusion control system of claim 5, wherein, The plasma insulin concentration estimation is obtained by an autoregressive method.

7. The closed loop artificial pancreas insulin infusion control system of claim 5, wherein, The compensation coefficient gamma is 0.4-0.

6.

8. The closed loop artificial pancreas insulin infusion control system of claim 7, wherein, The compensation coefficient gamma is 0.

5.

9. The closed loop artificial pancreas insulin infusion control system of claim 5, wherein, The in-vivo non-acting insulin amount IOB(t+j) is obtained by an IOB curve.

10. The closed loop artificial pancreas insulin infusion control system of claim 5, wherein, When the in-vivo non-acting insulin amount IOB(t+j) is calculated, an insulin amount is processed by meal insulin and non-meal insulin: IOB(t + j) = IOB m,t+j + IOB o,t+j wherein, IOB m,t+j represents the amount of meal insulin that has not yet acted in the body at time t + j; IOB o,t+j represents the amount of non-meal insulin that is still active in the body at time t + j; D i (i = 2-8) represent respective coefficients corresponding to IOB curves for insulin action times of i, respectively; I m,t+j represents the amount of meal insulin at time t+j; I 0,t+j represents the amount of non-meal insulin at time t+j; IOB(t+j) represents an in-vivo non-acting insulin amount at t+j.

11. The closed loop artificial pancreas infusion control system of claim 1, wherein, Two of the detection module, the program module and the infusion module are connected to form an integral structure, and are respectively pasted on different positions of the skin.

12. The closed loop artificial pancreas infusion control system of claim 1, wherein, The detection module, the program module and the infusion module are connected to form an integral structure, and are pasted on the same position of the skin.

Citation Information

Patent Citations

  • Method and system for a hybrid control-to-target and control-to-range model predictive control of an artificial pancreas

    CN104885086A

  • Velocity-weighting model predictive control of an artificial pancreas for type 1 diabetes applications

    CN107851224A

  • Artificial pancreas closed-loop control algorithm

    CN108261591A

  • Preprandial insulin dosage individualized decision-making system based on Gaussian process

    CN112133439A

  • Closed-loop artificial pancreas insulin infusion control system

    CN116020001A