This is known as the internal model principle. If you want to have zero steady-state error to a given input signal, the negative feedback loop must possess a model of that signal within the blocks inside it. In this case, to perfectly track a ramp input, which has two poles at the origin, there needs to be two poles at the origin in the transfer functions of the blocks in the loop.
To get zero steady-state error to a ramp input (assuming a sensor with no poles), if the system transfer function already has a pole at the origin, the controller would have to provide one. If the system transfer function has no poles, the controller would have to provide both.
To get zero steady-state error to a step input, which has a single pole at the origin, the loop must have a single pole at the origin inside it, which explains why PI or PID controllers can perfectly track step inputs for many systems. The integrator in the controller adds the pole at the origin those system transfer functions lack.
The internal model principle explains why, for most systems, a PID can't perfectly track a sine wave - there's no model of the sine wave in the feedback loop. This lead to the development of proportional-resonant controllers, which have a sinusoid model in the controller, for control of power electronic inverters tracking power grid sine waves (though other control methods have since replaced PR).
xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.