Abstract

There is growing interest in the use of the filtered basis functions (FBF) approach to track linear systems, especially nonminimum phase (NMP) plants, because of its distinct advantages compared to other tracking control methods in the literature. The FBF approach expresses the control input to the plant as a linear combination of basis functions with unknown coefficients. The basis functions are forward filtered through the plant dynamics, and the coefficients are selected such that tracking error is minimized. Similar to other feedforward control methods, the tracking accuracy of the FBF approach deteriorates in the presence of uncertainties. However, unlike other methods, the FBF approach presents flexibility in terms of the choice of the basis functions, which can be used to improve its accuracy. This paper analyzes the effect of the choice of the basis functions on the tracking accuracy of FBF, in the presence of uncertainties, using the Frobenius norm of the lifted system representation (LSR) of FBF's error dynamics. Based on the analysis, a methodology for optimal selection of basis functions to maximize robustness is proposed, together with an approach to avoid large control effort when it is applied to NMP systems. The basis functions resulting from this process are called robust basis functions. Applied experimentally to a desktop three-dimensional (3D) printer with uncertain NMP dynamics, up to 48% improvement in tracking accuracy is achieved using the proposed robust basis functions compared to B-splines, while utilizing much less control effort.

1 Introduction

Tracking control is a fundamental problem encountered in a wide range of fields such as manufacturing, robotics, automotive, and aeronautics. The objective of tracking control is to force the output trajectory of the controlled system to follow a desired trajectory as closely as possible. Tracking control could be achieved using feedforward and/or feedback controllers. This paper is written in the context of feedforward tracking control of discrete-time linear systems and is motivated by: (i) applications where feedforward is the only recourse due to lack or inadequacy of feedback sensors, for example, stepper motor driven three-dimensional (3D) printers, and (ii) applications where feedforward control plays a larger role in tracking control as compared to feedback control, for example, in wafer scanning stages where 99% of the control effort required for tracking is generated by feedforward [1].

Feedforward tracking control of linear systems can be ideally achieved using perfect tracking control, i.e., pole-zero cancelation [2]. However, in practice, ideal feedforward control cannot be realized due to (i) nonminimum phase (NMP) zeros and (ii) uncertainty in the plant dynamics [3]. When applied to NMP systems, perfect tracking control results in highly oscillatory or unbounded control trajectories which are unacceptable. NMP zeros are quite prevalent in practice. For example, they occur in systems with fast sampling rates [4], as well as in systems with noncollocated placement of sensors and actuators [5]. Hence, a lot of research on feedforward tracking control of NMP systems can be found in the literature (Refs. [68] present detailed literature reviews on the subject). Recently, the filtered basis functions (FBF) approach has been gaining attention as an effective approach for feedforward tracking control of linear NMP systems [913]. The FBF approach expresses the control input as a linear combination of user-defined basis functions (of which there are a wide range of choices, e.g., B-splines [9], cosine signals [14], radial basis functions [11], etc.). The basis functions are forward filtered through the plant dynamics, and the coefficients are selected, using an elegant least squares solution, such that the tracking error is minimized. The FBF approach finds its origins in iterative learning control [14] but was not applied to feedforward tracking control of NMP systems until recently [913]. Unlike most of the methods in the literature, the FBF approach is effective for a wide range of desired trajectories and plants including nonhyperbolic systems (systems with zeros on the unit circle in the z-plane) [10,13], square and nonsquare multi-input multi-output systems, linear time-varying (LTV) systems, linear parameter varying systems [11], etc. Also, the tracking accuracy of FBF does not change significantly with plant dynamics, as compared to other popular methods in the literature [15].

A key challenge of feedforward controllers, including FBF, is how to improve their robustness in the presence of uncertainty in plant dynamics [3,1621]. The tracking accuracy of feedforward methods such as FBF can be improved by complementing them with some form of feedback control, for example, real-time feedback [16,22,23], adaptive control [17], iterative learning control [2428], etc. However, as mentioned previously, this paper focuses on applications where feedforward is the only or prominent mode of control. An alternative approach, therefore, is to improve the robustness of feedforward tracking controllers without relying on feedback, using a priori knowledge of plant uncertainty, e.g., Refs. [20] and [21]. Recently, motivated by use of a priori knowledge of plant uncertainty, optimal selection of coefficients [29] and optimal filtering of basis functions [30,31] have been explored as avenues to improve the robustness of the FBF approach. However, optimal selection of basis functions presents an opportunity for improving the robustness of the FBF approach that is unavailable to other feedforward tracking control methods; it could be used as an alternative or complement to existing methods. Recently, Ref. [32] has proposed an optimal set of basis functions to achieve a desired level of tracking accuracy with minimum control effort. The optimization was realized using the Frobenius norm of the lifted system representation (LSR) of the FBF's error as well as controller dynamics. In a similar vein as Ref. [32], this paper explores optimal basis function selection for robust tracking control using the FBF approach. This paper (and its preliminary version [33]) makes the following original contributions to the literature:

  1. It analyzes the effect of basis functions on the tracking accuracy of FBF, in the presence of uncertainty, using the Frobenius norm of the LSR of the error dynamics.

  2. It proposes a process for optimally selecting basis functions to maximize the robustness of tracking control of uncertain linear systems using FBF.

  3. It proposes an approach to ensure that the so-called “robust basis functions” resulting from the optimal selection process do not result in very large control inputs when applied to NMP systems.

The paper is structured as follows: Sec. 2 presents some background information on the FBF approach and the Frobenius norm metric and motivates the rest of the paper using an example. The contributions of the paper are presented in Sec. 3. Section 4 demonstrates the effectiveness of the proposed basis functions using a simulation example and experiments on a desktop 3D printer, and Sec. 5 concludes the paper.

2 Background and Motivation

2.1 Tracking Control Problem.

