METHOD FOR DETERMINING A CURRENT GLUCOSE VALUE IN A TRANSPORTED FLUID

20220192544 · 2022-06-23

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention relates to a method in particular for continuously determining a current glucose value in a transported fluid, in particular blood, of an organism, having the steps of: a) ascertaining a series of measurements, comprising at least two measurement values separated by time intervals, for a tissue glucose value in the tissue surrounding the transported fluid using a sensor device, b) ascertaining the tissue glucose value using the ascertained series of measurements on the basis of a sensor model, wherein measurement values of the sensor device are assigned to tissue glucose values while taking into consideration measurement noise using a sensor model, c) providing a state transition model, the ascertained tissue glucose values being assigned at least one glucose value in the transported fluid using the state transition model while taking into consideration process noise, and d) ascertaining the current glucose value on the basis of the provided state transition model and the ascertained tissue glucose value. At least step d), in particular steps b)-d), is carried out using at least one moving horizon estimation method.

Claims

1. A process to, preferably continuously, determine a current glucose level in a transport fluid, particularly blood, of an organism, comprising the steps a) determining, using a sensor device, a series of measurements, comprising at least two measurements separated in time for a tissue glucose level, in the tissue surround the transport fluid, b) determining the tissue glucose level using the series of measurements given, based on a sensor model, in which, by means of a sensor model, measurements of the sensor device are correlated to the tissue glucose levels while taking into account measurement noise, c) providing a state transition model, in which, by means of the state transition model, at least one glucose level in the transport fluid is correlated to the tissue glucose levels that have been determined while taking into account process noise, and d) determining the current glucose level based on the state transition model that has been provided and the tissue glucose level that has been determined, in which, at least step d), particularly steps b)-d), is carried out using at least one Moving Horizon Estimation Method, preferably a Moving Horizon Estimation method is carried out to provide the current glucose level in step d) and applied to previously provided glucose measurements and at least one previous tissue glucose measurement.

2. The process according to claim 1, characterized in the sensor model is provided in the form of a linear or non-linear function between measurements and tissue glucose levels.

3. The process according to claim 1, characterized in that the value for the horizon of the Moving Horizon Estimation method for providing the current glucose level is selected as less than or equal to 10.

4. The process according to claim 1, characterized in that a variance of the measurement noise and/or the variance of the process noise, particularly at least on a regular basis, is estimated or especially interpolated and/or weighted, preferably where the variance of the measurement noise and/or the variance of the process noise is estimated on the basis of at least one previous value, especially interpolated and/or weighted, using an exponential smoothing.

5. The process according to claim 4, characterized in that measurements that have only partially used to calculate the estimation of the measurement noise and/or of the process noise can be temporarily stored, and measurements that have not been temporarily stored and that are needed can be interpolated using the measurements that have been stored.

6. The process according to claim 3, characterized in that a selection is made of a quantity of the previous measurements, which is greater than the measurement for the horizon of the Moving Horizon Estimation method, in particular at least twice as great, preferably at least by the factor 5.

7. The process according to claim 4, characterized in that the variance of the measurement noise and/or the variance of the process noise is regularly adjusted based on the level of the sum of the horizon of the Moving Horizon Evaluation method and the number of the previous measurements to calculate the estimation of the measurement noise and/or the process noise.

8. The process according to claim 1, characterized in that measurements provided by means of a filter function are filtered by means of a filter function, whereby, by means of the filter function, errors, especially measurement errors, are suppressed by the sensor device, preferably whereby measurements are weighted by means of the filter function.

9. The process according to claim 8, characterized in that, in order to determine errors of the sensor device, the gradient of the increase in a current tissue glucose level and/or the current tissue glucose level is evaluated.

10. The process according to claim 8, characterized in that measurements that are provided below a low threshold level that can be preset and/or above a high threshold level that can be preset are discarded by means of the filter function, particularly the low and high threshold level corresponds to physiological limits, preferably where the low threshold level presents a value between 10-50 mg/dL, particularly 30 mg/dL and the high threshold level presents a value between 100-600 mg/dL, preferably 450 mg/dL.

11. The process according to claim 1, characterized in that a calibration of the measurements of the sensor device is executed after execution of step d).

12. The process according to claim 1, characterized in that the state transition model includes a diffusion model for time-dependent modeling of the diffusion process of glucose from the transport fluid into the surrounding tissue, and/or sensor model parameters of the sensor model and/or state transition parameters of the state transition model are estimated and/or updated, at least on a regular basis.

