Exp 2
Exp 2
Video: Link
Objective:
Description:
This example problem can be modeled as a rotational mass, with inertia I, where the friction acts as a
velocity dependent force, with coefficient B, and the spring force acts as a position dependent force,
with coefficient K.
Solving a rotational second order problem is directly analogous to solving a linear second order
problem. The only differences are that instead of forces we deal with torques, instead of mass we deal
with inertia, and instead of translational motion we deal with rotations about an axis.
In order to draw a free body diagram of the above figure we must separately consider each and every
torque acting on the body and then draw them all onto the diagram.
Drawing the torques in the table above yields the following free body diagram.
GOVERNING EQUATION
Summing all the torques on the body together in a mathematical equation yields the governing
equation for this system.
According to D'Alembert's Law, the sum of all torques acting on a body including the inertial torque
is equal to zero.
Using D'Alembert's Law:
Sum of all torques = -k θ - b θ' - m θ" = 0
or equivalently
k θ + b θ' + I θ" = 0
From the free body diagram the time domain differential equation is:
k θ + b θ' + I θ" = 0
The notation for the Laplace Transform operation isL{ }
L{ θ(t) } = θ(s)
L{ θ’(t) } = s θ(s) – θ(0)
L{θ"(t) } = s2 θ(s) – sθ(0) – θ'(0)
The initial conditions for this system are non-zero. θ(0) = 0, but θ'(0) = θ(0).
Substituting into the governing equation leads to:
k[θ(s)] + b[sθ(s)] + I[s2θ(s) - θ(0)] = 0
Upon rearrangement:
[Is2 + bs + k]θ(s) = I*θ(0)
The governing Laplace equation for this system is:
θ(s) = [ 1/[Is2 + bs + k] ] * I*θ(0)
At this point, strictly speaking, there is no transfer function defined. w(0) is an initial condition, not
an input. However, the form of the Laplace Transform for q is that of a second order transfer
function multiplying the Laplace Transform of an impulse input of magnitude I*w(0). The transfer
function is:
G(s) = 1/[Is2 + bs + k]
To simulate the response to the non-zero initial condition it is necessary to enter this transfer
function into MATLAB. Because MATLAB cannot manipulate symbolic variables, we will now
assign numerical values to each variable.
I = 40 kgm2
b = 20Nm/s
k = 20Nm
>> I = 40;
>> b = 20;
>> k = 20;
In order to enter the transfer function into MATLAB, you must separate the numerator and
denominator, which in this example are denoted by ‘num’ and ‘den’ respectively. The format for
either matrix is to enter the coefficients of sn in descending order.
>> num = [ 1 ];
>> den = [ I b k ];
Transfer function:
1
------------------------------
40 s^2 + 20 s + 20
PROCEDURE,
Find the step response of the below table and explain the difference in transient response
characteristics
I b k Mp tp ts ζ ωn ωd
40 20 20
10 20 20
05 20 20