Robust control for switched piecewise affine systems subject to parameter variations