13. A device to, preferably continuously, determine a current glucose level in a transport fluid, particularly blood, of an organism, preferably suitable for carrying out a process according to claim 1, comprising a sensor device, particularly for measuring fluorescence in a tissue surrounding the transport fluid, by means of a fiber optic probe, designed to determine a series of measurements, comprising at least two measurements separated in time for a tissue surrounding the transport fluid, a provision device designed to provide a state transition model, in which, by means of the state transition model, at least one glucose level in the transport fluid is correlated to the determined tissue glucose levels while taking into account process noise, and to provide a sensor model, in which, by means of a sensor model, measurements of the sensor device are correlated to tissue glucose levels taking into account measurement noise, an evaluating device designed to determine the tissue glucose level, using the series of measurements provided, based on the sensor model and to determine the current glucose level based on the state transition model that has been provided and the tissue glucose level that has been ascertained, using a Moving Horizon Estimation Method.

14. An evaluation device to, preferably continuously, determine a current glucose level in a transport fluid, particularly blood, of an organism, preferably suitable for carrying out a process according to claim 1, comprising at least one interface to connect a sensor device to provide a series of measurements, comprising at least two measurements separated in time for a tissue glucose level, in which the tissue surrounding the transport fluid, at least one memory to store a state transition model, in which, at least one glucose level in the transport fluid is correlated to the tissue glucose levels by means of the state transition model while taking into account at least one process noise level, and to store a sensor model, in which, by means of the sensor model, measurements of the sensor device are correlated to tissue glucose levels while taking into account at least one measurement noise, and a calculating device designed to determine the tissue glucose level, using the series of measurements provided, based on the sensor model and to determine the current glucose level based on the state transition model that has been stored and the tissue glucose level that has been determined, using at least one Moving Horizon Estimation Method.

15. A non-tangible, machine-readable medium for the storage of instructions, which, when carried out on a computer, cause a process, particularly, to continuously determine a current glucose level in a transport fluid, particularly blood, of an organism, to be carried out preferably suitable for carrying out a process according to claim 1, comprising the steps a) determining, using a sensor device, a series of measurements, comprising at least two measurements separated in time for a tissue glucose level, in the tissue surround the transport fluid, b) determining the tissue glucose level using the series of measurements given, based on a sensor model, in which, by means of a sensor model, measurements of the sensor device are correlated to the tissue glucose levels while taking into account measurement noise, c) providing a state transition model, in which, by means of the state transition model, at least one glucose level in the transport fluid is correlated to the tissue glucose levels that have been determined while taking into account process noise, and d) determining the current glucose level based on the state transition model that has been provided and the tissue glucose level that has been determined, in which, at least step d), particularly steps b)-d), is carried out using at least one Moving Horizon Estimation Method.

Description

[0052] In a diagrammatic form

[0053] FIG. 1 shows steps of a process according to an embodiment of the present invention;

[0054] FIG. 2 shows steps of a process according to an embodiment of the present invention; and

[0055] FIG. 3 shows a comparison of a process according to an embodiment of the present invention with already known processes.

[0056] FIG. 1 shows in detail steps for determining the glucose concentration in the blood based on the Moving Horizon Estimation method, where the variation of the process noise and the measurement noise is adjusted.

[0057] In an initial phase T1, there is the initializing of the process by means of the steps S1-S3 explained below. After the initializing, in a second phase T2, in discreet steps in time, based on the Moving Horizon Estimation method, the determination of the glucose concentration in the blood by means of steps S4-S6 is explained below, as well as a decision step E1. Parallel to this, in third phase T3, an adjustment of measurement and process noise with steps V1-V3 explained below is performed.

[0058] Before going into individual phases T1-T3 and their steps in detail, first the principles for carrying out the Moving Horizon Estimation method are explained below. The Moving Horizon Estimation method that is used below is a method for estimating a state by minimizing a so-called cost function, which is carried out on a moving time window of n discreet steps in time. Here a discreet time system is defined.


x.sub.K=f(x.sub.k-1,w.sub.k-1)


y.sub.K=h(x.sub.k,v.sub.k)

in which x.sub.K is the vector of the state variable and y.sub.K is the measurement vector. Furthermore, the cost function includes the weighted norm of the measurement noise v.sub.K and process noise w.sub.k of horizon n at time k.

[0059] The optimizing problem thereby takes the following form:

[00001] min { x } j .Math. k k .Math. k .Math. j = k - N + 1 k 1 σ υ , k .Math. v j .Math. k .Math. 2 + 1 σ w , k .Math. w j - 1 .Math. k .Math. 2 ( 2 )

