Dynamic measurements of actuators driven by AlN layers