ACS Lab Exp 2
ACS Lab Exp 2
AIM: Time domain response of rotary servo and Linear servo (first order and
second order) systems using MATLAB/Simulink.
Theory:
The time response represents how the state of a dynamic system changes in time when subjected
to a particular input. Since the models we have derived consist of differential equations, some
integration must be performed in order to determine the time response of the system. For some
simple systems, a closed-form analytical solution may be available. However, for most systems,
especially nonlinear systems or those subject to complicated inputs, this integration must be
carried out numerically. Fortunately, MATLAB provides many useful resources for calculating
time responses for many types of inputs, as we shall see in the following sections.
The time response of a linear dynamic system consists of the sum of the transient response which
depends on the initial conditions and the steady-state response which depends on the system input.
These correspond to the homogenous (free or zero input).
Order system
The order of a dynamic system is the order of the highest derivative of its governing differential
equation. Equivalently, it is the highest power of in the denominator of its transfer function. The
important properties of first, second, and higher-order systems will be reviewed in this section.
where the parameters and completely define the character of the first-order system.
DC gain
The DC gain is the ratio of the magnitude of the steady-state step response to the magnitude of
the step input. For stable transfer functions, the Final Value Theorem demonstrates that
the DC gain is the value of the transfer function evaluated at s=0
For first-order systems of the forms shown, the DC gain is
DC Gain
The DC gain, again is the ratio of the magnitude of the steady-state step response to the
magnitude of the step input, and for stable systems it is the value of the transfer function when
S = 0. For the forms given,
.
Damping Ratio
The damping ratio is a dimensionless quantity charaterizing the rate at which an oscillation
in the system's response decays due to effects such as viscous friction or electrical resistance.
From the above definitions,
Natural Frequency
The natural frequency is the frequency (in rad/s) that the system will oscillate at when there
is no damping,
MATLAB CODE:
clc
clear all
close all
OUTPUT:
Second-Order Rotary Servo System Parameters
clc
clear all
close all