in which {x}.sub.j|k.sup.k|k are the estimated states x.sub.k-N+1, . . . , x.sub.k for time k and σ.sub.w,k.sup.2=var(w.sub.k) and σ.sub.v,k.sup.2=var(v.sub.k) are the variances of the process noise or measurement noise. Process and measurement noises are uncorrelated with mean value 0, but are not necessarily Gaussian distributed.

[0060] For the modeling of the diffusion process between blood and the surrounding tissue, in particular, the following connection is assumed:

[00002] d i ( t ) d t = 1 τ ( b ( τ ) - i ( t ) ) ( 3 )

in which i(t) represents the tissue glucose signal, b(t) represents the blood glucose signal and τ the time constant of the diffusion process. The sensor signal, in particular, is taken as a linear model with measurement y(t):


y(t)=p.sub.0i(t)+p.sub.1

[0061] However, it is also possible to use a non-linear model, for example of the form f(i.sub.k)=(p.sub.1*i.sub.k)/(p.sub.0+i.sub.k).

[0062] Under the assumption that output signal y(t) is linear in it(t), an ideal and calibrated blood glucose signal x.sup.b=p.sub.0 b(t)+p.sub.1 and an ideal and calibrated tissue glucose signal x.sup.i=p.sub.0 i(t)+p.sub.1 can be introduced. Under the further assumption that the sensor parameters p.sub.0 and p.sub.1 change only slowly, the diffusion is likewise valid for the non-calibrated signals

[00003] d x i ( t ) d t = p 0 d i ( t ) d t = 1 τ ( x b ( t ) - x i ( t ) ) ( 4 )

[0063] If this equation is now modeled in time steps Δt and the blood glucose concentration x.sup.b is modeled with an autoregressive model, one arrives at the following discreet state representation:

[00004] x k + 1 b = 2 x k b - x k - 1 + b w k x k + 1 i = x k i + 1 τ ( x k b - x k i ) y k = x k i + υ k ( 5 )

[0064] For the above-name alternative non-linear model, the following state space representation would be valid:

[00005] b k + 1 = 2 b k - b k - 1 + w k i k + 1 = i k + 1 τ ( b k - i k ) f ( i k ) = p 1 .Math. i k i k + p 0 y k = f ( i k ) + v k w k = b k + 1 - 2 b k - 1 v k = y k - p 1 i k ( p 0 + i k )

[0065] Below the linear sensor model described above will again be assumed. Therefore, as soon as the ideal non-calibrated blood glucose level x.sub.k.sup.b is estimated, the blood glucose concentration can be determined for the linear model by means of:

[00006] b k = y k b - p 1 p 0 ( 6 )

[0066] The Moving Horizon Problem formulation in equation (2) is now solved through optimizing the formulated noise-free blood glucose signal


x.sub.k-N+1|k.sup.b, . . . ,x.sub.k|k.sup.b

[0067] Below a matrix notation will be used with N dimensional vectors, which include the past state variables or measurements of the sensor for point in time k.


j=k−N−1, . . . ,k

[0068] The tissue glucose signal x.sub.k.sup.i is thus described as


x.sub.k.sup.i=Ax.sub.k.sup.b+Bz.sub.k  (7)

in which z.sub.k:=(x.sub.k-N.sup.i, x.sub.k-N−1.sup.b, x.sub.k-N.sup.b).sup.T the initial states and matrices A and B are defined as follows

[00007] A = 1 τ ( 0 0 0 .Math. 0 1 0 0 .Math. 0 a 1 0 .Math. 0 .Math. .Math. .Math. a N - 2 .Math. a 1 0 ) , B = ( a 0 a 0 .Math. .Math. .Math. a N 0 a N - 1 )

with

[00008] = 1 - 1 τ

The measurement noise v.sub.k=(v.sub.k-N+1|k, . . . , v.sub.k|k).sup.T is given through


v.sub.k=y.sub.k−x.sub.k.sup.i  (8)

and the process noise w.sub.k=(w.sub.k-N|k, . . . , w.sub.k-1|k).sup.T is defined as

[00009] w k = ( 0 0 0 .Math. 0 - 2 1 0 .Math. 0 1 - 2 1 .Math. 0 .Math. .Math. 0 .Math. 1 - 2 1 ) C R N × N x k b + ( 0 1 - 2 0 0 1 .Math. .Math. 0 .Math. 0 ) D R N × 3 z k ( 9 )

[0069] The formulation of the Moving Horizon Problem for the linear sensor model is then provided through

[00010] min x k b ( .Math. w k .Math. Q k - 1 2 + .Math. v k .Math. R k - 1 2 ) ( 10 )

with the weight matrices Q.sub.k=cov(w.sub.k) and R.sub.k=cov(v.sub.k), which correspond to the covariance matrices of the process noise and the measurement noise. For the alternative, non-linear sensor model that was described, the following optimization problem is provided:

[00011] min b k - N .Math. b k { .Math. j = k - N - 1 k - 1 .Math. w k .Math. 1 σ w 2 2 + .Math. j = k - N k .Math. v n .Math. 1 σ v 2 2 } ,

in which the variants σ.sub.w.sup.2 and σ.sub.v.sup.2 must be determined or provided. This optimization problem can generally not be solved directly, but rather by means of iterative solution processes. The determination or updating of the sensor parameters of the nonlinear model then results from the self-monitoring measurements bgi(t=ti):

[00012] min p 0 , p 1 .Math. i = 1 N .Math. bg i - b ^ ( t = t i , p 0 , p 1 ) .Math. 2

[0070] Below the linear sensor model will now again be assumed. After insertion of equations (8) and (9) into the Moving Horizon Problem for the linear model, the following quadratic problem results:

[00013] min x k b { x k b T ( A T R - 1 A + C T Q - 1 C ) x k b - ( ( y k - B z k ) T R - 1 A - z k T D T Q - 1 C ) x k b } ( 11 )

which can be solved through matrix inversion


{circumflex over (x)}.sub.x.sup.b=(A.sup.TR.sup.−1A+C.sup.TQ.sup.−1C).sup.−1.Math.(A.sup.TR.sup.−1(y.sub.k−Bz.sub.k)−C.sup.TQ.sup.−1Dz.sub.k)=Hy.sub.k+Gz.sub.k  (12)

or by taking into account known processes for the solution of quadratic optimization problems.

[0071] The initial states z.sub.k are determined according to the solution of the previous estimation steps:

[00014] z k = ( x k - N i x k - N - 1 b x k - N b ) = ( x ^ k - N | k - 1 i x ^ k - N - 1 | k - 2 b x ^ k - N | k - 1 b ) . ( 13 )

[0072] In the event of initialization with k+N, the initial states must be estimated. Accordingly, the initial points are added to the optimization vector x.sub.init=(z.sub.k, x.sub.k.sup.b). The optimization problem can accordingly then be transcribed with A.sub.init=[BA] and C.sub.init=[DC] and by replacing B.sub.init and D.sub.init with zero matrices.

[0073] The solution of the altered optimization problem is then

[00015] x ^ i n i t = ( A init T R init - 1 A init + C i n i t T Q i n i t - 1 C i n i t ) - 1 A i n i t T y k H init ( 14 )

[0074] In contrast to other estimation processes, by means of the Moving Horizon Estimation method, both a current value {circumflex over (x)}.sub.k|k.sup.b and previous values {circumflex over (x)}.sub.j|k.sup.b (j>k-N+1) are estimated. The updating of the blood glucose level or signal, not only with the current estimation value, but rather likewise with the estimation values in the overall (past) horizon/time window {circumflex over (x)}.sub.j|k.sup.b (j>k-N+1) results in:


{circumflex over (X)}.sup.b(k−N+1, . . . ,k)={circumflex over (x)}.sub.k.sup.b


{circumflex over (X)}.sup.i(k−N+1, . . . ,k)={circumflex over (x)}.sub.k.sup.i=A{circumflex over (x)}.sub.k.sup.b+Bz.sub.k.  (15)

[0075] Here {circumflex over (X)}.sup.b(i) for i≤k-N includes only the estimation values


{circumflex over (x)}.sub.k-N+1|k.sup.b

[0076] Since CGM systems are typically sensitive to mechanical disturbances that can result in erroneous measurements, such erroneous sensor measurements can be taken into account through weighting the measurement noise with a weighting matrix W.

[0077] In equations (11) and (12) described above, a weighted, inverse covariance matrix can be introduced,

[00016] R - 1 = 1 N .Math. i = k - N k w i ( w k 0 0 w k - N ) R - 1 W ( 16 )

in order to be able to estimate the solution of the optimization problem. Here the diagonal entries of the weighting matrix W corresponding to erroneous measurements are set to 0.

