WorksMathematics
Flatness-Based Controller Design for Backward-Flat Systems
Abstract
This paper addresses the design of flatness-based tracking controllers for backward-flat nonlinear discrete-time systems. First, we show that backward-flat discrete-time systems can be constructively obtained from differentially flat continuous-time systems by applying an implicit Euler discretization to a structurally flat triangular representation. Subsequently, two approaches for the exact linearization of backward-flat systems are considered. Besides a dynamic feedback based on prelongations, we show that a linearizing feedback involving lower-order backward-shifts of the flat output can be employed without explicitly implementing the corresponding dynamic extension. This allows the order of the resulting tracking error dynamics to be reduced while requiring only stored values of past system trajectories. Based on the resulting linear input-output representation, flatness-based tracking control laws are derived. The proposed discretization and controller design are illustrated for a 2D gantry crane.
Introduction
The concept of differential flatness was introduced in the 1990s by Fliess, Lévine, Martin, and Rouchon for nonlinear continuous-time systems (see, e.g., [1], [2]) and has since become an important tool in nonlinear control theory. A nonlinear continuous-time system
with an -dimensional state , inputs , and smooth functions is called flat if its solutions are in one-to-one correspondence with the solutions of a trivial system (arbitrary trajectories that need not satisfy any differential equation). In other words, this one-to-one correspondence implies the existence of so-called flat outputs such that the system variables and can be parameterized by and a finite number of its time derivatives, i.e.,
where denotes the parameterizing map with respect to the flat output . These properties considerably simplify motion planning and tracking controller design, which has led to successful applications in a wide range of practical problems.
For practical implementation, however, the continuous-time control law must be evaluated at a sufficiently high sampling rate. If this cannot be ensured, it has been shown, e.g., in [3], that it can be advantageous to design a discrete-time flatness-based controller directly for a suitable discretization of the continuous-time system. Regarding the flatness of nonlinear discrete-time systems, known as difference flatness, a concise geometric definition was introduced in [4]. Analogously to the continuous-time case, this definition is based solely on the existence of a one-to-one correspondence between the solutions of a flat system and those of a trivial system. Within this notion, both the flat output and the flat parameterization may depend on forward- as well as backward-shifts; see also [5], [6]. To the best of our knowledge, this represents the most general definition of difference flatness available in the literature. Although general verifiable necessary and sufficient conditions are currently not available for this class of systems, flatness-based tracking controllers have been developed in [7].
As discussed in [8], this general notion of difference flatness contains forward-flat and backward-flat systems as important subclasses. Forward-flat systems, which have been studied, e.g., in [9], [10], [11], are already supported by an extensive literature including necessary and sufficient conditions established in [12], [13] and tracking control methods developed in [3]. Furthermore, it has been shown in [3] that a flat continuous-time system (1) can be discretized in a flatness-preserving manner by first transforming it into a structurally flat triangular form and subsequently applying an explicit Euler discretization. The resulting discrete-time system is forward-flat, whereas the flatness property is, in general, not preserved under exact or approximate discretizations. In contrast, the literature on backward-flat systems is far less developed, where a systematic approach for testing backward-flatness was only recently introduced in [14].
To address this gap, in this contribution we first show that backward-flat systems can be constructively derived from differentially flat continuous-time systems (1) through a flatness-preserving discretization based on the implicit Euler method, building upon the results of [15]. Moreover, as the main contribution of this paper, we demonstrate the design of tracking control laws for backward-flat systems by first exactly linearizing the corresponding system equations and subsequently applying an additional feedback to stabilize the reference trajectories.
Since backward-flat systems form a subclass of flat systems in the general sense, it may seem natural to directly apply the results of [7] for deriving a tracking controller for backward-flat systems. However, the main focus of [7] is on reducing the order of the error dynamics by lowering the order of the forward-shifts of the flat output used in the construction of the linearizing feedback. The analogous possibility of using lower-order backward-shifts of the flat output for the linearizing feedback and the subsequent tracking controller design was not considered. Consequently, for backward-flat systems, the order of the resulting tracking error dynamics is determined by the highest-order backward-shifts occurring in the parameterization of the system variables. In the present contribution, we show that backward-flat systems can be exactly linearized either by means of a dynamic feedback based on the results of [16] or by using lower-order backward-shifts of the flat output, with the latter approach reducing the order of the resulting tracking error dynamics.
The paper is organized as follows: In Section II, we recall the notions of difference flatness and backward-flatness and show that the implicit Euler discretization of a continuous-time system in structurally flat triangular form yields a backward-flat discrete-time system. Section III addresses the controller design. We first discuss the exact linearization of backward-flat systems, either by an endogenous dynamic feedback in the form of prelongations or by a generalized state transformation based on stored past values of the system trajectory. We then derive tracking control laws that lead to error dynamics of different orders. In Section IV, the results are illustrated by the example of a 2D gantry crane.
Notation: To enhance readability, we commonly use the superscript to indicate a one-fold forward-shift of a variable, whereas higher-order forward-shifts and backward-shifts are written using bracketed subscripts. Thus, for , denotes the -th forward-shift of the variable , and its -th backward-shift. The corresponding forward- and backward-shift operators, denoted by and , act on variables as well as on functions; see, e.g., [4] for details. If a variable consists of several components, i.e., , we write .
Shifts of different orders for the individual components are represented compactly by multi-indices. For two multi-indices and , and denote the corresponding backward- and forward-shifts of the individual components of . Furthermore, is an abbreviation for together with its backward-shifts up to the orders and its forward-shifts up to the orders . We write if holds for all , and is defined to be empty whenever . Addition and subtraction of two multi-indices and , as well as of a multi-index and a scalar , are performed component-wise, i.e.,
The sum over all components of a multi-index is denoted by
Discrete-Time Systems and Flatness
Flatness of discrete-time systems
In this contribution, we consider nonlinear time-invariant discrete-time systems of the form
with , , and smooth functions . Additionally, we assume that the system equations (2) satisfy the submersivity condition , which is a common assumption in the discrete-time literature, as it is necessary for accessibility and consequently also for flatness. Moreover, due to the submersivity condition, there always exist functions such that the map
is locally a diffeomorphism, with its inverse given by
Following [4], we call a discrete-time system (2) flat if there exists a one-to-one correspondence between its solutions and solutions of a trivial system (arbitrary trajectories that need not satisfy any difference equation) with the same number of inputs. As formally stated in Definition 1 of [4], the one-to-one correspondence implies that the values of and at a given time step may depend on an arbitrary but finite number of past and future values of , and conversely, may depend on an arbitrary but finite number of past and future values of and . However, throughout this contribution, we use the slightly modified yet equivalent formulation as stated in [8].
Definition 1. The system (2) is said to be flat around an equilibrium , if the coordinate functions and can be expressed locally by an -tuple of functions
called the flat output, and its backward- and forward-shifts up to some finite order, i.e.
For a given flat output (4), the parameterization (5) of the state- and input variables and is unique. As stated in [8], this general definition of difference flatness gives rise to two important special cases: forward-flatness (which we do not cover in this paper) and backward-flatness. The latter arises naturally when no forward-shifts appear in the flat output (4) and holds for parameterization (5).
Definition 2. The system (2) is said to be backward-flat around an equilibrium , if the coordinate functions and can be expressed locally by an -tuple of functions
called the backward-flat output, and its backward-shifts up to some finite order, i.e.
Implicit Euler Discretization and Backward-Flatness
In this following, we show that backward-flat systems can be constructively derived from differentially flat continuous-time systems (1) via a flatness-preserving discretization based on the implicit Euler method, building upon the results of [15]. Therein, the authors employ flat continuous-time systems in so called structurally flat triangular form
with the state
and the input for some (the components and/or might also be empty). Due to the rank conditions
for and its triangular structure, for smooth trajectories , the corresponding trajectories can be determined systematically by successively parameterizing the variables in terms of and its time derivatives, proceeding through the equations (7) from top to bottom. As stated in [15], applying the implicit Euler discretization
to a system in structurally flat triangular form (7) yields a discrete-time system
that, together with (8) and
still exhibits a triangular structure. Thus, similar to the continuous-time case, the variables can once again be parameterized successively by proceeding through the equations (9) from top to bottom, using (8). However, the system trajectories depend on both backward- and forward-shifts of . Consequently, the authors of [15] stated that if a continuous-time system (1) can be transformed into a structurally flat triangular form (7) via a state- and input transformation
then the implicit Euler discretization of the system is flat according to Definition 1. Moreover, since the input trajectories of the original and transformed input are related via the map , the implicit Euler discretization of the system , obtained by applying only the state transformation (11), is also flat.
We propose that by using as the flat output instead, an even stronger conclusion can be drawn from the results in [15].
Proposition 1: If a continuous-time system (1) can be transformed into a structurally flat triangular form (7) via a state- and input transformation (11), then the implicit Euler discretization of the system is backward-flat according to Definition 2.
Proof: By defining as the new flat output, the backward shifts now represent components of the state, i.e.,
Therefore, by the rank condition (10) for , the topmost set of equations
can be solved for as functions of , and . To parameterize the non-shifted state variables , an additional backward-shift is required. Consequently, depends on , , and . Since the remaining components of are given by , the variables are completely parameterized by . Proceeding recursively with the remaining blocks of equations ultimately yields a parameterization of the form (6).
Controller Design
In this section, we demonstrate the design of a flatness-based tracking controller for backward-flat systems, which is divided into two steps. First, the system is exactly linearized, and subsequently, an additional feedback is applied to stabilize the reference trajectories.
Exact linearization
It was established in [4] that an exact linearization of flat discrete-time systems in the sense of Definition 1 by an endogenous dynamic feedback is always possible. Since backward-flat systems according to Definition 2 constitute a subclass of difference flat systems, these results apply directly to the backward-flat case. In particular, for every backward-flat discrete-time system , there exists an endogenous dynamic feedback of the form
with , such that the resulting closed-loop system
exhibits the input-output behavior , where the map is defined as
with its inverse given by
Due to the submersion property of the parameterization , there always exists a map , such that the combined mapping is a diffeomorphism.
As shown in [8] and [14], every backward-flat system admits a backward-flat output of the form
that is independent of the variables and satisfies . Consequently, the invertible input transformation in (12) reduces to
Moreover, it has recently been shown in [16] that there exists a coordinate transformation
of the variables under which the backward-shifts of the backward-flat output take the form
The transformation (17) is constructed step by step, over a total of steps. In the first step, the components of the backward-flat output (15) are shifted backward until they depend explicitly on the coordinates , and as many of
these functions as possible are introduced as new coordinates with . In each subsequent step , the rest of the output components are shifted further until they depend explicitly on the remaining components of , and a maximal set of such functions is introduced as new coordinates 3. Repeating this procedure until all components of have been replaced yields a minimal multi-index such that . Due to this stepwise construction where in every step new coordinates are introduced, it follows that , , , and .
In [16], it has been shown, by proving that (18) is a diffeomorphism, that backward-flat systems can be rendered static feedback linearizable through prolongations of the variables . For a detailed derivation of (18) and the construction of prolongations that render a backward-flat system static feedback linearizable, we refer to [16].
This result, in particular, provides a systematic construction of the dynamic extension (12) consisting of simple shift-chains. As mentioned in [16], the closed-loop system (13) can be transformed into Brunovsky normal form
with via the classical state- and input transformation (14). The resulting Brunovsky normal form (19) consists of shift chains associated with the individual components of the flat output with the corresponding lengths . Consequently, the sum of the lengths of all shift chains is . As will become relevant for the subsequent tracking controller design, the order of the resulting tracking error dynamics coincides with this sum.
In the following, we show that the dynamic extension can be omitted, which results in shift-chains of total length and, in turn, allows for tracking error dynamics of lower order , with . Since the values of are already available from past measurements, the implementation as a dynamic feedback is not necessary – these values can simply be stored instead. However, if the dynamic extension by the variables in the form of prolongations is omitted, the system can no longer be transformed into Brunovsky normal form by means of a classical state- and input transformation. Nevertheless, since according to Proposition 1 (iii) in [16], the map (18) induces the generalized state transformation
with and
Together with the linearizing feedback (16), this generalized state transformation brings a backward-flat system (2) into the form
Remark 1: Since the input-output behavior of the closed-loop system is given by , the new input directly determines the values of the flat output. Hence, perfect tracking of a desired trajectory could be achieved by choosing , resulting in error dynamics of order 0. However, as demonstrated in the following, this approach is not suitable for practical applications. We therefore focus instead on the design of tracking control laws for systems of the forms (19) and (21), with error dynamics of orders and , respectively.
Tracking control design
In the following, we first demonstrate the design of a tracking control law based on an exact linearization via a dynamic feedback (12) with a backward-flat output of the form (15). Subsequently, we consider the case , in which the closed-loop system additionally depends on the backward-shifts . However, unlike the design of tracking control laws for forward-flat systems in [3] or flat systems in the sense of Definition 1 in [7], no expressions for forward-shifts of have to be derived. Instead, for backward-flat systems, only values of past measurements and/or inputs need to be stored.
Consider a backward-flat system (2) linearized by a dynamic feedback (12), where the resulting closed-loop system (13) is subsequently transformed into Brunovsky normal form (19). The control law
asymptotically stabilizes the tracking error with respect to an arbitrary reference trajectory by placing the eigenvalues of the linear error dynamics
inside the unit circle. Substituting the map (14) into (22) and inserting the resulting expression into (12) finally yields a tracking control law of the form
which depends on the state of the system (2), the controller state and the reference trajectory and its backward-shifts.
Instead, if the system equations (2) are not extended by a dynamic feedback, but rather transformed into the form (21) through a generalized state transformation (20) and the input transformation (16), the control law
no longer contains tracking-error terms associated with and . Consequently, the corresponding linear error dynamics
is now of order . Substituting the control law (23) into the linearizing feedback (16) yields a tracking control law of the form
Hence, apart from the state of the system (2) and the known reference trajectory , this tracking control law depends only on past values of the system trajectory.
Next, we consider the case where the multi-index is chosen even smaller. For , all coefficients in the control law (23) are set to zero. Consequently, all eigenvalues of the tracking error dynamics (24) are located at the origin of the complex plane, resulting in dead-beat control. Since the input-output behavior of the closed-loop system is given by , with , perfect tracking is achieved, i.e. . However, this choice inevitably leads to large control inputs, which may not be realizable due to input constraints. For , there still occur eigenvalues located at the origin of the complex plane necessitating large control inputs.
Practical example
In this section, we illustrate our results using the practical example of a 2D gantry crane, which has already been studied in [17], [3] in the context of time-optimal flatness-based control and tracking control for forward-flat systems, respectively. Using the flatness-preserving discretization described in Section II-B, we first derive a backward-flat discrete-time system from the continuous-time model of the 2D gantry crane, which in state representation reads as
with the state and the input . It is well known that the system (26) is differentially flat, with the - and -positions of the load serving as the flat output . As in [3], the continuous-time system (26) is transformed into structurally flat triangular form
using state- and input transformations and , where denotes the transformed state and the new input. Applying the implicit Euler discretization yields the sampled-data system
which, according to Theorem 3 in [15], admits an explicit state representation
in a neighborhood of the equilibrium for sufficiently small sampling times . The backward-shifts of the backward-flat output can be written in the form (18), i.e.
with , , , . Since , the variables and first appear in and , respectively. Hence, the multi-index is given by . The linearizing feedback (16) then reads as
with the input-output behavior of the closed-loop system given by and , where . As mentioned in Section III, the choice , yields dead-beat control with error dynamics of order 0. As can be seen in Figure 1, the initial errors in the variables and are driven to zero in a single step, and the reference trajectory is tracked perfectly thereafter. This, however, comes at the cost of large control inputs .

