You will have to monitor the carrier's distance from the barbell bar, the barbell's motion, and the vertical position and speed of your carrier. You also have to respond to unexpected conditions like dropping the bar, stopping the motion, or other events. For that kind of feedback-controlled operation you are probably going to end up with a stepper or servo driven electronic linear actuator controlling a carriage mounted on linear bearings and rails.