Robust Approximate Simulation for Hierarchical Control of Piecewise
Affine Systems under Bounded Disturbances
Abstract
Piecewise affine (PWA) systems are widely applied in many practical cases such as the control of nonlinear systems and hybrid dynamics. However, most of the existing PWA control methods have poor scalability with respect to the number of modes and system dimensions and may not be robust to the disturbances in performance. In this paper, we present a robust approximate simulation based control method for PWA systems under bounded external disturbances. First, a lower-dimensional linear system (abstraction) and an associated interface are designed to enable the output of the PWA system (concrete system) to track the output of the abstraction. Then, a Lyapunov-like simulation function is designed to show the boundedness of the output errors between the two systems. Furthermore, the results obtained for linear abstraction are extended to the case that a simpler PWA system is the abstraction. To illustrate the effectiveness of the proposed approach, simulation results are provided for two design examples.
I Introduction
Piecewise Affine (PWA) systems are an important and powerful modeling tool that can globally approximate nonlinear systems with finite number of linear characteristics on partitions [1]. In this case, controllers can be designed based on linear system control theories and better accommodate the existing nonlinearities. Because of this advantage, PWA systems are applicable in many engineering fields, and thus have attracted a plenty of attention since it was first proposed. Moreover, PWA systems are particularly used in situations where a plant operates in different modes or under physical constraints such as in robot locomotion [2], manipulation with contacts [3] and hybrid control systems [4].
In recent years, together with Mixed Logical Dynamical (MLD) systems, PWA systems are the most popular modeling framework for hybrid systems in Model Predictive Control (MPC) [5]. However, such on-line optimal control methods typically lead to the synthesis of very inefficient Mixed-Integer Convex Programs (MICPs) with large computational price [6]. To reduce the complexity of computing the convex polyhedra for PWA systems, an optimal sampling-based controller is proposed in [7], which can be cast into a single MICP problem. Nevertheless, for general PWA systems, the aforementioned on-line control strategies deteriorate with the number of partitions and the dimension of the systems. Similarly, the existing off-line controller design approaches for PWA (e.g., the LMI based controller synthesis approaches [8]) scale poorly for high dimensional PWA systems. Therefore, the controller synthesis for high-dimensional PWA systems with a great number of partitions is still an open problem.
Approximate simulation is an extension of simulation relations from formal methods to continuous systems. It is a powerful tool often used for hierarchical control of complex and high-dimensional systems [9, 10, 11]. This approximate simulation framework defines an approximate relationship between two systems, i.e. the full-order (concrete) system and the reduced-order system (abstraction). By constructing an abstraction and a corresponding interface between this abstraction and the concrete system, the outputs of both systems can be guaranteed to remain close within some certain error bound characterized by a Lyapunov-like simulation function. Different from the asymptotic model matching [12] that enforces output global asymptotic stability of the involved systems, it is not required in approximate simulation framework that the trajectories of the system and its abstraction match exactly but only approximately. This relaxation allows us to consider simpler abstractions and thus simplify the design of high-level control tasks.
Motivated by the above observations, we extend the results in [11] to consider the case where the concrete system is a PWA system. Our primary contributions can be summarized as follows:
-
1.
A novel robust approximate simulation based control strategy is proposed for the control of PWA systems using a linear system as the abstraction;
-
2.
The results obtained in the linear system abstraction approach is generalized for the case that the abstraction is a simpler PWA system.
II Background
II-A Problem Formulation
Consider a piecewise-affine (PWA) system as follows
(1) |
where the system state , and , , , and are given, for . The system output is . The term , which represents the lumped bounded external disturbances and piecewise linearization error, is assumed to be bounded such that , where is known. The cell bounding [13] is defined as for the partitions with some of the boundaries not crossing the origin (denoted as ), with and it reduces to for the partitions with all their boundaries crossing the origin (denoted as ), with . Besides, the continuity matrix [13] is defined as for (and for ), with for , , .
In this paper, we first consider the abstraction as a linear system of the following form
(2) |
where is the state of system (2), is the system output. The matrices , and are free to select. The abstraction (2) is typically simpler than each mode of the PWA system in terms of system dimension, i.e., .
Then, if a single linear abstraction may not be completely adequate (typically if the concrete PWA system has many modes), the abstraction can be selected as a simpler PWA system of the form
(3) |
where , , , , for with . The matrices , and are free to select, for . Let us denote the partitions with all their boundaries crossing the origin as and the partitions with some of the boundaries not crossing the origin as . It is important to note that the abstraction has less modes and much simpler dynamics than the concrete system . The details of the partitions of the abstract PWA system will be studied in Section III.
Consider the abstraction in (2). Define , where is an injective map from the state space of to that of for . Then,
where is the control input of the concrete system, which is also known as the interface that we need to design. For the abstraction (2), an input transformation law is designed as
(4) |
where the matrix is selected such that all the eigenvalues of the matrix of the transformed abstraction have negative real parts, and is the transformed input. Thus, we define our robust approximate simulation framework as the following joint system
(5) |
for , where and satisfy the conditions:
(6) |
Define the state of the joint system as . Then, the joint partitions can be written as
(7) |
Note that the joint partition (7) can be equivalently represented by:
(8) |
where and .
The joint system (5) corresponding to the PWA system abstraction (3) is similar to that of the linear system abstraction (2). In particular, it will result in a joint system of the form (5) for each tuple (, , ), for , and the conditions in (6) become
(9) |
for . In other words, for each we need to determine matrices and such that (9) holds true for a pair (, ), . The details of the joint partitions corresponding to this case will be discussed in Section III.
Remark 1
The input transformation law (4) is introduced to increase the tunability of the matrix (or for the PWA abstraction (3)). Besides, it will be shown in Section III that some LMI based conditions should be satisfied with all the eigenvalues of () (or () for the PWA abstraction (3)) having negative real parts.
The objective of this paper is to design an interface for the joint system (5) over the joint partitions (e.g.,(7)) to guarantee the boundedness of output error between and , i.e., , where is some certain error bound. The basic control architecture proposed in this paper is shown in Figure 1.
II-B Robust Approximate Simulation
Definition 1
(Approximate Simulation [9]) A relation is an approximate simulation relation of precision between and if for all ,
, where and are the initial values of and at and , respectively;
For any state trajectory of such that , there exists a state trajectory of such that and , for all .
Definition 2
(Robust Approximate Simulation [14]) The relation is a robust approximate simulation relation if the approximate simulation relation still hold for any disturbances in some set .
III Main Results
In this section, we first analyze the case where the linear system is the abstraction. Then, we extend the established theoretical results to the case where the PWA system is the abstraction. In each case, we first design an interface ( in (5)) that enable the concrete system to track the abstraction, and then design a Lyapunov-like simulation function to characterize the formal output tracking errors between the concrete system and the abstraction.
III-A Linear Abstraction for a PWA System Under Disturbances
In this part, we first design an interface for the joint system (5) for the linear abstraction in the form (2), and then a Lyapunov-like simulation function is presented to guarantee a formal error bound for the output tracking errors.
Interface
Considering the joint system (5) under the linear abstraction (2), we propose to design the associated interface as
(10) |
for , where is an arbitrary matrix and is a tunable parameter matrix. Then, note that the joint system (5) under the interface (10) can be written as
(11) |
where the state , , , , , , , , , , , and the joint partition is defined as (8).
Simulation Function
In order to guarantee a formal error bound, we propose a Lyapunov-like simulation function as
(12) |
(13) |
where is some adjustable parameter, each is a diagonal block matrix, i.e., with being positive definite and , is the continuity matrix of the joint system (5), and is some symmetric free parameter matrix, and should satisfy the following linear matrix inequalities:
(14) |
(15) |
where , is some parameter free to choose. is the cell bounding in (8), and and are symmetric free parameter matrices with nonnegative entries.
Theorem 1
Assume there exists a matrix and a matrix such that the linear matrix equations in (6) hold for . Then, for the associated interface given by (10), there exists a robust approximate simulation relation of by , of a precision as
(16) |
where , with , and being some class- functions, and and are Lyapunov-like simulation function as in (12) and (13), respectively.
Proof:
First, note that the simulation function (13) can bound the output error under (14) by
(17) |
Similarly, the simulation function (12) can bound the output error by the reduced condition in (14).
For the case , take the directional derivative of the simulation function (13) along (11),
Based on (15), , and thus,
Then, by the definition of the simulation function (13) and the parameter matrix , we have
According to (13), we know that , and therefore we have
For , we need , where , and are class- functions.
For the case , the above results will reduce to
For , we have , where , and are class- functions.
Therefore, we know that for , the set
(18) |
and for , the set
(19) |
are both forward invariant [15]. Thus, we know that and satisfy robust approximate simulation relation with precision and , respectively. Furthermore, from (17), we also know that for and for . Thus, we know that and can bound the output errors and the robust approximate simulation relation can be satisfied when and . Thus, all the cases in (16) now have been proven and this completes the proof. ∎
Note that the error bound in (16) is dependent on . However, it can be computed since is always available.
III-B PWA Abstraction for a PWA System Under Disturbances
In this part, we consider the case where the abstraction is in form , where we are free to choose the partitions as well as the system matrices on each partition. Compared to the previous part, the main difference in this part lies in the computation of the cell boundings of the joint system since the partitions of the abstract PWA system should be involved in the computation of the joint as , where
(20) |
where , and the matrices and construct the desired partitions of in the state space of (i.e., , ). In particular, the desired partitions of in the state space of can be written in closed form as , i.e., , for .
In fact, the partition of can be viewed as as in (3), where and . It is not surprising that the partition of varies with because we know that there must exist some linear transformation between two different spaces, i.e. from Lemma 1 of [16]. However, this relation cannot hold for our case where the disturbances exist in the state space of or it may hold with very restrictive conditions (see proposition 4.1 of [17]). The relations and can be viewed as an online estimate to reshape the partitions of in our case.
Remark 2
It seems unreasonable to express the partitions of in the state space of as for because the combinations of the successive partitions of may not always be convex and thus the partitions may not be written in this closed form. However, we can always convexify the combinations of the successive partitions of by manually adding more edges to the original partitions. In this case, we can describe the joint partitions in terms of the equivalent partitions of .
Remark 3
In (20), we use the joint partitions of the joint system because the partitions of are hard to determine. However, we know that the partitions of can be predefined and thus the desired partitions of in the state space of can also be determined. In order to do so, we first use the conditions in (6) to check the approximate simulation relations between the concrete system (1) and the abstraction (3). Once the relations can be found, the corresponding successive partitions of can be combined together. Then, we can analyze these combinations in two cases. For the case that the combinations of the successive partitions of are still convex, the combined partitions of can be used to describe the desired partitions of , i.e., , for . For the case that the combinations of the successive partitions of are non-convex, we can first convexify the combinations of the successive partitions by adding edges and then follow the same processes as the previous case. Designing systematic convexification approaches is a subject of future research.
Interface
Considering the abstraction being in the form as (3), an associated interface can be designed as
(21) |
for the pairs , and , where is an arbitrary matrix and is a tunable parameter matrix. Then, joint system under the interface (21) can be written in the following form
(22) |
for , , where the state , , , , , , , , , , and the joint partition is defined as (20).
Simulation Function
Similar as the linear abstraction case in previous part, to guarantee a formal error bound, the Lyapunov-like simulation function is presented as
(23) |
(24) |
where is some adjustable parameter, with each , where is a positive definite matrix, and the matrix should satisfy the following linear matrix inequalities:
(25) |
(26) |
for the pairs , and , where , for free to be selected, is the cell bounding in (20), and are some symmetric free parameter matrices with nonnegative entries.
With the joint partitions in (20),
we now provide a generalized version of Theorem 1 in the following theorem.
Theorem 2
For a given tuple of the concrete system , , assume there exists a matrix and a matrix such that the linear matrix equations in (9) hold for a pair of of the abstraction, . Then, for the associated interface given by (21), there exists a robust approximate simulation relation of by , of the precision as
(27) |
where and , with , and being some class- functions, and and are Lyapunov-like simulation functions as in (23) and (24), respectively.
Proof:
The proof of Theorem 2 is similar to that of Theorem 1, and thus is omitted here. ∎
IV Simulation Examples
In this section, we use two simulation examples to illustrate the effectiveness of the proposed robust approximate simulation based control method developed for PWA systems.
IV-A Case 1: PWA by Linear
In this part, we consider an example of a robot tracking a 3-part road section. The robot must navigate the path with different dynamics in each part. The output of both concrete and abstract systems represent the position of the robot in the plane. The control objective is to make the robot track the planned path in , meanwhile the output errors maintain bounded.
The concrete system was selected as a triple integrator, but its dynamics is different on each part of the path in terms of the input mapping matrix , i.e.,
(28) |
with the parameters of the system as follows
for , and the partitions are set based on the position of the robot as
where and .
The abstract system was selected as a single integrator, i.e.,
(29) |
where the input transformation law was designed as . The control parameters for were selected as
The observed simulation results under these system and control parameters are shown in Figures 2, 3 and 4.



