Design Case Studies    

Model Discretization

The task here is to design a digital controller that provides accurate positioning of the read/write head. The design is performed in the digital domain. First, discretize the continuous plant. Because our plant will be equipped with a digital-to-analog converter (with a zero-order hold) connected to its input, use c2d with the 'zoh' discretization method. Type

You can compare the Bode plots of the continuous and discretized models with

To analyze the discrete system, plot its step response, type

The system oscillates quite a bit. This is probably due to very light damping. You can check this by computing the open-loop poles. Type

The poles have very light equivalent damping and are near the unit circle. You need to design a compensator that increases the damping of these poles.


  Deriving the Model Adding a Compensator Gain