[00017] w i = { 0 sensor error or outliers 1 else ( 17 )

[0078] In order to detect sensor errors or measurement outliers, particularly the gradient in the corresponding tissue glucose level as well as the current tissue glucose value can be used. Alternatively, or additionally, it is possible to apply high or low threshold values for the measurement signals or the measurement values of the sensor, and to classify measurement values that lie outside low and high threshold values as erroneous.

[0079] To efficiently carry out the Moving Horizon Estimation method, it is especially necessary to be familiar with the variance of the measurement noise σ.sub.v,k.sup.2 and the process noise σ.sub.w,k.sup.2. Generally, these two parameters are unknow and must be estimated. Moreover, these parameters change over the course of time. An adjustment or updating of the variances therefore results directly in a change, particularly an improvement in the quality of the estimation through the Moving Horizon Estimation method. If, however, the measurement noise is estimated too low, this results in a very noisy measurement signal and thereby to erroneous measurements. If, on the other hand, the measurement noise is estimated too high or the process noise is estimated too low, this results in a time-delayed estimation, which likewise reduces the accuracy of the determination of the current glucose level.

[0080] Below a process will now be described to predict the measurement noise variance of the measurement noise and the process noise variance of the process noise. Furthermore, a process will be described below for easily adjusting or updating the variances in any given case.

[0081] The principle for this process is that every degree of freedom is equivalent to every other degree of freedom, as described, for example, in the non-patent literature by Grace Wahba “Bayesian ‘Confidence Intervals’ for the Cross-Validated Smoothing Spline” (Journal of the Royal Statistical Society: Series B (Methodological) 45, (1983), 133-150).

[0082] Under the assumption that the process noise w.sub.j-1|k and the measurement noise v.sub.j|k of a horizon are of length n and j=k−n+1, . . . k is part of a distribution with variance σ.sub.w,k or σ.sub.v,k, the covariance matrices R.sub.k and Q.sub.k correspond to


R.sub.k=σ.sub.v,k.sup.2I and Q.sub.k=σ.sub.w,k.sup.2.


equation (12) is thereby simplified to


H(γ.sub.k)=(A.sup.TA+γ.sub.kC.sup.TC).sup.−1A.sup.T


and


G(γ.sub.k)=(A.sup.TA+γ.sub.kC.sup.TC).sup.−1(B−C.sup.TD)

in which

[00018] γ k = σ v , k 2 σ w , k 2

is the quotient of the variance of the process noise and of the measurement noise.

[0083] In the next step, equations (7) and (12) are inserted into the definition of measurement noise (8) and of process noise (9):


w=CH(γ.sub.k)γ.sub.k+(CG+D)z.sub.k


v=(I−AH(γ.sub.k)γ.sub.k−(AG+B)z.sub.k

[0084] Under the assumption that the variance of initial points z.sub.k is equal to zero, the covariance matrices have the following form


cov(w.sub.k)=CH(γ.sub.k)cov(γ.sub.k)H.sup.T(γ.sub.k)C.sup.T


cov(v.sub.k)=(I−AH(γ.sub.k))cov(γ.sub.k)(I−AH(γ.sub.k)).sup.T  (18)

[0085] Furthermore, the covariance of the non-calibrated noise-free blood glucose signal cov(x.sub.k.sup.b)=σ.sub.w.sup.2C.sup.−1(C.sup.−1).sup.T and the covariance of the ideal, non-calibrated tissue glucose signal cov(x.sub.k.sup.b)=σ.sub.w.sup.2AC.sup.−1(C.sup.−1).sup.TA.sup.T is dependent only on the variance matrix of the process noise. Since the covariance matrix of the measurement signal comprises the covariance matrix of the measurement noise and the non-calibrated, noise-free tissue glucose signal, it thus follows


cov(y.sub.k)=σ.sub.v.sup.2I+σ.sub.w.sup.2A(C.sup.−1).sup.TC.sup.−1A  (19)

[0086] Inserting equation (19) now into equation (18) and performing a matrix inversion, there results the covariance matrix of the process noise and of the measurement noise in the following manner:


cov(v.sub.k)=σ.sub.v.sup.2(I−AH(γ.sub.k))  (20)


cov(w.sub.k)=σ.sub.w.sup.2CH(γ.sub.k)AC.sup.−1  (21)

[0087] The expected value of the sum of the squared measurement error SSV.sub.k=v.sub.k.sup.Tv.sub.k can be transcribed to


E(SSV.sub.k)=E(v.sub.k.sup.Tv.sub.k)=E(tr(v.sub.kv.sub.k.sup.T)=E(tr(cov(v.sub.k)))

[0088] The variance of the measurement noise then results in the following manner:

[00019] σ v , k 2 = E ( S S V k ) N - s ( γ k )

in which s(γ.sub.k)=tr(AH(γ.sub.k)) is

[0089] Thereby a consistent estimated value for the variance of the measurement noise {circumflex over (σ)}.sub.v,k.sup.2 is provided.

[00020] σ ^ υ , k 2 = SS V k N - s ( γ k ) ( 22 )

[0090] The variance of the process noise can be determined in a similar manner as the variance of the measurement noise.

[00021] σ ^ w , k 2 = SSW k s ( γ k ) ( 23 )

[0091] In this respect, the expected values of the sum of the quadratic process errors SSW.sub.k=w.sub.k.sup.Tw.sub.k and equation (21) are used. Since the value γ.sub.k must fulfill the equation,

[00022] γ ^ k = σ ^ υ , k 2 σ ^ w , k 2 = s ( γ ^ k ) SS V k ( γ ^ k ) ( n - s ( γ k ) ) SS W k ( γ ^ k )

the optimal {circumflex over (γ)}.sub.init is estimated with a derivation-free optimization process, such as, for example, described in the non-patent literature Rios and Sahinidis “Derivative-free optimization: a review of algorithms and comparison of software implementations” (Journal of Global Optimization 56, 3 (2013), 1247-1293):

[00023] min γ .Math. γ - s ( γ ) S S V ( γ , x i n i t b ) ( n - s ( γ ) ) S S W ( γ , x i n i t b ) .Math. 2 ( 24 )

[0092] After that,

[00024] γ ^ k = σ ~ υ , k 2 σ ~ w , k 2

is adjusted and the process noise and the measurement noise after n+N time is updated


{tilde over (σ)}.sub.v,k.sup.2(1−η){circumflex over (σ)}.sub.v,k.sup.2+η{tilde over (σ)}.sub.v,k−n.sup.2


{tilde over (σ)}.sub.w,k.sup.2(1−η){circumflex over (σ)}.sub.w,k.sup.2+η{tilde over (σ)}.sub.w,k−n.sup.2  (25)

taking into account a smoothing factor η.

[0093] The length of the noise adjustment horizon n does not have to agree with estimation horizon N. A longer estimation horizon N significantly increases the computational effort; however, it shows only a slightly improved estimation accuracy. Since the estimation accuracy of the variances is strongly correlated with the number of data points, especially noise adjustment horizon n will be selected significantly greater than estimation horizon N.

[0094] Variances σ.sub.w,k.sup.2 and {circumflex over (σ)}.sub.v,k.sup.2 are estimated using equations (22), (23) and the sum of the squared process errors or the corresponding sum of the squared measurement errors:

[00025] S S V k = .Math. j = k - n + 1 k X ^ b ( j ) - 2 X ^ b ( j - 1 ) + X ^ b ( j - 2 ) SSW k = .Math. j = k - n + 1 k X ^ i ( j ) - y ( j ) . ( 26 )

[0095] In the event of erroneous sensor measurements, the noise variances in particular are not updated, because this can result in an erroneous estimation of process and measurement variances σ.sub.v,k.sup.2 and σ.sub.w,k.sup.2.

[0096] In order to be able to estimate s(γ.sub.k)=tr(AH(γ.sub.k)), a higher computational effort is necessary. Since matrix A is dependent only on pre-defined matrices A and C and on γ, it is possible to draw up a table for γ and the relevant range of the quotient and to use an interpolation of the values of the table for the current value of γ. Therefore, even on a computer or on a tablet, a satisfactory and sufficiently accurate estimation can be made possible in a short time with little computational effort.

[0097] To summarize, especially in initial step S1, matrix W can be estimated during initialization phase T1 according to equation (17). On the basis of matrix W, in a second step S2, the ratio of the variances of process noise and measurement noise is estimated according to equation (24). In a third step S3, the initial value is estimated according to equation (14).

[0098] On the basis of the estimated initial value, in a fourth step S4 during initial phase T2, the initial states are first determined according to equation (13) and, using the initial states, matrix W is estimated again in a fifth step S5 analogously to step S1 according to equation (17). In a sixth step S6, the initial value is estimated according to equation (12). Afterwards, in step E1, it is determined whether the quotient from time k and the sum from estimation horizon N and noise-adjustment horizon n yields an integer larger or equal to one or not. If this is not the case, the time index k is increased by one and steps S4 to S6 as well as E1 are then carried out again. If this, on the contrary, is the case, a noise adjustment T3 is carried out with steps V1 to V3. In noise adjustment T3, in an initial step V1, the sum of the squared process errors or measurement errors is determined according to equation (26). Using these, the corresponding variances of measurement noise and process noise is then determined according to equations (22) and (23) in a second step V2 and then the value for is updated according to equation (25). After this, steps S4 to S6 as well as E1 are then carried out again.

[0099] On the basis of the estimated initial value, in a fourth step S4 during initial phase T2, the initial states are first determined according to equation (13) and, using the initial states, matrix W is estimated again in a fifth step analogously to step S1 according to equation (17). In a sixth step S6, the initial value is calculated according to equation (12). Afterwards, in step E1, it is determined whether the quotient from time k and the sum from estimation horizon N and noise-adjustment horizon n yields a integer larger or equal to one or not. If this is not the case, the time index k is increased by one and steps S4 to S6 as well as E1 are then carried out again. If this, on the contrary, is the case, a noise adjustment T3 is carried out with steps V1 to V3. Here, in an initial step V1, the sum of the squared process errors or measurement errors is determined according to equation (26). Using these, the corresponding variances of measurement noise and process noise is then determined according to equations (22) and (23) in a second step V2. Then the value for γ is updated according to equation (25). After this, steps S4 to S6 as well as E1 are then carried out again.

[0100] In FIG. 2, steps of a process according to one embodiment of the present invention are shown.

[0101] In detail, FIG. 2 shows a process to, preferably continuously, determine a current glucose level in a transport fluid, particularly blood, of an organism. The method comprises at least the following steps:

[0102] In step a), using a sensor device, a series of measurements is determined, comprising at least two measurements separated in time for a tissue glucose level, in which the tissue surrounding the transport fluid.

[0103] In a further step b), the tissue glucose level is determined using the series of measurements provided, based on a sensor model, in which, by means of a sensor model, measurements of the sensor device are correlated to the tissue glucose levels while taking into account measurement noise.

[0104] In a further step c), a state transition model is provided, in which, by means of the state transition model, at least one glucose level in the transport fluid is correlated to the tissue glucose levels that have been determined while taking into account process noise.

