APPARATUS FOR EXTRACORPOREAL TREATMENT OF BLOOD AND METHOD FOR DETERMINING A PARAMETER INDICATIVE OF THE PROGRESS OF AN EXTRACORPOREAL BLOOD TREATMENT

20220143284 · 2022-05-12

    Inventors

    Cpc classification

    International classification

    Abstract

    An apparatus for extracorporeal treatment of blood (1) comprising a treatment unit, a blood withdrawal line, a blood return line, a preparation line and a spent dialysate line. A control unit (10) is configured to calculate values of a parameter relating to treatment effectiveness based on measures of the conductivity in the spent dialysate line. An upstream variation of the value of the characteristic (Cd.sub.in) is caused in the fresh treatment liquid with respect to a prescription baseline (Cd.sub.set) thereby causing a corresponding and timely delayed downstream variation of the same characteristic (Cd.sub.out) in the spent liquid flowing in the spent dialysate line (13). An amplitude (ΔC.sub.in) and/or a duration over time (ΔT) of the upstream variation are/is computed as a function of the flow rate (Qdial) of the fresh treatment liquid in a preparation line (19) or of the parameter correlated to the flow rate (Qdial).

    Claims

    1-23. (canceled)

    24. An apparatus for extracorporeal treatment of blood comprising: a blood treatment unit having a primary chamber and a secondary chamber separated by a semi-permeable membrane; a preparation line having one end connected to an inlet of a secondary chamber of the treatment unit and configured to convey fresh treatment liquid to the secondary chamber, the fresh treatment liquid presenting a characteristic selected from the group consisting of: conductivity in the fresh treatment liquid, and concentration of at least one substance in the fresh treatment liquid; a spent dialysate line having one end connected to an outlet of said secondary chamber and configured to remove spent liquid from the secondary chamber, the spent liquid presenting a characteristic selected from the group consisting of: conductivity in the spent liquid, and concentration of at least one substance in the spent liquid; and a control unit configured to command execution of a task for determining a parameter indicative of the effectiveness of the extracorporeal blood treatment, said task comprising the following steps: receiving at least one prescription baseline for the characteristic in the fresh treatment liquid, causing fresh treatment liquid to flow in the preparation line to the secondary chamber with the characteristic being at said prescription baseline, causing spent liquid to flow out of the secondary chamber into the spent dialysate line, causing an upstream variation of the value of the characteristic in the fresh treatment liquid with respect to said prescription baseline, thereby causing a corresponding and timely delayed downstream variation of the same characteristic in the spent liquid flowing in the spent dialysate line, wherein the upstream variation has an amplitude and a duration over time, computing at least one value of a parameter indicative of the effectiveness of the extracorporeal blood treatment by using values correlated to the upstream variation of the value of the characteristic in the fresh treatment liquid and values correlated to the downstream variation of the same characteristic in the spent liquid, receiving a flow rate, or a parameter correlated to the flow rate, of the fresh treatment liquid in the preparation line, and computing either or both said amplitude and said duration over time of the upstream variation as a function of the flow rate or of the parameter correlated to the flow rate.

    25. The apparatus according to claim 24, wherein either or both the amplitude and the duration over time are higher if the flow rate is lower, and wherein either or both the amplitude and the duration over time are lower if the flow rate of the fresh treatment liquid is higher.

    26. The apparatus according to claim 24, wherein computing either or both the amplitude and the duration over time is performed through at least one mathematical formula.

    27. The apparatus according to claim 24, wherein computing either or both the amplitude and the duration over time is performed through an interpolating curve, wherein the interpolating curve is computed starting from “m” points, each point being defined by a flow rate value of the fresh treatment liquid and by a duration over time corresponding to said flow rate value and/or by an amplitude corresponding to said flow rate value, wherein “m” is equal to or greater than two.

    28. The apparatus according to claim 24, wherein the task comprises: receiving a minimum duration over time corresponding to a maximum flow rate of the apparatus; receiving a maximum duration over time corresponding to a minimum flow rate of the apparatus; computing a duration over time interpolating curve based on the minimum duration over time, the maximum flow rate, the maximum duration over time, and the minimum flow rate; and computing the duration over time through said duration over time interpolating curve.

    29. The apparatus according to claim 28, wherein the task further comprises: receiving at least one mid duration over time corresponding to a mid flow rate of the apparatus, wherein the mid flow rate is between the maximum flow rate and the minimum flow rate; and computing the duration over time interpolating curve further based on the mid duration over time and the mid flow rate.

    30. The apparatus according to claim 26, wherein the duration over time is computed using the mathematical formula:
    ΔT=((ΔT.sub.min−ΔT.sub.max)/(Qdial.sub.max−Qdial.sub.min))*(Qdial−Qdial.sub.max)+ΔT.sub.min wherein: Qdial is the flow rate of the fresh treatment liquid in the preparation line, Qdial.sub.max is a maximum flow rate of the apparatus, ΔT.sub.min is a minimum duration over time corresponding to the maximum flow rate of the apparatus, Qdial.sub.min is a minimum flow rate of the apparatus, and ΔT.sub.max is a maximum duration over time corresponding to the minimum flow rate of the apparatus.

    31. The apparatus according to claim 24, wherein the task comprises: receiving a minimum amplitude corresponding to a maximum flow rate of the apparatus; receiving a maximum amplitude corresponding to a minimum flow rate of the apparatus; computing an amplitude interpolating curve based on the minimum amplitude, the maximum flow rate, the maximum amplitude, and the minimum flow rate; and computing the amplitude through said amplitude interpolating curve.

    32. The apparatus according to claim 31, wherein the task further comprises: receiving at least one mid amplitude corresponding to a mid flow rate of the apparatus, wherein the mid flow rate is between the maximum flow rate and the minimum flow rate; and computing the amplitude interpolating curve further based on the mid amplitude and the mid flow rate.

    33. The apparatus according to claim 26, wherein the amplitude is computed using the mathematical formula:
    ΔC.sub.in=((ΔC.sub.min−ΔC.sub.max)/(Qdial.sub.max−Qdial.sub.min)))*(Qdial−Qdial.sub.max)+ΔC.sub.min wherein: Qdial is the flow rate of the fresh treatment liquid in the preparation line, Qdial.sub.max is a maximum flow rate of the apparatus, ΔC.sub.min is a minimum amplitude corresponding to the maximum flow rate, Qdial.sub.min is a minimum flow rate of the apparatus, and ΔC.sub.max is a maximum amplitude corresponding to the minimum flow rate.

    34. The apparatus according to claim 24, wherein computing either or both the amplitude and the duration over time comprises selecting either or both the amplitude and the duration over time among a plurality of fixed amplitudes and/or fixed durations over time stored in the control unit and each corresponding to a range which the received flow rate falls in, wherein said range is one of a plurality of ranges of flow rates stored in the control unit.

    35. The apparatus according to claim 24, wherein said task comprises: receiving “n” fixed durations over time; and receiving “n” ranges of the flow rate of the fresh treatment liquid, each of the “n” ranges being allocated to a fixed duration over time, wherein computing the durations over time comprises: comparing the received flow rate with the “n” ranges, and selecting the fixed duration over time corresponding to a range of said “n” ranges which the flow rate falls in.

    36. The apparatus according to claim 35, wherein the “n” fixed durations over time comprise: a first duration over time, a second duration over time, and a third duration over time; and wherein the “n” ranges of the flow rate comprise: a first range, a second range, and a third range.

    37. The apparatus according to claim 36, wherein: the first duration over time is 150 seconds, the second duration over time is 120 seconds, the third duration over time is 90 seconds, the first range is between 300 and 400 ml/min, the second range is between 400 and 600 ml/min, and the third range is between 600 and 800 ml/min.

    38. The apparatus according to claim 24, wherein said task comprises: receiving “n” fixed amplitudes; and receiving “n” ranges of the flow rate of the fresh treatment liquid, each of the “n” ranges being allocated to a fixed amplitude, wherein computing the amplitude comprises: comparing the received flow rate with the “n” ranges, and selecting the fixed amplitude corresponding to a range of said “n” ranges which the flow rate falls in.

    39. The apparatus according to claim 24, wherein said task comprises causing the upstream variation of the value of the characteristic such that the upstream variation of the value of the characteristic is all above or all below the prescription baseline, and wherein said amplitude is a difference between the prescription baseline and a maximum or a minimum of the upstream variation.

    40. The apparatus according to claim 24, wherein said task comprises causing the upstream variation of the value of the characteristic such that the upstream variation of the value of the characteristic comprises at least one part above the prescription baseline and at least one part below the prescription baseline, and wherein said amplitude is a difference between a maximum and a minimum of the upstream variation.

    41. The apparatus according to claim 40, wherein said task comprises causing the upstream variation of the value of the characteristic such that the upstream variation of the value of the characteristic has a rectangular shape or is bell-shaped.

    42. The apparatus according to claim 40, wherein said task comprises causing the upstream variation of the value of the characteristic such that a total area of parts of the upstream variation of the value of the characteristic above the prescription baseline is equal to a total area of the parts of the upstream variation of the value of the characteristic below the prescription baseline.

    43. The apparatus according to claim 40, wherein said task comprises: receiving a maximum allowed value of the characteristic in the fresh treatment liquid; receiving a minimum allowed value of the characteristic in the fresh treatment liquid; and causing the upstream variation of the value of the characteristic such that said upstream variation is all between the minimum allowed value of the characteristic and the maximum allowed value of the characteristic.

    44. The apparatus according to claim 24, wherein receiving a flow rate, or a parameter correlated to the flow rate, of the fresh treatment liquid in the preparation line comprises: in a hemodialysis treatment, receiving an effluent flow rate and an ultrafiltration flow rate and calculating the flow rate, or the parameter correlated to the flow rate, based on the effluent flow rate and on the ultrafiltration flow rate; and in a hemodiafiltration treatment, receiving an effluent flow rate, an infusion flow rate and an ultrafiltration flow rate and calculating the flow rate, or the parameter correlated to the flow rate, based on the effluent flow rate, the infusion flow rate and on the ultrafiltration flow rate.

    45. The apparatus according to claim 24, wherein the control unit executes the task including: receiving a blood or plasma flow rate at the inlet of the primary chamber; and computing either or both said amplitude and said duration over time of the upstream variation to be caused also as a function of the blood or plasma flow rate.

    46. The apparatus according to claim 24, wherein the control unit executes the task including: receiving an efficiency parameter of the blood treatment unit, wherein the efficiency parameter is selected between a clearance or a dialysance or a mass transfer area coefficient, and computing either or both said amplitude and said duration over time of the upstream variation to be caused also as a function of the efficiency parameter of the blood treatment unit.

    47. The apparatus according to claim 24, wherein the computed duration over time is comprised between a prefixed minimum duration over time of 50 seconds, and a prefixed maximum duration over time of 200 seconds, and the characteristic is the conductivity in the fresh liquid and the computed amplitude of conductivity is between 0.4 mS/cm and 1.1 mS/cm as absolute values.

    48. An apparatus for extracorporeal treatment of blood comprising: a blood treatment unit having a primary chamber and a secondary chamber separated by a semi-permeable membrane; a preparation line having one end connected to an inlet of a secondary chamber of the treatment unit and configured to convey fresh treatment liquid to the secondary chamber, the fresh treatment liquid presenting a characteristic selected in the group consisting of: conductivity in the fresh treatment liquid, and concentration of at least one substance in the fresh treatment liquid; a spent dialysate line having one end connected to an outlet of said secondary chamber and configured to remove spent liquid from the secondary chamber, the spent liquid presenting a characteristic selected in the group consisting of: conductivity in the spent liquid, and concentration of at least one substance in the spent liquid; and a control unit configured to command execution of a task for determining a parameter indicative of the effectiveness of the extracorporeal blood treatment, said task comprising the following steps: receiving at least one prescription baseline for the characteristic in the fresh treatment liquid, causing fresh treatment liquid to flow in the preparation line to the secondary chamber with the characteristic being at said prescription baseline, causing spent liquid to flow out of the secondary chamber into the spent dialysate line, causing an upstream variation of the value of the characteristic in the fresh treatment liquid with respect to said prescription baseline thereby causing a corresponding and timely delayed downstream variation of the same characteristic in the spent liquid flowing in the spent dialysate line, wherein the upstream variation has an amplitude and a duration over time, computing at least one value of a parameter indicative of the effectiveness of the extracorporeal blood treatment by using values correlated to the upstream variation of the value of the characteristic in the fresh treatment liquid and values correlated to the downstream variation of the same characteristic in the spent liquid, receiving a blood or plasma flow rate at the inlet of the primary chamber, or a parameter correlated to the a blood or plasma flow rate at the inlet of the primary chamber, and/or receiving an efficiency parameter of the blood treatment unit selected from the group consisting of a clearance, a dialysance and a mass transfer area coefficient, and computing either or both said amplitude and said duration over time of the upstream variation to be caused as a function of either or both of (i) the blood or plasma flow rate or of the parameter correlated to the blood or plasma flow rate, and (ii) the efficiency parameter of the blood treatment unit.

    49. An apparatus for extracorporeal treatment of blood comprising: a blood treatment unit having a primary chamber and a secondary chamber separated by a semi-permeable membrane; a preparation line having one end connected to an inlet of a secondary chamber of the treatment unit and configured to convey fresh treatment liquid to the secondary chamber, the fresh treatment liquid presenting a characteristic selected from the group consisting of: conductivity in the fresh treatment liquid, and concentration of at least one substance in the fresh treatment liquid; a spent dialysate line having one end connected to an outlet of said secondary chamber and configured to remove spent liquid from the secondary chamber, the spent liquid presenting a characteristic selected from the group consisting of: conductivity in the spent liquid, and concentration of at least one substance in the spent liquid; and a control unit configured to command execution of a task for determining a parameter indicative of the effectiveness of the extracorporeal blood treatment, said task comprising the following steps: receiving at least one prescription baseline for the characteristic in the fresh treatment liquid, causing fresh treatment liquid to flow in the preparation line to the secondary chamber with the characteristic being at said prescription baseline, causing spent liquid to flow out of the secondary chamber into the spent dialysate line, causing an upstream variation of the value of the characteristic in the fresh treatment liquid with respect to said prescription baseline thereby causing a corresponding and timely delayed downstream variation of the same characteristic in the spent liquid flowing in the spent dialysate line, wherein the upstream variation has an amplitude and a duration over time, computing at least one value of a parameter indicative of the effectiveness of the extracorporeal blood treatment by using values correlated to the upstream variation of the value of the characteristic in the fresh treatment liquid and values correlated to the downstream variation of the same characteristic in the spent liquid, computing said amplitude and said duration over time of the upstream variation to be caused among a plurality of admissible values for the amplitude and of the duration over time, causing the upstream variation of the value of the characteristic such that said upstream variation comprises at least one part above the prescription baseline and at least one part below the prescription baseline and such that a total area of the at least one part of the upstream variation above the prescription baseline is equal to a total area of the at least one part of the upstream variation below the prescription baseline, wherein said at least one part above the prescription baseline and said at least one part below the prescription baseline are arranged consecutively one after the other, receiving a maximum allowed value of the characteristic in the fresh treatment liquid, receiving a minimum allowed value of the characteristic in the fresh treatment liquid, and causing the upstream variation of the value of the characteristic such that said upstream variation is all between the minimum allowed value of the characteristic and the maximum allowed value of the characteristic.

    Description

    DESCRIPTION OF THE DRAWINGS

    [0135] Aspects of the invention are shown in the attached drawings, which are provided by way of non-limiting example, wherein:

    [0136] FIG. 1 shows a schematic diagram of a blood treatment apparatus according to one aspect of the invention;

    [0137] FIG. 2 shows a schematic diagram of an alternative embodiment of a blood treatment apparatus according to another aspect of the invention;

    [0138] FIG. 3 shows a schematic diagram of another alternative embodiment of a blood treatment apparatus according to a further aspect of the invention;

    [0139] FIG. 4 shows a conductivity (or concentration) vs. time diagram showing the conductivity (or concentration) profile in the fresh and in the spent dialysate line, according to another aspect of the invention;

    [0140] FIGS. 5 and 6 show a conductivity (or concentration) vs. time diagram in the fresh and in the spent dialysate line wherein the conductivity (or concentration) variation in the fresh dialysate line is in the form of a relatively long step;

    [0141] FIGS. 7 and 8 show a conductivity (or concentration) vs. time diagram in the fresh and in the spent dialysate line wherein the conductivity (or concentration) variation in the fresh dialysate line is in the form of a relatively short step;

    [0142] FIG. 9 shows a conductivity (or concentration) vs. time diagram in the fresh and in the spent dialysate line wherein the conductivity (or concentration) variation in the fresh dialysate line is in the form of pulse;

    [0143] FIG. 10 is a diagram showing the outlet conductivity (or concentration) vs. time and schematically illustrating an angular correction of the conductivity (or concentration) baseline;

    [0144] FIG. 11 is a schematic flowchart of a method according to one aspect of the invention;

    [0145] FIG. 12 shows a conductivity (mS.Math.100/cm) vs. time (seconds) diagram showing the real measured conductivity profile in the fresh and in the spent dialysate line in the case of a step conductivity variation in the fresh dialysate of 1 mS/cm.

    [0146] FIG. 13 is an enlarged view of the measured outlet conductivity profile of FIG. 12;

    [0147] FIG. 14 is an enlarged view of the measured outlet conductivity profile of FIG. 12 where the reference time ΔT.sub.R is identified;

    [0148] FIG. 15 is an enlarged view of the measured outlet conductivity profile of FIG. 12 (dotted line) and of the calculated curve representing the outlet conductivity as determined using a mathematical model according to aspects of the invention;

    [0149] FIG. 16 is another schematic flowchart of a method according to one aspect of the invention;

    [0150] FIGS. 17, 18 and 19 show a conductivity (or concentration) vs. time diagrams showing the conductivity (or concentration) profile in the fresh dialysate line, according other aspects of the invention.

    DETAILED DESCRIPTION

    [0151] Non-limiting embodiments of an apparatus 1 for extracorporeal treatment of blood—which may implement innovative aspects of the invention—are shown in FIGS. 1 to 3. FIG. 1 is a more schematic representation of the extracorporeal blood treatment apparatus 1, while FIGS. 2 and 3 represent, in greater detail, two possible non limiting embodiments of the apparatus 1.

    [0152] The apparatus 1 may be configured to determine a parameter indicative of the effectiveness of the treatment delivered to a patient (here below also referred to as effectiveness parameter). The effectiveness parameter may be one of the following: [0153] an effective dialysance for one or more substances of the treatment unit (D), e.g. electrolyte or sodium clearance; [0154] an effective clearance for one or more substances of the treatment unit (K), e.g. urea clearance; [0155] a concentration of a substance in blood (Cb.sub.in) upstream the blood treatment unit, e.g. sodium concentration in the blood upstream the treatment unit; [0156] a plasma conductivity upstream the blood treatment unit; [0157] a dialysis dose delivered until a certain point in time after start of the treatment (K.Math.t/V), where K is clearance, t represents the time interval from start of treatment until the point in time, and V represents a reference volume characteristic of the patient.

    [0158] Note that a parameter proportional to one of the above parameters or known function of one or more of the above parameters may alternatively be used as ‘effectiveness’ parameter.

    [0159] In below description and in FIGS. 1 to 3 same components are identified by same reference numerals. In FIG. 1 it is represented an apparatus for the extracorporeal treatment of blood 1 comprising a treatment unit 2 (such as an hemofilter, an ultrafilter, an hemodiafilter, a dialyzer, a plasmafilter and the like) having a primary chamber 3 and a secondary chamber 4 separated by a semi-permeable membrane 5; depending upon the treatment, the membrane of the filtration unit may be selected to have different properties and performances. A blood withdrawal line 6 is connected to an inlet of the primary chamber 3, and a blood return line 7 is connected to an outlet of the primary chamber 3. In use, the blood withdrawal line 6 and the blood return line 7 are connected to a needle or to a catheter or other access device (not shown) which is then placed in fluid communication with the patient vascular system, such that blood may be withdrawn through the blood withdrawal line, flown through the primary chamber and then returned to the patient's vascular system through the blood return line. An air separator, such as a bubble trap 8, may be present on the blood return line; moreover, a safety clamp 9 controlled by a control unit 10 may be present on the blood return line downstream the bubble trap 8. A bubble sensor 8a, for instance associated to the bubble trap 8 or coupled to a portion of the line 7 between bubble trap 8 and clamp 9 may be present: if present, the bubble sensor is connected to the control unit 10 and sends to the control unit 10 signals for the control unit 10 to cause closure of the clamp 9 in case one or more bubbles above certain safety thresholds are detected. The blood flow through the blood lines is controlled by a blood pump 11, for instance a peristaltic blood pump, acting either on the blood withdrawal line or on the blood return line. An operator may enter a set value for the blood flow rate Q.sub.B through a user interface 12 and the control unit 10, during treatment, is configured to control the blood pump based on the set blood flow rate Q.sub.B. The control unit 10 may comprise a digital processor (CPU) and a memory (or memories), an analogical type circuit, or a combination thereof as explained in greater detail in below section dedicated to the ‘control unit 10’. An effluent fluid line or spent dialysate line 13 is connected, at one end, to an outlet of the secondary chamber 4 and, at its other end, to a waste which may be a discharge conduit or an effluent fluid container collecting the fluid extracted from the secondary chamber. A fresh dialysis fluid line 19 is connected to the inlet of the secondary chamber 4 and supplies fresh dialysate to from a source to said second chamber. Conductivity or concentration sensors 109, 109a are respectively positioned on the fresh dialysis fluid line 19 and on the spent dialysate line 13. Concentration or conductivity sensor 109 is configured for detecting the conductivity or the concentration for one substance of for a group of substances—identified as Cd.sub.in—in the fresh dialysis fluid line 19. Concentration or conductivity sensor 109a is configured for detecting the conductivity or the concentration for one substance of for a group of substances—identified as Cd.sub.out—in the spent dialysate line 13. FIG. 2 shows an apparatus 1 configured to deliver any one of treatments like ultrafiltration and hemodialysis and hemodiafiltration. The apparatus of FIG. 2 comprises all the features described above in connection with FIG. 1, which are identified in FIG. 2 with same reference numerals. Furthermore, in the apparatus of FIG. 2, other features of a possible embodiment of the apparatus 1 are schematically shown: an effluent fluid pump 17 that operates on the effluent fluid line under the control of control unit 10 to regulate the flow rate Q.sub.eff across the effluent fluid line. The apparatus 1 may also include an ultrafiltration line 25 branching off the effluent line 13 and provided with a respective ultrafiltration pump 27 also controlled by control unit 10. The embodiment of FIG. 2 presents a pre-dilution fluid line 15 connected to the blood withdrawal line: this line 15 supplies replacement fluid from an infusion fluid container 16 connected at one end of the pre-dilution fluid line. Although in FIG. 2 a container 16 is shown as the source of infusion fluid, this should not be interpreted in a limitative manner: indeed, the infusion fluid may also come from an on line preparation section 100 part of the apparatus 1. Note that alternatively to the pre-dilution fluid line 15 the apparatus of FIG. 1 may include a post-dilution fluid line (not shown in FIG. 2) connecting an infusion fluid container to the blood return line. Finally, as a further alternative (not shown in FIG. 2) the apparatus of FIG. 2 may include both a pre-dilution and a post infusion fluid line: in this case each infusion fluid line may be connected to a respective infusion fluid container or the two infusion fluid lines may receive infusion fluid from a same source of infusion fluid such as a same infusion fluid container. Once again, the source of infusion fluid may alternatively be an online preparation section part of the apparatus 1 (similar to the device 100 described herein below) supplying fluid to the post and/or pre dilution lines. Furthermore, an infusion pump 18 operates on the infusion line 15 to regulate the flow rate Q.sub.rep through the infusion line. Note that in case of two infusion lines (pre-dilution and post-dilution) each infusion line may be provided with a respective infusion pump. The apparatus of FIG. 2 includes a dialysis fluid line 19 connected at one end with a water inlet and at its other end with the inlet of the secondary chamber 4 of the filtration unit for supplying fresh dialysis liquid to the secondary chamber 4. A dialysis fluid pump 21 is operative on the dialysis liquid fluid line 19 under the control of said control unit 10, to supply fluid from the dialysis liquid container to the secondary chamber at a flow rate Qdial. The dialysis fluid pump 21, the ultrafiltration pump 27, the concentrate pumps 105 and 108, the infusion fluid pump 15 and the effluent fluid pump 17 are operatively connected to the control unit 10 which controls the pumps as it will be in detail disclosed herein below. An initial tract of line 19 links the haemodialyser or hemodiafilter 2 to a device 100, for preparing the dialysis liquid, which also includes a further tract of said line 19. The device 100 comprises a main line 101, the upstream end of which is designed to be connected to a supply of running water. Connected to this main line 101 are a first secondary line 102 and a second secondary line 103. The first secondary line 102, which may be looped back onto the main line 101, is provided with a connector configured for fitting a container 104, such as a bag or cartridge or other container, containing sodium bicarbonate in granule form (alternatively a concentrate in liquid form may be used). Line 102 is furthermore equipped with a concentrate pump 105 for metering the sodium bicarbonate into the dialysis liquid: as shown in FIG. 7 the pump may be located downstream of the container 104. The operation of the pump 105 is determined by the comparison between 1) a conductivity set point value for the solution forming at the junction of the main line 101 and the first secondary line 102 and 2) the value of the conductivity of this mixture measured through a first conductivity probe 106 located in the main line 101 immediately downstream of the junction between the main line 101 and the first secondary line 102. The free end of the second secondary line 103 is intended to be immersed in a container 107 for a concentrated saline solution, e.g. containing sodium chloride, calcium chloride, magnesium chloride and potassium chloride, as well as acetic acid. The second secondary line 103 is equipped with a pump 108 for metering sodium into the dialysis liquid, the operation of which pump depends on the comparison between 1) a second conductivity set point value for the solution forming at the junction of the main line 101 and the second secondary line 103 and 2) the value of the conductivity of this solution measured through a second conductivity probe 109 located in the main line 12 immediately downstream of the junction between the main line 12 and the secondary line 103. Note that as an alternative, instead of conductivity sensors concentration sensors may in principle be used. Moreover, the specific nature of the concentrates contained in containers 104 and 107 may be varied depending upon the circumstances and of the type of dialysis fluid to be prepared. The control unit 10 is also connected to the user interface 12, for instance a graphic user interface, which receives operator's inputs and displays the apparatus outputs. For instance, the graphic user interface 12 may include a touch screen, a display screen and hard keys for entering user's inputs or a combination thereof. The embodiment of FIG. 3 shows an alternative apparatus 2 designed for delivering any one of treatments like hemodialysis and ultrafiltration. The apparatus of FIG. 3 includes the same components described for the apparatus of FIG. 1. In the apparatus shown in FIG. 3 the same components described for the embodiment of FIG. 2 are identified by same reference numerals and thus not described again. In practice, differently from the hemodiafiltration apparatus of FIG. 2, the apparatus of FIG. 3 does not present any infusion line. In each one of the above described embodiments, flow sensors 110, 111 (either of the volumetric or of the mass type) may be used to measure flow rate in each of the lines. Flow sensors are connected to the control unit 10. In the example of FIG. 2 where the infusion line 15 and the ultrafiltration line 25 lead to a respective bag 16, 23, scales may be used to detect the amount of fluid delivered or collected. For instance, the apparatus of FIG. 2 includes a first scale 33 operative for providing weight information W.sub.1 relative to the amount of the fluid collected in the ultrafiltration container 23 and a second scale 34 operative for providing weight information W.sub.2 relative to the amount of the fluid supplied from infusion container 16. In the embodiment of FIG. 3, the apparatus includes a first scale 33 operative for providing weight information W.sub.1 relative to the amount of the fluid collected in the ultrafiltration container 23. The scales are all connected to the control unit 10 and provide said weight information W.sub.1 for the control unit 10 to determine the actual quantity of fluid in each container as well as the actual flow rate of fluid supplied by, or received in, each container. In the example of FIG. 1 there is no dedicated ultrafiltration line and the total amount of ultrafiltration is determined by the difference of the flow rates detected by sensors 110 and 111. The control unit 10 is configured to act on appropriate actuators, such as pumps, present on lines 13 and 19 and—using the information concerning the difference of flow rates as detected by sensors 110, 111—to make sure that a prefixed patient fluid removal is achieved in the course of a treatment time T, as required by the prescription provided to the control unit 10, e.g. via user interface 12. In the example of FIGS. 2 and 3, in order to control the fluid balance between the quantity of fluid supplied to the secondary chamber 4 and the quantity of fluid extracted from the secondary chamber, the flow-meters 110, 111 positioned on the fresh dialysate line and on the waste line 13 provide the control unit 10 with signals indicative of the flow of fluid through the respective lines and the scale or scales provide weight information which allow the control unit 10 to derive the flow rate through the ultrafiltration line 25 and, if present, through the infusion line 15. The control unit 10 is configured to control at least pumps 17, 21 and 27 (in case of FIG. 2 also pump 18) to make sure that a prefixed patient fluid removal is achieved in the course of a treatment time T, as required by the prescription provided to the control unit 10, e.g. via user interface 12. Note that other fluid balance systems may be used: for instance in case the apparatus includes a container as source of fresh dialysis fluid and a container to collect waste, then scales may be used to detect the amount of fluid delivered or collected by each container and then inform the control unit 10 accordingly. As a further alternative, systems based on volumetric control may be used where the fresh dialysis liquid line 19 and the waste line 13 are connected to a balance chamber system assuring that—at each instant—the quantity of liquid flowing into line 19 is identical to the quantity of fluid exiting from line 13. From a structural point of view one or more, containers/bags 104, 107, 14, 16, 23 may be disposable plastic containers. The blood lines 6, 7 lines and the filtration unit may also be plastic disposable components which may be mounted at the beginning of the treatment session and then disposed of at the end of the treatment session. Pumps, e.g. peristaltic pumps or positive displacement pumps, have been described as means for regulating fluid flow through each of the lines; however, it should be noted that other flow regulating means may alternatively be adopted such as for example valves or combinations of valves and pumps. The scales may comprise piezoelectric sensors, or strain gauges, or spring sensors, or any other type of transducer able to sense forces applied thereon. As already explained, the conductivity sensors may be replaced by concentration sensors.

    Determination of the Effectiveness Parameter

    [0160] As mentioned at the beginning of the detailed description, the apparatus 1 is capable of determining an effectiveness parameter. In this regard, the control unit 10 of the apparatus 1 is configured for commanding execution of a number of procedures including a task specifically devoted to the determination of the parameter indicative of the effectiveness of the extracorporeal blood treatment. The task devoted to determination of the effectiveness parameter comprises the steps described herein below. First, the control unit 10 is configured for receiving at least one prescription baseline Cd.sub.set for the characteristic Cd.sub.in in the fresh treatment liquid; the characteristic may be the concentration for one substance in the dialysis liquid (e.g. the sodium concentration, or the calcium concentration), or the concentration for a group of substances in the dialysis liquid (such as the electrolyte concentration) or the conductivity of the dialysis liquid. Furthermore, the set value for the prescription baseline may be either pre set in a memory connected to the control unit 10 or, alternatively, it may be entered by the user via user interface 12. Although the prescription baseline is frequently a constant value, it may alternatively comprise a time-variable value which changes during treatment according to a prefixed law. The control unit 10, acting on appropriate actuators such as pumps 21 and 17, causes circulation of dialysis fluid through lines 19 and 13 and through the secondary chamber 4 of the treatment unit 2. In greater detail, the control unit 10 is configured for causing fresh treatment liquid to flow in the preparation line 19 to the secondary chamber 4 with the characteristic being at said prescription baseline Cd.sub.set: the characteristic at the baseline value may for instance be achieved by appropriately controlling the concentrate pumps 105, 108 of the preparation section 100. Furthermore, the control unit 10 is configured for reading the value of the characteristic through the spent dialysis fluid using sensor 109a. Depending upon the case, sensor 109a may for instance be a conductivity sensor, or a concentration sensor (sensitive to one or more substances).

    [0161] In addition to command the circulation of dialysis liquid in lines 19 and 13, the control unit 10, e.g. by acting one or more concentrate pumps 105, 108, causes an upstream variation of the value of the characteristic Cd.sub.in in the fresh treatment liquid with respect to said prescription baseline Cd.sub.set and then re-establishes the characteristic Cd.sub.in in the fresh treatment liquid to said prescription baseline Cd.sub.set. Note that the alteration of the characteristic may be made using any means able to momentarily change the characteristic of the dialysis liquid, e.g. the conductivity or the concentration for one or more substances in the fresh dialysis fluid: for instance, a bolus pump configured to inject a predefined bolus of saline may be used for this purpose. The upstream variation causes a corresponding and timely delayed downstream variation of the same characteristic Cd.sub.out in the spent liquid flowing in the spent dialysate line: FIG. 4 schematically shows the time delay ΔT.sub.D between the upstream variation and the downstream variation; the time delay which is also referred to as hydraulic delay depends upon the components such as tubing and second chamber interposed between the sensor 109 and the sensor 109a. The time delay ΔT.sub.D between the upstream variation and the downstream variation is also shown in FIGS. 5, 6, 7, 8.

    Parametric Mathematical Model

    [0162] The control unit 10 is also configured to receive at least one parametric mathematical model which puts into relation the characteristic Cd.sub.in in the fresh treatment liquid with the characteristic Cd.sub.out in the spent liquid. The parametric mathematical model, which mathematically describes the components interposed between the two sensors 109, 109a, may for instance be pre-stored in a memory connected to the control unit 10, or it may be transferred to said memory via user interface 12 or via other input means such as a data reader, or it may be remotely transmitted from a remote source. The parametric model mathematically models the portion of hydraulic circuit between the sensors 109 and 109a and presents a prefixed number of free parameters that are determined as described herein below in order to characterize the parametric mathematical model into one single model. In practice, the parametric mathematical model defines a family of mathematical models and is univocally characterized only once the parameters of the model are determined.

    [0163] In order to determine the parameters of the parametric mathematical model, the control unit 10 is configured to receive, e.g. from sensor 109a, measures of a plurality of values taken by a reference portion 200 of the downstream variation of the characteristic Cd.sub.out in the spent liquid. The measured values taken by the reference portion 200 of the variation in the characteristic Cd.sub.out may be measured by first identifying the initiation of a ramp-up or of a ramp-down portion of the downstream variation with respect to a respective baseline value of the same characteristic Cd.sub.out in the spent liquid, and then by measuring the plurality of values, as values taken by said ramp-up portion or ramp-down portion of said downstream variation. According to an aspect of the invention, the reference portion 200 which is used by the control unit 10 to characterize the mathematical model has a duration ΔT.sub.R significantly shorter than the entire duration ΔT.sub.V of the downstream variation: duration ΔT.sub.R may be less than 70% and optionally less than 50% of duration ΔT.sub.V. This is visible e.g. in FIGS. 5 and 6: FIG. 5 shows the duration ΔT.sub.V of the entire downstream variation which certain conventional systems have to wait in order to calculate the effectiveness parameter, while FIG. 6 shows the much shorter interval ΔT.sub.R necessary to characterize the mathematical model and then calculate the effectiveness parameter. More in detail, according to an aspect of the invention, the control unit 10 characterizes the mathematical model without having to wait for the entire interval ΔT.sub.V by estimating the free parameters of the parametric mathematical model using measured values taken by the reference portion thereby identifying one single characteristic mathematical model using measured values taken during time interval ΔT.sub.R which is much shorter than ΔT.sub.V. Once the parameters of the model have been determined, the control unit 10 has the characteristic mathematical model and may compute the value of the effectiveness parameter supplying as input to the characteristic mathematical model one or more values taken by the characteristic Cd.sub.in in the fresh treatment liquid. In other words with use of the parametric mathematical model and with the characterization of the same through measured values taken by the characteristic Cd.sub.out during ΔT.sub.R, it is possible to then calculate the effectiveness parameter with no need to take measures during the entire downstream variation, thus shortening the time during which control of the characteristic (e.g. concentration or conductivity of the dialysis liquid) should not be taken over by procedures other than the task for the determination of the effectiveness parameter. In other words the task for determining the effectiveness parameter should prevent execution of other procedures acting on the characteristic of the fresh dialysis liquid only until the end measurement instant T.sub.END_MEAS represented in FIGS. 6, 8 and 9 which is the instant at which the measurement of said plurality of values of the reference portion of said downstream variation necessary for characterizing the model has been completed. In order to calculate the effectiveness parameter, the control unit 10 may for instance first compute at least one significant value of said downstream variation of the characteristic Cd.sub.out: the significant value of the downstream variation is a computed not measured value which, as shown in the example of FIG. 6, relates to a time subsequent to the duration of the reference portion, for instance it may represent an asymptotic value Cd.sub.out2 that the downstream variation would take after a relatively long time. This value is computed by using the characteristic mathematical model providing one or more real or set values representative of the upstream variation; once the significant value Cd.sub.out2 has been determined, the control unit 10 may compute at least one value of a parameter (D, Cb.sub.in, K, K.Math.t/V) indicative of the effectiveness of the extracorporeal blood treatment from said computed significant value and from one or more values taken by the characteristic Cd.sub.in in the fresh treatment liquid.

    [0164] The computation of the at least one significant value or directly of the effectiveness parameter comprises determining the value Cd.sub.out(n) of characteristic Cd.sub.out in the spent liquid at time instant (n) by using as input to the mathematical model: [0165] a) the measured values of characteristic Cd.sub.in in the fresh treatment liquid at a plurality of time instants (n−1, n−2, n−3) preceding in time the time instant (n), as measured for instance by sensor 109; or [0166] b) a mathematically calculated version of characteristic Cd.sub.in in the fresh treatment liquid; in this second case the input is a set curve or a number of set values which are fed as input to the mathematical model.

    [0167] The mathematical model—for instance a time invariant linear (LTI) model—may be represented in the time domain by the following recursive equation:


    y(n)=a.sub.0.Math.u(n)+b.sub.1.Math.y(n−1)+b.sub.2.Math.y(n−2)+ . . . b.sub.m.Math.y(n−m),

    [0168] Thus, the value Cd.sub.out(n) of characteristic Cd.sub.out in the spent liquid at time instant (n) subsequent to said reference portion is calculated with the following recursive equation:


    Cd.sub.out(n)=a.sub.0.Math.Cd.sub.in(n)+b.sub.1.Math.Cd.sub.out(n−1)+b.sub.2.Math.Cd.sub.out(n−2)+ . . . b.sub.m.Math.Cd.sub.out(n−m),

    wherein:
    Cd.sub.out(n) is the calculated value of the outlet characteristic at time instant (n),
    Cd.sub.in(n) is the known value of the inlet characteristic at time instant (n),
    Cd.sub.out(n−1), Cd.sub.out(n−2), . . . , Cd.sub.out(n−m) are values of the outlet characteristic at preceding time instants (n−1, n−2, . . . n−m) prior to time instant (n) and recursively computed through the mathematical model. a.sub.0, b.sub.1, b.sub.2, . . . , b.sub.m are constant parameters that characterize the mathematical model, as estimated by using said measured values of the reference portion of the downstream variation.

    [0169] In the frequency domain and using the z-Transform—the mathematical model is described by a transfer function H(z) having at least one zero and at least one pole. In an embodiment, the transfer function H(z) comprises a plurality of poles, e.g. from 2 to 5 poles, and is described by one of the following:


    H(z)=Cd.sub.out(z)/Cd.sub.in(z)=a.sub.0/(1−b.sub.1.Math.z.sup.−1−b.sub.2.Math.z.sup.−2−b.sub.3.Math.z.sup.−3−b.sub.4.Math.z.sup.−4−b.sub.5.Math.z.sup.−5),


    H(z)=Cd.sub.out(z)/Cd.sub.in(z)=a.sub.0/(1−b.sub.1.Math.z.sup.−1−b.sub.2.Math.z.sup.−2−b.sub.3.Math.z.sup.−3.Math.b.sub.4.Math.z.sup.−4),


    H(z)=Cd.sub.out(z)/Cd.sub.in(z)=a.sub.0/(1−b.sub.1.Math.z.sup.−1−b.sub.2.Math.z.sup.−2−b.sub.3.Math.z.sup.−3),


    H(z)=Cd.sub.out(z)/Cd.sub.in(z)=a.sub.0/(1−b.sub.1.Math.z.sup.−1−b.sub.2.Math.z.sup.−2),

    wherein
    a.sub.0, b.sub.1, b.sub.2, b.sub.3, b.sub.4, b.sub.5 are constant parameters of the model, as estimated by using said measured values of the reference portion of the downstream variation.

    [0170] FIGS. 5, 6 and 7, 8 respectively show two possible implementations of the invention. In FIGS. 5 and 6 the characteristic is altered from a first to a second value and kept at the second value for a relatively long time, while in FIGS. 7 and 8 the characteristic is kept at the second value for a relatively short time. More in detail, in the example of FIG. 5 and 6, the value of the characteristic Cd.sub.in in the fresh treatment liquid is varied by imposing a change of the same from a first inlet value Cd.sub.in1 to a second inlet value Cd.sub.in2, which may be kept constant for a prefixed time interval of e.g. 3 to 10 minutes, thereby causing a corresponding change of the characteristic Cd.sub.out in spent liquid from a respective first outlet value Cd.sub.out1 to a respective second outlet value Cd.sub.out2 defining said timely delayed downstream variation of the characteristic Cd.sub.out. In the example of FIGS. 5 and 6, the reference portion of the downstream variation begins after the characteristic in the spent liquid changes from said first outlet value Cd.sub.out1 and lasts a period—for instance prefixed period ΔT.sub.R—during which the characteristic either continuously increases or decreases without reaching the second outlet value Cd.sub.out2. In the example shown, during ΔT.sub.R the characteristic Cd.sub.out does not reach a prefixed fraction, e.g. 80%, of the second outlet value Cd.sub.out2. Moreover, there is no need to wait until the real value Cd.sub.out2 is actually reached. Instead, the second outlet value Cd.sub.out2 of the characteristic Cd.sub.out is calculated by using as input to the characteristic mathematical model the values of characteristic Cd.sub.in in the fresh treatment liquid, or a mathematically calculated version of the characteristic Cd.sub.in in the fresh treatment liquid.

    [0171] Notably, a different mathematical model and approach may be used to determine the second outlet value Cd.sub.out2.

    [0172] Indeed, the response in the spent dialysate (effluent) line to the conductivity step, may be the input for the differential evolution algorithm that uses a mathematical model to predict the system response at the steady state. The differential evolution algorithm is an alternative method that optimizes the problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. Such method is commonly known as metaheuristic as it makes few or no assumptions about the problem being optimized and can search very large spaces of candidate solutions. It has been proved from practical evidences that running a differential evolution algorithm for about 1000 generations provides a meaningful result for the second outlet value Cd.sub.out2 in about 1 minute of computations on PC104 board. Other strategies different from the previously described mathematical models might be used, but the differential evolution algorithm has proven good and reliable results in most cases. Then, the calculated second outlet value Cd.sub.out2 is used as significant value for the computation of at least one value of a parameter (D, Cb.sub.in, K, K.Math.t/V) indicative of the effectiveness of the extracorporeal blood treatment. In accordance with an aspect, if the parameter comprises is effective dialysance D, each computed value D.sub.k of the dialysance each respective variation is obtained using the formula:


    D.sub.k=(Qdial+WLR).Math.[1−(Cd.sub.out2−Cd.sub.out1)/(Cd.sub.in2−Cd.sub.in1)]

    where:
    Cd.sub.out1 is the first outlet value taken by the characteristic in the spent dialysate line downstream of the secondary chamber in response to the change of characteristic Cd.sub.in in the preparation line to said first inlet value Cd.sub.in1,
    Cd.sub.out2 is the calculated second value (namely the significant value) which is representative of the value taken by the characteristic in the spent dialysate line downstream of the secondary chamber in response to the change of characteristic Cd.sub.in in the preparation line from said first inlet value Cd.sub.in1 to said second inlet value Cd.sub.in2,
    Cd.sub.in1, Cd.sub.in2 are first and second inlet values taken by the characteristic (Cd) in the preparation line upstream of the secondary chamber,
    Qdial is the fresh treatment liquid flow rate in the preparation line,
    WLR is the weight loss rate of a patient under treatment.

    [0173] In FIGS. 7, 8 the upstream variation/perturbation is shorter and the value of the characteristic Cd.sub.in in the fresh treatment liquid is varied by imposing a change of the same from a first inlet value Cd.sub.in1 to a second inlet value Cd.sub.in2, which may optionally be kept constant for a prefixed time interval of e.g. 1 to 2 minutes, and then a further change to a third inlet value Cd.sub.out3 thereby causing a corresponding change of the characteristic Cd.sub.out in spent liquid from a respective first outlet value Cd.sub.out1 to a respective second outlet value Cd.sub.out2 and then back to a third value Cd.sub.out3 to define said timely delayed downstream variation of the characteristic Cd.sub.out. In the example of FIGS. 7 and 8, Cd.sub.in1 is equal or close to Cd.sub.in3. In case a short variation/perturbation is used, the formula needed for the calculation of the effectiveness parameter requires more than simply the knowledge of one significant value such as Cd.sub.out2. In the example of FIGS. 7 and 8, the reference portion of the downstream variation begins after the characteristic in the spent liquid changes from said first outlet value Cd.sub.out and lasts a period—for instance prefixed period ΔT.sub.R—during which the characteristic either continuously increases or decreases. During ΔT.sub.R the characteristic Cd.sub.out may or may not reach the second outlet value Cd.sub.out2. In accordance with an aspect, there is no need to wait until Cd.sub.out reaches Cd.sub.out2 and returns to the baseline value Cd.sub.out3. Instead, the second and third Cd.sub.out2 and Cd.sub.out3 or at least the third outlet value Cd.sub.out3 of the characteristic Cd.sub.out are/is calculated by using as input to the characteristic mathematical model the values of characteristic Cd.sub.in in the fresh treatment liquid, or a mathematically calculated version of the characteristic Cd.sub.in in the fresh treatment liquid.

    [0174] Once the values Cd.sub.out1, Cd.sub.out2, Cd.sub.out3 have been calculated, the effectiveness parameter may be determined based on these calculated values and on one or more inlet values of the conductivity, e.g. Cd.sub.in1, Cd.sub.in2, Cd.sub.in3.

    [0175] For instance if dialysance is to be calculated, the following formula may be adopted:


    D=(Qdial+WLR)[1−(2×Cd.sub.out1−Cd.sub.out2−Cd.sub.out3)/(2×Cd.sub.in1−Cd.sub.in2−Cd.sub.in3)]

    where:
    Cd.sub.out1 is the first outlet value taken by the characteristic in the spent dialysate line downstream of the secondary chamber in response to the change of characteristic Cd.sub.in in the preparation line to said first inlet value Cd.sub.in1,
    Cd.sub.out2 is the calculated second value (namely one of the significant values) which is representative of the value taken by the characteristic in the spent dialysate line downstream of the secondary chamber in response to the change of characteristic Cd.sub.in in the preparation line from said first inlet value Cd.sub.in2 to said second inlet value Cd.sub.in2,
    Cd.sub.out3 is the calculated third value (namely one of the significant values) which is representative of the value taken by the characteristic in the spent dialysate line downstream of the secondary chamber in response to the change of characteristic Cd.sub.in in the preparation line from said second inlet value Cd.sub.in2 to said third inlet value Cd.sub.in3,
    Cd.sub.in1, Cd.sub.in2, Cd.sub.in3 are first, second and third inlet values taken by the characteristic (Cd) in the preparation line upstream of the secondary chamber,
    Qdial is the fresh treatment liquid flow rate in the preparation line,
    WLR is the weight loss rate of a patient under treatment.

    [0176] According to a further embodiment, see FIG. 9, varying the value of the characteristic Cd.sub.in in the fresh treatment liquid comprises imposing an upstream variation/perturbation, which may be in the shape of a sinusoid or of a short peak, in the characteristic of the fresh treatment liquid thereby causing a corresponding downstream variation/perturbation of the characteristic Cd.sub.out in spent liquid. The reference portion of said downstream variation/perturbation begins after the characteristic in the spent liquid changes from said first outlet value Cd.sub.out1 and lasts a prefixed period shorter than a fraction, e.g. 60% or even 50%, of the duration of the entire downstream variation/perturbation. The control unit 10 determines in this case a plurality, e.g. 10 or more, of significant values of the characteristic Cd.sub.out, describing a remaining portion of the downstream variation/perturbation consecutive to said reference portion, by using as input to the mathematical model the values of characteristic Cd.sub.in in the fresh treatment liquid, or a mathematically calculated version of the characteristic Cd.sub.in in the fresh treatment liquid, thereby obtaining a calculated downstream variation/perturbation from said extrapolated significant values.

    [0177] Then, using e.g. the formulas described in EP 0920877, the control unit computes at least one value of a parameter (D, Cb.sub.in, K, K.Math.t/V) indicative of the effectiveness of the extracorporeal blood treatment by comparing the calculated downstream variation/perturbation and the upstream variation/perturbation.

    [0178] In accordance with a further aspect of the invention, the control unit 10 may also be configured to determine the baseline of the downstream curve representative of the values Cd.sub.out(t) taken over time by said characteristic in the spent dialysate line downstream of the secondary chamber. The baseline of the downstream curve Cd.sub.out(t) may be determined using measured values of the characteristic Cd.sub.out in the spent liquid or using a calculated curve representative of the downstream variation which has been previously determined using the characteristic mathematical model. In this second option only measured values of the characteristic Cd.sub.out in the spent liquid during said reference portion are used for the determination of the free parameters to identify the characteristic mathematical model; then using said identified characteristic mathematical model, a downstream curve Cd.sub.out(t) representative of the values taken by the characteristic Cd.sub.out in the spent liquid is mathematically determined and the baseline thereof identified.

    [0179] The control unit may be configured to determine an angular deviation a between the baseline of the downstream curve Cd.sub.out(t) with respect to the prescription baseline Cd.sub.set, and to compensate for said angular deviation by angularly rotating the downstream curve to obtain a corrected downstream curve Cd.sub.out-correct(t), as shown in a the enlarged representation of FIG. 10.

    [0180] According to a yet further aspect, the control unit 10 is configured to remove undesired noise from the characteristic Cd.sub.out. In accordance with an aspect, the control unit may receive measured values of the characteristic Cd.sub.out in the spent liquid during said reference portion, estimate the free parameters of the parametric mathematical model to identify the characteristic mathematical model, determine a downstream curve Cd.sub.out(t) representative of the values taken by the characteristic Cd.sub.out in the spent liquid using said identified characteristic mathematical model, analyze a frequency spectrum of the downstream curve Cd.sub.out(t), filter out harmonics of said frequency spectrum of the downstream curve Cd.sub.out(t) lying at frequencies higher than a prefixed threshold to eliminate noise and undesired perturbations possibly present in the downstream curve and obtain a corrected downstream curve Cd.sub.out-correct(t).

    [0181] Although the above description referred to one single parametric mathematical model, the control unit 10 may further be configured for storing a plurality of mathematical models each of which puts into relation the characteristic (Cd.sub.in) in the fresh treatment liquid with the characteristic (Cd.sub.out) in the spent liquid. In this case the control unit may be configured for selecting the mathematical model to be used for computing the at least one significant value of said downstream variation based on certain factors such as for instance: the shape of the upstream variation (one mathematical model may be better suited for a long step variation/perturbation while another model may more properly operate for a short sinusoidal change), the type of blood treatment unit used by the apparatus, whether or not particular hydraulic components are present in the circuit section between sensor 109 and sensor 109a.

    [0182] Aspects of the invention are also disclosed in FIG. 11, which shows a flowchart exemplifying a method for determining an effectiveness parameter. The method may be executed by the control unit 10 of any one of the apparatuses disclosed herein above or claimed in the appended claims.

    [0183] The method comprises the following steps. [0184] step 300: selection of the mathematical model; [0185] step 301: measurement of values of conductivity, or concentration, Cd.sub.out in the spent dialysate corresponding to a variation respectively in the conductivity, or in the concentration of at least one substance, Cd.sub.in made on the fresh dialysis liquid flowing upstream the blood treatment unit (step 301); the measures are taken during the reference time ΔT.sub.R which is sensibly shorter than the duration of the downstream variation, as already explained herein above; [0186] step 302: characterization of mathematical model using the measured value(s) of Cd.sub.out taken during the reference time ΔT.sub.R and identification of a single mathematical model; [0187] step 303: determination, using the mathematical model, of significant value(s) necessary for the calculation of the effectiveness parameter; the significant values may be one or more calculated conductivity or concentration values of the downstream variation at instants following the reference period (such as Cd.sub.out2 or Cd.sub.out2 and Cd.sub.out3); [0188] step 304: determination of effectiveness parameter using the calculated significant value or values.

    [0189] The calculation of the effectiveness parameter may be made using any one of the formulas described above.

    Example 1

    [0190] Here below an example is described, with reference to FIGS. 12-15, showing use of a one-zero and three-pole mathematical model to mathematically calculate the entire downstream variation; it is relevant noticing that to characterize the model, only measured values relative to a reference portion of the downstream variation having relatively short duration compared to the duration of the entire downstream variation are used. The Example provided adopts an exemplifying mathematical model and makes reference to a step variation/perturbation imposed in the liquid flowing upstream the blood treatment unit. Of course other mathematical models may be adopted and the upstream variation/perturbation may be different from a step-shaped variation/perturbation.

    [0191] Furthermore, the example makes reference to conductivity variations and corresponding measures: of course the same procedure may be adopted using variations, and corresponding measures, in the concentration of at least one substance in the dialysis liquid.

    [0192] Referring now to the diagram of FIG. 12, two curves are represented: a first curve represents the inlet conductivity Cd.sub.in and shows a step-shaped conductivity variation (1 mS/cm) that has been imposed to the conductivity of the dialysis liquid flowing upstream the blood treatment unit, while a second curve (below the first curve) represents the downstream conductivity Cd.sub.out and shows the corresponding variation in the conductivity of the spent dialysis liquid as a consequence of the step-shaped variation/perturbation on the upstream conductivity Cd.sub.in. FIG. 13 is an enlarged view of FIG. 12 and focuses on the outlet conductivity: notice that the curve in FIG. 13 is obtained measuring the outlet conductivity values from time 700 s to time 950 s (i.e. 250 seconds). FIG. 13 shows the value of the outlet conductivity Cd.sub.out2 at time 910 which is regarded as the significant value of interest, necessary for the calculation of e.g. dialysance when using formula:


    D.sub.k=(Qdial+WLR).Math.[1−(Cd.sub.out2−Cd.sub.out1)/(Cd.sub.in2−Cd.sub.in1)]

    [0193] According to one aspect of the invention, instead of measuring the conductivity values until time 950 s, measures are taken only during reference portion ΔT.sub.R (please refer to FIG. 14) i.e. for the 100 seconds only

    [0194] Then, using the following a one-zero and three-pole model:

    [00001] H ( z ) = a 0 1 - b 1 z - 1 - b 2 z - 2 - b 3 z - 3

    [0195] The following parameters are estimated using the measured values of Cd.sub.out during reference portion ΔT.sub.R: [0196] a0=0.004209932871 [0197] b1=−2.905495405197 [0198] b2=2.815777778625 [0199] b3=−0.910210132599
    giving

    [00002] H ( z ) = ( 0 . 0 0 4 2 0 9 9 3 2 8 7 1 ) ( 1 - 2 . 9 0 5 4 9 5 4 0 5 1 9 7 z 1 + 2 . 8 1 5 7 7 7 7 7 8 6 2 5 z 2 - 0.910210 1 3 2 5 9 9 z 3 )

    [0200] By feeding an idealized unit step (i.e. a calculated step) of appropriate length (e.g. 200 to 300 s) to this model and by suitably adding the baseline value Cd.sub.out1 to the model output, we get a signal as shown in FIG. 15 (continuous line represents model output, while dotted line schematically represents measured Cd.sub.out), which closely approximates the behavior of the system in a time interval following the reference portion.

    [0201] The following table shows the measured versus computed values of Cd.sub.out in the neighborhood of time n=910 where the good match between measured and computed values can be seen.

    TABLE-US-00001 Cd.sub.out model Cd.sub.out measured Time (mS .Math. 100/cm) (mS .Math. 100/cm) 905 1358.567173 1359 906 1358.586262 1359 907 1358.604656 1359 908 1358.622398 1359 909 1358.639698 1359 910 1358.656872 1359 911 1358.674126 1359 912 1358.691517 1359 913 1358.709053 1359 914 1358.726700 1359 915 1358.744549 1359

    [0202] The calculated significant value Cd.sub.out2 at time 910 is 13.59 mS/cm is very close to the corresponding measured value (13,58656872 mS/cm). Thus, the dialysance calculation using the above formula and relying on the calculated value Cd.sub.out2 of 13.59 mS/cm will provide exactly the same result as when using a measured valued for Cd.sub.out2, while requiring actual measurements only during ΔT.sub.R.

    Upstream Variation

    [0203] According to one aspect of the invention, the control unit is configured to compute the extent (duration over time ΔT and/or the amplitude ΔC.sub.in) of the mentioned upstream variation of the value of the characteristic Cd.sub.in in the fresh treatment liquid with respect to said prescription baseline Cd.sub.set as a function of the working conditions of the apparatus and in particular of the flow rate Qdial of the fresh treatment liquid in the preparation line 19 and/or of another parameter correlated to the flow rate Qdial. Indeed, a parameter proportional to the flow rate Qdial or a known function of the flow rate Qdial may alternatively be used as flow rate Qdial. Extent of the upstream variation is computed in order to tune and optimize said upstream variation as a function of the effective flow rate Qdial and to minimize the effects of undesired modifications of the characteristic of the dialysis liquid on patients. In this way, the best duration over time ΔT and/or the best amplitude ΔC.sub.in are/is set at each flow rate Qdial of the fresh treatment liquid during treatment, meaning that the best compromise “precision vs treatment interruption” is ensured and unnecessary machine time to determine the effectiveness parameter is avoided.

    [0204] Note that this aspect related to the optimization of the upstream variation may also be independent from the implementation of the parametric mathematical model detailed above. Indeed, the values correlated to the downstream variation may also be all measured and/or calculated in some other way and used to compute said at least one value of a parameter indicative of the effectiveness of the extracorporeal blood treatment without using the parametric mathematical model.

    [0205] As schematically shown in FIGS. 4, 7, 8 and 9, the upstream variation may be in the shape of a rectangle or square or of a bell or a peak or a sinusoid. Said upstream variation has an amplitude ΔC.sub.in and a duration over time ΔT. The duration over time ΔT is a time frame during which the characteristic Cd.sub.in is different from the prescription baseline Cd.sub.set. In FIGS. 4, 7, 8 and 9, the upstream variation is all above (higher than) the prescription baseline Cd.sub.set but the upstream variation may also be all below (lower than) the prescription baseline Cd.sub.set, like in FIG. 19. The upstream variation is a difference between a maximum or a minimum of the upstream variation and the prescription baseline Cd.sub.set. In FIGS. 17 and 18, the upstream variation comprises two or three consecutive parts placed one after the other and extending above the prescription baseline Cd.sub.set and below the prescription baseline Cd.sub.set. The part/s above the prescription baseline Cd.sub.set are arranged alternately with the part/s below the prescription baseline Cd.sub.set such that the caused upstream variation of the value of the characteristic in the fresh treatment liquid decreases and increases with respect to the prescription baseline Cd.sub.set for such characteristic. The amplitude ΔC.sub.in is a difference between a maximum and a minimum of the upstream variation. The duration over time ΔT is a sum of partial durations over time of the part/s above the prescription baseline Cd.sub.set and the part/s below the prescription baseline Cd.sub.set.

    [0206] It is feasible to reduce the duration over time ΔT and/or the amplitude ΔC.sub.in as a function of increase of the flow rate Qdial of the fresh treatment liquid. In other words, the amplitude ΔC.sub.in and/or the duration over time ΔT are/is increased if the flow rate Qdial of the fresh treatment liquid is reduced and the amplitude ΔC.sub.in and/or the duration over time ΔT are/is reduced if the flow rate Qdial of the fresh treatment liquid is increased.

    [0207] The computed duration over time may be between 50 s and 200 s, optionally between 90 s and 150 s. The characteristic Cd.sub.in may be the conductivity in the fresh treatment liquid and the computed amplitude of said conductivity may be between 0.4 mS/cm and 1.1 mS/cm, optionally between 0.5 mS/cm and 1 mS/cm. The flow rate Qdial of the fresh treatment liquid during treatment being may be between 250 ml/min and 850 ml/min, optionally between 300 ml/min and 800 ml/min. According to some embodiments, the duration over time ΔT and/or the amplitude ΔC.sub.in are/is inversely proportional with respect to the flow rate of the fresh treatment liquid. According to some embodiments, the duration over time ΔT and/or the amplitude ΔC.sub.in are/is computed through an interpolating curve (a method of the invention is illustrated in FIG. 16).

    [0208] Duration over time ΔT may be computed using the following interpolating curve.


    ΔT=((ΔT.sub.min−ΔT.sub.max)/(Qdial.sub.max−Qdial.sub.min))*(Qdial−Qdial.sub.max)+ΔT.sub.min  i)

    where:
    Qdial is the flow rate of the fresh treatment liquid in the preparation line, e.g. measured by the flow sensor 110 during treatment or set as working parameter;
    Qdial.sub.max is a maximum flow rate of the apparatus (e.g between 750 ml/min and 850 ml/min);
    ΔT.sub.min is a minimum duration over time corresponding to the maximum flow rate of the apparatus (e.g between 80 s and 100 s);
    Qdial.sub.min is a minimum flow rate of the apparatus (e.g between 250 ml/min and 350 ml/min);
    ΔT.sub.max is a maximum duration over time corresponding to the minimum flow rate of the apparatus (e.g between 140 s and 160 s).

    [0209] Said maximum flow rate Qdial.sub.max, said a minimum duration over time ΔT.sub.min, said a minimum flow rate Qdial.sub.min, said maximum duration over time ΔT.sub.max are values pre-stored in the memory of the control unit 10 as factory settings or transferred to said memory via user interface 12 or via other input means, such as a data reader, or it may be remotely transmitted from a remote source.

    [0210] Amplitude ΔC.sub.in may be computed using the following interpolating curve.


    ΔC.sub.in=((ΔC.sub.min−ΔC.sub.max)/(Qdial.sub.max−Qdial.sub.min))*(Qdial−Qdial.sub.max)+ΔC.sub.min  ii)

    where:
    Qdial is the flow rate of the fresh treatment liquid in the preparation line;
    Qdial.sub.max is the maximum flow rate of the apparatus;
    ΔC.sub.in is a minimum amplitude corresponding to the maximum flow rate of the apparatus (e.g a conductivity amplitude between 0.4 mS/cm and 0.6 mS/cm);
    Qdial.sub.min is the minimum flow rate of the apparatus;
    ΔC.sub.max is a maximum amplitude corresponding to the minimum flow rate of the apparatus (e.g a conductivity amplitude between 0.9 mS/cm and 1.1 mS/cm).

    [0211] Said maximum flow rate Qdial.sub.max, said a minimum amplitude ΔC.sub.min, said a minimum flow rate Qdial.sub.min, said maximum amplitude ΔC.sub.max are values pre-stored in the memory of the control unit 10 as factory settings or transferred to said memory via user interface 12 or via other input means, such as a data reader, or it may be remotely transmitted from a remote source.

    [0212] The interpolating curves of the embodiments mentioned above are each computed starting only from two flow rates Qdial.sub.max and Qdial.sub.min (and corresponding ΔC.sub.max, ΔC.sub.min or ΔT.sub.max, ΔT.sub.min). In other embodiments, the interpolating curves may be computed starting from “m” points wherein “m” is equal to or greater than two. Each of the “m” points is defined by a flow rate value Qdial.sub.m of the fresh treatment liquid and by a duration over time ΔT.sub.m and/or by an amplitude ΔC.sub.m of the characteristic Cd.sub.in corresponding to said flow rate value Qdial.sub.m. For instance, the interpolating curve is computed starting from the above mentioned maximum flow rate Qdial.sub.max and a minimum flow rate Qdial.sub.min and also from a third point, for instance a mid flow rate Qdial.sub.mid of the apparatus comprised between the maximum flow rate Qdial.sub.max and the minimum flow rate Qdial.sub.min and corresponding to a mid duration over time ΔT.sub.mid or to a mid amplitude ΔC.sub.mid.

    Example 2

    [0213] Here below an example is described.

    [0214] The minimum flow rate of the apparatus Qdial.sub.min is 300 ml/min.

    [0215] The maximum duration over time ΔT.sub.max corresponding to the minimum flow rate Qdial.sub.min of the apparatus is 150 s.

    [0216] The maximum flow rate of the apparatus Qdial.sub.max is 800 ml/min.

    [0217] The minimum duration over time ΔT.sub.min corresponding to the maximum flow rate Qdial.sub.min of the apparatus is 90 s.

    [0218] The maximum amplitude of conductivity ΔC.sub.max corresponding to the minimum flow rate Qdial.sub.min of the apparatus is 1 mS/cm.

    [0219] The minimum amplitude of conductivity ΔC.sub.min corresponding to the maximum flow rate Qdial.sub.max of the apparatus is 0.5 mS/cm.

    [0220] The flow rate Qdial of the fresh treatment liquid in the preparation line during treatment is 500 ml/min. The duration over time ΔT of the upstream variation is computed using interpolating curve i):


    ΔT=((ΔT.sub.min−ΔT.sub.max)/(Qdial.sub.max−Qdial.sub.min))*(Qdial−Qdial.sub.max)+ΔT.sub.min=((90−150)/(800−300))*(500−800)+90=126 s

    [0221] The amplitude of the upstream variation of conductivity is computed using interpolating curve ii):


    ΔC.sub.in=((ΔC.sub.min−ΔC.sub.max)/(Qdial.sub.max−Qdial.sub.min))*(Qdial−Qdial.sub.max)+ΔC.sub.min=((0.5−1)/(800−300))*(500−800)+0.5=0.8 mS/cm

    [0222] According to other embodiments, the amplitude ΔC.sub.in and/or the duration over time ΔT are/is selected among “n” fixed amplitudes ΔC.sub.1, ΔC.sub.n and/or fixed durations over time ΔT.sub.1, ΔT.sub.n and each corresponding to a range, among “n” ranges ΔQdial1, ΔQdial.sub.n of the flow rate, in which the flow rate Qdial of the treatment falls. The plurality of fixed amplitudes ΔC.sub.1, ΔC.sub.n and/or fixed durations over time ΔT.sub.1, ΔT.sub.n and the “n” ranges ΔQdial1, ΔQdial.sub.n are stored in the memory of the control unit 10 as factory settings or transferred to said memory via user interface 12 or via other input means, such as a data reader, or it may be remotely transmitted from a remote source. The flow rate Qdial of the treatment may be measured through the flow sensor 110 or it is a or pre-set as working parameter of the treatment.

    [0223] For instance, the control unit 10 receives “n” fixed durations over time ΔT.sub.1, ΔT.sub.n (e.g. a first, second and third duration over time, respectively of 150 s, 120 s, 90 s) and “n” ranges ΔQdial1, ΔQdial.sub.n of the flow rate of the fresh treatment liquid (e.g. a first, second and third ranges of flow rate, respectively between 300-350/400 ml/min, 400-600/650 ml/min, 650-800 ml/min), wherein each of the “n” ranges is allocated to/combined with a fixed duration over time of “n” of said fixed durations over time ΔT.sub.1, ΔT.sub.n. Then the control unit 10 receives the flow rate Qdial of the treatment and computes the duration over time ΔT of the upstream variation to be generated by comparing the received flow rate Qdial with the “n” ranges ΔQdial1, ΔQdial.sub.n and by selecting the fixed duration over time corresponding to the range of said “n” ranges which the flow rate Qdial falls in.

    [0224] The control unit 10 further receives “n” fixed amplitudes ΔC.sub.1, ΔC.sub.n (e.g. a first, second and third amplitude of conductivity, respectively of 0.5 mS/cm, 0.7 mS/cm, 1 mS/cm) and the “n” ranges ΔQdial1, ΔQdial.sub.n of the flow rate of the fresh treatment liquid, wherein each of the “n” ranges is allocated to/combined with a fixed amplitude of “n” fixed amplitudes ΔC.sub.1, ΔC.sub.n. Then the control unit 10 receives the flow rate Qdial of the treatment and computes the amplitude ΔC.sub.in of the upstream variation to be generated by comparing the received flow rate Qdial with the “n” ranges ΔQdial1, ΔQdial.sub.n and by selecting the fixed amplitude ΔC.sub.in corresponding to the range of said “n” ranges which the flow rate Qdial falls in.

    [0225] According to one aspect of the invention, the control unit 10 is configured to compute and generate the upstream variation so that said upstream variation is lower than a maximum allowed value Cd.sub.in max (e.g. 1.5 mS/cm) of the characteristic Cd.sub.in in the fresh treatment liquid and higher than a minimum allowed value Cd.sub.in min (e.g. 0.1 mS/cm) of the characteristic Cd.sub.in in the fresh treatment liquid.

    [0226] If the prescription baseline Cd.sub.set is close to the minimum allowed value Cd.sub.in min, the upstream variation is computed and generated to be all above said prescription baseline Cd.sub.set, as shown in FIG. 4. If the prescription baseline Cd.sub.set is close to the maximum allowed value Cd.sub.in max, the upstream variation is computed and generated to be all below said prescription baseline Cd.sub.set, as shown in FIG. 19.

    [0227] According to one aspect of the invention, the control unit 10 is configured to compute and generate the upstream variation so that said upstream variation comprises at least two consecutive parts placed one after the other, one part extending above the prescription baseline Cd.sub.set and the other part extending below the prescription baseline Cd.sub.set (as mentioned above and shown in FIGS. 17 and 18), and such that a total area of the part or parts of the upstream variation above the prescription baseline Cd.sub.set is equal to or substantially equal to a total area of the part or parts of the upstream variation below the prescription baseline Cd.sub.set. This would ensure that a total sodium balance with the patient will be neutral or substantially neutral.

    [0228] FIG. 17 shows an upstream variation comprising a first part above the prescription baseline Cd.sub.set and delimiting a first area Aland a second part extending below the prescription baseline Cd.sub.set and delimiting a second area A2 equal to A1. FIG. 18 shows an upstream variation comprising a first part above the prescription baseline Cd.sub.set and delimiting a first area A1, a second part extending below the prescription baseline Cd.sub.set and delimiting a second area A2 and a third part extending above the prescription baseline Cd.sub.set and delimiting a third area A3, wherein A2 is equal to the sum of A1 and A3. If the prescription baseline Cd.sub.set is close to the the maxium allowed value Cd.sub.in max and also to the minimum allowed value Cd.sub.in min (with respect to an amplitude of the upstream variation for a treatment), the upstream variation provided with parts above and below the prescription baseline Cd.sub.set allows to keep said upstream variation between the maxium allowed value Cd.sub.in max and the minimum allowed value Cd.sub.in min. For instance, the control unit 10 computes the duration over time ΔT and the amplitude ΔC.sub.in, then compares the upstream variation of the characteristic Cd.sub.in with the minimum allowed value Cd.sub.in min and with the maximum allowed value Cd.sub.in max and, if the upstream variation exceeds the said minimum and maximum allowed values Cd.sub.in min, Cd.sub.in max, adjusts the position of the upstream variation with respect to the prescription baseline Cd.sub.set and/or computes the number of consecutive parts, in order to maintain the upstream variation between the maxium allowed value Cd.sub.in max and the minimum allowed value Cd.sub.in min and/or such that the total area of the part or parts of the upstream variation above the prescription baseline Cd.sub.set is equal to or substantially equal to the total area of the part or parts of the upstream variation below the prescription baseline Cd.sub.set.

    Control Unit

    [0229] As already indicated the apparatus according to the invention makes use of at least one control unit 10. This control unit 10 may comprise a digital processor (CPU) with memory (or memories), an analogical type circuit, or a combination of one or more digital processing units with one or more analogical processing circuits. In the present description and in the claims it is indicated that the control unit 10 is “configured” or “programmed” to execute certain steps: this may be achieved in practice by any means which allow configuring or programming the control unit 10. For instance, in case of a control unit 10 comprising one or more CPUs, one or more programs are stored in an appropriate memory: the program or programs containing instructions which, when executed by the control unit 10, cause the control unit 10 to execute the steps described and/or claimed in connection with the control unit 10. Alternatively, if the control unit 10 is of an analogical type, then the circuitry of the control unit 10 is designed to include circuitry configured, in use, to process electric signals such as to execute the control unit 10 steps herein disclosed.

    [0230] 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 scope of the appended claims.