An Optimal Integral Controller for Adaptive Optics Systems Authors: Pedro Escárate, María Coronel, Rodrigo Carvajal, Juan C Agüero, Isabelle Ledoux-Rak Published: 2023 ABSTRACT AbstractIntegral controllers are commonly employed in astronomical adaptive optics. This work presents a novel tuning procedure for integral controllers in adaptive optics systems which relies on information about the measured disturbances. This tuning procedure consists of two main steps. First, it models and identifies measured disturbances as continuous-time-damped oscillators using Whittles´s likelihood and the wavefront sensor output signal. Second, it determines the integral controller gain of the adaptive optics system by minimizing the output variance. The effectiveness of this proposed method is evaluated through theoretical examples and numerical simulations conducted using the Object-Oriented Matlab Adaptive Optics toolbox. The simulation results demonstrate that this approach accurately estimates the disturbance model and can reduce the output variance. Our proposal results in improved performance and better astronomical images even in challenging atmospheric conditions. These findings significantly contribute to adaptive optics system operations in astronomical observatories and establish our procedure as a promising tool for fine-tuning integral controllers in astronomical adaptive optics systems.Keywords: adaptive optics, disturbances, identification, minimum variance, integral controller, Whittle’s likelihood 1. Introduction Adaptive optics (AO) is an optical technology that is widely used to compensate for wavefront disturbances caused by atmospheric turbulence and vibrations. These disturbances introduce aberrations into the incoming wavefront, resulting in blurred and distorted images. The basic principle behind AO involves the use of a deformable mirror, a wavefront sensor, and a control system [1]. The wavefront sensor measures the aberrations in the incoming wavefront caused by atmospheric turbulence and vibrations. In operation, the wavefront sensor samples the incoming wavefront and determines the aberrations introduced by the disturbances. The control system analyzes this information and calculates the necessary corrections to apply to the deformable mirror. The deformable mirror, a specially designed mirror composed of numerous small actuators that can deform its shape in response to commands from the control system, then adjusts its shape in real-time to compensate for the disturbances [1]. However, despite the progress made in AO technology, there are ongoing challenges related to modeling and mitigating disturbances in modern AO systems [2,3,4,5,6,7,8,9,10]. Accurate models that describe the dynamics of the AO system [11,12,13,14] and precise models for disturbances such as turbulence and vibrations are essential when implementing effective control techniques to mitigate these aberrations. In particular, disturbance mitigation is especially critical for the next generation of telescopes [15,16], which strive to achieve unprecedented levels of image quality and resolution. Integral control is one of the most widely employed control techniques in AO systems [17,18,19,20,21]. Integral controllers are effective at mitigating low-frequency disturbances, and provide steady and accurate correction over time. Although disturbances in AO systems are dynamic phenomena, the potential to adapt and adjust controller parameters based on real-time measurements of these disturbances could represent a valuable asset for observatories. This work proposes a novel tuning procedure for integral controllers in astronomical AO systems. The proposed tuning procedure utilizes wavefront sensor measurements recorded over an interval of 3 s to estimate the disturbance model using the modeling method in [22], which represents the operational conditions of the adaptive optics system. This approach aims to minimize the output variance, which directly impacts the quality of astronomical images. By reducing the output variance, the performance of the AO system can be optimized and improved image quality can be achieved. While recent efforts in advanced control techniques have been reported in the literature [9,10,23,24,25], there has been limited research focusing on the optimization and tuning of integral controllers in today’s astronomical AO systems. Furthermore, this study evaluates the performance of the integral controller obtained using the proposed method, a manually tuned integral controller, and an integral controller tuned with classical methods such as Ziegler–Nichols [26]. The performance of these integral controllers was compared through theoretical examples and numerical simulations using the Object-Oriented Matlab Adaptive Optics (OOMAO) [27], an open-source software for adaptive optics simulation [27]. The rest of this paper is organized as follows. In Section 2, we provide a comprehensive overview of the AO system, introducing the description of the AO system model, typical AO controller, disturbance model, and frequency domain identification method for the disturbances. Section 3 presents the proposed method for tuning the integral controller parameter. Section 4 illustrates the controller’s performance through a simple numerical example and evaluates the proposed tuning method in an AO system using OOMAO [27]. Finally, our conclusions are presented in Section 5. 2. Adaptive Optics Systems 2.1. AO System Model The primary objective of the AO system is to enhance the quality of astronomical images by mitigating disturbances in the incoming wavefront. The diagram of an AO system is illustrated in Figure 1. In this figure, the incoming (aberrated) wavefront is captured by a Shark–Hartman wavefront sensor (SH-WFS) and this signal is subsequently input to the controller. Finally, the controller output represents the actuation applied to the deformable mirror (DM) to mitigate the disturbances. Block diagram for an AO closed-loop system. In Figure 1, the signal yk corresponds to the output of the AO system, the signal uk represents the output of the controller K(z), Dc(s) represents the continuous-time transfer function of the WFS, and Mc(s) represents the continuous-time transfer function of the DM. The signal φTot(t) corresponds to the total disturbance, which represents the amplitude of the disturbed wavefront caused by a combination of turbulence and vibrations. The signal φcor(t) represents the correction provided by the DM, the signal φres(t) represents the residual disturbance, and the signal ηk represent the measurement noise. The total disturbed wavefront φTot(t) in Figure 1 is defined following [14,28,29] as the summation of the atmospheric turbulence effect φtur(t) and the effects originating from m different vibration sources φvibi(t) with i=1,...,m, as follows: Discrete-time additive white Gaussian noise with a mean of zero is part of the wavefront sensor output signal model (see Figure 1, where it is denoted by ηk). For the simplicity of presentation, the atmospheric turbulence φtur, vibrations φvib, and measurement noise η are all assumed to be mutually independent. It is important to note that both discrete-time and continuous-time signals are present in Figure 1. The input of the WFS is a continuous-time signal, whereas its output is a discrete-time signal. Additionally, AO systems incorporate a zero-order hold (ZOH) [14,29,30] to convert the discrete-time control signal into a continuous-time control signal applied to the deformable mirror. The WFS plays a crucial role in estimating the residual phase by accumulating photons over a time interval Δ and integrating the residual phase φres(t) within the sampling time interval tk−1,tk, where tk=kΔ denotes the sampling instant [14]. Consequently, the discrete-time residual phase can be mathematically expressed as follows: where k∈N0 and Δ is the sampling period. Typically, the WFS in (2) is modeled as the following discrete-time transfer function [14]: where D0 is the gain and μ is the measurement delay. On the other hand, the DM is modeled as the following discrete-time transfer function [11,14,28,31,32]: where M0 is the gain and τ is the correction delay. Finally, improved image quality can be achieved by minimizing either the continuous-time phase variance, the output of the AO system varyk, or the variance of residual phase (denoted as varφres(t)), as described in [14], where the authors demonstrated that minimizing the discrete-time residual phase variance varφkres is equivalent to minimizing the continuous-time residual phase variance (see, e.g., [14,31]). 2.2. AO Controller As previously mentioned, integral control is widely employed as a control algorithm in AO systems [17,18,19,20,21]. The control law for an integral controller is defined as follows [33,34]: which results in the following transfer function: In order to address the complexity of the control problem, a commonly employed approach is to represent disturbances as a linear combination of orthogonal basis functions known as “modes”. In this work, we utilize Zernike polynomials [35], which are common orthogonal basis functions for describing optical aberrations. This approach allows the original control problem to be separated into independent modes. In this study, we simulated the first 100 Zernike modes. However, to effectively demonstrate the proposed tuning method, we focused solely on the first three modes, called Tip, Tilt, and Defocus [1,36], as these modes are particularly sensitive to vibrations [1,2,31]. The piston mode was not considered, as it cannot be measured in practical applications by the WFS used in this work. Despite the widespread use of integral controllers in AO, determining the optimal value of KI based on varying disturbance conditions remains challenging due to the time-varying nature of perturbations. This work presents a novel method for tuning an integral controller to tackle this challenge. In the proposed approach, the control parameter is determined based on the disturbance model and the plant model. This method can enable real-time tuning of the controller to adapt to specific disturbances, leading to improved performance and enhanced correction accuracy. Moreover, this technique is expected to contribute to the advancement of more sophisticated AO systems, ultimately facilitating the acquisition of improved astronomical images. 2.3. Disturbance Model In AO systems, disturbances such as turbulence and vibrations are typically described using discrete-time second-order autoregressive (AR) models, as shown in [17,29,37]. However, in this study we consider an alternative approach utilizing a sum of continuous-time oscillators, as proposed in [22]. Consequently, the continuous-time model for these disturbances is described as follows: where s=ddt is the derivative operator, ρ represents the number of oscillators, γl is the gain, ϖl (in rads/s) is the natural frequency (ϖl=2πχl), ψl is the damping coefficient, and ν˙l(t) is continuous-time zero-mean white Gaussian noise with variance σl2=1δD(t),∀l (with δD(t) being the Dirac delta). In addition, ν˙l(t) and l=1⋯,ρ are assumed to be mutually uncorrelated noise. Figure 2 represents an equivalent block diagram model for the AO system presented in Figure 1. As presented in [22], the AO disturbances in discrete time can be obtained by solving a Riccati equation [26,33,38] to compute the spectral factorization H(z) [33] via numerical approximation. Thus, the discrete-time model of the disturbances is as follows (for more details, see Appendix B and [22]): where and ek is discrete-time zero-mean white Gaussian noise with variance ς2. It is essential to remark that both H(z) and ς2 depend on the continuous-time parameters. Equivalent block diagram model for AO system. In Figure 2, it can be observed that the plant is G(z)=M(z)D(z). Here, it is assumed that the plant is known and that the disturbances are identified using the identification method presented in [22]. 2.4. Identification in Frequency Domain In this work, in order to facilitate the implementation of the proposed tuning method in real-time AO operations while achieving a precise estimation of the disturbance model parameters, we carry out the identification of the disturbance parameters in the frequency-domain using Whittle’s likelihood [39,40,41]. The choice of this identification method is based on the equivalence between time-domain and frequency-domain maximum likelihood identification methods, as demonstrated in [42]. The proposed identification method used in this work requires us to estimate the vector of the parameters, denoted as θ→ and defined as follows: where χ→=χ1χ2⋯χρT, ψ→=ψ1ψ2⋯ψρT, and γ→=γ1γ2⋯γρT are the natural frequencies (in Hz), damping coefficients, and gains, respectively, of the disturbance model in (7). The Whittle likelihood function depends on the discrete-time Power Spectral Density (PSD) of the disturbances Φ(eiωjΔ) and the periodogram of the sampled-data series of the measured φTot, I(eiωjΔ). This likelihood function for sampled data and finite data length was presented in [22], and is provided by where N is the data length, Δ is the sampling period, Φ(eiωjΔ) is given by: i=−1, j=1,2,⋯,N, ωj=(2πj)/Δ, 0<ωj≤2π(Fs/2), and I(eiωjΔ) in (11) is obtained from the discrete Fourier transform (DFT) of the data as provided by [22] The maximum likelihood (ML) estimation problem can be formulated as follows [22]: Finally, solving the minimization problem yields a disturbance model adjusted to the disturbances measured by the WFS. It is important to note that for the successful application of this method it is necessary to know the total disturbance (φTot). In a real AO system, this task can be accomplished in open-loop mode using a flat DM. Consequently, the novel approach presented in this work can serve as a valuable tool for real-time AO operations, enabling adjustment of the disturbance model based on a set of N samples of the total disturbance (φTot) measured by the WFS and subsequent fine-tuning of the integral controller to enhance the performance of the AO system. 3. Proposed Method To fine-tune the integral controller, the proposed method deals with determining the optimal gain for the integral controller, denoted as KI, that minimizes the variance of the output signal varyk [43]. This approach represents a viable strategy for enhancing image quality. According to the block diagram in Figure 2, the output signal is defined as follows: where (in an abuse of notation) z is either the forward shift operator (zyk=yk+1) or the argument of the Z-Transform, G(z) is the discrete-time transfer function of the plant, which is provided by with uk is the output of the controller as provided by (5), H(z) is the discrete-time transfer function of the disturbances, and the signal ek is zero-mean white noise with variance ς2 (see Equation (8)). Observe that the relative order of G(z) is d=n−m, which can be considered as the delay of the system in terms of the backward-shift operator. In order to obtain the integration constant (KI) for an integral controller, it is considered that the closed-loop response is provided by where H(z) and ek represent the disturbance model in (15) and S(z) is the sensitivity function provided by where K(z) is the controller. We assume that the structure of the integral controller for min-phase systems is the Z-transform of the control law in (5); it is provided by where the KI is the integration constant. Next, to minimize the output signal variance, we seek to minimize the following cost function: through replacement, we obtain where H(z) and ς2 represent the model of disturbance in (15), B(z) and A(z) represent the plant, and Ki is the integration constant. To assure stability, it must be guaranteed that the polynomial A(z)(z−1)+B(z)KIz has all of its roots inside the unit circle of the z-plane, using, e.g., the Jury stability test [44]. Lemma A1 shows an example of conditions for the stability of a second-order polynomial. Note that H(z) is not considered in the stability analysis due to its being obtained from the spectral factorization procedure, which is a stable result (for more information, see [22]). It is important to note that in this case it is not necessary to include the measurement noise model to obtain KI, as this noise is white and independent of the disturbances. Due to this, the resulting controller gain remains the same with or without the term associated with the measurement noise. Note that in our modeling approach, all of the perturbations are encompassed in a single transfer function H(z) via spectral factorization. This implies that the solution to the problem of obtaining a controller that minimizes the variance of the output of the control loop is provided by the inherently stabilizing Minimum Variance Controller (MVC); see, e.g., [31]. However, unlike our problem of interest, MVC does not enforce any given structure for the controller. This implies that when we have a desired structure for the controller, the resulting optimization problem is typically not convex, making it challenging to solve. In our problem of interest, we only have one variable to optimize, potentially yielding a simpler optimization problem. 4. Results and Discussion In this section, we illustrate the benefits of our proposal through two examples. First, we analyze the effectiveness of our tuning method on a simple second-order system with second-order disturbances. Second, we analyze an AO system where the disturbances are modeled as an nth-order system. 4.1. Tuning Controller Example In this example, the plant’s transfer function and the disturbances model are assumed to be known. The transfer functions for the plant and disturbances are as follows: We utilize white noise with a variance of ς2=1, a sampling period of Δ=1 ms, and a data length of N=1000 samples. To assess the performance of the proposed method, we consider an alternative tuning approach for comparison, namely, the classical Ziegler–Nichols method [45]. Figure 3 shows the discrete-time PSD of the controlled output. The red line (Φ^y(eiωΔ)) represents the proposed tuning, while the black line (Φ^y∗(eiωΔ)) represents the Ziegler–Nichols tuning. It should be noted that these controlled outputs are obtained in a closed-loop configuration. Additionally, the blue line (Φtur(eiωΔ)) represents the discrete-time PSD of the disturbance signal in the open loop, corresponding to the input signal. As shown in Table 1, it can be observed that the controlled output using the proposed tuning method exhibits better performance in terms of the output variance. Discrete-time PSD of the disturbance (input signal) and controlled outputs (with integral controller). The blue line represents the discrete-time PSD of disturbance or input signal, the red line represents the discrete-time PSD of the controlled output using the proposed tuning method, and the black line represents the discrete-time PSD of the controlled output using the Ziegler–Nichols tuning method. Table 1Performance of integral controller. Proposed TuningZiegler-Nichols TuningVariance30.18411.91 Performance of integral controller. The simulation time was arbitrarily chosen as N=1000 to ensure enough samples for estimating the disturbance model and simulating the system. It is important to note that this example presents a system in which the transfer function of the system G(z) and transfer function of the disturbances H(z) are both known. Therefore, the proposed method can be applied to tune an integral controller for any system where G(z) and H(z) are known or estimated. 4.2. Tuning a Controller for an Adaptive Optics System In this example, we present simulations to assess the performance of the integral controller tuning procedure in an AO system, as detailed in the preceding sections. These simulations were conducted using the Object-Oriented Matlab Adaptive Optics Toolbox software [27]. An overview of the simulation parameters utilized in this study is presented in Table 2. Table 2OOMAO parameters summary for AO simulations.ParameterValueUnitDiameter D8.4mShack-Hartmann WFS10 × 10LensletsDeformable Mirror11 × 11Number ActuatorsZernike Modes100-Wavelenght λ550nmFried r014–20cmWindspeed15m/sOuter scale L020mSampling Time0.001sSimulation Time3s OOMAO parameters summary for AO simulations. The chosen values of the Fried parameter r0 used in the simulations correspond to two scenarios: one representing typical atmospheric conditions for astronomical observations (r0=14) and the other representing favorable atmospheric conditions for astronomical observations (r0=20) [46,47,48]. This deliberate selection enabled us to evaluate the performance of the proposed method under varying disturbance conditions. As described in Section 2, the total disturbance was decomposed into different Zernike modes. Figure 4 illustrates the discrete-time Power Spectral Density (PSD) of the total disturbance for the first three Zernike modes (Tip, Tilt, Defocus). We excluded the Piston mode from our analysis because the SH-WFS cannot measure it. It is worth noting that vibration peaks at 20 Hz and 60 Hz have been introduced into the Tip and Tilt Zernike modes, similar to those considered in [22], to account for vibrations commonly encountered in AO systems [6]. Discrete-time PSD of the total disturbance signal. (a) Tip mode PSD for r0=14. (b) Tilt mode PSD for r0=14. (c) Defocus mode PSD for r0=14. (d) Tip mode PSD for r0=20. (e) Tilt mode PSD for r0=20. (f) Defocus mode PSD for r0=20. To successfully implement the proposed method, as outlined in Section 3, it is necessary to have models for both the plant and the disturbances. In this work, we utilized a commonly employed AO plant model [14,22,49], represented as follows: The model parameters were set to D0=M0=1 with d=1, consistent with the values used in [22]. The method outlined in Section 2.4 and Algorithm A1 (presented in Appendix B) were used to identify the disturbance model, with nine oscillators (ρ=9) used to model the Tip, Tilt, and Defocus Zernike modes. Figure 5 illustrates the estimation results obtained using the identification method proposed in [22] for the first three Zernike modes. In this figure, the blue line represents the discrete-time Power Spectral Density (PSD) of the total disturbance generated with OOMAO, while the red line represents the PSD of the estimated disturbance model using the identification method proposed in [22]. Clearly, the identification method yields high accuracy for the Tip, Tilt, and Defocus Zernike modes. Notice that for the Tip and Tilt modes we were able to successfully and accurately detect model the vibration peaks at 20 Hz and 60 Hz. Estimated PSD for Zernike modes. (a) Tip mode PSD estimation for r0=14. (b) Tip mode PSD estimation for r0=20. (c) Tilt mode PSD estimation for r0=14. (d) Tilt mode PSD estimation for r0=20. (e) Defocus mode PSD estimation for r0=14. (f) Defocus mode PSD estimation for r0=20. With the disturbance model estimated, the integral controller gain KI can be determined by solving the estimation problem described in Equation (23) using the optimization function fmincon in Matlab Version 9.12.0 (R2022b) [50]. To compare and evaluate the performance of the proposed method in an adaptive optics system, we proposed a simulation study using three different tuning methods: (a) manual tuning, (b) the Ziegler–Nichols tuning method, and (c) tuning using the proposed method. An integral controller was tuned by each method and compared in terms of the Root Mean Square (RMS) of the residual disturbance variance, with the superior controller being the one that obtains the lowest RMS value. In this work, the RMS value of the residual disturbance measured using OOMAO [27] was obtained as follows: With manual tuning, values of KI between 0.045 and 0.050 were evaluated to tune an integral controller. The best outcome was achieved with KI=0.045 for r0=14 and KI=0.050 for r0=20. On the other hand, because the Ziegler–Nichols method depends solely on the transfer function G(z), a value of KI = 0.0203 was determined for Tip, Tilt, and Defocus modes in both scenarios for r0=14 and r0=20. Finally, in case (c), to determine the values of KI, we minimized the cost function from (23) in terms of KI, then used Appendix A to consider the stability restriction, obtaining the following results: KI=0.0367 for Tip mode, KI=0.0212 for Tilt mode, and KI=0.1232 for Defocus mode with r0=14; and with r0=20, KI=0.0384 for Tip mode, KI=0.0222 for Tilt mode, and KI=0.1288 for Defocus mode. The mean values of the obtained residual disturbance variance RMS are summarized in Table 3. The results indicate that the integral controller tuned using the proposed method outperforms the manually tuned integral controller and the Ziegler–Nichols tuned integral controller. It is clear that the proposed method provides better tuning of the integral controller. Even though the manual and Ziegler–Nichols tuning both exhibit good performance, the integral controller tuned using the proposed method achieves superior results, outperforming the manual tuning method in terms of RMS residual turbulence by 7.72% for r0=14 and by 6.39% for r0=20. Because the proposed method requires a window of N=1000 samples to estimate the disturbance model and calculate the integral controller gain KI, it is suitable for implementation in astronomical real-time AO systems, resulting in a time window of approximately 1 s in current AO systems. Finally, the proposed tuning method could be a valuable tool to enhance the image quality of existing AO systems using integral controllers. However, due to the dynamic nature of atmospheric conditions during nighttime observations, it is advisable to regularly adjust the integral controller, especially when changing the scientific target. Table 3Residual disturbance variance in RMS.Fried ParameterManual TuningZiegler-Nichols TuningProposed Tuning r0=14 0.2628 0.3245 0.2426 r0=20 0.2708 0.3484 0.2535 Residual disturbance variance in RMS. Further details of the control performance using our proposal are shown in Figure 6. Here, the total disturbance φTot(t) and residual disturbance φres(t) at the end of the simulation for the two atmospheric conditions (r0=14 and r0=20) are illustrated. Figure 6a,b shows the total disturbance φTot(t) for r0=14, Figure 6c,d illustrates the residual disturbance φres(t) for r0=20, and Figure 6e,f presents the evolution of the total disturbance and residual disturbance during the simulation for the two scenarios with r0=14 and r0=20. The results depicted in Figure 6 shows excellent performance in both scenarios on the part of the integral controller proposed here, which can be explained by the fact that the output variance is minimized to optimize the controller. Figure 6b,d shows that the residual disturbance is close to zero, which is expected when the controller is operating correctly. Additionally, Figure 6e,f demonstrates that the integral controller effectively reduces the output variance and enhances image quality, as expected considering its common use in AO systems. Performance of the integral controller tuned with the proposed method. (a) Total disturbance φTot(t) at the end of the simulation for r0=14. (b) Residual disturbance φres(t) for r0=14. (c) Total disturbance φTot(t) at the end of the simulation for r0=20. (d) Residual disturbance φres(t) for r0=20. (e) The blue line represents the total disturbance variance, while the red line represents the residual disturbance variance for r0=14. (f) The blue line represents the total disturbance variance, while the red line represents the residual disturbance variance for r0=20. 5. Conclusions This paper introduces a novel procedure for tuning integral controllers in AO systems. The proposed method utilizes the approach outlined in [22] to accurately estimate the discrete-time disturbance model using OOMAO data. By formulating a minimization problem, the method determines the optimal gain for the integral controller that minimizes the output variance. This study encompasses theoretical and numerical examples while considering unfavorable atmospheric scenarios commonly encountered in astronomical observations. Our results demonstrate the effectiveness of the proposed approach in accurately estimating disturbance models in simulated AO systems using OOMAO software. Notably, the procedure successfully minimizes the output variance, achieving a 7.73% reduction in terms of residual variance RMS for r0=14 and a 6.39% reduction for r0=20. These improvements can enhance the quality of astronomical images even under challenging atmospheric conditions. These findings constitute a significant contribution to the field of AO operations in astronomical observatories, establishing our procedure as a promising tool for tuning integral controllers in astronomical AO systems and enabling optimization based on specific observational conditions. Additionally, although the proposed method was evaluated for an AO system, it can be applied to any system for which the transfer functions and disturbances of the system are known. Abbreviations The following abbreviations are used in this manuscript: AOAdaptive OpticsOOMAOObject-Oriented Matlab Adaptive OpticsSHShark–HartmanWFSWavefront SensorDMDeformable MirrorPSDPower Spectral DensityDFTDiscrete Fourier TransformFIRFinite Impulse ResponseMLMaximum LikelihoodPIProportional IntegralZOHZero-Order HoldMVCMinimum Variance ControllerRMSRoot Mean Square Appendix A. Lemma Set a discrete time second-order polynomial: The necessary and sufficient conditions for the polynomial A(z) to have no roots on or outside the unit circle of the z-plane are: See [44]. □ Appendix B. Algorithm The procedure to obtain the discrete-time disturbance model in Algorithm A1 is summarized in the following (for more detail, see [22]). Algorithm A1 Discrete-time disturbance model1:Obtain the continuous-time state-space model of the disturbances using the following equations: (A4)x˙(t)=Acx(t)+κcΨc(t), (A5)φTot(t)=b˙(t)=Ccx(t), where Ac∈R2ρ×2ρ, x(t)∈R2ρ×1, κc∈R2ρ×ρ, Ψc∈Rρ×1, Cc∈R1×2ρ, ρ is the number of damping oscillators used, and the noise variance is Qc=κcκcT.2:Obtain the continuous-time state-space model of the extended system: (A6)X˙(t)=AX(t)+κc0Ψc(t), where (A7)A=Ac0Cc0.3:Compute the discrete-time state equation of the extended system: (A8)Xk+1=eAΔXk+nk+1.4:Compute the discrete-time system matrices, A and C, of the disturbances using the following equations: (A9)A=eAcΔ, (A10)C=CcAc−1{A−I}.5:Obtain the spectral factorization H(z) and ς2. 1:Obtain the continuous-time state-space model of the disturbances using the following equations: (A4)x˙(t)=Acx(t)+κcΨc(t), (A5)φTot(t)=b˙(t)=Ccx(t), where Ac∈R2ρ×2ρ, x(t)∈R2ρ×1, κc∈R2ρ×ρ, Ψc∈Rρ×1, Cc∈R1×2ρ, ρ is the number of damping oscillators used, and the noise variance is Qc=κcκcT. Obtain the continuous-time state-space model of the disturbances using the following equations: (A4)x˙(t)=Acx(t)+κcΨc(t), (A5)φTot(t)=b˙(t)=Ccx(t), where Ac∈R2ρ×2ρ, x(t)∈R2ρ×1, κc∈R2ρ×ρ, Ψc∈Rρ×1, Cc∈R1×2ρ, ρ is the number of damping oscillators used, and the noise variance is Qc=κcκcT. 2:Obtain the continuous-time state-space model of the extended system: (A6)X˙(t)=AX(t)+κc0Ψc(t), where (A7)A=Ac0Cc0. Obtain the continuous-time state-space model of the extended system: (A6)X˙(t)=AX(t)+κc0Ψc(t), where (A7)A=Ac0Cc0. 3:Compute the discrete-time state equation of the extended system: (A8)Xk+1=eAΔXk+nk+1. Compute the discrete-time state equation of the extended system: (A8)Xk+1=eAΔXk+nk+1. 4:Compute the discrete-time system matrices, A and C, of the disturbances using the following equations: (A9)A=eAcΔ, (A10)C=CcAc−1{A−I}. Compute the discrete-time system matrices, A and C, of the disturbances using the following equations: (A9)A=eAcΔ, (A10)C=CcAc−1{A−I}. 5:Obtain the spectral factorization H(z) and ς2. Obtain the spectral factorization H(z) and ς2. Author Contributions Each author played an essential role in the development of this research. Conceptualization, P.E., M.C. and J.C.A.; formal analysis, P.E., M.C., R.C. and J.C.A.; funding acquisition, P.E., M.C., R.C. and J.C.A.; investigation, P.E., M.C., R.C. and J.C.A.; methodology, M.C. and J.C.A.; software, P.E.; validation, P.E.; visualization, P.E.; optics analysis, P.E.; writing—original draft preparation, P.E., M.C., R.C. and J.C.A.; writing—review and editing, P.E., M.C., R.C. and J.C.A. All authors have read and agreed to the published version of the manuscript. Institutional Review Board Statement Not applicable. Informed Consent Statement Not applicable. Data Availability Statement The article provides all the information required to conduct the simulations. Data sharing is not applicable to this article. Conflicts of Interest The authors declare no conflict of interest. Funding Statement This work was partially supported by VINCI-DI PUCV through grants no. 039.315/2023, ANID-FONDECYT 1211630, 11201187, and 3230398 and by the Advanced Center for Electrical and Electronic Engineering, AC3E, Basal Project FB0008, ANID, Chile. Footnotes Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. References Associated Data Data Availability Statement The article provides all the information required to conduct the simulations. Data sharing is not applicable to this article.