[0105] In a further step d), the current glucose level is determined, based on the provided state transition model and the tissue glucose level that has been determined, in which, at least step d), particularly steps b)-d), is carried out using at least one Moving Horizon Estimation Method.

[0106] FIG. 3 shows a comparison of a process according to one embodiment of the present invention with already known processes.

[0107] Below a comparison of different blood glucose estimation processes is explained and the result is presented in FIG. 3. In detail, the estimation processes are carried out with the same sensor device—Fiber sense—being known from the non-patent literature KUster, Nikolaus et al. “First Clinical Evaluation of a New Percutaneous Optical Fiber Glukose Sensor for Continuous Glukose Monitoring in Diabetes” (Journal of Diabetes Science and Technology 7, 1 (2014), 13-23), which determines the blood glucose content on the basis of fluorescence measurements exhibiting a sampling rate every 2 minutes. An estimation of the blood glucose concentration by means of a Moving Horizon estimation method according to an embodiment of the present invention is compared here with two other estimation methods, the Kalman-Filtering KF as well as with a smoothed sensor signal with a sliding mean average filter MA. Additionally, the effect of different parameters on the blood glucose estimation is explained. Here the data were gathered using eight type 1 and eight type 2 diabetes patients, in which the corresponding CGM sensor of the sensor device was carried over 28 days. On days 1, 7, 15 and 28, reference data were ascertained every 10 minutes over a time of 4 houses with the use of Yellow Springs Instrument (YSI) 2300 STAT Plus Glukose analyzer (YSI Life Sciences, Yellow Springs, Ohio).