For the sake of simplicity, the FBF approach is presented here in the context of a linear time invariant (LTI) single-input single-output (SISO) system. However, it is applicable to any discrete-time linear system [10,11,32]. Given a discrete-time LTI SISO system, G(q), as shown in Fig. 1, which may represent a stable open-loop plant or a stable closed-loop-controlled system, we can write
(1)
where k is the time index, q is the forward shift operator, and y and u are the output and control input, respectively. The objective of feedforward tracking control is to design a controller C(q) or find a control input u(k) given by
(2)
where yd(k) is the desired trajectory, such that the tracking error e(k)
(3)

is minimized, where L(q) and Eff(q) are the overall dynamics and the error dynamics of the controlled system, respectively.

Fig. 1
Block diagram for feedforward tracking control
Fig. 1
Block diagram for feedforward tracking control
Close modal
For finite time, 0 ≤ k  M (M +1 is the number of discrete points in the trajectory), the desired trajectory, control input, tracking error, and output trajectory can be expressed using vectors
(4)
Accordingly, Eqs. (1)(3) can be expressed as
(5)

where G, C, L, and Eff are the lifted system representations (see Appendix  A for more details) of G, C, L, and Eff, respectively, and I is the identity matrix of appropriate size. The use of boldface symbols for LSR of systems is maintained hereinafter.

2.2 Overview of the Filtered Basis Functions Approach.

Here, we provide an overview of the FBF approach, assuming no uncertainty in the plant dynamics, to provide the reader with some background needed for the proposed approach including uncertainty discussed in Sec. 3. The FBF approach relies on two assumptions:

  1. the desired trajectory is known a priori; and

  2. the control input u(k) is expressed as a linear combination of n + 1 user-defined basis functions φi(k); i.e.,
    (6)
where γi are unknown coefficients. Using vectors, Eq. (6) can be expressed as
(7)
Hence, for a linear system G(q), y can be expressed as
(8)
where Φ̃ represents the filtered basis functions matrix, i.e., Φ filtered through the LSR of a nominal model Gnom of the actual plant, as shown in Fig. 2. Note that, because in this section uncertainty in plant dynamics is not considered, Gnom = G is assumed. The control objective is to find the optimal coefficient vector γ such that the squared two-norm of the tracking error
(9)
is minimized; the optimal solution is given by
(10)
Fig. 2
Block diagram for feedforward tracking control using FBF approach
Fig. 2
Block diagram for feedforward tracking control using FBF approach
Close modal
Based on Eqs. (5), (7), (8), and (10), the LSRs of the controller and error dynamics can be expressed as
(11)

Remark 1.C and Eff both depend on the system as well as the selected basis functions. Both matrices are, in general, non-Toeplitz and nontriangular implying that the FBF controller is, in general, LTV and noncausal [10].

Remark 2. The use of the LSR for formulating the FBF approach indicates its applicability to any discrete-time linear system (e.g., LTV or multi-input multi-output) because of their amenability to LSR.

2.3 Frobenius Norm Metric.

As a tracking performance evaluation metric, the authors (in Refs. [15] and [32]) have proposed the following metric, Je, based on the Frobenius norm of Eff
(12)

where Tr is the trace of a matrix. The Frobenius norm is selected because it takes into account all singular values/gains (σi) of Eff, as opposed to, e.g., ǁEffǁ2, which considers only the maximum singular value/gain.

Note that for a normalized desired trajectory (ǁydǁ2 = 1)
(13)
The implication is that Je is an upper bound on the root-mean-square (RMS) tracking error (eRMS). Moreover, it is shown in Ref. [32], that for an LTI system
(14)

In other words, Je approaches the system error two-norm criterion (sometimes used in the design and analysis of LTI tracking controllers [34]).

2.4 Motivational Example.

This section motivates the rest of the paper, using a damped oscillator with parametric uncertainty
(15)

where ωn and ζ denote the natural frequency and damping ratio, and the subscript “nom” denotes the nominal value. The system in Eq. (15) is representative of the dynamics of a vibration-prone 3D printer with uncertainty [12,30] (also shown in Fig. 9). The system is sampled at 1 kHz. The set of actual plant dynamics is generated by selecting 410 evenly distributed realizations of the plant defined by Eq. (15). The nominal values of the plant parameters are used to generate the nominal model for filtering the basis functions. The desired signal yd is a white noise signal with zero mean and unit variance (M =1000). The choice of white noise for yd is because its broadband nature eliminates biased results based on arbitrarily selected yd. There is a wide choice of basis functions that can be used with the FBF approach. This work uses discrete cosine transform (DCT) [28], block pulse functions (BPF) [35], and B-splines [36], due to their popularity (Appendix  B gives more details about each basis function).

Figure 3 shows the normalized RMS tracking error eRMS/yd,RMS for DCT, BPF, and B-splines, for various numbers of basis functions (n =10–990), using the 410 realizations of the actual plant dynamics G, described previously. The metrics used for comparison are the mean, standard deviation, and nominal values (assuming the plant model is perfect) of eRMS/yd,RMS. It is observed that for the same n, the nominal tracking accuracy of FBF does not vary significantly with the type of basis functions. This observation is in agreement with the discussion in prior work [32]. However, it is observed that the tracking accuracy of the FBF approach deteriorates in the presence of uncertainty and varies significantly depending on the type of basis functions. Hence, a methodology for selecting an optimal set of basis functions for robust tracking control using FBF is needed.

Fig. 3
Comparison of normalized RMS tracking error for DCT, BPF, and B-splines, in the absence (nominal) and presence of uncertainty, as functions of number of basis functions
Fig. 3
Comparison of normalized RMS tracking error for DCT, BPF, and B-splines, in the absence (nominal) and presence of uncertainty, as functions of number of basis functions
Close modal

3 Optimal Selection of Basis Functions for Robust Tracking

In this section, we propose an optimization process for selection of basis functions for robust tracking. First, we reformulate the FBF approach discussed in Sec. 2.1 to include uncertainty. Next, we analyze the effect of uncertainty and basis functions on the tracking accuracy of the FBF approach, using the Frobenius norm metric, then we find a set of robust basis functions that minimize the effect of the uncertainty. Finally, to avoid large control inputs for NMP systems, an approach to constrain the control input while selecting the robust basis functions is presented.

3.1 Effect of Uncertainty and Basis Functions on Tracking Accuracy of the Filtered Basis Functions Approach.

