Piezoelectric materials: Continuous-time and discrete-time dynamic models and control