I have such control system (sorry for rough drawing :) )
$G(s)$ - stable object with proper transfer function. $1/s$ - integrator.
I need to clarify, how synthesized PI or PID controller for such object, that include inner-loop with hysteresis-relay regulator.
Is there some mathematical background?