This application is the national phase entry of International Application No. PCT/CN2018/109283, filed on Oct. 8, 2018, which is based upon and claims priority to Chinese Patent Application No. 201710947227.0, filed on Oct. 12, 2017, the entire contents of which are incorporated herein by reference.
The invention relates to the technical field of intelligent medical devices, and in particular, to an intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data.
There are various types of biosensors for sensing a variety of analytes in the market. The most widely used and most common biosensor is the amperometric glucose sensor, which is critical for successfully controlling the glucose level in patients having diabetes mellitus. Currently, implantable glucose sensors are the most advanced continuous human blood glucose monitoring system in the world. A sensor probe is implanted into the dermal tissue to monitor the glucose content in the subcutaneous interstitial fluid and the human blood glucose value calculated.
The signal obtained by the amperometric glucose sensor is easily affected by chemical differences of individuals, their lifestyle habits and physical condition. These include, but are not limited to, differences in glucose content between the subcutaneous tissue fluid and capillary and venous blood, the time delay between the fluctuation change of blood glucose and the change of glucose content in the subcutaneous interstitial fluid, rejection of the sensor by the body resulting in the formation of an impermeable sheath-like protein layer covering the sensor, and the local skin discomfort and allergic reactions caused by the sensor over time. As a result, the amperometric electrochemical sensor cannot distinguish the signal source of its working electrode, which substantially impacts the accuracy of glucose monitoring and the health and well-being of the individual.
For this reason, the amperometric electrochemical sensor needs a set of solutions that can correct the signal. At present, the general method is to remind the user to compare the signal value measured by the sensor with the finger blood glucose value measured by the blood glucose meter on a regular basis, so as to manually recalibrate the sensor signal. Adjustment of the correlation between the current signal and the concentration of analyte must also be done manually to ensure accuracy. This increases the difficulty and complexity of use of the sensor, which causes user inconvenience, frustration and unacceptable risk to the user's health.
The purpose of the invention is to provide an intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data, so as to solve the shortcomings of the prior art.
The invention includes the following technical scheme.
An intelligent real-time dynamic blood glucose monitoring system based on cloud big data includes an implantable dynamic glucose sensor, a smart phone and a blood glucose monitoring application software installed on the smart phone, a finger blood glucose meter and a cloud big data server.
The implantable dynamic glucose sensor includes a replaceable sensor probe, a reusable signal collector and a signal transmitter with an electrochemical impedance spectrum measurement function, wherein the output of electrochemical impedance spectrum measurement includes the impedance value and phase of the impedance or the real and imaginary parts of the impedance. The signal transmitter of implantable dynamic glucose sensor is connected with the smart phone through wireless connection and transmits data with blood glucose monitoring application software.
The smart phone and the blood glucose monitoring application software installed on the smart phone have the functions of data transmission with the implantable dynamic glucose sensor and finger blood glucose meter by way of wireless communication technology, as well as data uploading and downloading through the smart phone data network or wireless network and cloud big data server.
The finger blood glucose meter collects blood samples from the user's fingertips for blood glucose measurement, and transmits data with the smart phone through wireless transmission.
The cloud big data server includes the functions of storing, updating, calculating and transmitting the user's personal information and historical data. The cloud big data server automatically corrects and calculates the parameter output data of the implantable dynamic glucose sensor and sends it to the smart phone terminal according to the user's historical data in the cloud database.
Preferably, the user's personal information and historical data stored in the cloud big data server include the user's name, gender, age, contact number, serial number and related information of the implantable dynamic glucose sensor, raw data Is of the implantable dynamic glucose sensor, signal-to-noise ratio SNR, blood glucose output value SG and the corresponding data measurement time and date Ts, the conversion coefficient CF and related parameters between the original data of the sensor and the blood glucose value, the blood glucose value BG measured by the users through the finger blood glucose meter and corresponding measurement time and date Tb, the electrochemical impedance data Z measured by the implantable dynamic glucose sensor and corresponding measurement time and date Tz.
Preferably, the conversion coefficient CF between the original data of the sensor stored and calculated in the cloud big data server and the blood glucose value at the time point t is calculated as follows
wherein, the time point t is the zero point when the sensor is started. CF0 is the initial value of conversion coefficient. CFd is the change rate of conversion coefficient. CFcal is the correction compensation coefficient adjusted according to the blood glucose measurement value BG. CFcomp is the compensation conversion coefficient adjusted according to electrochemical impedance data Z; α, β are the weight coefficients of CFcomp and CFcal, with the value range of 0<α<10, 0<β<10.
The cloud big data server calculates the corresponding CF related parameters through a regression algorithm according to the real-time updated data and historical data of specific users.
Preferably, CF0 and CFd are calculated as follows:
for each new user, the preset CF0 and CFd are used to calculate the sensor output blood glucose value:
SG=Is×(CF0+CFd×t)=Is×CF0+(Is×t)CFd
After the user has used the finger blood glucose meter to measure and compare their own blood glucose, the measured value of the blood glucose meter is collected through the smart phone and uploaded to the cloud big data server. The updated CF0 and CFd are calculated by regression equation. The specific method is as follows:
step A, extracting sample data: near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb −Ts| is less than the threshold value, and extracting the following data:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. Ts: time stamp data of dynamic glucose sensor
5. T0s: start time stamp data of dynamic glucose sensor selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn Tsn T0sn] for calculation;
using the data of the last three to six months for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can be from multiple sensor probes of the same model;
step B, establishing the sample matrix:
wherein, tn=Tsn−T0sn;
step C, establishing the coefficient matrix:
step D, constructing the weight matrix:
wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater the weight is;
step E, solving the overdetermined equation G=IC:
using the weighted least square method to solve the matrix equation Ĉ=(ITWI)−1ITWG;
step F, eliminating abnormal data: calculating the residual matrix ε=G−IĈ, removing the data items with residuals greater than the threshold value, and then repeating step B to E of the regression algorithm to obtain updated values and of CF0 and CFd;
step G, finally, using the obtained and calculated by regression to correct the current set CF0 and CFd with a certain correction ratio γ as the conversion coefficient setting of the next dynamic glucose sensor:
CF0:=(1−γ)×CF0+γ×
CFd:=(1−γ)×CFd+γ×
the range of γ values is 0<γ<1.
Preferably, the calculation method of CFcal in the cloud big data server is as follows:
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signals Is and CFcal should conform to the following relationship with the smallest possible error:
BG=Is×CFcal
step A, obtaining a new blood glucose value BG and measurement time Tb after each time the user uses the finger blood glucose meter for blood glucose detection, and selecting the dynamic glucose sensor data with time interval |Tb−Ts| less than the threshold value at the same time:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. SNR: signal-to-noise ratio of dynamic glucose sensor current signal
5. Ts: time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn SNRn Tsn] for calculation;
using the data in the latest period for regression, and arranging the subscript number n of the historical data variable in reverse order of Ts, that is, the closer to the current historical data, the smaller the subscript number. All the dynamic glucose sensor data must come from the same sensor probe; in which, the last period includes the last 5 days, the last 7 days, the last 10 days or the same period as the service life of the replaceable sensor probe;
step B, using regression algorithm to calculate the updated value CFcal′ of CFcal:
wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater the weight is.
Preferably, the calculation method of CFcomp is as follows:
CFcomp is a parameter associated with the measured value Z of electrochemical impedance by the correlation Fcomp(Z;Ω):
CFcomp=Fcomp(Z;Ω)=Ωa×M(Z/Z0)+Ωb
wherein, Ω is the built-in parameter array specific to the sensor
is a function related to impedance data Z, and Z0 is the impedance value measured by the sensor in a controlled experimental environment;
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:
step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. Z: Impedance data of dynamic glucose sensor
5. Tz: time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;
using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model;
step B, establishing sample matrix and weight matrix:
wherein, Tz′n=Tcurrent−Tzn
the closer to the current time, the greater the weight is;
step C, solving the overdetermined equation G=IΩ;
using the weighted least square method to solve the matrix equation {circumflex over (Ω)}=(ITWI)−1ITWG;
step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−I{circumflex over (Ω)}, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to obtain the optimal solution {circumflex over (Ω)};
step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:
Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}
the range of γ values is 0<γ<1.
Preferably, another calculation method of CFcomp is as follows:
CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp (Z;Ω):
wherein, Ω is the built-in parameter array specific to the sensor
and Z0 is the impedance value measured by the sensor in a controlled experimental environment;
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:
BG=Is×CFcomp=Is×Ωa×(Z/Z0)Ωb
taking the natural logarithm of both ends of the equation and getting
Ln(BG)=Ln[Is×Ωa×(Z/Z0)Ωb]=Ln(Is)+Ln(Ωa)+Ωb×Ln(Z/Z0)
letting the parameter matrix
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;
using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of the dynamic glucose sensor can come from multiple sensor probes of the same model;
step B, establishing sample matrix and weight matrix:
wherein, Tz′n=Tcurrent−Tzn
the closer to the current time, the greater the weight is;
step C, solving the overdetermined equation G=I(LΩ);
using the weighted least square method to solve the matrix equation =(ITWI)−1ITWG;
step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution ; then calculating the Ωa from the value Ln(Ωa) obtained by the solution , and getting
step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:
Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}
the range of γ values is 0<γ<1.
An intelligent real-time dynamic blood glucose monitoring method based on cloud big data includes the following steps:
step 1: when the smart phone application detects that the implantable dynamic glucose sensor is connected with the smart phone and initiates operation, firstly, judging whether the user has a history of using the same type of implantable dynamic glucose sensor, if not, determining that the user is a new user, and initiating use of the conversion coefficient CF0 between the preset sensor signal Is and the blood glucose output value and the conversion coefficient change rate CFd, and uploading the data to cloud big data server. At the same time, outputting blood glucose monitoring value according to the preset conversion correlation through the implantable dynamic glucose sensor. If there is historical data of the user, determining that the user is an existing user, and downloading the records of the latest CF0 and CFd to the implantable dynamic glucose sensor from the cloud big data server through the smart phone as a parameter for calculating the sensor's blood glucose output value;
step 2: detecting whether the current time has reached a new measurement cycle through the implantable dynamic glucose sensor, if not, letting the system wait until entering a new measurement cycle, then, in each new measurement cycle, calculating the conversion coefficient CF (t) in the cycle, wherein t is the interval between the current timestamp Ts and the sensor start-up time T0s, wherein the operation in step 2 includes three input data points obtained from the sensor: sensor start-up time T0s, current timestamp Ts and Is (t), and may also contain the impedance measurement information Z obtained by the sensor in the current measurement cycle and parameters Ω and CFcal obtained or updated by the cloud big data server communication.
The process of calculating and outputting SG includes the following steps:
step A, firstly, checking whether there is newly acquired impedance measurement data Z in the current measurement cycle, if so, detecting the change of the impedance value from the last measurement and the update of CFcal. If there is no CFcal update recently and Z changes significantly, updating the compensation local conversion parameter CFcomp and uploading the impedance measurement data Z and timestamp Tz to the cloud big data server. If the change in Z is not significant, or CFcal is updated, only uploading the impedance measurement data Z and timestamp TZ, and using the current compensation conversion parameter CFcomp.
step B, checking whether the cloud big data server has newly acquired impedance compensation parameter Ω′ and correction conversion parameter CFcal through smart phone in the current cycle; if yes, downloading updated Ω′ and CFcal′ from the cloud big data server through smart phone; if not, continuing to use current Ω and CFcal.
step C, calculating the current conversion coefficient CF(t), and the calculation formula is as follows:
wherein, α, β are the weight coefficients of CFcomp and CFcal respectively, and the value range is 0<α<10, 0<β<10.
step D, obtaining the current signal Is (t) of the sensor and calculating the output blood glucose value SG (t) of the sensor, wherein the calculation formula is SG(t)=Is(t)×CF(t).
step 3: uploading the original output current signal value of the sensor, the calculated SG value, and the corresponding timestamp Ts to the cloud big data server through the smart phone.
step 4: when the smart phone receives the signal that the probe of the implantable dynamic glucose sensor reached the service life, informing the cloud computing module to calculate the new conversion coefficient CF0 and the conversion coefficient change rate CFd through a regression algorithm, and when the user uses the next new sensor probe, informing the dynamic glucose sensor to update the parameters through the smart phone in step 1.
step 5: when the user is using the implantable dynamic glucose sensor, if the user also uses the finger blood glucose meter for blood glucose measurement at the same time, uploading the measured blood glucose value BG and timestamp Tb to the cloud database through the smart phone.
step 6: when the cloud database receives the finger blood glucose meter data through the smart phone, informing the cloud computing module to calculate the new impedance compensation parameter Ω′ and the correction conversion parameter CFcal′ through the regression algorithm, and transferring the calculation results to the smart phone, then informing the implantable dynamic glucose sensor to update the parameters through the smart phone, so that the implantable dynamic glucose sensor can update the parameters in step 2.
The Beneficial Effects of the Invention are as Follows.
1. The invention provides a real-time dynamic blood glucose monitoring system including a smart phone and a cloud big data server, which can effectively correct the influence of individual differences of the user on the signal of the implanted sensor by accessing and processing historical blood glucose measurement data of the user stored in the cloud, so as to ensure the quality and accuracy of the measurement signal during operation of the sensor. This scheme is suitable for current electrochemical sensors containing oxidoreductase or redox pair media. The typical application can be an implantable glucose sensor for human subcutaneous tissue fluid containing glucose oxidase, but not limited to such applications.
2. The invention establishes a set of algorithms, by way of establishing a regression equation characteristic of the current signal, the electrochemical impedance measurement result and the user's historical blood glucose data, and solving the over determined equation group to compensate and modify the output result of the blood glucose value calculated by the dynamic blood glucose monitoring system, so as to improve the accuracy of the output result.
The invention will be further explained in combination with the embodiment and the accompanying drawings. The following embodiments are only used to illustrate the invention, but not to limit the scope of implementation of the invention.
An intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data is provided. As shown in
The glucose sensor includes a replaceable sensor probe, a reusable signal collector and a signal transmitter having an electrochemical impedance spectrum measurement function. The output of electrochemical impedance spectrum measurement includes the impedance value and phase or the real and imaginary parts of impedance. The frequency of electrochemical impedance measurement is less than the frequency of the glucose current signal measured by the sensor. The signal transmitter of the implantable dynamic glucose sensor is connected with the smart phone through a wireless connection such as Bluetooth communication, and transmits data with the blood glucose monitoring application software. In the connection and data transmission between the smart phone and the dynamic glucose sensor, the dynamic glucose sensor may only transmit the original current, impedance and time information. The calculation of blood glucose value and the storage of relevant parameters CF (t), CF0, CFd, CFcal and CFcomp, as well as the cloud data storage and updating, are realized in the smart phone application software, which may be a software as a service (SaaS).
The smart phone and the blood glucose monitoring application software installed on the smart phone have the functions of data transmission between the embedded glucose sensor and the finger blood glucose meter by way of wireless communication technology, as well as data uploading and downloading through the smart phone data network or wireless network and cloud big data server. Smart phones can also be other smart devices, such as a tablet, PC, laptop or the like.
The finger blood glucose meter has the function of collecting blood samples from a user's fingertips for blood glucose measurement, and can transmit data with the smart phone by way of wireless transmission;
The cloud big data server has the functions of storing, updating, calculating and transmitting the user's personal information and historical data. The user's personal information and historical data stored by the cloud big data server include, but are not limited to, the user's name, gender, age, contact number, serial number and related information of the user's implanted dynamic glucose sensor, original data Is of the sensor, signal to noise ratio (SNR), blood glucose output value SG and corresponding data measurement time and date Ts, conversion coefficient CF between sensor original data and blood glucose value and its related parameters, blood glucose value BG measured by user with the finger blood glucose meter and corresponding measurement time and date Tb, electrochemical impedance data measured by the implantable dynamic glucose sensor and corresponding measurement time and date Tz. The cloud big data server automatically corrects and calculates the parameter output data of the implantable dynamic glucose sensor and sends it to the smart phone terminal according to the user's historical data in the cloud database.
The conversion coefficient CF between the sensor raw data and the blood glucose value stored and calculated in the cloud big data server at time point t is calculated as follows
wherein, time point t is the zero point when the sensor is started; CF0 is the initial value of conversion coefficient. CFd is the change rate of the conversion coefficient. CFcal is the correction compensation coefficient adjusted according to the blood glucose measurement value BG. CFcomp is the compensation conversion coefficient adjusted according to the electrochemical impedance data Z, which is calculated by the impedance measurement result Z and built-in compensation parameter array Ω. α, β are the weight coefficients of CFcomp and CFcal, the value range is 0<α<10, 0 <β<10.
The cloud big data server calculates the corresponding CF related parameters through the regression algorithm according to the real-time updated data and historical data of specific users.
CF0 and CFd are calculated as follows:
For each new user, the preset CF0 and CFd are used to calculate the sensor output blood glucose value:
SG=Is×(CF0+CFd×t)=Is×CF0+×t)×CFd
After the user has used the finger blood glucose meter to measure and compare their own blood glucose, the measured value of the blood glucose meter is collected through the smart phone and uploaded to the cloud big data server, and the updated CF0 and CFd are calculated by regression equation. The specific method is as follows:
step A, extracting sample data: near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Ts| is less than the threshold value, and extracting the following data:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. Ts: time stamp data of dynamic glucose sensor
5. T0s: start time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn Tsn T0sn] for calculation; and
using the data of the last three to six months for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model.
step B, establishing the sample matrix:
wherein, tn=Tsn−T0sn.
step C, establishing the coefficient matrix:
step D, constructing the weight matrix:
wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater its weight is. For example:
step E, solving the overdetermined equation G=IC:
using the weighted least square method to solve the matrix equation Ĉ=(ITWI)−1ITWG.
step F, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−IĈ, removing the data items with residuals greater than the threshold value, and then repeating step B to E of regression algorithm to obtain the sum of updated values and of CF0 and CFd.
step G, finally, using the obtained and calculated by regression to correct the current set CF0 and CFd with a certain correction ratio γ as the conversion coefficient setting of the next dynamic glucose sensor:
CF0:=(1−γ)×CF0+γ×
CFd:=(1−γ)×CFd+γ×
The range of γ values is 0<γ<1. For example, γ=0.6.
The calculation method of CFcal in the cloud big data server is as follows:
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signals Is and CFcal should conform to the following relationship with the smallest possible error:
BG=Is×CFcal
step A, obtaining a new blood glucose value BG and measurement time Tb after each time the user uses the finger blood glucose meter for blood glucose detection, and selecting the dynamic glucose sensor data with time interval |Tb−Ts| less than the threshold value at the same time:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. SNR: signal-to-noise ratio of dynamic glucose sensor current signal
5. Ts: time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn SNRn Tsn] for calculation;
using the data in the latest period for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number. All the dynamic glucose sensor data must come from the same sensor probe; wherein, the latest period includes the last 5 days, the latest 7 days, the last 10 days or the same period as the service life of the replaceable sensor probe;
step B, using regression algorithm to calculate the updated value CFcal′ of CFcal:
wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater its weight is. For example:
The calculation method of CFcomp is as follows:
CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp(Z;Ω):
CFcomp=Fcomp(Z;Ω)=Ωa×M(Z/Z0)+Ωb
wherein, Ω is the built-in parameter array specific to the sensor
is a function related to impedance data Z, and Z0 is the impedance value measured by the sensor in a controlled experimental environment. In this example, M(Z/Z0)=eZ/Z0;
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:
step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. Z: Impedance data of dynamic glucose sensor
5. Tz: time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;
using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model;
step B, establishing sample matrix and weight matrix:
wherein, Tz′n=Tcurrent−Tzn
The closer Tzn is to the current time, the greater its weight is. For example,
step C, solving the overdetermined equation G=IΩ;
using the weighted least square method to solve the matrix equation {circumflex over (Ω)}=(ITWI)−1ITWG;
step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−I{circumflex over (Ω)}, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution {circumflex over (Ω)};
step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:
Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}
The range of γ values is 0<γ<1. For example, γ=0.75.
Another calculation method of CFcomp is as follows:
CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp(Z;Ω):
wherein, Ω is the built-in parameter array specific to the sensor
and Z0 is the impedance value measured by the sensor in a controlled experimental environment;
when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:
BG=Is×CFcomp=Is×Ωa×(Z/Z0)Ωb;
taking the natural logarithm of both ends of the equation and obtaining
Ln(BG)=Ln[Is×Ωa×(Z/Z0)Ωb]=Ln(Is)+Ln(Ωa)+Ωb×Ln(Z/Z0)
letting the parameter matrix
step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic blood glucose meter data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:
1. BG: measured data of finger blood glucose meter
2. SG: blood glucose calculation data of dynamic glucose sensor
3. Is: current data of dynamic glucose sensor
4. Z: Impedance data of dynamic glucose sensor
5. Tz: time stamp data of dynamic glucose sensor
selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;
using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number. The data of dynamic glucose sensor can come from multiple sensor probes of the same model;
step B, establishing sample matrix and weight matrix:
wherein, Tz′n=Tcurrent−Tzn
The closer is to the current time, the greater its weight is;
step C, solving the overdetermined equation G=I(LΩ);
using the weighted least square method to solve the matrix equation =(ITWI)−1ITWG;
step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution ; then calculating the Ωa from the value Ln(Ωa) obtained by the solution , and obtaining
step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:
Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}
The range of γ values is 0<γ<1. For example, γ=0.5.
An intelligent real-time dynamic blood glucose monitoring method based on cloud big data as shown in
step 1: when the smart phone application detects that the implantable dynamic glucose sensor is connected with the smart phone and begins operation, firstly judging whether the user has the history of using the same type of implantable dynamic glucose sensor. If not, determining that the user is a new user, and starting to use the conversion coefficient CF0 between the preset sensor signal Is and the blood glucose output value and the conversion coefficient change rate CFd, and uploading the data to the cloud big data server. At the same time, outputting the blood glucose monitoring value according to the preset conversion correlation through the glucose sensor. If there is historical data of the user, determining whether the user is an existing user, and downloading the records of the latest CF0 and CFd to the implantable dynamic glucose sensor from the cloud big data server through the smart phone as a parameter for calculating the sensor's blood glucose output value.
step 2: detecting whether the current time has reached a new measurement cycle through the implantable dynamic glucose sensor. If not, leaving the system idle until entering a new measurement cycle, then, in each new measurement cycle, calculating the conversion coefficient CF (t) in the cycle, in which t is the interval between the current timestamp Ts and the sensor start-up time T0s, wherein the operation in step 2 includes three input data points obtained from the sensor: sensor start-up time T0s; current timestamp Ts; and Is (t), and may also contain the impedance measurement information Z obtained by the sensor in the current measurement cycle and parameters Ω and CFcal obtained or updated by the cloud big data server communication.
The process of calculating and outputting SG includes the following steps:
step A, firstly, checking whether there is newly acquired impedance measurement data Z in the current measurement cycle. If so, detecting the change of the impedance value from the last measurement and the update of CFcal. If there is no CFcal update recently and Z changes significantly, updating the compensation local conversion parameter CFcomp and uploading the impedance measurement data Z and timestamp Tz to the cloud big data server. If the change in Z is not significant or if CFcal is updated, only uploading the impedance measurement data Z and timestamp TZ, and using the current compensation conversion parameter CFcomp;
step B, checking whether the cloud big data server has newly acquired impedance compensation parameter Ω′ and correction conversion parameter CFcal through smart phone in the current cycle; if yes, downloading updated Ω′ and CFcal′ from the cloud big data server through smart phone; if not, continuing to use current Ω and CFcal;
step C, calculating the current conversion coefficient CF (t), and the calculation formula is as follows:
wherein, α, β are the weight coefficients of CFcomp and CFcal respectively, and the value range is 0<α<10, 0 <β<10;
step D, obtaining the current signal Is (t) of the sensor and calculating the output blood glucose value SG (t) of the sensor. The calculation formula is SG(t)=Is(t)×CF(t);
step 3: uploading the original output current signal value of the sensor, the calculated SG value, and the corresponding timestamp Ts to the cloud big data server through the smart phone;
step 4: when the smart phone receives the signal that the probe of the implantable glucose sensor reached the service life, informing the cloud computing module to calculate the new conversion coefficient CF0 and the conversion coefficient change rate CFd through the regression algorithm, and when the user uses the next new sensor probe, informing the dynamic glucose sensor to update the parameters through the smart phone in step 1;
step 5: when the user is using the implantable dynamic glucose sensor, if the user also uses the finger blood glucose meter for blood glucose measurement at the same time, uploading the measured blood glucose value BG and timestamp Tb to the cloud database through the smart phone;
step 6: when the cloud database receives the finger blood glucose meter data through the smart phone, informing the cloud computing module to calculate the new impedance compensation parameter Ω′ and the correction conversion parameter CFcal′ through the regression algorithm, and pushing the calculation results to the smart phone, then informing the implantable dynamic glucose sensor to update the parameters through the smart phone, so that the implantable dynamic glucose sensor can update the parameters in step 2.
Number | Date | Country | Kind |
---|---|---|---|
201710947227.0 | Oct 2017 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/109283 | 10/8/2018 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/072142 | 4/18/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20170000391 | Wasson et al. | Jan 2017 | A1 |
20170071513 | Hoss et al. | Mar 2017 | A1 |
20170074757 | Garcia | Mar 2017 | A1 |
Number | Date | Country |
---|---|---|
104736057 | Jun 2015 | CN |
106456065 | Feb 2017 | CN |
106535762 | Mar 2017 | CN |
107135644 | Sep 2017 | CN |
2017116503 | Jul 2017 | WO |
Number | Date | Country | |
---|---|---|---|
20230240565 A1 | Aug 2023 | US |