Referring to Fig. 2, assume that, due to uncertainty, the LSR of actual plant dynamics G belongs to the set {Gaj}, j = 1, 2, …, l. The set could represent a plant with additive uncertainty, multiplicative uncertainty, parametric uncertainty, etc. Without loss of generality, this paper assumes that the set has a finite number of members which sufficiently sample the uncertainty. Sampling of uncertainty has been used in the literature, e.g., Refs. [21] and [37], for robust controller design. Also, because of uncertainty, the nominal model Gnom used to design the FBF controller (see Fig. 2) is not necessarily equal to G and may or may not belong to the set {Gaj}. Accordingly, the LSR of the error dynamics corresponding to Gaj is given by Effj. To analyze the robustness of C, the Frobenius norm metric Je,r can be expressed as
(16)

where {λj} denotes weights associated with the distribution of the uncertainty. Note that Gnom may or may not belong to {Gaj}.

Remark 3. Note that the metric given by Eq. (16) is based on summation over the entire set of uncertain plant dynamics {Gaj}, as opposed to the worst-case Gaj. Worst-case plant dynamics is often considered in robust feedback control, due to the need to guarantee stability based on the worst-case scenario. However, in feedforward tracking control where tracking accuracy is of primary interest, a worst-case design tends to be overly conservative, especially if the worst-case rarely occurs in practice [21]. Hence, an approach which considers the distribution of the occurrence of the uncertain plant dynamics is considered in this paper.

Remark 4. This paper focuses on FBF, and hence the metric Je,r will only be explored in the context of FBF in the remainder of this paper. However, the metric can be used to analyze robustness of other tracking controllers.

If C is designed using Gnom, then C is given by
(17)
Since analysis using the pseudoinverse is quite cumbersome, Φ̃=GnomΦ is transformed into the decoupled filtered basis functions matrix Ψ̃=GnomΨ [10]. After transformation, C and Effj can be expressed as
(18)

where Ψ̃aj is obtained by filtering Ψ̃ using Gaj.

Proposition 1. For the set {Gaj} and associated weights {λj}, Je,r can be expressed in terms of the uncertainty and basis functions as
(19)
Proof. This proof first finds the metric Jej and then finds Je,r using Eq. (16). Based on Eqs. (16) and (18)
(20)
Using the fact that trace is a linear mapping and is invariant under cyclic permutations
(21)
Substituting Eq. (21) in Eq. (16) gives
(22)

Remark 5. The metric can be expressed as
(23)

The implication is that the metric is the summation of two components—nominal and uncertainty-related. The nominal component is identical to the value of the metric in the absence of the uncertainty [32]; it only depends on the number of basis functions and is independent of the plant dynamics and the choice of basis functions. However, the uncertainty-related component depends on the uncertainty, choice of nominal model, and the type and number of basis functions. With increase in n, the nominal component decreases monotonically, whereas, due to the Frobenius norm, the uncertainty-related component generally increases with n. The implication is that the tracking error for FBF in the presence of uncertainty does not vary monotonically with the number of basis functions (as seen in Fig. 3).

3.2 Proposed Approach for Optimal Selection of Basis Functions.

In this section, we find an optimal set of basis functions that minimizes Je,r for a given nominal model Gnom and actual plant {Gaj}. Toward achieving this objective, we first find an optimal set of basis functions that minimize the uncertainty-related component of Je,unc, for a given value of Je,nom. The procedure for selection of optimal basis functions is outlined in Proposition 2.

Proposition 2. Given {Gaj}, {λj}, andGnom, the n + 1 basis functionsΨthat minimize Je,uncare given by
(24)

whereVnom, Σnom, andWnomdenote the left singular vector matrix, singular value matrix, and right singular vector matrix ofGnom, respectively. Similarly,VΔ¯nom, ΣΔ¯nom,andWΔ¯nomdenote the left singular vector matrix, singular value matrix, and right singular vector matrix ofΔ¯nom, respectively.

Proof. The problem of minimizing Je,unc for a given value of n can be expressed using Eq. (23) as
(25)
Note that the constraint is a result of the decoupling process (Eq. (18)). The objective of the problem, given by Eq. (25), can alternatively be expressed as
(26)
Equation (26) can be expressed as
(27)
The constraint in Eq. (25) can be expressed as
(28)
Hence, the optimization problem given by Eq. (25) can be rewritten as
(29)
The optimal basis functions for robustness are the set of right singular vectors of the matrix Δ¯nom, corresponding to its n +1 smallest singular values [32], i.e.,
(30)
and the corresponding basis functions are
(31)

3.3 Constraining Control Effort for Nonminimum Phase Systems.

Although the basis functions obtained by Eq. (31) are optimal in terms of robustness, they might result in large control inputs, especially if Gnom has very small singular values. Very small singular values might result in an unrealizable robust controller [32], and hence the optimal basis functions should be designed to avoid components corresponding to these very small singular values.

Proposition 3. Given {Gaj}, {λj}, andGnom(with r very small singular values, due to NMP zeros or nonzero relative degree [32 ]), the n + 1 basis functionsΨthat minimize Je,uncwhile avoiding the very small singular values ofGnomare given by
(32)

whereVnom, Σnom, Wnom, VΔ¯nom,s, ΣΔ¯nom,s,andWΔ¯nom,sare defined in Eq. (24). Also,Δ¯nom,sandΔ¯nom,rare the first M + 1−r columns and last r columns ofΔ¯nom, respectively.

Proof. Based on the discussion in Ref. [32], the components corresponding to r very small singular values of Gnom can be avoided by equating the elements of last r rows of Ξ̃nom to zero, i.e., reformulate Eq. (29) as
(33)
The new constraint can be embedded into the objective and orthogonality constraint by
(34)
where Δ¯nom,s and Δ¯nom,r are defined in Eq. (32). The optimization problem, given by Eq. (33), can be rewritten as
(35)
The optimal solution to Eq. (35) is the set of right singular vectors of the matrix Δ¯nom,s corresponding to its n + 1 smallest singular values [32]
(36)
and the corresponding basis functions are
(37)

