Minimal effort control systems with an upper bound on the control time