An artificial pancreas control system based on a physical prior personalized linear model
By using a physical prior personalized linear model in the artificial pancreas control system, the problem in the existing technology that it is difficult to accurately predict the effects of insulin and carbohydrate on blood sugar is solved, achieving more accurate and reliable blood sugar control and ensuring the individuality of diabetic patients. management effects.
Patent Information
- Application Number
- CN202411066285.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-05
AI Technical Summary
In the existing technology, the closed-loop control of the artificial pancreas is difficult to accurately predict the effects of carbohydrates and insulin on blood sugar. As a result, the amount of insulin controlled may exceed actual needs, which poses safety risks and lacks effective technical solutions.
The artificial pancreas control system uses a physical a priori personalized linear model. Through continuous blood glucose monitoring sensors and insulin pumps, combined with the control algorithm center, specific data collection and model training are carried out to establish a personalized linear model with physical a priori, which is accurate. Predict the effects of insulin and carbohydrates and calculate the optimal control target value for insulin input.
It achieves accurate prediction of the effects of insulin and carbohydrates, ensures personalized blood sugar control, avoids the problem of excess or insufficient insulin, improves the accuracy and reliability of blood sugar control, and is suitable for personalized management of diabetic patients.
Smart Images

Figure CN118576824B
Abstract
Description
Technical Field
[0001] The invention relates to an Internet blood sugar control technology, in particular to an artificial pancreas control system of a physical priori personalized linear model. Background Art
[0002] There have been many studies on the control of artificial pancreas, and the important thing is how to make the artificial pancreas obtain a more accurate and comprehensive closed-loop control of insulin output. The patent application name is: "A personalized linear time-varying model artificial pancreas predictive control method", and the patent application number is: 202410445867.1. The patent application scheme proposes a predictive control method for artificial pancreas using a personalized linear time-varying model, which can use meal intake as a parameter for adjusting insulin dosage for personalized prediction, and obtains a more accurate and reasonable control effect compared with previous technologies.
[0003] However, this technology still has the possibility that the prediction results may not meet the actual needs of the monitored person, resulting in the controlled amount of insulin possibly exceeding the actual amount of insulin that should be output. In this method, the model constructed each time cannot form an accurate trend judgment of the effect of carbohydrate intake and insulin dosage on blood sugar, that is, the effect properties of carbohydrate and insulin on blood sugar cannot be accurately determined by the model, and even the effect properties of insulin are characterized as causing blood sugar to rise. This makes the construction of each personalized linear model prone to hidden dangers, which need to be prevented and avoided through more subsequent constraints and restrictions, but it is impossible to fundamentally prevent such situations from happening. At present, there is still no technical research content on artificial pancreas closed-loop control technology for the above situation in the world. Summary of the invention
[0004] The technical problem solved by the present invention is to provide an artificial pancreas control system of a physical a priori personalized linear model, which can enable the construction of the model to obtain accurate carbohydrate and insulin action properties, and ensure that the personalized linear model is used for predictive control of the artificial pancreas to obtain a more accurate and personalized control effect.
[0005] The technical solution of the present invention is:
[0006] An artificial pancreas control system of a physical a priori personalized linear model, characterized in that it is an artificial pancreas control device, which includes a continuous blood glucose monitoring sensor, a continuous blood glucose monitoring receiver, an insulin pump and a control algorithm center; the control algorithm center is set on a mobile terminal, a computer, a network server or a cloud server; the continuous blood glucose monitoring sensor transmits monitoring data to the continuous blood glucose monitoring receiver, and then transmits it to the control algorithm center, and the control algorithm center calculates and obtains a control instruction for the actual input amount of insulin, sends it to the insulin pump and controls it to implement the input action of insulin; the control algorithm center adopts the artificial pancreas control method of the physical a priori personalized linear model to obtain the numerical value of the amount of insulin to be input; including
[0007] Conduct initial data collection to build a linearized model; include
[0008] Measure the user's blood sugar when fasting blood sugar is stable;
[0009] Take 25-50g of carbohydrates and wait 2-3 hours to measure blood sugar after it stabilizes.
[0010] The user takes a large dose of insulin and waits 2-3 hours to measure blood sugar after it stabilizes;
[0011] Conduct a second data collection to build a linearized model; including
[0012] Measure the user's fasting blood sugar to stabilize blood sugar, and turn off the insulin pump's basal rate of infusion;
[0013] One hour later, measure blood sugar; adjust the basal rate of the insulin pump to the steady-state basal rate;
[0014] Take carbohydrates and a large dose of insulin, and wait 2-3 hours to measure blood sugar levels after stabilization.
[0015] Adjust the basal rate of the insulin pump to 2 times the steady-state basal rate, wait 1 hour, and measure the blood sugar after stabilization;
[0016] Adjust the basal rate of the insulin pump to the steady-state basal rate;
[0017] Carry out routine data collection for linearized model training and establish a personalized linear model with physical priors;
[0018] Through the a priori personalized linear model of online insulin and online carbohydrate, the following final blood glucose model is obtained to obtain the blood glucose prediction value of each future sliding window [t, t+N]:
[0019] ;
[0020] Where G(t) is the value of blood glucose at time t; , , is the linear model parameter; I f For online insulin, C f For online carbs; online insulin and online carbs have physical priors;
[0021] The optimal control target value of insulin input is obtained by the following formula for insulin input:
[0022] ;
[0023] Where G* is the target blood sugar value, Q, Q N , R is the adjustable weight value of model predictive control MPC, and N is the prediction window length.
[0024] In the artificial pancreas control system of the physical prior personalized linear model as described above, the final blood glucose model is obtained according to the following common formula of the insulin activity curve or the carbohydrate activity curve:
[0025] ;
[0026] Integrate the above formula to obtain the model of online insulin and online carbohydrate:
[0027] ;
[0028] where t d is the duration, t p is the peak time, is the time constant, ,
[0029] is the rise time coefficient, ;
[0030] S is the auxiliary scaling factor, .
[0031] The artificial pancreas control system of the physical prior personalized linear model as described above, where, at a given sampling time t s The online insulin and online carbohydrate models are discretized and represented as IOB k and COB k , Online Insulin I f and online carbohydrate C f , which can be expressed as the residual insulin and carbohydrate passing through IOB k and COB k Finite impulse filtering:
[0032] ;
[0033] ;
[0034] Among them, u(t) is the insulin dose at time t, c(t) is the carbohydrate amount at time t, , is the finite impulse filter function;
[0035] The final blood glucose model is a linear autoregressive model with external inputs, wherein the external inputs are online insulin I f and online carbohydrate C f .
[0036] The artificial pancreas control system of the physical prior personalized linear model as described above, wherein the final blood glucose model , , The model parameters are obtained by solving the following restricted linear optimization problem:
[0037] ;
[0038] Set 0.9CF< <1.1CF; < < ;
[0039] Among them, CF is the user's insulin sensitivity coefficient; ICR is the user's insulin-carbohydrate ratio coefficient.
[0040] The artificial pancreas control system of the physical prior personalized linear model as described above, wherein,
[0041] The formula for the amount of insulin to be input includes the following constraints in the calculation of the optimal control target value of the insulin input amount:
[0042] The formula for the final glycemic model was applied, and:
[0043] ;
[0044] ;
[0045] .
[0046] From the above description, it can be seen that the present invention has the following advantages:
[0047] The artificial pancreas control system of the physical prior personalized linear model of the present invention cleverly sets the method of primary and secondary data collection at the beginning of the construction of the personalized linear model. By performing qualitative training on insulin and carbon water in a physical sense, the personalized linear model of the present invention can accurately control the effects of insulin and blood sugar in the subsequent blood sugar measurement and prediction analysis process, and can also accurately predict the residual amount of carbon water and insulin in each time period under the condition of mixed effects of insulin and carbon water, so that the state classification of real-time blood sugar value is more comprehensive and accurate, which can help users accurately predict the accurate value of blood sugar at future moments, and can more accurately make decisions on the required insulin dosage. It will not be impossible to give an accurate insulin decision value because it is impossible to know the situation of residual insulin and carbon water in the body. Substantial improvements have been made to the existing artificial pancreas blood sugar prediction control algorithm, and better ensure that the artificial pancreas can achieve a more practical personalized control effect for the user in the process of closed-loop control, and ensure that the user's blood sugar control is more accurate, reliable and intelligent. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic diagram of a method flow chart of a preferred embodiment of the present invention;
[0049] Figure 2 This is a schematic diagram of the insulin activity curve proposed by the present invention;
[0050] Figure 3 This is a schematic diagram of the carbon water activity curve proposed by the present invention;
[0051] Figure 4 This is a schematic diagram of the online insulin curve proposed by the present invention;
[0052] Figure 5 This is a schematic diagram of the online carbon-water curve proposed by the present invention;
[0053] Figure 6 This is a parameter selection list for the final blood glucose model predictive control algorithm of the preferred embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.
[0055] The artificial pancreas control system of a physical a priori personalized linear model proposed in the present invention is a more comprehensive and in-depth study and invention of the most advanced and comprehensive artificial pancreas technology with closed-loop control capability in the world. Based on the patent application titled "A personalized linear time-varying model artificial pancreas predictive control method" and the patent application number: 202410445867.1, further research and improvement have been made on the situation where the physical meanings of insulin and carbohydrates in the personalized linear model cannot be accurately qualitatively obtained. This includes giving accurate qualitative descriptions of the physical meanings of insulin and carbohydrates at the beginning of establishing the personalized linear model, so that the personalized linear model will not be unable to obtain a clear definition of the properties of insulin and carbohydrates for the increase or suppression of blood sugar due to conventional data collection and conventional treatment methods for diabetes. The emergence of this problem may cause the entire model to be unable to obtain a correct prediction of insulin demand in subsequent control, and even make the insulin demand abnormal, resulting in unnecessary risks.
[0056] The present invention performs specific first and second data collection in the data collection at the beginning of establishing the personalized linear model, and provides the data to the personalized linear model for training, so that it can clarify the qualitative physical meaning of the increase or inhibition of blood sugar by insulin and carbohydrates. At the same time, it further provides personalized insulin and carbohydrate activity curve training for the current user within the dosage range of insulin to be given, so that the personalized linear model established by the present invention can more accurately predict blood sugar, achieve accurate personalized insulin input control, and realize more comprehensive and accurate control of the closed-loop control of the artificial pancreas of blood sugar, helping diabetic patients, especially type 1 diabetic patients, to achieve accurate and timely blood sugar control and ensure a continuous stable blood sugar state.
[0057] The present invention proposes an artificial pancreas control system of a physical a priori personalized linear model. In a preferred embodiment, it is an artificial pancreas control device, which includes a continuous blood glucose monitoring sensor, a continuous blood glucose monitoring receiver, an insulin pump and a control algorithm center; the control algorithm center is set on a mobile terminal, a computer, a network server or a cloud server; the continuous blood glucose monitoring sensor transmits monitoring data to the continuous blood glucose monitoring receiver, and then transmits it to the control algorithm center, and the control algorithm center calculates and obtains a control instruction of the actual input amount of insulin, which is sent to the insulin pump and controls it to implement the input action of insulin; the control algorithm center adopts the artificial pancreas control method of the physical a priori personalized linear model to obtain the value of the amount of insulin to be input; including:
[0058] First, conduct initial data collection to build a linear model; including:
[0059] Measuring the user's fasting blood sugar when it is stable; used to obtain the user's fasting normal blood sugar state data;
[0060] Intake 25-50g of carbohydrates, wait 2-3 hours to measure blood sugar after stabilization; used to obtain the user's blood sugar data after taking a meal (carbohydrates). At this time, the blood sugar value is higher than the fasting value, which is called the sudden blood sugar value. When a sudden blood sugar value occurs, it is generally caused by the intake of carbohydrates. At this time, the corresponding insulin to suppress the sudden blood sugar value should be taken. This amount of insulin is called a large dose of insulin; the personalized linear model is trained on the data of blood sugar changes after the intake of carbohydrates alone, and can clearly obtain the physical qualitative property of carbohydrates on blood sugar changes, which is to increase blood sugar.
[0061] The user takes a large dose of insulin and waits for 2-3 hours to measure the blood sugar after it stabilizes. This is used to respond to the user's high blood sugar value by inputting insulin to inhibit and lower blood sugar. After inputting a large dose of insulin and waiting for blood sugar to stabilize, the measured blood sugar value belongs to the blood sugar value that recovers and tends to be stable after inhibition. These data are provided to the personalized linear model training, which can enable the personalized linear model to clearly define the physical qualitative property of insulin's effect on blood sugar changes as inhibition and reduction.
[0062] Through the above-mentioned special initial data collection design, the personalized linear model is able to qualitatively characterize the effects of insulin and carbohydrates on blood sugar changes, avoiding the problem that the model may be unable to qualitatively characterize the physical effects of insulin and carbohydrates on blood sugar changes when insulin and meals are taken at the same time during conventional data collection. This provides the most initialized qualitative basis for subsequent data collection and analysis under normal conditions when insulin and carbohydrates are mixed, so that the model will not cause confusion in parameter attributes and be unable to analyze.
[0063] Second, conduct a second data collection to build a linearized model; including
[0064] Measuring the user's fasting blood glucose is a stable blood glucose, and turning off the basal infusion rate of the insulin pump; used to make a new initial setting for the user's personalized state; after collecting fasting blood glucose data, turning off the basal infusion rate setting of the artificial pancreas device, that is, turning off the default normal insulin input control under the normal state of the artificial pancreas, and stopping the insulin input.
[0065] After 1 hour, measure blood sugar; adjust the basal rate of the insulin pump to the steady-state basal rate; measure blood sugar data without insulin action, and determine the steady-state basal rate of insulin use based on the user's personal physical state parameters, and set the specific steady-state basal rate in the artificial pancreas device as the new basal rate for insulin input control. Making the insulin basal rate of the artificial pancreas device more in line with the user's personal needs is a more personalized setting to ensure more accurate blood sugar control. The data is provided to the personalized linear model training to obtain information on changes in the action state of insulin without insulin and at the steady-state basal rate.
[0066] Intake carbohydrates and the corresponding large dose of insulin, wait 2-3 hours to measure the blood sugar after stabilization; used to obtain normal carbohydrate intake, and intake of large doses of insulin to prevent blood sugar from rising due to the intake of carbohydrates, after the blood sugar enters a stable state under the simultaneous action for a period of time, measure the blood sugar data; provide it for the training of personalized linear models, so that after clarifying the physical meanings of insulin and blood sugar, it can obtain information on blood sugar changes under the joint action of the two.
[0067] Adjust the basal rate of the insulin pump to 2 times the steady-state basal rate, wait for 1 hour, and measure the blood sugar after stabilization; to obtain the user's blood sugar change data information when the insulin input exceeds the steady-state basal rate, to train a personalized linear model to obtain the user's blood sugar change trend information during the insulin action at a dose of 2 times the steady-state basal rate, to obtain the change information of the personalized linear model of blood sugar under different qualitative states of insulin dose.
[0068] Adjust the basal rate of the insulin pump to the steady-state basal rate; adjust back to the steady-state basal rate so that the artificial pancreas device enters a normal state of predicting and controlling the user's blood sugar.
[0069] Third, conduct regular data collection for linearized model training to establish a personalized linear model with physical priors;
[0070] Through the a priori personalized linear model of online insulin and online carbohydrate, the following final blood glucose model is obtained to obtain the blood glucose prediction value of each future sliding window [t, t+N]:
[0071] (1.1);
[0072] Where G(t) is the value of blood glucose at time t; , , is the linear model parameter; I f For online insulin, C f For online carbs; online insulin and online carbs have physical priors;
[0073] The optimal control target value of insulin input is obtained by the following formula for insulin input:
[0074] ;
[0075] Where G* is the target blood glucose value, Q, Q N , R is the adjustable weight value of the model predictive control MPC, and N is the prediction window length. For example, N can be 60 units, assuming that the total prediction time is 300 minutes and the sampling time is 5 minutes.
[0076] The artificial pancreas control system of the physical a priori personalized linear model of the present invention first performs physical a priori qualitative analysis of the linearized model through the design of the initial data collection and the second data collection when constructing the linearized model, and further enables the personalized linear model to better obtain the active state change information of insulin and carbohydrates, making the blood sugar prediction and insulin dosage control of the artificial pancreas device more accurate and reliable.
[0077] In the preferred embodiment of the artificial pancreas control system of the physical prior personalized linear model of the present invention as described above, the final blood glucose model formula 1.1 is obtained according to the following common formula of the insulin activity curve or the carbohydrate activity curve:
[0078] ;
[0079] Integrate the above formula to obtain the model of online insulin and online carbohydrate:
[0080] ;
[0081] where t d is the duration, t p is the peak time, is the time constant, ,
[0082] is the rise time coefficient, ;
[0083] S is the auxiliary scaling factor, .
[0084] Please refer to Figures 2 to 5 As shown in the figure, they are schematic diagrams of the insulin active curve, the carbohydrate active curve, the online insulin curve and the online carbohydrate curve. Regarding the insulin active curve and the carbohydrate active curve, in the simulation experiment, according to the active change properties of insulin and carbohydrate, the insulin peak time is selected as 75 minutes, the duration is 300 minutes, the carbohydrate peak time is 40 minutes, and the duration is 180 minutes. The visualized curve graphs are shown in the figure below. Figure 2and Figure 3 shown.
[0085] After analyzing and processing the online insulin and online carbohydrate models mentioned above, the online insulin curve and online carbohydrate curve are obtained as shown in the figure below: Figure 4 and Figure 5 As shown, the model data of the displayed insulin absorption and carbohydrate absorption state conform to the real human insulin and carbohydrate absorption curves. The present invention adds a priori structures with physical meanings to the personalized linear model, which helps to more accurately predict blood sugar and give the decision result of the optimal insulin dose that takes into account the insulin absorption rate. That is, it can effectively take into account the accurate dose of insulin remaining in the body every time the insulin dose decision is made according to the real-time blood sugar value, so as to prevent the insulin dose decision from having a large deviation from the actual required insulin dose, which is not conducive to the user's effective control of blood sugar.
[0086] As described above, the artificial pancreas control system of the physical prior personalized linear model of the present invention, in a preferred embodiment, is based on a given sampling time t s The online insulin and online carbohydrate models are discretized and represented as IOB k and COB k , Online Insulin I f and online carbohydrate C f , which can be expressed as the residual insulin and carbohydrate passing through IOB k and COB k Finite impulse filtering:
[0087] ;
[0088] ;
[0089] Among them, u(t) is the insulin dose at time t, c(t) is the carbohydrate amount at time t, , is the finite impulse filter function;
[0090] The final blood glucose model formula 1.1 is a linear autoregressive model with external inputs, wherein the external inputs are online insulin I f and online carbohydrate C f .
[0091] It should be noted that when conducting data research, the formula of the final blood glucose model is to add the model noise of time t In the actual analysis and calculation of the personalized linear model of the artificial pancreas device, the model noise can be In actual testing, more stable results will be obtained by ignoring the influence of model noise.
[0092] As described above, in the artificial pancreas control system of the physical prior personalized linear model of the present invention, in a preferred embodiment, the formula 1.1 of the final blood glucose model is , , The model parameters are obtained by solving the following restricted linear optimization problem:
[0093] ;
[0094] Set 0.9CF< <1.1CF; < < ;
[0095] Among them, CF is the user's insulin sensitivity coefficient (Correction Factor), which is a value determined by the user's personal physical condition data. Doctors can determine the value by routine analysis and identification of the user's physical condition data; ICR is the user's insulin-carb ratio coefficient (Insulin-Carb-Ratio). By combining CF, the sensitivity coefficient of carbon water is indirectly obtained. In the treatment of insulin to control blood sugar changes, the above coefficients need to be as close to the user's actual situation as possible and cannot deviate too much.
[0096] As described above, the data acquisition method designed by the present invention obtains training data for solving model parameters. The present invention cleverly adds the model insulin gain and carb gain The physical limitation requires that the two gains cannot deviate from the gains solved by the user's actual CF and ICR by ±10%. This constraint makes the personalized linear model of the present invention closer to the real model in the physical sense, so that the subsequent model predictive control can make insulin decisions that are in line with the practical sense.
[0097] In the preferred embodiment of the artificial pancreas control system of the physical a priori personalized linear model of the present invention as described above, the formula for inputting insulin includes the following restrictions in the calculation of the optimal control target value of the insulin input amount:
[0098] The formula for the final glycemic model was applied, and:
[0099] ;
[0100] ;
[0101] .
[0102] Among the above constraints of the present invention, The condition is set to require that the future insulin decision value does not exceed the insulin value calculated by ICR and CF minus the value of online insulin (IOB). This constraint takes into account the online insulin value currently remaining in the blood vessels, thereby effectively avoiding the situation where excessive insulin input leads to hypoglycemia. For the parameter selection of the predictive control algorithm (MPC) of the final blood glucose model, please refer to Figure 6 shown.
[0103] The artificial pancreas control system of the physical prior personalized linear model of the present invention cleverly sets the method of primary and secondary data collection at the beginning of the construction of the personalized linear model. By performing qualitative training on insulin and carbon water in a physical sense, the personalized linear model of the present invention can accurately control the effects of insulin and blood sugar in the subsequent blood sugar measurement and prediction analysis process, and can also accurately predict the residual amount of carbon water and insulin in each time period under the condition of mixed effects of insulin and carbon water, so that the state classification of real-time blood sugar value is more comprehensive and accurate, which can help users accurately predict the accurate value of blood sugar at future moments, and can more accurately make decisions on the required insulin dosage. It will not be impossible to give an accurate insulin decision value because it is impossible to know the situation of residual insulin and carbon water in the body. Substantial improvements have been made to the existing artificial pancreas blood sugar prediction control algorithm, and better ensure that the artificial pancreas can achieve a more practical personalized control effect for the user in the process of closed-loop control, and ensure that the user's blood sugar control is more accurate, reliable and intelligent.
[0104] The above description is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes and modifications made by any person skilled in the art without departing from the concept and principle of the present invention shall fall within the scope of protection of the present invention.
Claims
1. An artificial pancreas control system based on a physical prior personalized linear model, characterized in that: The invention is an artificial pancreas control device, which includes a continuous blood glucose monitoring sensor, a continuous blood glucose monitoring receiver, an insulin pump and a control algorithm center; the control algorithm center is set on a mobile terminal, a computer, a network server or a cloud server; the continuous blood glucose monitoring sensor transmits monitoring data to the continuous blood glucose monitoring receiver, and then transmits it to the control algorithm center, and the control algorithm center calculates and obtains a control instruction of the actual input amount of insulin, sends it to the insulin pump and controls it to implement the input action of insulin; the control algorithm center adopts an artificial pancreas control method of a physical prior personalized linear model to obtain a numerical value of the amount of insulin to be input; including Conduct initial data collection to build a linearized model; include Measure the user's blood sugar when fasting blood sugar is stable; Take 25-50g of carbohydrates and wait 2-3 hours to measure blood sugar after it stabilizes. The user takes a large dose of insulin and waits 2-3 hours to measure blood sugar after it stabilizes; Conduct the second data collection to build the linearization model; include Measure the user's fasting blood sugar to stabilize blood sugar, and turn off the insulin pump's basal rate of infusion; One hour later, measure blood sugar; adjust the basal rate of the insulin pump to the steady-state basal rate; Take carbohydrates and a large dose of insulin, and wait 2-3 hours to measure blood sugar levels after stabilization. Adjust the basal rate of the insulin pump to 2 times the steady-state basal rate, wait 1 hour, and measure the blood sugar after stabilization; Adjust the basal rate of the insulin pump to the steady-state basal rate; Carry out routine data collection for linearized model training and establish a personalized linear model with physical priors; Through the a priori personalized linear model of online insulin and online carbohydrate, the following final blood glucose model is obtained to obtain the blood glucose prediction value of each future sliding window [t, t+N]: ; Where G(t) is the value of blood glucose at time t; , , is the linear model parameter; I f For online insulin, C f For online carbs; online insulin and online carbs have physical priors; The optimal control target value of insulin input is obtained by the following formula for insulin input: ; Where G* is the target blood sugar value, Q, Q N , R is the adjustable weight value of model predictive control MPC, and N is the prediction window length.
2. The artificial pancreas control system of the physical prior personalized linear model according to claim 1, characterized in that: The final blood sugar model is obtained according to the following common formula of insulin activity curve or carbohydrate activity curve: ; Integrate the above formula to obtain the model of online insulin and online carbohydrate: ; where t d is the duration, t p is the peak time, is the time constant, , is the rise time coefficient, ; S is the auxiliary scaling factor, .
3. The artificial pancreas control system of the physical prior personalized linear model according to claim 2, characterized in that: With a given sampling time t s The online insulin and online carbohydrate models are discretized and represented as IOB k and COB k , Online Insulin I f and online carbohydrates C f , which can be expressed as the residual insulin and carbohydrate passing through IOB k and COB k Finite impulse filtering: ; ; Among them, u(t) is the insulin dose at time t, c(t) is the carbohydrate amount at time t, , is the finite impulse filter function; The final blood glucose model is a linear autoregressive model with external inputs, wherein the external inputs are online insulin I f and online carbohydrates C f .
4. The artificial pancreas control system of the physical prior personalized linear model according to claim 3, characterized in that: The final blood glucose model , , The model parameters are obtained by solving the following restricted linear optimization problem: ; Set 0.9CF< <1.1CF; < < ; Among them, CF is the user's insulin sensitivity coefficient; ICR is the user's insulin-carbohydrate ratio coefficient.
5. The artificial pancreas control system of the physical prior personalized linear model according to claim 4, characterized in that: The formula for the amount of insulin to be input includes the following constraints in the calculation of the optimal control target value of the insulin input amount: The formula for the final glycemic model was applied, and: ; ; 。