In Figure 2, it can be seen that the output of the concrete system starts from the green colored initial region and successfully tracks the output of the abstraction and the two trajectories remain considerably close to each other until the robot reaches the yellow colored target region. More precisely, the output tracking error is shown in Figure 3, which is bounded by the simulation function (obtained with ). Thus, the proposed method is effective. In Figure 3, it can also be seen that when crosses the boundary of the partitions, the value of the simulation function increases. The reason is that is not slowly varying and the amplitude of also increases at the boundary, which will cause the joint state to increase. In Figure 4, the computed error bound is relatively large with respect to the simulation function and the value of this computed bound also changes around the instants that and cross a boundary. At the time instant around 7 sec, there is a chattered switching between two different values of the error bounds, which is because the concrete system temporarily moves back and forth across a boundary of two different partitions. From Figure 3 and 4, we can also see that the simulation function remains bounded within the computed error bound.
IV-B Case 2: PWA by PWA
In this part, we consider the case that a simpler PWA system is the abstraction for the concrete PWA system. Therefore, we consider a more complicated tracking example with 5-parts road section, while the control objective is similar to the Case 1 discussed before.
The concrete PWA system was chosen to be in the same form as (28), but its parameters were selected as
for .
The abstraction was selected as a simpler PWA system,
(30) |
where the parameters were chosen as
for , with , , , , , , and the input transformation law was designed as , where , , .
The joint partitions were selected as
for and , where , , , , , , , , and . The output of both systems represents the position of the robot in the plane. The control parameters for and were selected as
Under these system and the control parameters, the observed simulation results are shown in Figures 5, 6 and 7.
In Figure 5, it can be seen that the output of the concrete system can track the output of the abstraction , starting from the green colored initial region and ending at the yellow colored target region, and in-between, the two trajectories remain close. The output tracking error is shown in Figure 6, which is bounded by the simulation function (obtained with ), which implies that the proposed method is effective. In Figure 6, it can also be seen that the value of simulation function changes when crosses the boundary of a partition and the reason is similar to that of Case 1. According to Figure 6 and 7, the simulation function is bounded by the computed error bound and the value of this computed error bound also change around the instants where and cross a boundary.



