Sliding Mode Control with Chattering Attenuation and Hardware Constraints in Spacecraft Applications