Figure 4 summarizes the procedure for selection of optimal basis functions, described in Propositions 2 and 3.

Fig. 4
Flowchart describing the process for optimal selection of robust basis functions to minimize Je,unc while maintaining Je,nom (i.e., minimize uncertainty while maintaining nominal tracking accuracy) and avoiding small singular values
Fig. 4
Flowchart describing the process for optimal selection of robust basis functions to minimize Je,unc while maintaining Je,nom (i.e., minimize uncertainty while maintaining nominal tracking accuracy) and avoiding small singular values
Close modal

Remark 6. Avoiding the very small singular values might have small adverse impact on the tracking accuracy but is largely beneficial in terms of minimizing the control input. In practice, the impact on tracking error would be very small because of the exponential/oscillatory nature of the singular vectors corresponding to the very small singular values, and their resulting small contribution to desired trajectories used in engineering applications. Also, inclusion of the very small singular values in selection of basis functions results in a very large control input to compensate for a small tracking error which can be easily addressed by avoiding the very small singular values.

Remark 7. Since the choice of basis functions only affects the uncertainty-related component and does not affect the nominal component (Remark 5), the proposed robust basis functions are selected such that robust tracking is realized without affecting the nominal tracking accuracy of FBF (Proposition 2). This is unlike other robust tracking controllers in the literature, e.g., Ref. [31], whose improved robustness in tracking is achieved at the cost of deterioration in nominal tracking accuracy.

Remark 8. For the basis functions given by Eq. (37), the value of metric Je,unc is given by
(38)

where {σΔ¯nom,s,i}, i =1, 2, …, M +1 − r are the singular values of the matrix Δ¯nom,s in the descending order. For n =0 (1 basis function), Je,unc only depends on the smallest singular value of Δ¯nom,s. The implication is that in an M +1 dimensional vector space, the basis function is aligned with the most robust vector, i.e., the vector that ensures that the uncertainty has the least effect on the tracking accuracy of FBF. As n increases, new basis functions are added such that the next higher singular values are added to Je,unc and the next most robust vectors in the M +1 dimensional vector space are selected. Among all possible n +1 dimensional vector spaces for vectors of length M +1, the effect of the uncertainty on tracking accuracy of the FBF approach is minimum in the vector space created by the n +1 basis functions given by Eq. (37).

The value of Je,r for the proposed robust basis functions is given by
(39)
The difference in values of Je,r2 as n increases from n = ni to n = ni + 1 is given by
(40)

where Je,r2[ni] denotes the value of Je,r2 for n = ni. Hence, the value of the metric decreases (i.e., tracking accuracy improves) if σΔ¯nom,s,Mrni< 1 and increases (i.e., tracking accuracy deteriorates) if σΔ¯nom,s,Mrni > 1.

Remark 9. Based on the above discussion, following three scenarios are possible with the proposed optimal basis functions:

  • If all singular values {σΔ¯nom,s,i} are less than 1, then Je,r2 is a decreasing function of n. Thus, n = M − r results in the most robust basis functions for the given nominal model and actual plant.

  • If all singular values {σΔ¯nom,s,i} are greater than 1, then Je,r2 is an increasing function of n, and n = 0 results in the most robust basis functions for the given nominal model and actual plant.

  • If {σΔ¯nom,s,i} has values dispersed on either side of 1, then for lower values of n, Je,r2 is a decreasing function of n, until σΔ¯nom,s,M+1rn < 1, and for higher values of n, Je,r2 is an increasing function of n. The most robust basis functions, for the given nominal model and actual plant, are achieved at the highest value of n for which σΔ¯nom,s,M+1rn < 1.

For a given uncertainty, scenario (i) would be the most desirable, since the optimal value is achieved for highest value of n (the most optimal nominal tracking accuracy and spans the entire possible trajectory space). This analysis also demonstrates that smaller singular values {σΔ¯nom,s,i} are desirable.

Remark 10. Since the singular values depend on the uncertainty and the nominal model, an ideal way to optimize tracking accuracy of FBF, in addition to optimal selection of basis functions, would be to optimize the nominal model to minimize singular values of Δ¯nom,s. The ongoing work of the authors [31,38] focuses on optimal selection of the nominal model for robust control.

4 Examples

4.1 Simulations.

The discussion in this paper was motivated using a simple example in Sec. 2.4, and this section continues with the same example. The robust basis functions proposed in Sec. 3.3 are compared with popular basis functions in the literature, viz., DCT, BPF, and B-splines. While DCT, BPF, and B-splines are defined independent of the plant dynamics (see Appendix  B), the robust basis functions are designed based on the nominal model as well as the known uncertainty in the plant dynamics, using Proposition 3. The system and desired trajectory parameters are same as that in Sec. 2.4. For design of the robust basis functions, the set of possible actual plant dynamics {Gaj} is generated by selecting l =410 evenly distributed realizations of the plant defined by Eq. (15) such that λj = 1/l. Also, the LSRs of members of the set of possible actual plant dynamics {Gaj} have one very small singular value, and hence r =1.

Figure 5 shows the normalized RMS tracking error eRMS/yd,RMS for DCT, BPF, B-splines, and the proposed robust basis functions, for various numbers of basis functions (n =10–990). The metrics used for comparison are the mean and standard deviation of eRMS/yd,RMS. It is observed that for all values of n, the robust basis functions result in minimum values of mean and standard deviation. For example, at n =500, compared to DCT, BPF, and B-splines, the robust basis functions result in improvements in mean and standard deviations of eRMS/yd,RMS by up to 1.5 times and 77 times, respectively. The nominal values of eRMS/yd,RMS for DCT, BPF, B-splines, and robust basis functions are 0.6686, 0.6708, 0.6662, and 0.6794, respectively (all within 2% of one another). This demonstrates that the significant improvement in mean and standard deviations of eRMS/yd,RMS is achieved without significantly affecting nominal tracking accuracy of the FBF approach.