V Conclusion
In this paper, a novel control strategy was presented for the control of PWA systems based on robust approximate simulation framework. First, we designed the interface and the simulation function for a configuration where the concrete system is a known PWA system and the abstraction is a linear system with the system matrices free to choose. Then, the proposed design procedure was generalized for a configuration where the abstraction is a PWA system with the system matrices free to choose under some constraints on its partitions. Finally, we used two simulation examples to illustrate the effectiveness of the proposed method. Future work aim to improve the established formal error bound such that the proposed approximate simulation based control method can be applied to address more general planning tasks.
References
- [1] L. Rodrigues and J. How, “Automated control design for a piecewise-affine approximation of a class of nonlinear systems,” in Proceedings of the American Control Conference, vol. 4, 2001, pp. 3189–3194.
- [2] W. Han and R. Tedrake, “Feedback design for multi-contact push recovery via LMI approximation of the Piecewise-Affine Quadratic Regulator,” in Proceedings of the 17th International Conference on Humanoid Robotics, 2017, pp. 842–849.
- [3] F. R. Hogan, E. R. Grau, and A. Rodriguez, “Reactive Planar Manipulation with Convex Hybrid MPC,” in Proceedings of the International Conference on Robotics and Automation, 2018, pp. 247–253.
- [4] L. Habets, P. Collins, and J. van Schuppen, “Reachability and control synthesis for piecewise-affine hybrid systems on simplices,” IEEE Transactions on Automatic Control, vol. 51, no. 6, pp. 938–948, 2006.
- [5] E. Camacho, D. Ramirez, D. Limon, D. Muñoz de la Peña, and T. Alamo, “Model predictive control techniques for hybrid systems,” Annual Reviews in Control, vol. 34, no. 1, pp. 21–31, 2010.
- [6] T. Marcucci and R. Tedrake, “Mixed-integer formulations for optimal control of piecewise-affine systems,” in Proceedings of the 22nd ACM International Conference on Hybrid Systems: Computation and Control, 2019, p. 230–239.
- [7] S. Sadraddini and R. Tedrake, “Sampling-based polytopic trees for approximate optimal control of piecewise affine systems,” arXiv e-prints, p. 1809.09716, 2018. [Online]. Available: https://arxiv.org/abs/1809.09716
- [8] A. Hassibi and S. Boyd, “Quadratic stabilization and control of piecewise-linear systems,” in Proceedings of the American Control Conference., vol. 6, 1998, pp. 3659–3664.
- [9] A. Girard and G. J. Pappas, “Hierarchical control using approximate simulation relations,” in Proceedings of the 45th Conference on Decision and Control, 2006, pp. 264–269.
- [10] A. Girard and G. J. Pappas., “Hierarchical control system design using approximate simulation,” Automatica, vol. 45, no. 2, pp. 566–571, 2009.
- [11] V. Kurtz, P. M. Wensing, and H. Lin, “Robust approximate simulation for hierarchical control of linear systems under disturbances,” in Proceedings of the American Control Conference, 2020, pp. 5352–5357.
- [12] M. Di Benedetto and J. Grizzle, “Asymptotic model matching for nonlinear systems,” IEEE Transactions on Automatic Control, vol. 39, no. 8, pp. 1539–1550, 1994.
- [13] M. Johansson, Piecewise linear control systems: a computational approach. Springer, 2003, vol. 284.
- [14] V. Kurtz, P. M. Wensing, and H. Lin, “Approximate simulation for template-based whole-body control,” IEEE Robotics and Automation Letters, vol. 6, no. 2, pp. 558–565, 2021.
- [15] H. K. Khalil, Nonlinear systems. Pretince Hall, 2002.
- [16] S. Sadraddini and R. Tedrake, “Sampling-based polytopic trees for approximate optimal control of piecewise affine systems,” in Proceedings of the International Conference on Robotics and Automation, 2019, pp. 7690–7696.
- [17] S. Raković, E. Kerrigan, D. Mayne, and K. Kouramas, “Optimized robust control invariance for linear discrete-time systems: Theoretical foundations,” Automatica, vol. 43, no. 5, pp. 831–841, 2007.