[0108] Furthermore, the horizon for the Moving Horizon Estimation was set at N=10 and the horizon for the noise adjustment was set at n−50. The Kalman filtering here is based on equation (5). A diffusion constant or respectively a time constant of τ=6 minutes was assumed for both processes. Overall, the filtered signals of the CGM system, namely {circumflex over (x)}.sub.k.sup.b, were produced by means of the Moving Horizon Estimation method as well as by means of the Kalman filter and compared to the smoothed signal by means of the sliding mean average, based on their agreement at any given time with the measured reference data during the clinical monitoring. For the evaluation of the three different estimation methods, three evaluation parameters are used, first the mean absolute relative difference (MARD), the root of the mean squared error (RMSE) and the maximal relative absolute difference (maxRAD) of the four clinical measurements of all 16 patients.

[0109] In the following table, for the evaluation of the media, the 25% quartile—Q1—and the 75% quartile—Q3—of the corresponding three evaluation parameters are shown.

TABLE-US-00001 method MARD [%] RMSE [mg/dl] RMSE [mg/dl] MHE 6.1 [4.3, 9.3] 8.2 [5.7, 11.2] 19.0 [13.0, 29.5] KF 7.1 [4.6, 9.6] 9.6 [6.9, 12.5] 20.0 [14.9, 31.2] MA 7.8 [5.3, 11.6] 11.6 [8.1, 15.2] 22.8 [14.3, 31.9]