Fig. 5
Comparison of normalized RMS tracking error for DCT,BPF, B-splines, and the robust basis functions, in the presence of uncertainty, for various values of number of basis functions, n
Fig. 5
Comparison of normalized RMS tracking error for DCT,BPF, B-splines, and the robust basis functions, in the presence of uncertainty, for various values of number of basis functions, n
Close modal

Since the uncertainty is concentrated around the resonance of the oscillator, the uncertainty will affect the tracking error only when the basis functions span the frequencies at or near the resonance. For DCT, BPF, and B-splines, as the number of basis functions increases, their bandwidth increases; for lower values of n, they span lower frequencies, and for higher values they span most of the frequency range. The DCT and BPF basis functions are rudimentary basis functions in the frequency domain and time domain, respectively [10]. For lower values of n, the DCT basis functions only span the lower frequencies, whereas the BPF basis functions are pulses, which to some extent span higher frequencies. Hence, as seen in Fig. 5, the tracking accuracy of FBF for DCT is not affected by uncertainty for lower values of n, until the basis functions span the resonance frequencies. Once the bandwidth of DCT basis functions is greater than the resonance, the effect of uncertainty does not change much, and the standard deviation is mostly constant. Even for lower values of n, the pulse-based basis functions (BPF) span high frequencies to some extent and have nonzero standard deviation for lower values of n. As n increases, the BPF basis functions have similar characteristics as DCT basis functions, beyond the resonance. In terms of frequency characteristics, B-splines lie between DCT and BPF. Hence, they start demonstrating nonzero standard deviation for values of n greater than that demonstrated by BPF but for lower n than DCT basis functions. For lower values of n, the robust basis functions are designed to span the frequencies, which have minimal uncertainty, resulting in small deviation in the error, and as n increases, the effect of the uncertainty increases steadily, resulting in higher error (see Remark 8).

Figure 6 shows the singular values of Δ¯nom,s for the known uncertainty and nominal model. It is observed that the singular values are dispersed on either side of 1, and hence this case represents scenario (iii) in Remark 9. Using the singular values, the optimal value of n for the proposed robust optimal basis functions should be achieved at n =891 (see Remark 9 for more details). The simulations (see Fig. 5) show that the minimum value of mean(eRMS/yd,RMS) for robust basis functions is achieved at n =890. The values of mean(eRMS/yd,RMS) for n =890 and 891 are 0.3935 and 0.394, respectively. This small difference in estimation of n could be attributed to the fact that the Frobenius norm metric only represents a trend and does not consider the effect of the desired trajectory. As compared to the other three basis functions, DCT, BPF, and B-splines, the robust basis functions achieve improvement in the minimum value of mean(eRMS/yd,RMS) by up to 1.8 times.

Fig. 6
Singular values of Δ−nom,s
Fig. 6
Singular values of Δ−nom,s
Close modal

Figure 7 shows the normalized RMS control input uRMS/yd,RMS for different types and number of basis functions (n =10–990). The maximum values of uRMS/yd,RMS, over n, for DCT, BPF, B-splines, and the robust basis functions are 1.1 × 103, 1.21 × 101, 7.64 × 109, and 2.34 × 101, respectively. The value of max(uRMS/yd,RMS) is highest for B-splines, followed by DCT, robust, and BPF basis functions. The high values for B-splines and DCT can be attributed to the contribution of the very small singular value. The robust basis functions avoid the very small singular value due to the constraint formulation used for design of the basis functions (Proposition 3). The BPF basis functions result in the least control effort for the current example, but this cannot be guaranteed for all cases. Also, the maximum control effort required by BPF and robust basis functions is of the same order of magnitude. This demonstrates that the robust basis functions achieve large improvements in tracking accuracy without large increases in control effort, as compared to the popular basis functions in the literature.

Fig. 7
Comparison of normalized RMS control effort for DCT,BPF, B-splines, and the robust basis functions, in the presence of uncertainty, for various values of number of basis functions, n
Fig. 7
Comparison of normalized RMS control effort for DCT,BPF, B-splines, and the robust basis functions, in the presence of uncertainty, for various values of number of basis functions, n
Close modal

4.2 Experiments.

This section demonstrates the effectiveness of the robust basis functions as compared to B-splines using a Lulzbot Taz 6 desktop 3D printer (see Fig. 8). The FRFs of the 3D printer are obtained by applying swept sine acceleration signals (with amplitudes ranging from 2 m/s2 to 5 m/s2 in increments of 0.2 m/s2) to the printer's stepper motors (each having 10 μm stepping resolution) and measuring the relative acceleration of the build platform and print head using accelerometers (SparkFun ADXL335 triple-axis). Figure 9 shows the uncertainty and FRFs for 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2. For robust FBF controller, the set {Gaj} consists of the plant dynamics obtained from 16 FRFs (l =16), corresponding to acceleration amplitudes 2–5 m/s2 in increments of 0.2 m/s2. For FRFs corresponding to 2 m/s2 and 3 m/s2, the corresponding LSRs do not have very small singular values (r =0), whereas, for FRFs corresponding to 4 m/s2 and 5 m/s2, the LSRs have one very small singular value (r =1). The implication is that the set {Gaj} contains minimum phase as well as NMP plants. The robust basis functions (λj = 1/l) are designed for nominal models based on FRFs corresponding to 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2. A signal with frequency content primarily distributed between 5 and 50 Hz is used as the desired trajectory (see Fig. 10). Such signals with high frequency content often occur when a 3D printer is rapidly tracing intricate contours with abrupt changes in direction [12,31]. The length of the signal is 1 s, resulting in 1001 discrete points (i.e., M =1000) based on sampling time Ts = 1 ms. The control inputs generated for various combinations of basis functions (n =100) and nominal models are scaled and sent to the 3D printer to emulate 31 different uncertain plant dynamics. This essentially implies scaling the desired position to achieve operating conditions corresponding to accelerations of 2–5 m/s2 in increments of 0.1 m/s2 (resulting in 31 different uncertain dynamics). Figure 10 shows the desired position that approximates acceleration of 1 m/s2.

