SMS dit: Digital Control A state-space approach