Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572. DOI: 10. 12928/biste. Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flow Nooralhuda Salman. Saleem K. Kadhim Department of Control and System Engineering. University of Technology-Iraq. Baghdad 10066. Iraq ARTICLE INFORMATION ABSTRACT Article History: Received 16 July 2025 Revised 23 October 2025 Accepted 14 November 2025 Keywords: Mechanical Ventilation. Active Disturbance Rejection Control (ADRC). Airway Pressure Control. Patient Flow Regulation. Respiratory System Dynamics Corresponding Author: Nooralhuda Salman. Department of Control and System Engineering. University of Technology-Iraq. Baghdad 10066. Iraq. Email: 12@grad. This work is open access under a Creative Commons Attribution-Share Alike 4. The mechanical ventilation system demand precise and highly responsive control for airway pressure (Pa. and the patient flow (Qpa. as system nonlinearities and time varying disturbances for example the changes in lung mechanics or patient effort it compromise patient safety and treatment This study addresses to critical challenge of the robust regulation by comparing two advanced nonlinear control strategies which ar: the Nonlinear PID (NPID) controller and the Active Disturbance Rejection Control with Nonlinear PD structure (ADRC-NPD) controller. The research utilizes a state space model of the respiratory system that developed and simulated in the MATLAB/Simulink for rigorously test controller performance under abrupt changes in the desired pressure setpoint (Pse. The model incorporate clinically relevant lung mechanics that including fixed values for the airway resistance (R. and lung compliance (C. to represent specific patient scenario. Performance is assessed using key metrics are rise time, overshoot/undershoot, settling time and tracking error. The ADRCNPD controller consistently demonstrated superior performance that attributed to it Extended State Observer (ESO) for real time estimation and compensation of total system disturbances. Specifically the ADRC-NPD achieved a significantly faster rise time reach to . 174s vs. and minimal undershoot (-0. 3025% vs. 573%) compared to the NPID controller that indicating exceptional tracking fidelity and stability crucial for patient well being. The findings strongly that suggest that the ADRCNPD provides a more robust and clinically viable control solution. Future work will focus on the real-time clinical simulation and hardware in the-loop implementation to validate these results under dynamic and patient specific Document Citation: Salman and S. Kadhim. AuImproving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flow,Ay Buletin Ilmiah Sarjana Teknik Elektro, vol. 7, no. 4, pp. 807-822, DOI: 10. 12928/biste. Journal Website: http://journal2. id/index. php/biste Email: biste@ee. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 INTRODUCTION The human respiratory system is a complex network responsible for gas exchange, delivering oxygen, and removing carbon dioxide. It consists of conducting airways . ose, trachea, bronch. that transport air and respiratory zones . where gas exchange occurs. Proper function depends on lung compliance, airway resistance, neurological control, and chemical feedback (OCC. COCC, pH). Diseases like asthma. COPD and ARDS can disrupt these mechanisms it often necessitating medical intervention . When natural breathing fails the mechanical ventilation becomes critical that providing life support through volume controlled or pressure controlled methods. However due to the respiratory system dynamic and nonlinear nature advanced ventilation strategies are increasingly used to enhance precision and adaptability in critical care . The research delves explicitly into advanced control strategies for the respiratory system which is comparing the performance of the Nonlinear Proportional-Integral-Derivative (NPID) controller and the Active Disturbance Rejection Control-Nonlinear PD (ADRC-NPD) controller . The NPID is controller extends the capabilities of a classical PID controller by introducing nonlinear functions in its proportional, integral or derivative terms that allowing for more adaptive and robust performance in systems with inherent nonlinearities such like the varying resistance and compliance of the lungs . The challenge in controlling the mechanical ventilation systems from a systems perspective lies in the inherent limitations of conventional PID and many classical robust control strategies when faced with the highly nonlinear and dynamically uncertain characteristics of the respiratory system. Specifically the system exhibit time varying parameters . hanges in lung compliance and resistanc. , patient-specific variability and unmodeled dynamics . ike breathing effort and leak. that act as significant that rapidly changing total Current control methods often rely on linear approximations or require extensive scenariospecific tuning that resulting in performance trade-offs either slow response times and significant overshoot/undershoot which can lead to the delayed patient synchronization and inefficient gas exchange or an aggressive response that risks ventilator that induced lung injury (VILI). The necessitates a control paradigm that can effectively and continuously decouple the system known dynamics from its unknown disturbances. While nonlinear PID (NPID) offers improvement over linear control, it still struggles with robustly handling these varying, external disturbances. Therefore, a critical research gap exists in utilizing and validating advanced control structures, such as the ADRC-NPD configuration, whose core innovationAithe Extended State Observer (ESO) explicitly estimates and compensates for the lumped total disturbance that offering a unique capability to achieve superior tracking, faster settling times and guaranteed stability in the complex, disturbance-prone respiratory environment, a performance level not convincingly demonstrated by existing adaptive or other robust frameworks in this critical application . However significant unmodeled dynamics and external disturbances can still challenge its effectiveness. The ADRC-NPD controller is incorporates the principle of active disturbance rejection . To estimate the total disturbance which can be includes both external disturbances influencing the respiratory system and internal unmodeled dynamics ADRC uses an Extended State Observer (ESO) . That been estimated disturbance is then actively compensated for allowing the embedded Nonlinear PD controller to act on a more predictable, linearized system. It is proactive disturbance compensation is hypothesized to provide superior control performance, leading to better regulation of airway pressure, improved patient flow characteristics, and minimized tracking errors, even in the face of complex and often unpredictable respiratory system dynamics . Regarding NPID controllers research has shown their utility in overcoming some limitations of conventional linear PID controllers in systems with variable dynamics, which is highly relevant to mechanical For instance, a study by . this research strived to identify the optimal control strategy that can assure maximal patient safety and efficient ventilator operation. it compared three control strategies: the conventional Proportional-Integral-Derivative (PID) control, the Nonlinear PID control, and the sliding mode control (SMC) equipped with signum function triggers. For Active Disturbance Rejection Control (ADRC), including ADRC-NPD, its application in various complex systems, and by extension, its potential for respiratory systems, stems from its robust anti-disturbance capabilities and reduced reliance on precise models. While specific studies directly named "ADRC-NPD for respiratory system" might be emerging, the principles of ADRC have been explored for systems with similar For instance, research on pneumatic actuators . and permanent magnet synchronous motors . , which also deal with inherent nonlinearities and external disturbances, has demonstrated the effectiveness of ADRC in reducing oscillations and improving control accuracy through its Extended State Observer (ESO) that estimates and compensates for total disturbances. The core concept of ADRC, where disturbances and uncertainties are lumped together and actively rejected, makes it a highly suitable candidate for respiratory control where factors like patient effort, airway secretions, and changes in lung mechanics act as significant Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. The integration of an ESO allows for real-time estimation of these unmeasured disturbances, enabling the controller to maintain performance even when the precise model of the patient's respiratory system is unknown or changing. The application of ADRC principles, combined with a Nonlinear PD structure, offers a promising approach to achieve robust and precise control of respiratory variables like airway pressure and patient flow, providing superior performance compared to traditional or basic nonlinear PID methods by proactively countering adverse effects. The rest of the paper is organized as follows: Section 2 details the methodology and mathematical models, including the dynamics and control of the respiratory system, nonlinear PID, and ADRC-NPD Section 3 presents the numerical results and analysis for each simulation scenario. Finally. Section 4 provides the conclusions and outlines potential future work. METHODOLOGY Dynamics and Control of the Respiratory System Figure 1 presents a simplified schematic of a mechanical ventilation system that serving as the foundation for developing a mathematical model of the respiratory system and its state-space representation . this diagram the blower simulates the ventilator generating airflow . cEycu ) at pressure . cEycu ) which is delivered through a hose modeled with resistance . cIEa ). The sensor tube measures the airway pressure . cEyca ) while a leak path characterized by resistance . cIycoyceycayco ) the accounts for potential air losses . cEycoyceycayco ). Air continues into the test lung which mimics human lung behavior using a resistive element (RC) representing airway resistance and a compliance element . a1 ) representing lung elasticity. The pressure and flow within the lung are denoted by ycE1 and ycEycy respectively. The structured layout with clearly defined resistive and capacitive components that enables the derivation of dynamic equations needed for a state-space model which is crucial for analyzing system behavior and designing effective control strategies in the mechanical ventilation applications . Figure 1. A Mechanical Ventilation Unit is Schematic . By examining the connections between the system fluxes and the pressures a dynamical model can be constructed to capture its essential dynamics. From Figure 1 the lungs draw in air at an airflow rate of . cEycu ) and concurrently release a flow rate of . cEycoyceycayco ) through a leaky hose that leaving . cEycyycayc ) as the remaining exhaled airflow . ycEycyycayc = ycEycu Oe ycEycoyceycayco An electric circuit is a similar concept for the respiratory system. where resistances represent obstacles to airflow, pressures correspond to voltage and the airflow resembles electric current. Using Ohm law . the patient airflow can be mathematically represented with a pressure sensor measuring airway pressure . cEycayc ). The control system primary goal is to ensure that the measured pressure accurately tracks the intended set point . cEyc ), leading to the formulation of an error equation to achieve precise pressure regulation . yce = ycEyc Oe ycEycayc The conventional resistances connected to the hose can be used to indicate the blower . cEycu ), patient . cEycyycayc ), and leak . cEycoyceycayco ) flow rates, leak channel, and the patient lungs as shown below . Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 ycEycu Oe ycEycayc ycIEa ycEycayc ycEycoyceycayco = ycIycoyceycayco ycEycayc Oe ycEycoycycuyci ycEycyycayc = ycIycoycycuyci ycEycu = . The blower output pressure is denoted by ycEycu , the airway pressure by ycEycayc , the hose resistance by ycIEa , the resilience of the leak by ycIycoyceycayco , and the lung resistance by ycIycoycycuyci . Lung dynamics and lung pressure ycEycoycycuyci satisfy the following differential equation. ycEycoycycuyci = ycE yaycoycycuyci ycyycayc where lung compliance . is denoted by yaycoycycuyci . Equation . ycEycyycayc is equal to current and ycEycoycycuyci is equal to voltage. The following expression can be obtained by substituting equation . into equation . ycEycoycycuyci = ycEyca Oe ycEycoycycuyci yaycoycycuyci . ycIycoycycuyci . The airway pressure . n Pascal. can be obtained rewrite the airway pressure equation by substituting equations . into equation . This will yield equation . ycIEa ycu ycIycoycycuyci ycoycycuyci ycEycayc = ycIycoycycuyci ycIEa ycIycoyceycayco The following updated equation is obtained by substituting the airway pressure expression from equation . into the lung dynamics equation in equation . ycE ycIEa ycIycoyceycayco ycIEa ycu ycEycoycycuyci = yaycoycycuyci . ycIycoycycuyci ( ycIycoycycuyci ycIEa ycIycoyceycayco OeycEycoycycuyci ( . Equation (. , equation . , and equation . ) can be used to model the patient and hose system as a linear stateycEycayc space system with ycEycu . serving as both the input and the output. cE ], and Plung is the state. ycEycoycycuyci = yaEa ycEycoycycuyci yaAEa ycEycu ycEycayc ] = yaEa ycEycoycycuyci yaEa ycEycu ycEycyycayc Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ycIEa ycIycoyceycayco yaEa = Oe yaycoycycuyci . ycIycoycycuyci ( ycIycoycycuyci ycIEa ycIycoyceycayco ycIEa yaAEa = yaycoycycuyci . ycIycoycycuyci ( ycIycoycycuyci ycIEa ycIycoyceycayco ycIycoycycuyci ycIycoycycuyci ycIEa ycIycoyceycayco yaEa = ycIEa ycIycoyceycayco Oe ycIycoycycuyci ( ycIycoycycuyci ycIEa ycIycoyceycayco ] ycIEa ycIycoycycuyci ycIEa ycIycoyceycayco yaEa = ycIEa ycI [ ycoycycuyci ycIycoycycuyci ycIEa ycIycoyceycayco ] } . Alternatively, it can be represented in transfer function notation as follows: = yaEa yaA yaEa cIya Oe yaEa ) Ea Figure 2. System of closed-loop control using a linear controller C. The module's output pressure, or ycEycuycyc , is precisely controlled by the blower mechanism. As shown in Figure 2, a direct relationship between the intended pressure . cEycaycuycuycycycuyco ) and the actual output pressure . cEycu ) results in a perfect match . ratio of . At higher frequencies, the blower's inherent inertia causes dynamic behavior that impairs performance. A second-order low-pass filter is a decent way to emulate it. = ycEycu. ycEycaycuycuycycycuyco. yc 2 2yuA yuiycu yc yuiycu2 With damping ratio yuA = 1 and yuiycu. = 2yuU30, this corresponds to a real experimental blower. Equation . can be expressed using state space format as ycUyca = yayca ycUyca yaAyca ycEycaycuycuycycycuyco ycEycu = yayca ycUyca With state ycuyca OO ycI2 , output ycEycu , and control input ycEycaycuycuycycycuyco , and system matrices Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. yayca = [Oe2 yuA yuiycu Oeyuiycu ] yaAyca = [ ] yayca = . yuiycu2 ] ISSN: 2685-9572 The general state space form of the plant ycE. can be described as follows by combining the blower dynamics (Equation . ) and the patient hose system dynamics . o be controlled by the feedback controller as seen in the Figure . Ae. ycUycyN = [ ycUycaN yayca N ] = . aAEa yayca ycEycoycycuyci ycUyca yaA ] [ yca ] . ycEycaycuycuycycycuyco yaEa ycEycoycycuyci ycEyca yu = . cE ] = . aEa yayca ycy ycE. = [ . ycUyca yaEa ] . cE ycoycycuyci ycEycy. Oe1 ] = yaA. = yaycy . cIya Oe yaycy ) yaAycy ycEycE. The transfers function is being computed from the state-space representation, where S is the Laplace variable, and I represent the Identity matrix . ith dimensions matching yaycy (. Table 1 provides essential information about the characteristics of the simulated ventilator system. The numerical values and units of the parameters offer insights into the system behavior that including its resistance to airflow, lung compliance, leakages and dynamic response. The information is crucial for understanding the system performance and the designing effective control strategies. Table 1. Ventilator system's parameters . Name R lung Clung R leak On =1 Parameter Lung resistance mL s LungAos compliance . Leak resistance mLAEs Hose resistance mLAEs 8 rad/s Natural frequency damping ratio Nonlinear PID The NPID utilizes a nonlinear function typically a saturation or yceycayco function on the error term to provide a small gain for small errors . voiding oscillatio. and large gain for large errors . nsuring fast respons. The inherent design choice aims to balance speed and stability which is essential in a life-support system . Its nonlinearity allows it to adapt to the complex and the time-varying characteristics of the respiratory mechanics . A simplified mathematical representation of the respiratory system model can be given by a second-order differential equation, reflecting the compliance and resistance of the respiratory system: ya ycc 2 ycEycayc . yccycEycayc . ycEyceyco . ) = ycEycoycyc . ycEycyceycuyc . where ycEycayc . is the airway pressure, ycO. is the lung volume. C is the respiratory system compliance, ycI is the respiratory system resistance, ycEyceyco . ) represents the elastic recoil pressure of the lungs . hich can be the nonlinear with volum. , ycEycoycyc . is the pressure generated by the respiratory muscles, and ycEycyceycuyc . is the pressure supplied by the ventilator . The NPID controller aims to manipulate the ventilator pressure ycEycyceycuyc . to achieve the desired airway pressure which is the ycEycyceyc . The control action yc. = ycEycyceycuyc . generated by a basic form of the NPID controller can be expressed as . = yaycy yce. yaycn O yce. )yccyua yaycc ) yccyc Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. where yce. = ycEycyceyc . Oe ycEycayc . is the tracking error, yaycy , yaycn , and yaycc are the proportional, integral, and derivative gain parameters, respectively The key aspect of a nonlinear PID controller lies in the functions yce. ) and yci. ), which introduce nonlinearity based on the tracking error. These functions can take various forms such as saturation functions, power functions or piecewise linear functions that allowing the controller gains to effectively change depending on the magnitude or sign of the error. The three controller parameters . aycy , yaycn , yaycc ) were initially tuned using the Ziegler-Nichols method on the linearized plant model and that resulting values were then subjected to iterative fine tuning within the MATLAB/Simulink environment to optimize for the minimal Integral Absolute Error (IAE) and reduced the overshoot under the step response test. The final selected gain values represent the best trade off found for speed and stability can be seen in Figure 3 . Figure 3. Control System Block Diagram With NPID Controller For Respiratory System ADRC-NPD The ADRC control paradigm fundamentally differs from traditional PID-type controllers by actively estimating and compensating for unknown disturbances and internal dynamics, often called "total disturbance. Unlike a conventional Nonlinear PD (NPD) controller, which primarily reacts to the error between the setpoint and the measured output, the ADRC-NPD combines the robust disturbance rejection capabilities of ADRC with the structure of a nonlinear proportional-derivative controller. The ESO is the core component. It is a fullorder observer designed to simultaneously estimate the system state . , ycEycayc ) and the lumped total disturbance . The total disturbance encapsulates the internal nonlinearities, unmodeled dynamics and external variations. Integrating the ESO into the loop redefines the control problem from handling an uncertain plant to controlling a known disturbance-free linear integrator dramatically improving robustness. Figure 4 shows the structure of ADRC-NPD . Figure 4. ADRC-NPD Controller Block Diagram Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 In an ADRC-NPD configuration, the ESO provides a real-time estimate of the total disturbance, which is fed back into the control loop. The NPD part of the controller, having this disturbance information, can then focus on achieving good tracking performance for the nominal system. The proactive disturbance rejection allows the ADRC-NPD to maintain robust performance despite significant model uncertainties, parameter variations and the external disturbances common in complex systems like the respiratory system. The "nonlinear" aspect of the PD is component might involve using nonlinear gains or functions of the error to improve transient response or handle specific operating regimes more effectively than a linear PD controller. The combination leverages the strengths of both approaches the adaptability and robustness of ADRC to handle the unknown and the fast response and simplicity of a well tuned NPD to track desired trajectories. That makes ADRC-NPD particularly well suited for systems where precise control is needed despite unpredictable changes and inherent nonlinearities. The general mathematical derivation of ADRC-NPD is provided by . The provided set of equation . and equation . from source describes a tracking differentiator, a common component in ADRC used to generate smooth derivatives of a reference signal while also filtering Equation . defines ycO2 as the derivative of ycO1N . In the context of a tracking differentiator, if ycO1N is tracking a signal, then ycO2 would be its estimated first derivative. ycO1N = ycO2 That is a nonlinear dynamics equation for the second state ycO2 . Here, r represents the reference signal that ycO1N is trying to track. The term Oeyucycycnyciycu. cO1N Oe y. introduces an intense, discontinuous control action based on the sign ycO . cO | of the error between ycO1N and the reference yc. The term 2 2 provides damping proportional to the square of ycO2 , 2yuc helping to smooth the derivative estimation and prevent chattering. ycO1N = Oeyucycycnyciycu . cO1 Oe yc ycO2 . cO2 | 2yuc ycO1N = ycO2 yuUycO1 Oe . Oe yuA)yc ) Oe yucycO2 ycO1N = Oeyuc 2 tanh ( The parameters yuU, yuA, yu are suitable design specifications, where 0 < yuA < 1, yuU > 0 yu > 0, and yuc > 0. In this research, equation . can be modified by making some an assumption as: ycO1N = ycO2 ycO1N = Oeyuc 2 ( yuUycO1 Oe . Oe yuA)yc ) Oe yucycO2 It enhances trajectory tracking performance and is better than the conventional nonlinear tracking differentiator equation . For (ADRC-NPD), equation . and equation . can be written after adding nonlinear function as: yce1 = . c Oe ycuC yce2 = . cN Oe ycu2 ) yc0 = yaycy yceycayco. ce1 , yua1 , y. yaycc yceycayco . ce2 , yua2 , y. yc0 Oe ycuC3 yc= yca0 Where yce1 = . c Oe ycuC 1 ) is defines the primary tracking error yce1 as the difference between the reference signal r and the estimated state ycuC1 . yce2 = . cN Oe ycuC 2 ) is defined as a second error yce2 as the difference between the derivative of the reference signal ycN . ikely from the tracking differentiato. and the estimated derivative of the state ycuC2 . yc0 = yaycy yceycayco. ce1 , yua1 , y. yaycc yceycayco . ce2 , yua2 , y. is the core nonlinear PD control law. It uses nonlinear functions yceycayco . iven by Eq. ) for errors yce1 and yce2 . yaycy and yaycc are the proportional and derivative gains. Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 yc= yc0 OeycuC3 yca0 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. is the final control output yc. Here, ycuC3 o represents the estimate of the ESO's total disturbance, subtracted from the nominal control action yc0 . yca0 is an estimated control gain. This subtraction is the essence of active disturbance rejection. The NPD state error feedback law . sing a nonlinear function yceycayc. processes the error between the TD output and the ESO's state estimates. The gains . aycy ,yaycc ) were selected based on the desired control bandwidth . uiyca ycuyc yu. to ensure the closed-loop system dynamics meet the desired transient performance specifications . ise time, settling tim. yce yu yuaOe1 yceycayco = { yua O yu > yu RESULTS The results will focus on the comparison between ADRC-NPD and previous studies . that depend on the NPID controller. The current study (ADRC-NPD) will be in a blue line, and the previous study will be in a red line. Figure 5 illustrates the first scenario's airway pressure . cEycyceyc ) response, comparing the ADRC-NPD and NPID controllers. The graph shows the desired setpoint . cEycyceyc ) in yellow, the NPID controller's response in red, and the ADRC-NPD controller's response in blue. Initially, both controllers start at zero mbar. approximately 3 seconds, the setpoint abruptly changes to 20 mbar. The ADRC-NPD controller quickly rises reach to 19. 6849 mbar at 3. 174 seconds and it reaches 19. 9395 mbar at 3. 36 seconds that closely tracking the 20 mbar references. In contrast the NPID controller reacts slower that reaching 16. 6854 mbar at 3. 194 seconds and 186459 mbar at 338 seconds that showing a significant undershoot and sluggish response. Physically the suggests the ADRC-NPD controller active disturbance rejection capability allows it to handle the sudden change in the desired pressure more effectively. The ADRC estimates and compensates for system uncertainties and disturbances that leading to a faster and more accurate response. The NPID controller lacking the disturbance rejection, struggles to adapt rapidly that resulting in the observed delay and undershoot. Figure 5. Response of Airway Pressure . cEycayc ) in the Initial Situation Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 Table 2 shown the comparison of the ADRC-NPD and NPID controller Performance in Paw. The ADRCNPD controller outperforms the NPID controller in the all three metrics. In terms of rise time the ADRC-NPD is much more quicker. The ADRC-NPD also demonstrates minimal overshoot while the NPID has a significant undershoot and a sluggish approach to the setpoint. The settling time is significantly shorter for the ADRCNPD controller that indicating a faster and more stable response. The active disturbance rejection capabilities of the ADRC-NPD which allow it to react swiftly and precisely to variations in the desired pressure are responsible for its exceptional performance. Table 2. Comparison of ADRC-NPD and NPID Controller Performance (Paw - First Scenari. Parameter ADRC-NPD NPID Rise Time . Overshoot (%) Settling Time . The patient flow . cEycyycayc ) response in the first scenario is shown in the Figure 6 which is compares the NPID and ADRC-NPD controllers. Figure 6 shows the flow rate over time in the milliliters per a minute. Initially both controllers maintain a flow rate of approximately zero. At around 3 seconds there a significant change in the flow corresponding to the change in setpoint observed in Figure 6. The NPID controller exhibits a sharp spike that reaching nearly 3 y 105 mL/min followed by a rapid decrease and then a sustained flow around 1 y 105 mL/min for a period before dropping again close to Oe2 y 105 around 6 seconds. The ADRCNPD controller shows a much more controlled response with a smaller peak around 17 y 105 mL/min and a quicker settling back to near zero flow for both after the initial change and the change back to zero. Physically the significant spike and prolonged deviation in the NPID controller response indicate a less stable and less efficient management of the flow dynamics. The NPID controller overreact to the pressure change and that causing a surge in flow and a slower return to the baseline. The ADRC-NPD controller is smoother response suggests better control over the airflow such likely due to its ability to the compensate for the system dynamic changes and disturbances also it providing a more stable and physiologically reasonable flow pattern. The ADRC-NPD controller manages the patient flow more effectively than the NPID controller that minimizing drastic fluctuations and ensuring a more stable response to the changes in desired airway Figure 6. Patient Flow . cEycyycayc ) Response in the First Scenario Comparing the NPID and ADRC-NPD controllers. Figure 7 shows the airway pressure . cEycayc ) tracking error for the first scenario. Initially, both controllers exhibit minimal error close to zero. Up to around 3 seconds the error remains to negligible. At the approximately reach to 3 seconds when the setpoint changes a significant error develops for the NPID controller. The NPID error is plunges to nearly to -0. 8 which indicating a substantial deviation from the desired pressure and it remains at the level for a considerable period. The ADRCNPD controller also shows a dip in error but it is much smaller only around -0. 2, and quickly recovers to near Physically the demonstrates the superior tracking capability of the ADRC-NPD controller. The NPID Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. controller inability to precisely follow the intended pressure changes is indicated by the large mistake in its response that reflecting its sluggishness and undershooting as seen in Figure 7. The ADRC-NPD controller with its active disturbance rejection maintains a much smaller tracking error that indicating that it can more precisely control the airway pressure and adhere to the setpoint changes. The highlights the ADRC-NPD effectiveness in the minimizing deviations from the intended pressure profile. The accuracy of the ADRC-NPD controller in regulating the airway pressure is demonstrated by its noticeably superior tracking performance and reduced tracking mistakes as compared to the NPID controller. Figure 7. Tracking Error of Airway Pressure . cEycayc ) in First Scenario Figure 8 illustrates the second scenario airway pressure . cEycyceyc ) response that focusing solely on the ADRCNPD controller. Figure 8 shows the desired setpoint . cEycyceyc ) in red and the actual airway pressure response of the ADRC-NPD controller in blue color. Initially both the setpoint and the controller response start at zero mbar and increase linearly reach to 20 mbar over the first 2 seconds. The ADRC-NPD controller tracks the setpoint which very closely during this ramp up phase. At approximately reach to 12 seconds, the setpoint abruptly drops back down to 0 mbar. The ADRC-NPD controller follows this drop though the a slight delay and a small deviation before it settles back to 0 mbar as highlighted in the inset zoom view. The inset shows that at 12. 588 seconds the ADRC-NPD response is 11. 088 mbar while at 12. 876 seconds the response is 0757 mbar. Physically the close tracking during the ramp up indicates the ADRC-NPD controller ability to accurately follow gradual changes in the desired pressure. The slight delay and deviation observed during the abrupt drop suggest that even with its disturbance rejection capabilities the a brief period where the controller adjusts to the sudden change in dynamics. However the controller quickly recovers and stabilizes that demonstrating its effectiveness in managing airway pressure. Figure 8. Airway Pressure . cEycayc ) Response in Second Scenario Table 3 clearly illustrates the superior performance of the ADRC-NPD controller in terms of tracking error in the first scenario, as depicted in Figure 8. The most significant difference is in the peak negative error are: the ADRC-NPD controller shows a peak negative error of approximately to -0. 2 which is substantially Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 smaller than the NPID controller peak negative error of approximately to -0. That indicates that the ADRCNPD controller maintains the airway pressure much closer to the desired setpoint even during transient changes. Table 3. Comparison of ADRC-NPD and NPID Controllers - Tracking Error Parameter ADRC-NPD NPID Peak Negative Error Settling Time . Figure 9 shows the patient flow . cEycyycayc ) response for the second scenario specifically in the ADRC-NPD Initially the flow rate is close to the zero. Around 2 seconds ther a positive spike in flow that reaching approximately to 11 y 105 mL/min. The spike corresponds to the initial ramp up of the airway pressure observed in Figure 9. After the spike the flow settles back to near zero. The flow remains close to the zero until around 12 seconds. The negative spike it dropping to approximately to Oe7 y 105 mL/min. The negative spike aligns with the abrupt drop in airway pressure seen in Figure 9. Following this spike the flow returns to near zero again. The initial positive flow spike physically represents the air delivered to the patient lungs as the pressure increases. The subsequent settling to near zero indicates that the flow stabilizes once the desired pressure reached and maintained. The negative flow spike at 12 seconds signifie the exhalation or air flow out of the lungs as the pressure decreases. The ADRC-NPD controller modulate the airflow to achieve the desired pressure changes. Figure 9. Patient Flow . cEycyycayc ) Response in Second Scenario The airway pressure . cEycayc ) tracking error for the ADRC-NPD controller in the second case as shown in Figure 10. Initially the tracking error is close to zero that indicating that the ADRC-NPD controller accurately follows the desired pressure. As observed in Figure 10 a minor negative error spike around 2 seconds that dropping to approximately to -0. The corresponds to the initial ramp-up of pressure. That is another larger negative error spike at around 12 seconds that reaching approximately to -0. The larger spike aligns with the abrupt drop in desired pressure in Figure 10. After each spike the error quickly returns to near zero. Physically the small error during the ramp up and the larger error during the abrupt drop reflects the controller adjustment to changing in the pressure demands. Even though the ADRC-NPD controller minimizes error the transient spikes indicate that instantaneous perfect tracking is challenging especially during sudden changes. The rapid return to near zero error demonstrates the controller ability to correct deviations and maintain accurate pressure control quickly. While the ADRC-NPD controller demonstrates superior performance in the simulated respiratory system its advanced structure introduces specific practical challenges. The primary drawback is increased computational complexity. Unlike the three-term NPID controller the ADRC-NPD requires the simultaneous operation of the Tracking Differentiator (TD) and the (ESO) which adds several integration and state estimation calculations to every control cycle. That increased computational load demands faster processing capabilities which can be a significant constraint for low cost or embedded systems typically used in portable or bedside Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ventilators potentially leading to real-time implementation challenges and higher hardware costs. A second major drawback is its higher sensitivity to the parameter tuning. The performance of the ADRC-NPD is critically dependent on the tuning of the ESO bandwidth . uiycu ) and the control law bandwidth . uiyca ycuyc yu. poorly tuned yuiycu that can lead to an inaccurate or slow disturbance estimate negating the benefit of the ADRC and causing performance degradation or conversely an overly high yuiycu can amplify measurement noise. Achieving the necessary separation principle . here yuiycu is much faster than yuiyca ) requires meticulous and specialized tuning procedures that are more complex and less intuitive than the iterative tuning applied to traditional PID or NPID controllers that presenting a steeper learning curve for practical application engineers. Figure 10. Tracking Error Of Airway Pressure . cEycayc ) In Second Scenario CONCLUSION The study successfully demonstrated the superior performance of the (ADRC-NPD) controller compared to the NPID controller for regulating ycEycayc and ycEycyycayc in the MATLAB/Simulink simulation of the respiratory The results are unequivocally show that the ADRC-NPD achieves a significantly faster more precise tracking response characterized by a superior rise time and minimal undershoot. That robust performance is directly attributable to the ESO which effectively estimates and cancels the total lumped disturbance that including system nonlinearities which leading to high stability even during abrupt setpoint changes. However the current findings are based solely on a simplified state-space model and cannot be directly extrapolated to the clinical outcomes. The claims regarding enhanced of patient safety, synchronization and reduced risk of respiratory trauma remain speculative as the simulation does not incorporate critical physiological factors such as spontaneous patient breathing effort, variable lung mechanics or the intricate biological mechanisms of the ventilator-induced lung injury (VILI). The implementation of the ADRC-NPD introduces notable the limitations that must be addressed before clinical viability can be established. The control structure entails increased computational complexity compared to NPI posing challenges for real-time deployment on cost-sensitive, embedded ventilator hardware. The performance is also highly sensitive to the specialized tuning of the ESO bandwidth . uiycu ). The critical dependence means that factors inherent to real-world deployment such as sensor noise, actuator constraints and sampling delays that could significantly degrade the accuracy of the disturbance estimation and undermine the theoretical benefits. The ADRC-NPD controller presents theoretically compelling and numerically superior robust control solution for mechanical ventilation. Future work is essential to bridge the gap between simulation and the clinical reality. The must involve hardware in the loop implementation to validate computational feasibility and testing against complex the dynamic physiological models that incorporate patient variability that providing the necessary evidence to support its claims as a next generation solution for safer and more effective critical care. Future work will focus on three critical areas. First we plan to enhance the system model by incorporating time varying lung mechanics . ompliance and resistanc. spontaneous patient breathing efforts . uscle pressur. and clinically relevant disturbances such as leakage effects and measurement noise. That will be achieved by moving to a higher-order multi-compartment physiological model to test the ADRC-NPD robustness under dynamic patient-specific uncertainty. Second we will undertake a comprehensive real-time Nooralhuda Salman (Improving Performance and Safety in Mechanical Ventilation: A Robust Control Approach for Airway Pressure and Patient Flo. Buletin Ilmiah Sarjana Teknik Elektro Vol. No. December 2025, pp. ISSN: 2685-9572 validation study via hardware in the loop (HIL) simulation. That involves deploying the ADRC-NPD algorithm onto an embedded control platform . high-speed microcontroller or Field Programmable Gate Arra. and connecting it to a physical or high fidelity pneumatic lung simulator. The step is crucial for assessing computational latency that tuning sensitivity to hardware constraints and stability under non-ideal, asynchronous sampling conditions. Third the research will expand its scope to include multivariable control objectives specifically focusing on the simultaneous regulation of pressure and volume or flow and the design of an AdaptiveADRC variant. The adaptive approach would allow the controller critical gains particularly the ESO bandwidth to be automatically adjusted based on estimated patient parameters thereby simplifying the initial tuning process and ensuring robust performance across diverse clinical scenarios without manual REFERENCES