Detecting pressure pulses in a blood processing apparatus
10729835 ยท 2020-08-04
Assignee
Inventors
- Jan STERNBY (Lund, SE)
- Mattias Holmer (Lund, SE)
- Bo Olde (Lund, SE)
- Kristian Solem (Kavlinge, SE)
- Anders Wallenborg (Bjarred, SE)
- Per Hansson (Akarp, SE)
Cpc classification
A61M1/3653
HUMAN NECESSITIES
A61M1/1605
HUMAN NECESSITIES
A61M2205/3344
HUMAN NECESSITIES
A61M2205/13
HUMAN NECESSITIES
A61M1/3639
HUMAN NECESSITIES
A61M1/14
HUMAN NECESSITIES
A61M1/3656
HUMAN NECESSITIES
A61M1/1613
HUMAN NECESSITIES
A61M2230/04
HUMAN NECESSITIES
A61M1/3659
HUMAN NECESSITIES
A61B5/7217
HUMAN NECESSITIES
B01D61/30
PERFORMING OPERATIONS; TRANSPORTING
International classification
A61M1/14
HUMAN NECESSITIES
A61B5/00
HUMAN NECESSITIES
A61M1/36
HUMAN NECESSITIES
Abstract
A monitoring device operates on a pressure signal from a blood processing apparatus which has an extracorporeal blood circuit for pumping blood through a dialyzer, and a treatment fluid supply system for pumping a treatment fluid through the dialyzer. The monitoring device has a first input block for obtaining a first pressure signal, and a second input block for obtaining a second pressure signal. An emulation block generates, as a function of the second pressure signal, an emulated first pressure signal which emulates a concurrent signal response of the first pressure sensor, and a filtering block generates a filtered signal as a function of the first pressure signal and the emulated first pressure signal, so as to suppress, in the filtered signal compared to the first pressure signal, signal interferences originating from the treatment fluid supply system. A pulse detection block processes the filtered signal for detection of subject pulses.
Claims
1. A system for extracorporeal blood processing comprising: an extracorporeal blood circuit including a blood withdrawal device and a blood return device for connection to the vascular system of a subject; a blood processing unit in fluid communication with the extracorporeal blood circuit and with a treatment fluid; a first pressure sensor arranged in the extracorporeal blood circuit to detect pressure variations in blood pumped through the blood processing unit; a second pressure sensor positioned and arranged to detect pressure variations in the treatment fluid pumped through the blood processing unit; and a monitoring device including: a first input block configured to obtain a first pressure signal (y) from the first pressure sensor; a second input block configured to obtain a second pressure signal (u) from the second pressure sensor; an emulation block configured to generate, as a function of the second pressure signal (u), an emulated first pressure signal () that emulates a signal response of the first pressure sensor concurrently over a period of time of the first pressure signal of the first pressure sensor; a filtering block configured to generate a filtered signal (y.sub.f) as a function of the first pressure signal (y) and the emulated first pressure signal (), so as to suppress, in the filtered signal (y.sub.f) compared to the first pressure signal (y), signal interferences originating from a treatment fluid supply system; and a pulse detection block configured to process the filtered signal (y.sub.f) for detection of subject pulses originating from the subject, wherein the monitoring device is configured to signal a dislodgement of the blood return device from the vascular system of the subject based on a detected absence of subject pulses in the filtered signal (y.sub.f) by the pulse detection block.
2. The system for extracorporeal blood processing of claim 1, wherein the emulated first pressure signal () is generated as a time sequence of emulated signal values, and wherein the emulation block is configured to generate each emulated signal value to represent an instant signal response of the first pressure sensor as a function of one or more preceding signal values in the second pressure signal (u).
3. The system for extracorporeal blood processing of claim 2, wherein the emulation block is configured to generate each emulated signal value to represent an instant signal response of the first pressure sensor as a function of preceding signal values in the second pressure signal (u) and as a function of preceding signal values of the first pressure signal (y).
4. The system for extracorporeal blood processing of claim 2, wherein the filtering block is configured to subtract each emulated signal value from a corresponding signal value of the first pressure signal (y) to generate a filtered signal value in the filtered signal (y.sub.f).
5. The system for extracorporeal blood processing of claim 1, wherein the emulation block is configured to, in the emulated first pressure signal (), emulate the signal response of the first pressure sensor with respect to magnitude, shape and timing of the signal interferences originating from the treatment fluid supply system.
6. The system for extracorporeal blood processing of claim 1, wherein the emulation block is configured to generate the emulated first pressure signal () using a first model function which includes a set of model parameters, wherein the set of model parameters define a weighted sum of preceding signal values within a moving time window of fixed length in the second pressure signal (u) and, optionally, preceding signal values within a further moving time window of fixed length in the first pressure signal (y).
7. The system for extracorporeal blood processing of claim 6, wherein the first model function is a controlled autoregressive model or a controlled autoregressive moving average model.
8. The system for extracorporeal blood processing of claim 6, wherein the emulation block is configured to update the set of model parameters as a function of time.
9. The system for extracorporeal blood processing of claim 8, wherein the emulation block is configured to recursively update the set of model parameters.
10. The system for extracorporeal blood processing of claim 6, which is configured to repeatedly perform a processing sequence that includes: obtaining, by the first input block, a signal value of the first pressure signal (y); obtaining, by the second input block, a signal value of the second pressure signal (u); retrieving, by the emulation block, an emulated signal value of the emulated first pressure signal (), the emulated signal value being calculated in a preceding processing sequence; generating, by the filtering block, a filtered signal value by subtracting the emulated signal value from the signal value of the first pressure signal (y); updating, by the emulation block, a measurement vector to include the signal value of the second pressure signal (u), such that the updated measurement vector contains the preceding signal values within the moving time window for a subsequent processing sequence; optionally updating, by the emulation block, the updated measurement vector to include the signal value of the first pressure signal (y), such that the optionally updated measurement vector contains the preceding signal values within the further moving time window for the subsequent processing sequence; and calculating, by the emulation block and as a function of the set of model parameters and the updated measurement vector or the optionally updated measurement vector, an emulated signal value for use in a forthcoming processing sequence.
11. The system for extracorporeal blood processing of claim 10, wherein the emulation block is configured to recursively compute, in each of the preceding, subsequence and forthcoming processing sequences, at least during a start-up phase of the monitoring device, a vector xe(s) containing values of the set of model parameters according to:
12. The system for extracorporeal blood processing of claim 11, wherein the emulation block is configured to evaluate [y(s)(s).sup.T.Math.x.sub.e(s1)] by obtaining the filtered signal value generated by the filtering block in the current processing sequence.
13. The system for extracorporeal blood processing of claim 12, wherein the global weighting factor is smaller than 1, <1.
14. The system for extracorporeal blood processing of claim 12, wherein at least a subset of the constant values in R are non-zero.
15. The system for extracorporeal blood processing of claim 1, wherein the emulation block is configured to generate the emulated first pressure signal by use of a FIR (Finite Impulse Response) filter or an IIR (Infinite Impulse Response) filter.
16. The system for extracorporeal blood processing of claim 1, wherein the first and second input blocks are configured to perform a filtering process to essentially eliminate pressure pulsations that originate from a blood pumping device in the first pressure signal (y) and the second pressure signal (u), respectively.
17. The system for extracorporeal blood processing of claim 1, wherein the extracorporeal blood circuit and the treatment fluid supply system are included in an apparatus for extracorporeal blood processing, and wherein the first and second input blocks are configured to perform a filtering process to essentially eliminate, in the first pressure signal (y) and the second pressure signal (u), respectively, periodic pressure pulsations that originate in the apparatus for extracorporeal blood processing.
18. The system for extracorporeal blood processing of claim 1, wherein the second pressure sensor is arranged to sense the subject pulses, wherein the monitoring device further includes a third input block for obtaining a third pressure signal (v) from a third pressure sensor, which is arranged in the extracorporeal blood circuit so as to sense the subject pulses and be essentially isolated from pressure variations originating from the treatment fluid supply system, and wherein the emulation block includes a first sub-block configured to generate, as a function of the third pressure signal (v), an emulated second pressure signal () which emulates a signal response of the second pressure sensor concurrently over a period of time of the second pressure signal of the second pressure sensor, a second sub-block configured to generate a filtered second pressure signal (u.sub.f) by subtracting the emulated second pressure signal () from the second pressure signal (u), and a third sub-block configured to generate the emulated first pressure signal () as a function of the filtered second pressure signal (u.sub.f).
19. The system for extracorporeal blood processing of claim 18, wherein the first sub-block is configured to, in the emulated second pressure signal (), emulate the signal response of the second pressure sensor with respect to the subject pulses.
20. The system for extracorporeal blood processing of claim 1, wherein the first pressure sensor is arranged downstream of a blood pumping device and the blood processing unit in the extracorporeal blood circuit.
21. The system for extracorporeal blood processing of claim 18, wherein the first pressure sensor is arranged downstream of a blood pumping device and the blood processing unit in the extracorporeal blood circuit, and the third pressure sensor is arranged upstream of the blood pumping device and the blood processing unit in the extracorporeal blood circuit.
22. The system of claim 1, wherein at least one of the blood withdrawal device or the blood return device includes a needle.
23. A system for extracorporeal blood processing comprising: an extracorporeal blood circuit including a blood withdrawal device and a blood return device for connection to the vascular system of a subject; a blood processing unit in fluid communication with the extracorporeal blood circuit and with a treatment fluid; a first pressure sensor arranged between the blood processing unit and the blood return device to detect pressure variations in blood pumped through the blood processing unit; a second pressure sensor positioned and arranged to detect pressure variations in the treatment fluid pumped through the blood processing unit; and a monitoring device including: a first input block configured to obtain a first pressure signal (y) from the first pressure sensor; a second input block configured to obtain a second pressure signal (u) from the second pressure sensor; an emulation block configured to generate, as a function of the second pressure signal (u), an emulated first pressure signal () that emulates a signal response of the first pressure sensor concurrently over a period of time of the first pressure signal of the first pressure sensor; a filtering block configured to generate a filtered signal (y.sub.f) as a function of the first pressure signal (y) and the emulated first pressure signal (), so as to suppress, in the filtered signal (y.sub.f) compared to the first pressure signal (y), signal interferences originating from a treatment fluid supply system; and a pulse detection block configured to process the filtered signal (y.sub.f) for detection of subject pulses originating from the subject, wherein the monitoring device is configured to signal a dislodgement of the blood return device from the vascular system of the subject based on a detected absence of subject pulses in the filtered signal (y.sub.f) by the pulse detection block.
24. The system of claim 23, wherein at least one of the blood withdrawal device or the blood return device includes a needle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention will now be described in more detail with reference to the accompanying schematic drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
(12) Throughout the description, the same reference numerals are used to identify corresponding elements.
(13)
(14) The blood processing unit 5 may be any type of blood filtering device, such as a coil dialyzer, a parallel plate dialyzer, a hollow fiber dialyzer, etc. For simplicity, the blood processing unit 5 is denoted dialyzer in the following. The dialyzer 5 has a blood side and a treatment fluid side separated by a semipermeable membrane 5. The blood side is connected as part of the EC circuit 1a, and the treatment fluid side is connected as part of a supply system for treatment fluid 1b (denoted TF circuit in the following). The TF circuit 1b is arranged to pump a treatment fluid through the treatment fluid side of the dialyzer 5, whereby solutes are transported over the membrane 5 due to a concentration gradient and/or ultrafiltrate is transported over the membrane 5 due to a pressure gradient. The skilled person understands that the TF circuit 1b may include a plurality of functional components such as a source of fresh treatment fluid, a receptacle/drain for spent treatment fluid, one or more pumps, balancing chambers, valves, heaters, conductivity sensors, etc. For simplicity, these components are collectively represented by a generic box 8 in
(15) The EC circuit 1a includes a pressure sensor 6a on the venous side of the EC circuit 1 (denoted venous pressure sensor or venous sensor), and a pressure sensor 6c on the arterial side of the EC circuit 1 (denoted arterial pressure sensor or arterial sensor). The venous and arterial sensors 6a, 6c provide a respective time-varying signal that represents the pressure in the blood on the venous side (venous signal) and the arterial side (arterial signal), respectively. In the following, the venous signal is denoted y.sub.raw and the arterial signal is denoted v.sub.raw.
(16) Furthermore, a pressure sensor 6b (denoted TF pressure sensor or TF sensor) is arranged in the TF circuit 1b to provide a time-varying signal that represents the pressure in the treatment fluid (TF signal). The TF signal is denoted u.sub.raw in the following. The TF sensor 6b may have any placement in the TF circuit 1b, e.g. downstream of the dialyzer 5, as shown in
(17) A monitoring device 7 is connected to the sensors 6a, 6b, 6c by way of a respective data line to acquire and process the time-varying electric signals y.sub.raw, v.sub.raw, u.sub.raw. The dashed data line from the arterial sensor 6a to the monitoring device 7 indicates that the use of the arterial signal v.sub.raw is optional, as will be described further below.
(18) Specifically, the monitoring device 7 comprises processing circuitry adapted to filter the venous signal y.sub.raw, for the purpose of enabling or facilitating detection of subject pulses in the venous signal. A pulse is a set of data samples that defines a local increase or decrease (depending on implementation) in signal magnitude within a time-dependent signal. The subject pulses represent pressure waves that are generated by one or more physiological sources PH in the subject and propagate through the cardiovascular system of the subject to the vascular access 3, and via the access device 2 to the venous sensor 6a, which produces corresponding subject pulses in the venous signal. The subject pulses may form, in the venous signal, a train of pulses from the respective physiological source PH, where each subject pulse represents a pressure wave generated by the respective physiological source PH. To the extent that subject pulses from different physiological sources PH are present in the venous signal, these subject pulses may, but need not, be superimposed in the venous signal. The pressure waves also enter the arterial side of the EC circuit 1a via the access device 2 and reach the arterial sensor 6c, which also produces corresponding subject pulses. The magnitude, shape and timing of the subject pulses may differ between the venous and arterial signals. Depending on the configuration of the EC circuit 1a, the dialyzer 5 and the TF circuit 1b, the pressure waves may also reach the TF sensor 6b, which then produces corresponding subject pulses in the TF signal. As used herein, a pressure wave is a mechanical wave in the form of a disturbance that travels or propagates through a material or substance. In the context of the following examples, the pressure waves propagate in the cardiovascular system of the subject, the blood path of the EC circuit 1a and the TF circuit 1b at a velocity that typically lies in the range of about 3-20 m/s.
(19) The physiological source PH may be any pulsatile physiological phenomenon such as the heart, the breathing system, the autonomous system for blood pressure regulation, the autonomous system for body temperature regulation, reflex actions, voluntary muscle contractions and non-voluntary muscle contractions. It is also conceivable the physiological source PH is a mechanical device which is attached to the subject and which shakes, vibrates or presses on the skin of the patient so as to generate the pressure waves. In another alternative, such a mechanical device may be attached to a support for the subject, e.g. a bed. In the following examples, however, it is assumed that the subject pulses originate from the subject's heart and are denoted heart pulses. However, the inventive technique is applicable irrespective of the origin of the subject pulses.
(20) The monitoring device may be configured to detect the subject pulses in the venous signal for the purpose of identifying a so-called venous needle dislodgment (VND), i.e. a dislodgement of venous access device 2 from the vascular access 3. Alternatively or additionally, if the source pulses originate from a physiological phenomenon in the subject, the monitoring device 7 may be configured to process the subject pulses for detecting, presenting, tracking and predicting vital signs of the subject. Further examples are given below in relation to
(21) Generally, the venous sensor 6a does not only measure subject pulses, but also various disturbances caused by pressure variations in the blood at the venous sensor 6a. The disturbances may include both periodic and non-periodic components, and they may originate from both the EC circuit 1a and the TF circuit 1b. The blood pump 4 is known to generate strong, periodic disturbances (pump pulses) in all of the signals y.sub.raw, v.sub.raw, u.sub.raw. Other disturbances may originate from valves, clamps, and further blood pump(s) in the EC circuit 1a. The disturbances originating from the EC circuit 1a may be eliminated or at least significantly suppressed in all of the signals y.sub.raw, v.sub.raw, u.sub.raw by applying known filtering techniques, e.g. as indicated in the Background section. Alternatively, these disturbances may be eliminated by temporary disabling the EC circuit 1a, and the blood pump 4 in particular.
(22) The present Applicant has found that, for the purpose of ensuring a consistent detection of the subject pulses, it is often not sufficient to suppress the pump pulses and other disturbances from the EC circuit 1a in the venous signal y.sub.raw, since the venous signal y.sub.raw is also affected by pressure variations coming from the TF circuit 1b. These pressure variations propagate from the treatment fluid via the membrane 5 into the blood and show up as disturbances in the venous signal y.sub.raw. The disturbances from the TF circuit 1b may be of the same magnitude as the subject pulses in the venous signal y.sub.raw, or even much stronger, and may significantly interfere with the detection of the subject pulses. The disturbances from the TF circuit 1b may be period or non-periodic, or both, depending on the configuration of the TF circuit 1b. Periodic disturbances may, e.g., be caused by the regular operation of pumps, valves, etc in the TF circuit 1b, and non-periodic disturbances may, e.g., be caused by changes in the main flow rate of treatment fluid through the TF circuit 1b, and by irregular switching of valves in the TF circuit 1b. For example, the main flow rate may be actively changed by a control system for the TF circuit 1b, or it may be changed more or less randomly by occurrence of air bubbles in the treatment fluid. In certain implementations, the non-periodic disturbances may form an essentially continuous, time-varying signal component in the venous signal y.sub.raw. It is also conceivable that the disturbances that enter the EC circuit 1a via the TF circuit 1b have an actual origin outside the TF circuit 1b. From the perspective of the venous sensor 6a, as located in the EC circuit 1a, these disturbances also come from the TF circuit 1b.
(23) The disturbances from the TF circuit 1b are generally much smaller in the arterial signal v.sub.raw, or even non-existent, at least if the blood pump 4 is of an occluding type, e.g. a peristaltic pump. Such a pump may act as a barrier to pressure variations and effectively dampen the pressure variations from the TF circuit 1b. These pressure variations may still reach the arterial sensor 6c by propagating along the venous side of the EC circuit 1a, into the vascular access 3 via the access device 2, and into the arterial side of the EC circuit 1a via the access device 2. However, the pressure variations will be significantly dampened on this propagation path and, from a practical perspective, the disturbances from the TF circuit 1b are in most cases negligible in the arterial signal v.sub.raw.
(24) Embodiments of the invention relate to methods and structures in the monitoring device 7 for eliminating disturbances from the TF circuit 1b in the venous signal, or at least significantly suppressing these disturbances in relation to the subject pulses in the venous signal. Depending on implementation, the monitoring device 7 may use digital components or analog components, or a combination thereof, for receiving and processing signals. For example, the device 7 may be a computer, or a similar data processing device, with adequate hardware for acquiring and processing signals in accordance with different embodiments of the invention. Embodiments of the invention may be implemented by software instructions that are supplied on a computer-readable medium for execution by a processor PROC in conjunction with an electronic memory MEM in the device 7, as indicated in
(25)
(26) Since the TF sensor 6b is likely to receive all pressure waves that propagate from the TF circuit 1b into the EC circuit 1a, the signal interferences in the TF signal u.sub.raw may be seen to represent all disturbances from the TF circuit 1b that may emerge in the venous signal y.sub.raw. It is thus realized that, provided that the model function is designed to adequately generate the emulated venous signal , the filtering step 23 is capable of suppressing both periodic and non-periodic disturbances from the TF circuit 1b in the venous signal y.sub.raw.
(27) In one embodiment, the model function is a physical model of the hydraulic system between the TF sensor 6b and the venous sensor 6a, and is based on a representation of how pressure waves are transmitted from one or more sources to the sensors 6a, 6b and give rise to the signal interferences at the respective sensor. Such a model function is typically tailored to the design of the circuits 1a, 1b and the location and type of the source(s) that cause the signal interferences.
(28) In another embodiment, the model function is based on an input/output model and is designed to directly estimate the emulated venous signal based on the TF signal u.sub.raw, and optionally also based on the venous signal y.sub.raw. Such a model function may be more generally applicable. Examples of input/output models are given below in relation to
(29) Depending on model function, it may be necessary to pre-process the venous signal y.sub.raw and/or the TF signal u.sub.raw before steps 22 and 23 for removal or suppression of the above-mentioned pump pulses and other periodic disturbances that originate from the EC circuit 1a. For example, the use of an input/output model may require (or at least benefit from) that the disturbances from the EC circuit 1a are smaller in magnitude than the disturbances from the TF circuit 1b in the signals that are input to the model function. Of course, pre-processing may be omitted if the blood pump 4 is disabled during acquisition of the signals y.sub.raw, u.sub.raw in steps 20 and 21. Additionally or alternatively, the pre-processing may involve other operations, such as re-sampling, removal of offset, high frequency noise and supply voltage disturbances, etc. As used herein, the pre-processed venous signal is denoted by y, and the pre-processed TF signal is denoted by u.
(30) In a variant, the pre-processing is implemented to remove or suppress further periodic disturbances in the signals y.sub.raw, u.sub.raw, i.e. not only pump pulses and other periodic disturbances from the EC circuit 1a, but also periodic disturbances from the TF circuit 1b. Such filtering of periodic disturbances may be accomplished using the techniques disclosed in aforesaid WO2009/156175, or the techniques disclosed in Applicant's co-pending US provisional application U.S. 61/671,192, which was filed on Jul. 13, 2012 and is incorporated herein by reference. By removing/suppressing all periodic disturbances by pre-processing, the filtering step 23 will primarily remove/suppress non-periodic disturbances from the TF circuit 1b.
(31) The operation of the device 7 in accordance with
(32)
(33) For each current time point t, the filtering operation involves a step 40 of obtaining a venous pressure value y.sub.raw(t) from the venous sensor 6a, and a step 41 of obtaining a TF pressure value u.sub.raw(t) from the TF sensor 6b. The following discussion assumes that steps 40, 41 also involve the above-mentioned pre-preprocessing, resulting in signal values y(t) and u(t). However, as noted above, such pre-processing may be omitted. In step 42, an emulated venous signal value (t) is computed, and in step 43 a filtered signal value y.sub.f(t) is generated by subtracting the emulated signal venous value (t) from the venous signal value y(t). The implementation of step 42 is dependent on model function, but generally the emulated signal value (t) is computed based on at least one preceding TF signal value, i.e. a signal value generated by step 41 at a preceding time point, e.g. the immediately preceding time point t1. The input/output model described below in relation to
(34)
(35) The input block 50 implements step 40 in
(36)
(37) As noted above, the arterial signal v (in absence of pump pulses) contains subject pulses and is essentially free of disturbances from the TF circuit 1b. The method in
(38) In
(39)
(40) Examples of Model Functions
(41) Below follows a detailed example of how a model function may be designed and used for generating the emulated venous signal based on the TF signal u. The detailed example is concluded with a description of a practical implementation with reference to the flow chart in
(42) In the following example, the model function is based on a dynamic model. Dynamic models are models that describe the dynamic behavior of a system, i.e. how signals vary with time. One common type of dynamic model is the input/output model, which describes how an input will dynamically affect an output. A common type of input/output models in continuous time is defined by a differential equation of some order linking the input and output. For processing in computers, continuous time input/output models are commonly transferred into models in discrete time, which only relate input and output at discrete points in time. A discrete time input/output model based on an n:th order ordinary linear differential equation is given by
y(t)+a.sub.1.Math.y(t1)+ . . . +a.sub.n.Math.y(tn)=b.sub.1.Math.u(t1)+ . . . +b.sub.n.Math.u(tn)(1)
(43) in which the sum of the measured output value y(t) at current time t, and a weighted sum of n preceding time points in the output signal y is equal to a weighted sum of n preceding time points within the input signal u. In Eq. 1 there is no direct influence on the current output value y(t) from the current input value u(t). This is a common assumption, and corresponds to a continuous time model where there is no immediate response in the output signal on changes in the input signal (only via the differential equation). Eq. 1, which represents an IIR (Infinite Impulse Response) filter, assumes that there are no disturbances acting on the signals, and that all variations in y are explained by variations in u. In the apparatus of
y(t)+a.sub.1.Math.y(t1)+ . . . +a.sub.n.Math.y(tn)=b.sub.1.Math.u(t1)+ . . . +b.sub.n.Math.u(tn)+e(t)(2)
(44) Eq. 2 is the model used to describe the relation between the measured pressure signals y and u. This type of model is commonly known as an ARX model or a Controlled AutoRegressive model. One aim of the modeling is to find the parameter values (a.sub.1 to a.sub.n and b.sub.1 to b.sub.n) in Eq. 2 that give the best fit to the measured values for u and y. This may be achieved by finding the parameter values that minimize the noise term e(t) in Eq. 2.
(45) The determination of the number of parameters in the model is a matter of model optimization, which lies within the competence of the skilled person. It should be noted that the number of a-parameters may be different from the number of b-parameters, although they are assumed to be equal in this example.
(46) At a given time point s, the best fit in a least squares sense may be found by minimizing a loss function V(s) with respect to the a- and b-parameters:
V(s)=[y(t)+a.sub.1.Math.y(t1)+ . . . +a.sub.n.Math.y(tn)b.sub.1.Math.u(t1) . . . b.sub.n.Math.u(tn)].sup.2(3)
(47) where the summation () is done for all preceding time points, i.e. at least from t=n to t=s. The parameter values that minimize the loss function V(s) may be found analytically, as will be shown in the following. For practical reasons, Eq. 2 may be rewritten in condensed form as:
y(t)=(t).sup.T.Math.x+e(t)(4)
(48) where x is a column vector of parameters, x=[a.sub.1 . . . a.sub.n b.sub.1 . . . b.sub.n].sup.T, and (t) is a measurement vector of preceding output values and input values, (t)=[y(t1) . . . y(tn) u(t1) . . . u(tn)], where superscript T denotes the transpose of a vector. In the present disclosure, all vectors and matrices are given in bold characters.
(49) Using this notation, Eq. 3 may be rewritten as:
V(s)=[y(t)(t).sup.T.Math.x].sup.2(5)
(50) The parameter values that minimize this function at time s are the optimal least squares estimates of the parameters x and are denoted x.sub.e(s). It may be analytically shown that these estimated parameter values are given by:
x.sub.e(s)=([(t).Math.(t).sup.T]).sup.1.Math.([y(t).Math.(t)])(6)
(51) In a computation-efficient implementation, Eq. 6 is rewritten in a recursive way, so that the current parameter estimate x.sub.e(s) may be obtained by updating the preceding parameter estimate x.sub.e(s1), rather than re-evaluating Eq. 6 at each time s.
(52) This may be achieved by introducing an intermediate matrix P(s) given by:
P(s)=([(t).Math.(t).sup.T]).sup.1(7)
(53) For computation efficiency, the intermediate matrix P(s) should also be updated recursively. It may be shown that:
P(s).sup.1=[(t).Math.(t).sup.T]=P(s1).sup.1+(s).Math.(s).sup.T(8)
(54) Inverting both sides of Eq. 8 yields:
P(s)=P(s1)P(s1).Math.(s).Math.(s).sup.T.Math.P(s1)/(1+(s).sup.T.Math.P(s1).Math.(s))(9)
(55) Introducing Eq. 9 into Eq. 6 yields, after some manipulation:
x.sub.e(s)=x.sub.e(s1)+K(s).Math.[y(s)(s).sup.T.Math.x.sub.e(s1)](10)
(56) where the gain vector K(s) is defined as:
K(s)=P(s1).Math.(s)/(1+(s).sup.T.Math.P(s1).Math.(s))(11)
(57) Together Eq. 9, Eq. 10 and Eq. 11 define a method for recursively updating x.sub.e(s), i.e. the values of the parameters in the model function.
(58) The last term in Eq. 10, (s).sup.T.Math.x.sub.e(s1), is the prediction by the model at time s1 of the next measurement value y(s). Thus, the emulated venous signal value at time s is given by:
(s)=(s).sup.T.Math.x.sub.e(s1)(12)
(59)
(60) In
(61) The use of time windows is further exemplified in
(62) Based on
(63) The model updating step 104 operates to retrieve the intermediate matrix P(s1), the parameter estimate x.sub.e(s1) and the current measurement vector (s) that were computed and stored in MEM by steps 104 and 105 at time s1. Then, step 104 computes the gain vector K(s) according to Eq. 11, and the parameter estimate x.sub.e(s) according to Eq. 10. Step 104 also updates the intermediate matrix P(s1) according to Eq. 9. The resulting data items x.sub.e(s), P(s) are stored in MEM, for retrieval by step 104 at the next time step. Here, it may be noted that Eq. 10 actually corresponds to x.sub.e(s)=x.sub.e(s1)+K(s).Math.y.sub.f(s). This means that the computation of x.sub.e(s) may be made more efficient by implementing step 104 to re-use the filtered signal value y.sub.f(s) that was just generated in step 103. In the block diagrams of
(64) If it may be assumed that the disturbance e(t) in Eq. 2 is white noise, i.e. that the values of e at different times are uncorrelated, the parameter estimates in the vector x.sub.e will converge over time. The intermediate matrix P will then be the covariance matrix of the vector x.sub.e scaled with the variance of e, and P will decrease to zero with time. The process in
(65) If the values of e at different times are not uncorrelated, Eq. 2 may be modified into:
y(t)+a.sub.1.Math.y(t1)+ . . . +a.sub.n.Math.y(tn)=b.sub.1.Math.u(t1)+ . . . +b.sub.n.Math.u(tn)+e(t)+c.sub.1.Math.e(t1)+ . . . +c.sub.n.Math.e(tn)(13)
(66) This type of model is commonly known as an ARMAX model or Controlled AutoRegressive Moving Average model (Controlled ARMA model). Eq. 12 is equally applicable to this type of model, albeit with x.sub.e containing the estimates of the a-, b- and c-parameters and the measurement vector being defined as (s)=[y(s1) . . . y(sn) u(s1) . . . u(sn) e(s1) . . . e(sn)].sup.T, where the noise terms e(s1) . . . e(sn) are estimated by the model. Estimating the a-, b- and c-parameters is typically a more complicated task than for the above-described ARX model. For example, the parameters may be estimated using the maximum likelihood method or the instrumental variable method, which are well known to the person skilled in the art.
(67) In a variation, the process in
(68) In a further variation, step 104 may be omitted, step 106 may use pre-defined values of the parameter estimates x.sub.e for generating the emulated signal values .
(69) In certain situations, it is conceivable that the values of the model function parameters change during operation of the process in
(70) In one example, the summation () in the loss function in Eq. 3 is done only a limited number of steps backwards in time (i.e. not from the start). his approach does not allow for the use of recursive equations, but requires the parameter estimates to be calculated using Eq. 6. he model parameters will then describe the behavior of the system during the time window used in the summation and will change as the window moves.
(71) In another example, which may be more computation efficient, the loss function in Eq. 3 is modified to include a weighting function that decreases the influence of old terms, e.g. exponentially. In one implementation, the loss function V(s) is given by
V(s)=.sup.st.Math.[y(t)+a.sub.1.Math.y(t1)+ . . . +a.sub.n.Math.y(tn)b.sub.1.Math.u(t1) . . . b.sub.nu(tn)].sup.2(14)
(72) where a global weighting factor <1 is introduced, so that .sup.st decreases with decreasing t. This results in a minor modification of the equations for calculating P(s), x.sub.e(s) and K(s):
P(s)=[P(s1)P(s1).Math.(s).Math.(s).sup.T.Math.P(s1)/(+(s).sup.T.Math.P(s1).Math.(s))]/(15)
x.sub.e(s)=x.sub.e(s1)+K(s).Math.[y(s)((s).sup.T.Math.x.sub.e(s1)](16)
K(s)=P(s1).Math.(s)/(+(s).sup.T.Math.P(s1).Math.(s))(17)
(73) The effect of is to prevent the intermediate matrix P from converging to zero, which means that the gain vector K will not go to zero, and the parameter estimates x.sub.e will never converge. In certain situations, e.g. if the signals y and u do not vary enough, the matrix P may have some eigenvalues that will increase towards infinity, which may lead to numerical instability.
(74) In another example, which may overcome the risk for numerical instability, Eq. 9, 10 and 11 may be modified by simply adding a constant matrix R to Eq. 9:
P(s)=P(s1)P(s1).Math.(s).Math.(s).sup.T.Math.P(s1)/(1+(s).sup.T.Math.P(s1).Math.(s))+R(18)
(75) The matrix R is a constant positive semidefinite matrix of the same order as the matrix P(s), and at least a subset of the values in R are non-zero. This corresponds to an assumption that the model parameters are not constant, but that they change between each point in time with a random vector having covariance matrix R. Thus, Eq. 18 will also prevent P from converging to zero.
(76) Generally, all of the different model functions with recursive updating of the model parameter values, as described in the foregoing, may be summarized by the following set of equations:
x.sub.e(s)=x.sub.e(s1)+[P(s1).Math.(s)/(+(s).sup.T.Math.P(s1).Math.(s))].Math.[y(s)((s).sup.T.Math.x.sub.e(s1)](19)
P(s)=[P(s1)P(s1).Math.(s).Math.(s).sup.T.Math.P(s1)/(1+(s).sup.T.Math.P(s1).Math.(s))]/+R(20)
(77) where the global weighting factor 1 and R is a constant positive semidefinite matrix.
(78) If the model parameters are fixed (time-invariant), Eq. 19 and 20 may be implemented with =1 and R being a constant positive semidefinite matrix with all values set to zero (a zero matrix).
(79) If the model parameters are time-varying, in a first variant, Eq. 19 and 20 may be implemented with <1 and R being a constant positive semidefinite matrix with all values set to zero. In a second variant, Eq. 19 and 20 may be implemented with =1 and R being a constant positive semidefinite matrix, in which at least a subset of the constant values are non-zero. A combination of the first and second variants is also conceivable, in which Eq. 19 and 20 are implemented with <1 and R being a constant positive semidefinite matrix, in which at least a subset of the constant values are non-zero.
(80) There are also ARX models that have been developed for time-varying systems in other fields of technology that may be used, e.g. as described in the article ARX models for time-varying systems estimated by recursive penalized weighted least squares method by Qin et al, published in Journal of Math-for-Industry, vol. 2 (2010A-11), pp. 109-114, and in references therein.
(81) It should be noted that it is possible to define Eq. 1 to represent an FIR (Finite Impulse Response) filter, instead of an IIR filter. This corresponds to setting all a-parameters to zero, and all of the above equations are equally applicable to a dynamic model given by Eq. 2 with only b-parameters. When such a model function is used, the emulated venous signal values are only computed as a function of preceding signal values in the TF signal u. Specifically, each emulated venous signal value (s) is computed as a weighted sum of the preceding signal values in the TF signal u within the time window W1 (cf.
(82) It also should be understood that the foregoing model functions, and the different variations and examples, are equally applicable for generating the emulated TF signal based on the arterial signal v, by substituting for and u for v in the equations above. In such an embodiment, any updating of model parameters for use in the computation of the emulated TF signal (according to step 104) may be implemented by sub-block 75 in
(83) As an alternative to the input/output models described in the foregoing, the model function may be implemented as an artificial neural network. Such a network also contains coefficients or parameters that are determined from old data (training of the network), and may be used to predict future measurement values. By adequate configuration and training, such a neural network may, e.g., provide an emulated venous signal value based one or more preceding signal values in the TF signal u, optionally in combination with one or more preceding signal values in the venous signal y.
(84) Example of Dialysis Machine
(85)
(86) In
(87) In the example of
(88) Both the arterial needle 2 and the venous needle 2 are configured to be connected to a vascular access (cf. 3 in
(89) The dialysis machine 1 also comprises a TF circuit 1b, here exemplified as a source 16a of treatment fluid (dialysis fluid), a tube segment 17, a TF-side of the dialyzer 5, a tube segment 18a, a TF fluid pump 19, a tube segment 18b, and an outlet/drain 16b. It is to be understood that
(90) The dialysis machine 1 further comprises a central control unit 122 that controls the operation of the dialysis machine 1. In
(91) In the illustrated example, the monitoring device 7 is connected by data lines to the pressure sensors 6a, 6b and 6c, so as to acquire the pressure signals y.sub.raw, u.sub.raw and v.sub.raw, which are designated by P6a, P6b and P6c, respectively, in
(92) In all embodiments disclosed herein, the device 7 may be configured to monitor the operation of the EC circuit 1a and/or the physiological state of the subject, by detecting and analyzing the subject pulses in the filtered venous signal y.sub.f. This functionality may be implemented in the pulse detection block 54 (
(93) In one example, the device 7 is configured to identify a disruption of the connection system C on the venous-side of the EC circuit 1a by analyzing the subject pulses in the filtered venous signal y.sub.f. Such a disruption is indicated by absence of the subject pulses. The disruption may be caused by a dislodgement of the access device 2 from the blood vessel access, i.e. that the access device 2 comes loose from the vascular system of the subject. Alternatively, the disruption may be caused by a disconnection of the access device 2 from the EC circuit 1a, typically by disruption/defective coupling/uncoupling of the connectors C2a, C2b. Any known technique may be implemented in the device 7 for detecting the absence of subject pulses and identifying the disruption, e.g. as disclosed in WO97/10013, WO2009/156174, WO2010/149726, US2005/0010118, and US2010/0234786. It is to be noted that detecting absence of subject pulses in the filtered venous signal y.sub.f may involve comparing the filtered venous signal y.sub.f to the arterial signal v, e.g. by cross-correlation as described in WO2009/156174.
(94) In another example, the device 7 is configured to identify a reversed connection of the EC circuit 1a to the vascular access 3, e.g. caused by reversed positioning of the access devices 2, 2 in the vascular access 3 or reversed connection of connectors C1b, C2b to connectors C1a, C2a, by analyzing at least one of the shape and the timing of subject pulses in the filtered venous signal y.sub.f and in the arterial signal v, e.g. as disclosed in WO2011/080188.
(95) In yet another example, the device 7 is configured to monitor a functional state or functional parameter of the cardiovascular system of the subject by analyzing the subject pulses, e.g. when the subject pulses originate from the heart, the breathing system or the blood pressure regulating system of the subject. Such uses of the filtered signal include detecting, presenting, tracking and predicting vital signs, e.g. cardiac or respiratory related such as heart pulse rate, blood pressure, cardiac output, blood flow rate through the blood vessel access (access flow), arterial stiffness, as well as identifying signs of stenosis formation within the blood vessel access, predicting rapid symptomatic blood pressure decrease and detecting, tracking and predicting various breathing disorders. All of these uses or applications may be based on extraction and analysis of at least one of the shape, the magnitude and the timing of the subject pulses in the filtered venous signal y.sub.f, e.g. as disclosed in WO2010/149726, WO2011/080186, WO2011/080189, WO2011/080190, WO2011/080191 and WO2011/080194.
(96) While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and the scope of the appended claims.
(97) For example, the pressure sensor may be of any type, e.g. operating by resistive, capacitive, inductive, magnetic, acoustic or optical sensing, and using one or more diaphragms, bellows, Bourdon tubes, piezo-electrical components, semiconductor components, strain gauges, resonant wires, accelerometers, etc. For example, the pressure sensor may be implemented as a conventional pressure sensor, a bioimpedance sensor, a photoplethysmography (PPG) sensor, etc.
(98) Likewise, the blood pump may be of any type, not only a rotary peristaltic pump as indicated above, but also any other type of positive displacement pump, such as a linear peristaltic pump, a diaphragm pump, or a centrifugal pump.
(99) Furthermore, the inventive monitoring technique is not limited to filtering of venous pressure signals, but may be used for filtering any pressure signal from a pressure sensor in an extracorporeal blood circuit in a blood processing apparatus as long as the pressure signal includes both subject pulses and signal interferences that enters the extracorporeal blood circuit from a treatment fluid supply system, via a blood processing unit.
(100) Further, the inventive technique is applicable for monitoring in all types of extracorporeal blood flow circuits in which blood is taken from the systemic blood circuit of the patient to interact with a treatment fluid in a blood processing unit and is then returned to the patient. Such blood flow circuits include circuits for hemodialysis, hemofiltration, hemodiafiltration, continuous renal replacement therapy, and extracorporeal liver support/dialysis. The extracorporeal blood flow circuit may be connected to the patient by separate access devices for blood removal and blood return, or by a common access device (single-needle).