Fig. 8
Lulzbot Taz 6 desktop 3D printer
Fig. 8
Lulzbot Taz 6 desktop 3D printer
Close modal
Fig. 9
Frequency response functions (FRFs) corresponding input acceleration levels 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2, and uncertainty
Fig. 9
Frequency response functions (FRFs) corresponding input acceleration levels 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2, and uncertainty
Close modal
Fig. 10
(a) Desired position and (b) fast Fourier transform of its acceleration, to approximate operating condition corresponding to acceleration of 1 m/s2
Fig. 10
(a) Desired position and (b) fast Fourier transform of its acceleration, to approximate operating condition corresponding to acceleration of 1 m/s2
Close modal

Figure 11 shows bee-swarm plots comparing the normalized RMS tracking error (eRMS/yd,RMS) for the proposed robust basis functions and B-splines using nominal models corresponding to FRFs of 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2. It is observed that the robust basis functions perform better than B-splines in terms of mean as well as standard deviation. The robust basis functions improve the mean value of eRMS/yd,RMS by 17%, 6%, 48%, and 1% for the FRFs corresponding to 2 m/s2, 3 m/s2, 4 m/s2, and 5 m/s2, respectively, as compared to B-splines, whereas the corresponding improvement in standard deviations is 27%, 38%, 20%, and 46%, respectively. Figure 12 shows the values of uRMS/yd,RMS for B-splines and robust basis functions. The maximum value of uRMS/yd,RMS for B-splines is 2.76 times the maximum value for the proposed basis functions which demonstrates that the robust basis functions are also preferable in terms of the control effort.

Fig. 11
Bee-swarm plots showing comparison of normalized RMS tracking error for robust basis functions and B-splines using four different nominal models: corresponding to (a) 2 m/s2 FRF, (b) 3 m/s2 FRF, (c) 4 m/s2 FRF, and (d) 5 m/s2 FRF (n = 100 and M = 1000)
Fig. 11
Bee-swarm plots showing comparison of normalized RMS tracking error for robust basis functions and B-splines using four different nominal models: corresponding to (a) 2 m/s2 FRF, (b) 3 m/s2 FRF, (c) 4 m/s2 FRF, and (d) 5 m/s2 FRF (n = 100 and M = 1000)
Close modal
Fig. 12
Comparison of normalized RMS control input for robust basis functions and B-splines using four different nominal models: corresponding to 2 m/s2 FRF, 3 m/s2 FRF, 4 m/s2 FRF, and 5 m/s2 FRF (n = 100 and M = 1000)
Fig. 12
Comparison of normalized RMS control input for robust basis functions and B-splines using four different nominal models: corresponding to 2 m/s2 FRF, 3 m/s2 FRF, 4 m/s2 FRF, and 5 m/s2 FRF (n = 100 and M = 1000)
Close modal

5 Conclusion and Future Work

The literature has shown that the FBF approach is an effective method for feedforward tracking control of linear (especially NMP) systems, assuming the plant model is known precisely. In reality, plant dynamics always has some uncertainty, and the tracking accuracy of feedforward methods such as FBF suffers in the presence of such uncertainty. However, unlike other methods in the literature, the FBF approach presents an additional tuning parameter, in the form of basis functions, which can be used to improve the tracking accuracy of the FBF approach in the presence of uncertainty.

Using a Frobenius norm metric, this paper studies the effect of known uncertainty and the choice of basis functions on the tracking accuracy of the FBF approach. The metric comprises of two components—nominal and uncertainty-related. The nominal component is independent of the plant dynamics and the type of basis functions. However, the uncertainty-related component depends on the known uncertainty, nominal model used for filtering the basis functions, and the type of basis functions. A robust set of basis functions that minimizes the effect of the uncertainty-related component, while maintaining the desired level of nominal component (nominal tracking accuracy) and bounds on control effort, is optimally selected. The robust basis functions ensure that the deviation in tracking error due to uncertainty from the nominal tracking accuracy is minimized for a large range of number of basis functions (Fig. 5). In many applications, this property could be useful in ensuring that the effective tracking property of the FBF approach is retained even in the presence of uncertainty.

In addition to basis functions and uncertainty, the tracking accuracy of the FBF approach also depends on the nominal model used for filtering the basis functions [31,38]; the nominal model also affects control effort. Future work will complement optimal selection of basis functions with optimal selection of nominal model to further enhance the tracking accuracy or reduce the control effort of the FBF approach in the presence of uncertainty. Future work will also focus on implementing the optimal basis functions and nominal model in a computational efficient manner, e.g., using limited-preview optimization [12], to enable its use on lengthy trajectories used in 3D printing and other applications.

Funding Data

  • National Science Foundation (CMMI 1825133: Boosting the Speed and Accuracy of Vibration-Prone Manufacturing Machines at Low Cost through Software; Funder ID: 10.13039/100000001).

Lifted System Representation

An LTI SISO causal plant G can be expressed as
(A1)
where the coefficients gl are the Markov parameters of G. The sequence g0, g1, g2, … also represents the impulse response of G. Then
(A2)
For an LTI noncausal controller C
(A3)
the LSR of C can be expressed as
(A4)

Similarly, overall dynamics L and error dynamics Eff can be expressed in LSR as L and Eff. For LTI systems, the LSR is Toeplitz. For LTV systems or controllers, the construction of the LSR for L and Eff follows a similar process but the resulting matrices are not Toeplitz [39].

Basis Functions

The DCT is a frequency-based transform that is widely used in signal processing; its basis functions are real-valued cosines defined as [28]
(B1)
The BPF basis functions are given by
(B2)

The BPF expressed in Eq. (B2) seeks to divide the time interval from 0 to M among n +1 basis functions in a quasi-uniform manner.

For a B-spline of degree m, having n +1 ≤ M +1 control points (same as coefficients of basis functions), γ0, γ1, …, γn, and knot vector [η0, η1, …, ηm+n+1]T, its real-valued basis functions, φi,m, are given by [36]
(B3)
where i =0, 1, …, n with ξk ∈ [0,1], representing normalized time, discretized into M +1 points, ξ0, ξ1, …, ξM, and ηj is a uniform knot vector, selected such that
(B4)

References

