Robust regulation and trajectory tracking for flexible robots by using piezoelectric actuators