Figure 1. Tracking performance for discrete-time system (26) with input , sampling time of ms and
Next, we discuss the case , where eigenvalues of the tracking error dynamics are located at the origin of the complex plane by, e.g., choosing . As illustrated in Figure 2, an appropriate choice of the coefficients results in good tracking performance, at the expense of large control inputs.

Figure 2. Tracking performance for discrete-time system (26) with input , sampling time of ms and
Finally, we consider the case , for which a stabilizing control law is given by
with and suitably chosen coefficients . Substituting the map (27) into the control law (29) and inserting the resulting expression into (28) yields a tracking control law of the form
As already mentioned in Section II-B, these inputs are related to the original inputs of the continuous-time system (25) via the map . Thus, the original input can be derived from the inverse mapping, i.e., . The resulting tracking control law achieves the tracking performance illustrated in Figure 3 for the continuous-time system (25), with control inputs that can realistically be provided by appropriately sized actuators.

Figure 3. Tracking performance for continuous-time system (25) with transformed input , original input , sampling time of ms and
References
- [1]M. Fliess, J. Lévine, P. Martin, and P. Rouchon, “Flatness and defect of non-linear systems: introductory theory and examples,” International Journal of Control, vol. 61, no. 6, pp. 1327–1361, 1995.DOI
- [2]——, “A Lie-Bäcklund approach to equivalence and flatness of nonlinear systems,” IEEE Transactions on Automatic Control, vol. 44, no. 5, pp. 922–937, 1999.DOI
- [3]J. Diwold, B. Kolar, and M. Schöberl, “Discrete-time flatness-based control of a gantry crane,” Control Engineering Practice, vol. 119, 2022.DOI
- [4]——, “A trajectory-based approach to discrete-time flatness,” IEEE Control Systems Letters, vol. 6, pp. 289–294, 2022.DOI
- [5]P. Guillot and G. Millérioux, “Flatness and submersivity of discrete-time dynamical systems,” IEEE Control Systems Letters, vol. 4, no. 2, pp. 337–342, 2020.DOI
- [6]A. Kaldmäe, “Algebraic necessary and sufficient condition for difference flatness,” International Journal of Control, vol. 95, no. 9, pp. 2307–2314, 2022.DOI
- [7]B. Kolar, J. Diwold, C. Gstöttner, and M. Schöberl, “On the exact linearisation and control of flat discrete-time systems,” International Journal of Control, vol. 97, no. 3, pp. 412–426, 2024.
- [8]J. Schrothshamer, B. Kolar, and M. Schöberl, “Flatness of two-input discrete-time systems and their linearization,” in 2026 European Control Conference (ECC), 2026, pp. 2090–2097.arxiv.org/abs/2510.27380
- [9]H. Sira-Ramirez and S. K. Agrawal, Differentially Flat Systems. New York: Marcel Dekker, 2004.
- [10]A. Kaldmäe and Ü. Kotta, “On flatness of discrete-time nonlinear systems,” IFAC Proceedings Volumes, vol. 46, no. 23, pp. 588–593, 2013, 9th IFAC Symposium on Nonlinear Control Systems.DOI
- [11]B. Kolar, A. Kaldmäe, M. Schöberl, Ü. Kotta, and K. Schlacher, “Construction of flat outputs of nonlinear discrete-time systems in a geometric and an algebraic framework,” IFAC-PapersOnLine, vol. 49, no. 18, pp. 796–801, 2016.DOI
- [12]B. Kolar, J. Diwold, and M. Schöberl, “Necessary and sufficient conditions for difference flatness,” IEEE Transactions on Automatic Control, vol. 68, no. 3, pp. 1715–1721, 2023.DOI
- [13]B. Kolar, J. Schrothshamer, and M. Schöberl, “A dual geometric test for forward-flatness,” Automatica, vol. 179, p. 112425, 2025.DOI
- [14]J. Schrothshamer, B. Kolar, and M. Schöberl, “Testing backward-flatness of nonlinear discrete-time systems,” in 2026 International Symposium on Mathematical Theory of Networks and Systems (accepted), 2026.
- [15]J. Diwold, B. Kolar, and M. Schöberl, “Discrete-time flatness-based controller design using an implicit euler-discretization,” in 12th IFAC Symposium on Nonlinear Control Systems NOLCOS, 2023, pp. 138–143.DOI
- [16]J. Schrothshamer, B. Kolar, and M. Schöberl, “On the exact linearization of multi-input discrete-time flat systems,” 2026. [Online]. Available: https://arxiv.org/abs/2610.08697
- [17]B. Kolar, H. Rams, and K. Schlacher, “Time-optimal flatness based control of a gantry crane,” Control Engineering Practice, vol. 60, pp. 18–27, 2017.DOI