Text this: Safe experimentation dynamics algorithm for data-driven PID controller of a class of underactuated systems