[0110] It is to be understood that the Moving Horizon Estimation method leads to the best results of all three evaluation parameters, followed by the Kalman filter signal KF. The signal MA that is smoothed by means of the sliding mean average, which represents a filtered tissue glucose signal, does not take into account the diffusion process between the blood glucose concentration and the tissue glucose concentration and leads to correspondingly poor results.

[0111] To represent the effect of the calibration of the sensor, different calibration methods are explained below and compared with one another.

[0112] Here, past estimation results {circumflex over (x)}.sub.k-N+1|k.sup.b can be used. This signal will be referred to below as {circumflex over (X)}.sup.b signal pMHE, comprising earlier estimation results and providing small parameters compared with the results of the Moving Horizon signal, which comprises only the current estimation values {circumflex over (x)}.sub.k|k.sup.b (median MARD=5,1%, median RMSE=7.1 mg/dL and median maxRAD=14.2 mg/dL).

[0113] The previous, estimated values {circumflex over (X)}.sub.k-N+1|k.sup.b accordingly improve the blood glucose measurements and result in an improvement in the sensor calibration. The increased accuracy results from an improved consideration of the time delay. An “over-shoot” because of rapid changes in the blood glucose concentration or because of noise is likewise reduced.

[0114] An effect on the accuracy of the blood glucose estimation using the CGM signal on the calibration error will be described below. For this, a so-called two-point calibration method is used. Two reference measurements b.sub.1, b.sub.2 and the corresponding blood glucose results in time ({circumflex over (x)}.sub.1.sup.b, {circumflex over (x)}.sub.2.sup.b) are used to calculate the sensor parameters according to

[00026] p 0 = b 2 - b 1 x ^ 2 b - x ^ 1 b and p 1 = b 1 - p 0 x ^ 1 b

[0115] Every reference combination and for every estimated, non-calibrated blood glucose signal (MHE, pMHE, KF and MA), the sensor parameters are identified and the blood glucose concentration is calculated. Table 2 that follows

TABLE-US-00002 method MARD [%] RMSE [mg/dl] pMHE 10.1 [5.5, 21.5] 18.2 [10.5, 37.2] MHE 12.0 [6.8, 25.6] 21.5 [12.7, 43.2] KF 12.6 [7.4, 26.7] 23.0 [14.1, 45.0] MA 14.3 [8.3, 29.3] 26.0 [16.5, 50.0]
shows medians and quartiles of the MARD and RMSe methods for all possible calibrations. From Table 2, it can be seen that the pMHE method exhibits the smallest median and the smallest interquartile distance from MARD and RMSE.

[0116] In summary, at least one of the embodiments of the invention has at least one of the following advantages and/or features: [0117] Compensation of the time delay through modeling of the diffusion process and estimation of the blood sugar on a moving horizon in the past (Moving Horizon Estimation method) [0118] Limitation to the physiological range guarantees robustness with respect to outliers. [0119] Adaptive determination of the regulation factors of the problem combines adaptive estimation of the measurement noise and of the state noise. [0120] Adaptation of slowly changing model parameters are additionally possible. [0121] Efficient implementation guarantees a high degree of accuracy with limit computational effort. [0122] Efficient computational estimation over time of the blood sugar on a past horizon. [0123] Adaptation of model parameters [0124] Increase in the robustness of the estimation by the introduction of limitations. [0125] Flexibility with respect to the sensor model, for example, even non-linear sensor models can be used. [0126] Less computational effort to save the limited lifetime of the batteries. [0127] Limitation to the physiological range, guarantees a physiologically reasonable solution. [0128] Optimizing the past horizon improves the estimation of the blood sugar for calibration.

[0129] Although the present invention was described using preferred embodiment, it is not limited to these, but rather may be modified in various ways.