Online mixing and precise ion control system for hemodialysis replacement fluid
By combining a multi-channel independent supply module and a multi-variable decoupling control module, the coupling interference problem between ion regulation channels in the online preparation system of hemodialysis replacement fluid is solved, realizing independent and precise regulation and high-precision control of multiple ions, ensuring the safety and adaptability of the replacement fluid.
Patent Information
- Application Number
- CN202611219916.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-17
AI Technical Summary
In existing online preparation systems for hemodialysis replacement fluid, there is severe coupling interference between various ion regulation channels, making it impossible to achieve independent and precise control of multiple ions. This results in insufficient control precision and fails to meet the safety requirements for direct blood transfusion of replacement fluid.
It employs a multi-channel independent supply module, a multi-ion separate detection module, a multi-variable decoupling control module, and an execution drive module. The multi-ion separate detection module provides real-time feedback on ion concentration, and the multi-variable decoupling control module eliminates coupling interference, thereby achieving independent and precise control of multiple ions.
It achieves independent and precise control of multiple ions, eliminates coupling interference, improves control accuracy and safety, and ensures the stability and adaptability of the replacement fluid, making it suitable for various clinical scenarios.
Smart Images

Figure CN123102218A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of blood purification technology, specifically relating to an online mixing and precise ion control system for hemodialysis replacement fluid. Background Technology
[0002] Continuous renal replacement therapy (CRRT) is a crucial treatment for patients with acute and critical renal failure. The treatment requires a large volume of replacement fluid, and the ion concentration of this fluid directly affects the patient's electrolyte balance and treatment safety. Currently, the replacement fluids used clinically are mainly commercially available pre-packaged liquids, which suffer from high transportation costs, large storage space requirements, and fixed formulations that are difficult to personalize.
[0003] Existing technologies propose online preparation methods for replacement fluids, which generate the replacement fluid by mixing concentrate and reverse osmosis water in a specific ratio. However, existing online preparation systems mainly rely on conductivity monitoring of the overall concentration, reflecting only the total ionic strength and failing to separately detect and independently regulate multiple ions such as sodium, potassium, calcium, and magnesium. More critically, there is severe coupling interference between the various ion regulation channels: since multiple ions coexist in the same concentrate, adjusting the flow rate of one type of concentrate will cause a linked change in the concentration of other ions. For example, increasing the delivery rate of calcium-containing concentrate will also cause a simultaneous increase in chloride ion concentration; adjusting the flow rate of sodium-containing alkaline solution will cause simultaneous changes in bicarbonate and sodium ion concentrations. This coupling interference makes it impossible to independently and accurately regulate each ion, and traditional single-loop PID control is insufficient to simultaneously stabilize the concentrations of multiple ions within the target range, resulting in inadequate control precision. Since the replacement fluid directly enters the patient's bloodstream, the requirements for ion concentration accuracy and safety are relatively high.
[0004] Therefore, we now provide an online mixing and precise ion control system for hemodialysis replacement fluid, which eliminates coupling interference between various ion regulation channels during the online preparation of replacement fluid and achieves independent and precise closed-loop control of multiple ions. Summary of the Invention
[0005] To address the aforementioned shortcomings in the existing technology, this invention provides an online mixing and precise ion control system for hemodialysis replacement fluid. This system solves the problems in the existing online replacement fluid preparation system mentioned above, such as coupling interference between ion regulation channels, inability to achieve independent and precise control of multiple ions, and difficulty in meeting the safety requirements for direct blood release of replacement fluid.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: The online mixing and precise ion control system for hemodialysis replacement fluid includes: A multi-channel independent supply module is used to store and deliver the displacement fluid concentrate components separately, including a main concentrate channel and at least one single-ion conditioning fluid channel; multiple ions coexist in the main concentrate channel to form a first coupling relationship, and the ions output from the single-ion conditioning fluid channel form a second coupling relationship with the ions in the main concentrate channel; A multi-ion detection module is installed on the displacement fluid output pipeline to detect the concentration parameters of multiple ions in the displacement fluid separately. The multivariable decoupling control module is communicatively connected to the multi-ion separate detection module and the multi-channel independent supply module, respectively. It is used to perform decoupling calculations on the first coupling relationship and the second coupling relationship using the multi-ion concentrations fed back in real time by the multi-ion separate detection module as feedback input, to eliminate coupling interference between each ion regulation channel and generate independent flow adjustment commands for each channel. The execution drive module is connected to the multivariable decoupling control module and the multi-channel independent supply module respectively, and is used to drive the conveying mechanism of each channel to adjust the conveying amount according to the independent flow adjustment command.
[0007] Furthermore, the main concentrate channel includes: Acidic concentrate subchannel, used to transport acidic electrolyte concentrate containing multiple cations; Alkaline concentrate sub-channel, used to transport alkaline concentrate; The relationship between the acidic concentrate subchannel and the alkaline concentrate subchannel, as well as the coexistence of ions within the same subchannel, together constitute the first coupling relationship.
[0008] Furthermore, the single-ion conditioning liquid channel has multiple channels, each corresponding to a single-ion conditioning liquid. The concentration of the single-ion conditioning liquid is lower than that of the main concentrate, which is used to finely adjust the concentration of the single ion.
[0009] Furthermore, the multi-ion detection module includes: The ion-selective electrode array unit is equipped with multiple independent ion-selective electrodes, each corresponding to the detection of the concentration of a certain ion, including sodium ions, potassium ions, calcium ions, magnesium ions, chloride ions and bicarbonate ions, and each electrode is arranged with an independent flow channel. The signal preprocessing unit is used to amplify, filter, and perform analog-to-digital conversion on the detection signals of each ion-selective electrode to generate digitized ion concentration data; the output of the signal preprocessing unit is directly connected to the multivariable decoupling control module as a real-time feedback input for decoupling calculation. An automatic calibration unit is used to automatically calibrate each ion-selective electrode according to a preset cycle; The temperature compensation unit is used to perform temperature compensation correction on the ion concentration detection results.
[0010] Furthermore, the multivariable decoupling control module includes: The target concentration setting unit is used to set the target concentration value of each ion according to the treatment prescription; The coupling relationship analysis unit is used to analyze the coupling strength of the first coupling relationship and the second coupling relationship respectively, and to establish an overall channel gain matrix containing the two layers of coupling relationships; The decoupling calculation unit is used to calculate the decoupling matrix based on the overall channel gain matrix, thereby converting the multi-channel coupled system into multiple independent single-channel control systems. The control quantity generation unit is used to generate flow adjustment commands for each channel based on the concentration deviation of each ion and the decoupled independent control quantity.
[0011] Furthermore, the coupling relationship analysis unit determines the gain of the effect of unit flow rate change on the concentration of each ion in each channel through a system identification method, and establishes the overall channel gain matrix; The decoupling calculation unit uses the relative gain array method to calculate the decoupling matrix, so that the decoupled system transfer matrix is a diagonal matrix; when adjusting the flow rate of any channel, only the corresponding target ion concentration is affected without causing changes in the concentrations of other ions.
[0012] Furthermore, the multivariable decoupling control module also includes: A feedforward-feedback composite control unit is used to combine feedforward prediction and feedback correction to generate the final control quantity; the feedforward prediction estimates the required adjustment amount based on the target concentration and total flow rate changes, and the feedback correction performs closed-loop correction based on the deviation between the real-time detection value and the target value. The treatment mode adaptation unit is used to dynamically adjust the parameters of the decoupling matrix and the ion concentration compensation coefficient according to the blood purification treatment mode and dilution method.
[0013] Furthermore, the execution driving module includes: A multi-pump collaborative drive unit is used to synchronously drive multiple delivery pumps to maintain the flow ratio of each concentrated component; The proportional valve fine-tuning unit is used to finely adjust the flow rate of each channel through the proportional valve. The execution status feedback unit is used to provide real-time feedback on the operating status of each conveying mechanism and transmit the status information back to the multivariable decoupling control module.
[0014] Furthermore, it also includes an online proportioning and mixing module: The online proportioning and mixing module is located between the multi-channel independent supply module and the multi-ion separate detection module, and is used to mix multiple concentrated components with reverse osmosis water in proportion step by step to prepare replacement fluid; the online proportioning and mixing module includes a primary mixing chamber, a secondary mixing chamber and a final mixing chamber arranged sequentially along the fluid direction.
[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. Eliminate two-layer coupling interference and achieve independent and precise control of multiple ions: Through multi-variable decoupling control, the multi-input multi-output coupled system is decomposed into multiple independent single loops, fundamentally solving the cross-interference between ions.
[0016] 2. The ion-selective electrode array of this invention serves as an integral part of the decoupled closed-loop control system. The detection signal is fed into the decoupling calculation unit in real time, and the decoupling parameters are corrected online based on historical data, forming a two-way synergistic enhancement of detection and control. The steady-state accuracy and dynamic response speed are significantly better than the independent detection and control combination.
[0017] 3. The feedforward prediction of this invention quickly estimates the adjustment amount based on the changes in target concentration and flow rate, and the feedback closed loop corrects the deviation in real time. The combination of the two reduces lag, improves response speed, and eliminates system errors and external disturbances.
[0018] 4. At the chemical level, this invention eliminates concentration coupling through RGA decoupling, and at the fluid level, it suppresses mechanical pulsation of pumps and valves through flow pulsation compensation, thus ensuring synergistic effects from both layers.
[0019] 5. Based on the treatment mode and pre / post-dilution method, this invention dynamically adjusts the decoupling matrix parameters and ion compensation coefficient to ensure the accuracy and adaptability of ion regulation in multiple scenarios. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a system diagram of the online proportioning and precise ion control system for hemodialysis replacement fluid of the present invention. Detailed Implementation
[0022] Please see Figure 1 This invention provides an online mixing and precise ion control system for hemodialysis replacement fluid, including a multi-channel independent supply module, a multi-ion separate detection module, a multi-variable decoupling control module, an execution drive module, and an online mixing module.
[0023] The multi-channel independent supply module is used to store and deliver the displacement fluid concentrate components separately, providing the system with multiple concentrate sources.
[0024] A multi-ion detection module is installed on the displacement fluid output pipeline to detect the concentration parameters of multiple ions in the displacement fluid and feed the detection results back to the multivariable decoupling control module in real time. The multivariable decoupling control module is communicatively connected to both the multi-ion detection module and the multi-channel independent supply module. Using the real-time detection results as feedback input, it performs decoupling calculations on the coupling relationships between the ion regulation channels and generates independent flow adjustment commands for each channel. An execution drive module is connected to both the multivariable decoupling control module and the multi-channel independent supply module, driving the delivery pumps and proportional valves of each channel according to the flow adjustment commands to adjust the delivery rate of the corresponding concentrated components. An online proportioning and mixing module is installed between the multi-channel independent supply module and the multi-ion detection module to prepare a homogeneous displacement fluid by mixing multiple concentrated components with reverse osmosis water in a step-by-step manner according to a specified ratio.
[0025] Specifically, the multi-channel independent supply module includes a main concentrate channel, a single ion conditioning liquid channel, and a balance detection unit.
[0026] The main concentrate channel includes an acidic concentrate sub-channel and an alkaline concentrate sub-channel; The acid concentrate subchannel is used to store and transport acidic electrolyte concentrate (i.e., solution A), which contains various components such as sodium chloride, potassium chloride, calcium chloride, magnesium chloride, and glucose. Taking a commonly used clinical formulation as an example, the concentrations of various ions in the acid concentrate are approximately: sodium ions 1000~1200 mmol / L, potassium ions 20~40 mmol / L, calcium ions 15~25 mmol / L, magnesium ions 8~15 mmol / L, and chloride ions 1050~1250 mmol / L. Because multiple ions coexist in the same solution, when the flow rate of the acid concentrate subchannel is adjusted, the concentrations of sodium, potassium, calcium, magnesium, and chloride ions will change proportionally simultaneously, forming multi-ion coupling within the channel. The alkaline concentrate subchannel is used to store and transport the alkaline concentrate (i.e., solution B), whose main component is sodium bicarbonate, with a concentration of approximately 5% (approximately 595 mmol / L). The alkaline concentrate contains both sodium ions and bicarbonate ions; adjusting the flow rate of the alkaline concentrate subchannel will simultaneously change the concentrations of both sodium ions and bicarbonate ions.
[0027] There is also a coupling relationship between the acidic concentrate subchannel and the alkaline concentrate subchannel: changes in the flow rate of both subchannels will affect the sodium ion concentration. That is, the sodium in the acidic solution and the sodium in the alkaline solution are superimposed after mixing. Therefore, adjusting the flow rate of either subchannel will cause a change in the sodium ion concentration.
[0028] The first coupling relationship refers to the coupling phenomenon in the main concentrate channel where, due to the coexistence of multiple ions in the same concentrate and different sub-channels containing the same ions, adjusting the flow rate of any sub-channel will simultaneously cause a coordinated change in the concentration of multiple ions. The first coupling relationship includes: intra-channel coupling caused by the coexistence of multiple ions within the same sub-channel; and inter-channel coupling caused by shared ions between different sub-channels. Furthermore, the first coupling relationship is an inherent coupling determined by the physicochemical structure of the replacement fluid formulation, and its coupling strength is high, belonging to strong coupling.
[0029] The single-ion conditioning solution channel features multiple independent channels, each storing a high-purity conditioning solution for a single ion, such as potassium chloride, calcium chloride, magnesium sulfate, or sodium bicarbonate. Each channel is equipped with an independent micro-pump and a one-way valve for independent flow control. The concentration of the single-ion conditioning solution is significantly lower than that of the main concentrate. This low-concentration design ensures that flow adjustments have a minimal and precise impact on the overall ion concentration, making it specifically designed for fine-tuning the concentration of a single ion.
[0030] A second coupling relationship is formed between the single-ion conditioning solution channel and the main concentrate channel. Taking potassium chloride conditioning solution as an example: increasing the flow rate of potassium chloride conditioning solution will not only increase the potassium ion concentration, but also the chloride ion concentration; since chloride ions are already abundant in the main concentrate, the chloride ions introduced by the conditioning solution and the chloride ions in the main channel will mix and superimpose, forming a coupling.
[0031] The second coupling relationship refers to the coupling phenomenon that occurs between ions output from a single-ion conditioning liquid channel and existing homogeneous or heterogeneous ions in the main concentrate channel due to mixing and superposition. The second coupling relationship arises from the law of conservation of mass: the total amount of homogeneous ions from different sources in the mixture is equal to the algebraic sum of the amounts of ions from each source. The coupling strength of the second coupling relationship is relatively low, belonging to weak coupling, and can be partially eliminated through independent channel design and cross-compensation.
[0032] The remaining volume monitoring unit monitors the remaining volume of each concentrate and conditioning fluid in real time using a weight sensor or a level sensor. When the remaining volume falls below a preset threshold (e.g., the volume corresponding to less than 30 minutes of remaining treatment time), an audible and visual alert is issued to notify medical staff to replace the fluid promptly. The remaining volume monitoring unit also communicates with the multivariable decoupled control module to trigger a brief flow transition control when replacing the concentrate bag, preventing significant fluctuations in ion concentration during the replacement process.
[0033] Specifically, the multi-ion detection module includes an ion-selective electrode array unit, a signal preprocessing unit, an automatic calibration unit, and a temperature compensation unit.
[0034] The ion-selective electrode array unit integrates six independent ion-selective electrodes, corresponding to the detection of sodium, potassium, calcium, magnesium, chloride, and bicarbonate ion concentrations, respectively. Each electrode adopts an independent microchannel design with an inner diameter of approximately 0.5–1 mm. The channels are arranged in parallel, and the replacement solution is split and flows through each electrode separately, avoiding cross-contamination and signal interference between different electrodes.
[0035] The detection principle of each ion-selective electrode is based on the membrane potential method: the electrode membrane has selective permeability to specific ions. When the concentration of the analyte ion in the solution changes, the potential difference across the electrode membrane changes accordingly. The potential signal can be converted into an ion concentration value using the Nernst equation. The Nernst equation is as follows: in, Electrode potential; This is the standard electrode potential; The gas constant is... ; Thermodynamic temperature; The charge number of the ion to be measured; It is Faraday's constant. ; The value represents the activity of the ion to be measured.
[0036] The sodium ion electrode uses a sodium aluminum silicate sensitive membrane, the potassium ion electrode uses a valine PVC membrane, the calcium ion electrode uses a calcium disacyl phosphate PVC membrane, the chloride ion electrode uses an AgCl / Ag2S membrane, and the bicarbonate ion is measured indirectly based on pH difference.
[0037] The ion-selective electrode array unit covers the detection range of commonly used replacement fluid ion concentrations in clinical practice: sodium ions 120~160 mmol / L, potassium ions 0~5 mmol / L, calcium ions 0~2.5 mmol / L, magnesium ions 0~1.5 mmol / L, chloride ions 90~130 mmol / L, and bicarbonate ions 20~45 mmol / L. After calibration and temperature compensation, the detection accuracy of each electrode can reach within ±1%.
[0038] The signal preprocessing unit amplifies, filters, and performs analog-to-digital conversion on the weak potential signals output from each ion-selective electrode, generating digitized ion concentration data. The signal preprocessing unit includes an instrumentation amplifier, a low-pass filter, and a high-precision analog-to-digital converter (ADC). The instrumentation amplifier uses a high-input-impedance, low-drift operational amplifier to amplify the millivolt-level electrode potential signals to the volt level, with an adjustable gain range of 100–1000 times. The low-pass filter uses a second-order Butterworth filter with a cutoff frequency of approximately 10 Hz to filter out power frequency interference and high-frequency noise. The ADC uses a 24-bit high-precision analog-to-digital converter with an adjustable sampling rate of 10–100 Hz to ensure sufficient time resolution to capture dynamic changes in ion concentration.
[0039] The output of the signal preprocessing unit is directly connected to the decoupling calculation unit of the multivariable decoupling control module via a high-speed data interface (such as SPI or UART). The digitized ion concentration data serves as the real-time feedback input for the decoupling calculation. The data transmission delay is controlled within 10ms to ensure the real-time performance of the closed-loop control.
[0040] The automatic calibration unit automatically performs two-point calibration on each ion-selective electrode at a preset cycle (e.g., every 4 hours, or before treatment begins). During calibration, the unit switches between two known concentrations of calibration solution via a solenoid valve, sequentially introducing them into the electrode channel to measure the electrode potential and establish a potential-concentration calibration curve. The calibration solutions used for two-point calibration cover the upper and lower limits of the clinical measurement range; for example, the low-standard calibration solution contains 130 mmol / L sodium ions and 2 mmol / L potassium ions, while the high-standard calibration solution contains 150 mmol / L sodium ions and 4 mmol / L potassium ions. Automatic calibration ensures the measurement accuracy of the electrodes during long-term use and compensates for electrode membrane aging and drift.
[0041] The temperature compensation unit performs temperature compensation correction on the detection results of the ion-selective electrode based on the real-time measurement values from the temperature sensor and using the Nernst equation. Temperature changes directly affect the Nernst slope (…). This can lead to different electrode potentials at the same concentration. The temperature compensation unit measures the solution temperature (measurement range 15~45℃, accuracy ±0.1℃) and calculates the temperature-corrected Nernst slope in real time, converting the electrode potential into an accurate ion concentration value at the corresponding temperature, thus eliminating the influence of temperature fluctuations on measurement accuracy.
[0042] Specifically, the multivariable decoupling control module is the core of this invention, including a target concentration setting unit, a coupling relationship analysis unit, a decoupling calculation unit, a control quantity generation unit, a feedforward-feedback composite control unit, and a treatment mode adaptation unit.
[0043] The target concentration setting unit allows you to set target concentrations and allowable fluctuation ranges for various ions, including sodium, potassium, calcium, magnesium, chloride, and bicarbonate, based on the treatment prescription. The target concentrations follow the clinical guidelines recommending the following ion concentration ranges for replacement fluids: sodium 135–145 mmol / L, potassium 2.0–4.0 mmol / L (adjusted according to the patient's serum potassium level), calcium 1.25–1.75 mmol / L, magnesium 0.5–0.75 mmol / L, chloride 100–115 mmol / L, and bicarbonate 30–35 mmol / L. Medical staff can make individualized adjustments within safe ranges based on the patient's blood gas and biochemistry results. This unit also features a safety lock function: the upper and lower limits of the target concentrations for core ions (such as potassium and calcium) are locked within clinically safe ranges to prevent treatment risks caused by incorrect input.
[0044] The coupling relationship analysis unit is responsible for analyzing the coupling relationship between each ion regulation channel and establishing an overall channel gain matrix that includes the first coupling relationship and the second coupling relationship.
[0045] During system startup or treatment mode switching, the coupling analysis unit identifies the system through step response testing: a known-amplitude step flow rate change (e.g., increasing or decreasing the flow rate by 10%) is applied sequentially to each channel, while simultaneously recording the response curves for each ion concentration and extracting the steady-state gain value. Through multiple step tests, the effect of a unit flow rate change on the gain of each ion concentration in each channel is determined, forming a channel gain matrix. The channel gain matrix is as follows: The first of the matrix The row corresponds to the first The first ion, Column corresponding to the first Adjustment channels, matrix elements Indicates the first The effect of unit flow rate change in the first regulating channel on the second The effect of seed ion concentration on gain. Among them, Number of ion species (in this embodiment) =6); The number of adjustment channels is (acidic liquid channel + alkaline liquid channel + each adjustment liquid channel). For the first The effect of unit flow change of the first regulating channel on the second The effect of seed ion concentration on gain.
[0046] Gain matrix The structure directly reflects the coupling relationship between the two layers: The first coupling relationship corresponds to the elements in the columns of acidic liquid channels and alkaline liquid channels in the matrix. These columns have multiple non-zero elements, indicating that one channel affects multiple ions. The second coupling relationship corresponds to the intersection of each row of the regulating liquid channel and the column of the main channel in the matrix, representing the superposition of ions introduced by the regulating liquid and ions in the main channel.
[0047] The decoupled calculation unit, based on the channel gain matrix Calculate the decoupling matrix This makes the transfer matrix of the decoupled system... Given a diagonal matrix, the transfer matrix of the decoupled system is: Diagonalization means adjusting the first... When the traffic of the first channel is reduced, it will only affect the traffic of the second channel. The concentration of the seed ion (or primarily affects the target ion) without causing, or minimally causing, changes in the concentrations of other ions, thereby transforming a multi-input multi-output coupled system into... An independent single-input single-output control system.
[0048] Decoupling matrix The calculation uses the Relative Gain Array (RGA) method: The first step is to calculate the RGA matrix: in, This represents the Hadamard product (element-wise multiplication). Represents the transpose of the inverse of the gain matrix. RGA matrix elements Indicates the first The output and the first The relative gain between the inputs The closer it is to 1, the more reasonable the pairing of the input and output is.
[0049] Step 2, variable pairing: Based on the RGA analysis results, variable pairing was performed, and the following variables were selected. The input-output pair closest to 1 ensures that each output is primarily controlled by one input and that there is minimal interference between them.
[0050] The third step is to design the feedforward decoupling compensator: Based on the pairing results, a feedforward decoupling compensator is designed, and the decoupling matrix is obtained. The decoupling matrix obtained by the RGA method It can minimize control energy and mutual interference while ensuring decoupling effect.
[0051] The decoupling calculation unit also features online correction: based on historical detection data from the multi-ion separate detection modules, it uses the recursive least squares (RLS) method to correct the decoupling matrix parameters online, compensating for time-varying system characteristics such as electrode drift, pump characteristic changes, and pipeline aging. The online correction cycle is synchronized with the automatic calibration cycle (e.g., once every 4 hours) to ensure the long-term stability of decoupling accuracy.
[0052] The control quantity generation unit calculates the flow adjustment commands for each concentrate and conditioning liquid channel based on the real-time concentration deviation of each ion (target concentration minus measured concentration) and the decoupled independent control quantities. For each decoupled independent single-channel control system, a PID (proportional-integral-derivative) control algorithm is used to calculate the control quantity. Its PID control law is as follows: in, For the first Each independent control channel at time The control output; For integration variables (time dummy variables in the integration process); For the first Seed ions at time Concentration deviation, For the first The target concentration of the seed ions For the first Measured concentration of seed ions; The proportional gain determines the strength of the proportional adjustment; The integral gain determines the speed at which the integral eliminates the steady-state error; The derivative gain determines the effectiveness of the derivative in suppressing overshoot and oscillation. The PID parameters for each independent channel can be tuned separately to obtain optimal control performance.
[0053] After obtaining the control inputs for each independent channel, the control input generation unit uses a decoupling matrix... The independent control quantities are mapped to the flow adjustment commands for each actual regulation channel, and the control quantity mapping is as follows: in, A vector composed of each independent control variable; This is a vector composed of the actual flow adjustment amounts for each channel.
[0054] The feedforward-feedback composite control unit combines feedforward prediction and feedback correction to generate the final control quantity, taking into account both response speed and steady-state accuracy.
[0055] The feedforward section pre-calculates the required flow adjustment for each channel based on foreseeable changes such as the target concentration setpoint, total flow rate variations, and treatment mode switching. Based on the system's steady-state gain model, feedforward control compensates for deviations before they occur, significantly reducing system response lag. For example, when a new target potassium ion concentration is set, the feedforward controller immediately calculates the required flow adjustment for the regulating fluid channel based on the target change and channel gain, without waiting for a concentration deviation to occur before providing feedback and adjustment.
[0056] The feedback section uses a PID algorithm to perform closed-loop correction based on the deviation between the real-time detection values of the multi-ion detection modules and the target values, thereby eliminating deviations caused by system errors, external disturbances, and model uncertainties.
[0057] The feedforward-feedback composite control structure is as follows: in, For a moment The total control quantity, that is, the control commands ultimately applied to the actuator; It is a feedforward control quantity, a coarse adjustment quantity pre-calculated based on changes in target concentration and total flow rate; The correction amount is calculated by PID based on the real-time detected deviation.
[0058] Feedforward is used to respond quickly to foreseeable changes; feedback is used to ensure final accuracy. The combination of the two ensures both rapid control (response time can be reduced to less than 1 / 3 of traditional feedback control) and steady-state accuracy (control error within ±1.5%).
[0059] The treatment mode adaptation unit dynamically adjusts the decoupling matrix parameters and ion concentration compensation coefficient according to the blood purification treatment mode and dilution method. The ion clearance mechanism of the replacement fluid differs under different treatment modes. CVVH (Continuous Venous-Venous Hemofiltration): Primarily achieves ion clearance through convection; the ion clearance rate is related to the filtration fraction and sieve coefficient. CVVHD (Continuous Venous-Venous Hemodialysis): Primarily removes ions through diffusion; ion clearance rate is related to concentration gradient and membrane permeability. CVVHDF (Continuous Venous-Venous Hemodiafiltration): Dual action of convection and diffusion.
[0060] The effect of replacement fluid on the concentration of blood ions varies depending on the dilution method: Pre-dilution: The replacement fluid is introduced before the filter, and the blood is diluted before filtration, resulting in a relatively gradual change in ion concentration; Post-dilution: The replacement fluid is infused after the filter and enters the patient's bloodstream directly, resulting in a more direct change in ion concentration.
[0061] The treatment mode adaptation unit incorporates decoupling parameter models for various treatment modes and dilution methods. After medical personnel select a treatment mode, the system automatically retrieves the corresponding parameter set, including: the adjusted channel gain matrix, the initial value of the decoupling matrix, the ion concentration compensation coefficient, and PID parameters. The treatment mode adaptation unit ensures that the system can achieve precise ion concentration control in various clinical scenarios.
[0062] Specifically, the execution drive module includes a multi-pump collaborative drive unit, a proportional valve fine-tuning unit, and an execution status feedback unit.
[0063] The multi-pump collaborative drive unit synchronously drives multiple peristaltic pumps or plunger pumps, including an acid concentrate pump, an alkaline concentrate pump, micro-pumps for each conditioning fluid, and a reverse osmosis water pump. The speed of each pump is controlled by flow commands from a multivariable decoupling control module, precisely adjusted via pulse width modulation (PWM). The multi-pump collaborative drive unit ensures that the flow ratio of each concentrate to reverse osmosis water strictly adheres to the decoupling calculation results. The total replacement fluid flow rate ranges from 1000 to 6000 mL / h, and the flow rate of each concentrate is determined based on the mixing ratio; for example, the ratio of acid concentrate to reverse osmosis water is approximately 1:35, and the ratio of alkaline concentrate to reverse osmosis water is approximately 1:40 to 1:50.
[0064] The proportional valve fine-tuning unit incorporates precision proportional valves on each concentrate and regulating fluid line for fine-tuning of flow rates. The proportional valves utilize an electromagnetically driven needle valve structure, precisely adjusting the valve core opening by controlling the coil current, thereby regulating the pipeline flow rate. The proportional valve's adjustment resolution is significantly higher than pump speed regulation (which is limited by rotational speed variations), enabling micro-level flow rate adjustments. The proportional valve fine-tuning unit works in conjunction with a multi-pump collaborative drive unit: the pumps handle coarse adjustments for large flow rates, while the proportional valves handle fine adjustments for small flow rates; together, they achieve wide-range, high-precision flow control.
[0065] The execution status feedback unit collects real-time feedback signals from the speed of each pump, the opening feedback signals of each proportional valve, and the measured values from each pipeline flow sensor, transmitting the actual operating status of the actuator back to the multivariable decoupled control module. The execution status feedback forms a closed-loop verification of the execution layer: the decoupled control module issues a flow command → the actuator operates → the execution status feedback shows the actual flow rate → the decoupled control module corrects the deviation between the actual flow rate and the commanded flow rate.
[0066] The execution drive module compensates for flow pulsation based on execution status feedback. During operation, peristaltic pumps and plunger pumps experience flow pulsation due to the periodic filling and emptying of the pump chamber. Specifically, the pulsation frequency of a peristaltic pump is related to the number and rotational speed of the rollers, while the pulsation frequency of a plunger pump is related to the plunger's reciprocating frequency. This flow pulsation causes corresponding fluctuations in the ion concentration detection signal, affecting the accuracy of decoupling control.
[0067] The principle of flow pulsation compensation is as follows: based on the pump's speed and structural parameters, the waveform and phase of the flow pulsation are pre-calculated. A compensating flow rate opposite to the pulsation waveform is then generated through rapid dynamic adjustment of a proportional valve, thereby canceling out the pulsation and making the total output flow rate more stable. The effect of pulsation compensation can achieve: a reduction in pulsation amplitude of over 80%, and a reduction in the outlet flow fluctuation coefficient from ±5% to within ±1%.
[0068] Flow pulsation compensation and chemical decoupling provide dual precision assurance: mechanical pulsation is eliminated at the fluid dynamics level, and ion coupling is eliminated at the chemical concentration level. The two work together to ultimately achieve high-precision and stable control of the ion concentration of the replacement solution.
[0069] Specifically, the online proportioning and mixing module is located between the multi-channel independent supply module and the multi-ion separate detection module, and is used to mix various concentrated components with reverse osmosis water in proportion step by step to prepare a uniform replacement solution.
[0070] The online proportioning and mixing module includes a primary mixing chamber, a secondary mixing chamber, and a final mixing chamber arranged sequentially along the fluid direction.
[0071] In the primary mixing chamber, the acidic concentrate and various conditioning solutions are initially mixed. The primary mixing chamber is equipped with static mixing elements (such as spiral baffles), which utilize the energy of the fluid itself to achieve mixing, eliminating the need for additional stirring devices.
[0072] In the secondary mixing chamber, the primary mixture is diluted and mixed with the reverse osmosis water in a certain proportion; the secondary mixing chamber has a large volume (about 50~100mL), providing sufficient residence time to ensure thorough dilution and mixing.
[0073] In the final mixing chamber, the secondary mixture and the alkaline concentrate are finally mixed. Mixing the alkaline concentrate in the last step avoids direct contact between calcium ions and bicarbonate ions at high concentrations, preventing the formation of calcium carbonate precipitation; mixing at a low concentration after dilution significantly reduces the risk of precipitation.
[0074] The three-stage mixing method ensures uniform mixing and avoids precipitation caused by excessively high local concentrations, thus ensuring that the prepared replacement solution has uniform composition and stable ions.
[0075] The online mixing module is also equipped with a temperature sensor (in conjunction with the temperature compensation unit of the multi-ion detection module) to monitor the temperature of the mixture and to correct the detection results.
[0076] The core working principle of this system is as follows: the multi-ion detection module detects the concentration of each ion separately → the multivariable decoupling control module performs decoupling calculations on the two-layer coupling relationship → the execution drive module adjusts the flow rate of each channel according to the independent control quantity after decoupling → the multi-ion detection module provides feedback on the adjustment effect → the multivariable decoupling control module recalculates and re-adjusts, forming a closed-loop control of "detection-decoupling-execution-feedback", realizing independent and precise regulation of multiple ions.
[0077] The above description discloses only one preferred embodiment of the present invention, and should not be construed as limiting the scope of the present invention. Those skilled in the art will understand that all or part of the processes of the above embodiments can be implemented, and equivalent changes made in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A system for online proportioning and precise ion control of hemodialysis replacement fluid, characterized in that, include: A multi-channel independent supply module is used to store and deliver the replacement fluid concentrate components separately, including a main concentrate channel and at least one single-ion conditioning fluid channel; Multiple ions coexist in the main concentrate channel, forming a first coupling relationship; the ions output from the single ion regulating liquid channel form a second coupling relationship with the ions in the main concentrate channel. A multi-ion detection module is installed on the displacement fluid output pipeline to detect the concentration parameters of multiple ions in the displacement fluid separately. The multivariable decoupling control module is communicatively connected to the multi-ion separate detection module and the multi-channel independent supply module, respectively. It is used to perform decoupling calculations on the first coupling relationship and the second coupling relationship using the multi-ion concentrations fed back in real time by the multi-ion separate detection module as feedback input, to eliminate coupling interference between each ion regulation channel and generate independent flow adjustment commands for each channel. The execution drive module is connected to the multivariable decoupling control module and the multi-channel independent supply module respectively, and is used to drive the conveying mechanism of each channel to adjust the conveying amount according to the independent flow adjustment command.
2. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, The main concentrate channel includes: Acidic concentrate subchannel, used to transport acidic electrolyte concentrate containing multiple cations; Alkaline concentrate sub-channel, used to transport alkaline concentrate; The relationship between the acidic concentrate subchannel and the alkaline concentrate subchannel, as well as the coexistence of ions within the same subchannel, together constitute the first coupling relationship.
3. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, The single-ion conditioning liquid channel has multiple channels, each corresponding to a single-ion conditioning liquid. The concentration of the single-ion conditioning liquid is lower than that of the main concentrate, and it is used to finely adjust the concentration of the single ion.
4. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, The multi-ion detection module includes: The ion-selective electrode array unit is equipped with multiple independent ion-selective electrodes, each corresponding to the detection of the concentration of a certain ion, including sodium ions, potassium ions, calcium ions, magnesium ions, chloride ions and bicarbonate ions, and each electrode is arranged with an independent flow channel. The signal preprocessing unit is used to amplify, filter, and perform analog-to-digital conversion on the detection signals of each ion-selective electrode to generate digitized ion concentration data; the output of the signal preprocessing unit is directly connected to the multivariable decoupling control module as a real-time feedback input for decoupling calculation. An automatic calibration unit is used to automatically calibrate each ion-selective electrode according to a preset cycle; The temperature compensation unit is used to perform temperature compensation correction on the ion concentration detection results.
5. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, The multivariable decoupling control module includes: The target concentration setting unit is used to set the target concentration value of each ion according to the treatment prescription; The coupling relationship analysis unit is used to analyze the coupling strength of the first coupling relationship and the second coupling relationship respectively, and to establish an overall channel gain matrix containing the two layers of coupling relationships; The decoupling calculation unit is used to calculate the decoupling matrix based on the overall channel gain matrix, thereby converting the multi-channel coupled system into multiple independent single-channel control systems. The control quantity generation unit is used to generate flow adjustment commands for each channel based on the concentration deviation of each ion and the decoupled independent control quantity.
6. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 5, characterized in that, The coupling relationship analysis unit determines the gain of the effect of unit flow rate change on the concentration of each ion in each channel through the system identification method, and establishes the overall channel gain matrix; The decoupling calculation unit uses the relative gain array method to calculate the decoupling matrix, so that the system transfer matrix after decoupling is a diagonal matrix. Adjusting the flow rate of any channel only affects the concentration of the corresponding target ion without causing changes in the concentrations of other ions.
7. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 5, characterized in that, The multivariable decoupling control module also includes: A feedforward-feedback composite control unit is used to combine feedforward prediction and feedback correction to generate the final control quantity; the feedforward prediction estimates the required adjustment amount based on the target concentration and total flow rate changes, and the feedback correction performs closed-loop correction based on the deviation between the real-time detection value and the target value. The treatment mode adaptation unit is used to dynamically adjust the parameters of the decoupling matrix and the ion concentration compensation coefficient according to the blood purification treatment mode and dilution method.
8. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, The execution driver module includes: A multi-pump collaborative drive unit is used to synchronously drive multiple delivery pumps to maintain the flow ratio of each concentrated component; The proportional valve fine-tuning unit is used to finely adjust the flow rate of each channel through the proportional valve. The execution status feedback unit is used to provide real-time feedback on the operating status of each conveying mechanism and transmit the status information back to the multivariable decoupling control module.
9. The online proportioning and precise ion control system for hemodialysis replacement fluid as described in claim 1, characterized in that, It also includes an online mixing module: The online proportioning and mixing module is located between the multi-channel independent supply module and the multi-ion separate detection module, and is used to mix multiple concentrated components with reverse osmosis water in proportion step by step to prepare replacement fluid; the online proportioning and mixing module includes a primary mixing chamber, a secondary mixing chamber and a final mixing chamber arranged sequentially along the fluid direction.
