there are many ways to do what you want to do
please watch the video its called linear actuator it has maximum 200mm length you can make it stop at 16 cm and limit speed to 1 cm per 10 sec . that's it .
you will need a small programmed to drive and control this actuator.
massage me if you need more help .