Design of controllers for a class of switched nonlinear systems based on backstepping method