User`s guide
Table Of Contents
- Preface
- Quick Start
- LTI Models
- Introduction
- Creating LTI Models
- LTI Properties
- Model Conversion
- Time Delays
- Simulink Block for LTI Systems
- References
- Operations on LTI Models
- Arrays of LTI Models
- Model Analysis Tools
- The LTI Viewer
- Introduction
- Getting Started Using the LTI Viewer: An Example
- The LTI Viewer Menus
- The Right-Click Menus
- The LTI Viewer Tools Menu
- Simulink LTI Viewer
- Control Design Tools
- The Root Locus Design GUI
- Introduction
- A Servomechanism Example
- Controller Design Using the Root Locus Design GUI
- Additional Root Locus Design GUI Features
- References
- Design Case Studies
- Reliable Computations
- Reference
- Category Tables
- acker
- append
- augstate
- balreal
- bode
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drmodel, drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocfind
- rlocus
- rltool
- rmodel, rss
- series
- set
- sgrid
- sigma
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

3 Operations on LTI Models
3-24
Discretization of Systems with Delays
You can also use c2d to discretize SISO or MIMO continuous-time models with
time delays. If
Ts is the sampling period used for discretization:
• A delay of
tau seconds in the continuous-time model is mapped to a delay of
k sampling periods in the discretized model, where k = fix(tau/Ts).
• The residual fractional delay
tau – k*Ts is absorbed into the coefficients of
the discretized model (for the zero-order-hold and first-order-hold methods
only).
For example, to discretize the transfer f unction
using zero-order hold on the input, and a 10 Hz sampling rate, type
h = tf(10,[1 3 10],'inputdelay',0.25);
hd = c2d(h,0.1)
This produces the discrete-time transfer function
Transfer function:
0.01187 z^2 + 0.06408 z + 0.009721
z^(–2) * ----------------------------------
z^3 – 1.655 z^2 + 0.7408 z
Sampling time: 0.1
Here t he input delay in amounts to 2.5 times the sampling period of 0.1
seconds. Accordingly, the discretized model
hd inherits an input delay of two
sampling periods, as confirmed by the value o f
hd.inputdelay.Theresidual
half-perio d delay is facto red into the coef fic ient s of
hd by the discretization
algorithm.
Hs() e
0.25s–
10
s
2
3s 10++
-------------------------------
=
Hs
()