Outer loop sampling time

Plant:

Discrete form: