Minimum energy control of time delay systems via piecewise linear polynomial functions