Digital control: fundamentals, theory and practice