1.
Bruijnen
,
D.
, and
van Dijk
,
N.
,
2012
, “
Combined Input Shaping and Feedforward Control for Flexible Motion Systems
,”
Proceedings of the 2012 American Control Conference
, Montreal, QC, Canada, June 27–29, pp.
2473
2478
.10.1109/ACC.2012.6315055
2.
Tomizuka
,
M.
,
1987
, “
Zero Phase Error Tracking Algorithm for Digital Control
,”
ASME J. Dyn. Syst., Meas., Control
,
109
(
1
), pp.
65
68
.10.1115/1.3143822
3.
Faanes
,
A.
, and
Skogestad
,
S.
,
2004
, “
Feedforward Control Under the Presence of Uncertainty
,”
Eur. J. Control
,
10
(
1
), pp.
30
46
.10.3166/ejc.10.30-46
4.
Astrom
,
K.
, and
Wittenmark
,
B.
,
1984
,
Computer Controlled Systems: Theory and Design
,
Prentice Hall
,
Upper Saddle River, NJ
.https://www.bibsonomy.org/bibtex/17add6a32e52afc08ecd1f8f573843ba1/butz
5.
Miu
,
D. K.
,
2012
,
Mechatronics: Electromechanics and Contromechanics
,
Springer Science & Business Media
,
New York
.
6.
Clayton
,
G. M.
,
Tien
,
S.
,
Leang
,
K. K.
,
Zou
,
Q.
, and
Devasia
,
S.
,
2009
, “
A Review of Feedforward Control Approaches in Nanopositioning for High-Speed SPM
,”
ASME J. Dyn. Syst., Meas., Control
,
131
(
6
), p.
061101
.10.1115/1.4000158
7.
Rigney
,
B. P.
,
Pao
,
L. Y.
, and
Lawrence
,
D. A.
,
2009
, “
Nonminimum Phase Dynamic Inversion for Settle Time Applications
,”
IEEE Trans. Control Syst. Technol.
,
17
(
5
), pp.
989
1005
.10.1109/TCST.2008.2002035
8.
van Zundert
,
J.
, and
Oomen
,
T.
,
2018
, “
On Inversion-Based Approaches for Feedforward and ILC
,”
Mechatronics
,
50
, pp.
282
291
.10.1016/j.mechatronics.2017.09.010
9.
Duan
,
M.
,
Ramani
,
K. S.
, and
Okwudire
,
C. E.
,
2015
, “
Tracking Control of Non-Minimum Phase Systems Using Filtered Basis Functions: A NURBS-Based Approach
,”
ASME Paper No. DSCC2015-9859
.10.1115/DSCC2015-9859
10.
Ramani
,
K. S.
,
Duan
,
M.
,
Okwudire
,
C. E.
, and
Ulsoy
,
A. G.
,
2017
, “
Tracking Control of Linear Time-Invariant Nonminimum Phase Systems Using Filtered Basis Functions
,”
ASME J. Dyn. Syst., Meas., Control
,
139
(
1
), p.
011001
.10.1115/1.4034367
11.
Kasemsinsup
,
Y.
,
Romagnoli
,
R.
,
Heertjes
,
M.
,
Weiland
,
S.
, and
Butler
,
H.
,
2017
, “
Reference-Tracking Feedforward Control Design for Linear Dynamical Systems Through Signal Decomposition
,”
American Control Conference (ACC)
,
Seattle, WA
, May 24–26, pp.
2387
2392
.10.23919/ACC.2017.7963310
12.
Duan
,
M.
,
Yoon
,
D.
, and
Okwudire
,
C. E.
,
2018
, “
A Limited-Preview Filtered B-Spline Approach to Tracking Control—With Application to Vibration-Induced Error Compensation of a Commercial 3D Printer
,”
Mechatronics
,
56
, pp.
287
296
.10.1016/j.mechatronics.2017.09.002
13.
Romagnoli
,
R.
, and
Garone
,
E.
,
2019
, “
A General Framework for Approximated Model Stable Inversion
,”
Automatica
,
101
, pp.
182
189
.10.1016/j.automatica.2018.11.044
14.
Frueh
,
J. A.
, and
Phan
,
M. Q.
,
2000
, “
Linear Quadratic Optimal Learning Control (LQL)
,”
Int. J. Control
,
73
(
10
), pp.
832
839
.10.1080/002071700405815
15.
Ramani
,
K. S.
,
Duan
,
M.
,
Okwudire
,
C. E.
, and
Ulsoy
,
A. G.
,
2018
, “
A Lifted Domain-Based Metric for Performance Evaluation of LTI and LTV Discrete-Time Tracking Controllers
,”
2018 International Symposium on Flexible Automation
, Kanazawa, Japan, pp. 248–255.10.11509/isfa.2018.248
16.
Zhao
,
Y.
, and
Jayasuriya
,
S.
,
1995
, “
Feedforward Controllers and Tracking Accuracy in the Presence of Plant Uncertainties
,”
ASME J. Dyn. Syst., Meas., Control
,
117
(
4
), pp.
490
495
.10.1115/1.2801105
17.
Tsao
,
T.-C.
, and
Tomizuka
,
M.
,
1987
, “
Adaptive Zero Phase Error Tracking Algorithm for Digital Control
,”
ASME J. Dyn. Syst., Meas., Control
,
109
(
4
), pp.
349
354
.10.1115/1.3143866
18.
Adam
,
E. J.
, and
Marchetti
,
J. L.
,
2004
, “
Designing and Tuning Robust Feedforward Controllers
,”
Comput. Chem. Eng.
,
28
(
9
), pp.
1899
1911
.10.1016/j.compchemeng.2004.03.005
19.
Devasia
,
S.
,
2002
, “
Should Model-Based Inverse Inputs Be Used as Feedforward Under Plant Uncertainty?
,”
IEEE Trans. Autom. Control
,
47
(
11
), pp.
1865
1871
.10.1109/TAC.2002.804478
20.
Wu
,
Y.
, and
Zou
,
Q.
,
2009
, “
Robust Inversion-Based 2-DOF Control Design for Output Tracking: Piezoelectric-Actuator Example
,”
IEEE Trans. Control Syst. Technol.
,
17
(
5
), pp.
1069
1082
.
21.
Lunenburg
,
J. J. M.
,
2010
, “
Inversion-Based MIMO Feedforward Design Beyond Rigid Body Systems
,”
Eindhoven University of Technology
,
Eindhoven, The Netherlands
, Technical Report No. 2010.061.
22.
Pao
,
L. Y.
,
Butterworth
,
J. A.
, and
Abramovitch
,
D. Y.
,
2007
, “
Combined Feedforward/Feedback Control of Atomic Force Microscopes
,”
2007 American Control Conference
,
New York
, July 11–13, pp.
3509
3515
.
23.
Aphale
,
S. S.
,
Devasia
,
S.
, and
Moheimani
,
S. R.
,
2008
, “
High-Bandwidth Control of a Piezoelectric Nanopositioning Stage in the Presence of Plant Uncertainties
,”
Nanotechnology
,
19
(
12
), p.
125503
.10.1088/0957-4484/19/12/125503
24.
Wu
,
Y.
, and
Zou
,
Q.
,
2009
, “
An Iterative-Based Feedforward-Feedback Control Approach to High-Speed Atomic Force Microscope Imaging
,”
ASME J. Dyn. Syst., Meas., Control
,
131
(
6
), p.
061105
.10.1115/1.4000137
25.
Wang
,
H.
,
Kim
,
K.
, and
Zou
,
Q.
,
2013
, “
B-Spline-Decomposition-Based Output Tracking With Preview for Nonminimum-Phase Linear Systems
,”
Automatica
,
49
(
5
), pp.
1295
1303
.10.1016/j.automatica.2013.01.044
26.
de Rozario
,
R.
,
Fleming
,
A. J.
, and
Oomen
,
T.
,
2016
, “
Iterative Control for Periodic Tasks With Robustness Considerations, Applied to a Nanopositioning Stage
,”
IFAC-PapersOnLine
,
49
(
21
), pp.
623
628
.10.1016/j.ifacol.2016.10.670
27.
Tayebi
,
A.
,
Abdul
,
S.
,
Zaremba
,
M.
, and
Ye
,
Y.
,
2008
, “
Robust Iterative Learning Control Design: Application to a Robot Manipulator
,”
IEEE/ASME Trans. Mechatronics
,
13
(
5
), pp.
608
613
.10.1109/TMECH.2008.2004627
28.
Ye
,
Y.
, and
Wang
,
D.
,
2005
, “
DCT Basis Function Learning Control
,”
IEEE/ASME Trans. Mechatronics
,
10
(
4
), pp.
449
454
.10.1109/TMECH.2005.852484
29.
Ramani
,
K. S.
, and
Okwudire
,
C. E.
,
2016
, “
Regularized Filtered Basis Functions Approach for Accurate Tracking of Discrete-Time Linear Time Invariant Systems With Bounded Random Uncertainties
,”
ASME Paper No. DSCC2016-9885.
30.
Ramani
,
K. S.
, and
Okwudire
,
C. E.
,
2018
, “
Robust Filtered Basis Functions Approach for Feedforward Tracking Control
,”
ASME Paper No. DSCC2018-9196
.10.1115/DSCC2018-9196
31.
Ramani
,
K. S.
,
Edoimioya
,
N.
, and
Okwudire
,
C. E.
,
2020
, “
A Robust Filtered Basis Functions Approach for Feedforward Tracking Control—With Application to a Vibration-Prone 3D Printer
,”
IEEE/ASME Trans. Mechatronics
,
25
(
5
), pp.
2556
2564
.10.1109/TMECH.2020.2983680
32.
Ramani
,
K. S.
,
Duan
,
M.
,
Okwudire
,
C. E.
, and
Ulsoy
,
A. G.
,
2019
, “
Optimal Selection of Basis Functions for Minimum-Effort Tracking Control of Nonminimum Phase Systems Using Filtered Basis Functions
,”
ASME J. Dyn. Syst., Meas., Control
,
141
(
11
), p.
111009
.10.1115/1.4044355
33.
Ramani
,
K. S.
, and
Okwudire
,
C. E.
,
2020
, “
Optimal Selection of Basis Functions for Robust Tracking Control of Linear Systems Using Filtered Basis Functions
,”
American Control Conference (ACC)
,
Denver, CO
, pp.
1539
1544
.10.23919/ACC45564.2020.9147557
34.
Gross
,
E.
,
Tomizuka
,
M.
, and
Messner
,
W.
,
1994
, “
Cancellation of Discrete Time Unstable Zeros by Feedforward Control
,”
ASME J. Dyn. Syst., Meas., Control
,
116
(
1
), pp.
33
38
.10.1115/1.2900678
35.
Deb
,
A.
,
Sarkar
,
G.
, and
Sen
,
S. K.
,
1994
, “
Block Pulse Functions, the Most Fundamental of All Piecewise Constant Basis Functions
,”
Int. J. Syst. Sci.
,
25
(
2
), pp.
351
363
.10.1080/00207729408928964
36.
Piegl
,
L.
, and
Tiller
,
W.
,
1997
,
The NURBS Book
,
Springer
,
New York
.https://link.springer.com/book/10.1007%2F978-3-642-59223-2
37.
Yoon
,
D.
,
Ge
,
X.
, and
Okwudire
,
C. E.
,
2019
, “
Optimal Inversion-Based Iterative Learning Control for Overactuated Systems
,”
IEEE Trans. Control Syst. Technol.
,
28
(
5
), pp.
1948
1955
.
38.
Ramani
,
K. S.
, and
Okwudire
,
C. E.
,
2020
, “
Two-Stage Robust Tracking Controller for Linear Systems With Known Uncertainty Using Filtered Basis Functions
,”
ASME Paper No. DSCC2020-3207
.10.1115/DSCC2020-3207
39.
Bristow
,
D. A.
,
Tharayil
,
M.
, and
Alleyne
,
A. G.
,
2006
, “
A Survey of Iterative Learning Control
,”
IEEE Control Syst. Mag.
,
26
(
3
), pp.
96
114
.10.1109/MCS.2006.1636313