Expt-3-Transfer-Function
Expt-3-Transfer-Function
3
TRANSFER FUNCTION
I. INTRODUCTION
2. System transfer function can be created using the tf() function. First, create the numerator
and denominator polynomials expressing them as row vectors.
Example: s+1
H = -------------------------- can be created as follows:
s3 + 2s2 + 3s + 2
>>numerator = [1 1] → s+1
>>denominator = [1 2 3 2] → s3 + 2s3 + 3s + 2
3. Zeros are values of ‘s’ that would make the system transfer function zero. Or the roots of the
numerator of the transfer function that are not common with the poles.
4. Poles are values of ‘s’ that would make the system transfer function infinite. Or the roots of
the denominator of the transfer function that are not common with the zeros.
5. System response of the system can be view using the plot() function.
II. OBJECTIVES
III. MATERIALS/EQUIPMENT
Matlab Software
Personal Computer
Objective A and B. Determine the transfer function by computation given the mechanical rotational
system:
Concept
Objective C.
output: TF = ____________________________________
output: _________________________________________
7. The output of the system is TF x Input. Store the output signal equation to
OUTPUT
>>OUTPUT = TF * TORQUE
8. The inverse laplace of an equation can be solve using ilaplace() function. Store the inverse laplace of
OUTPUT OUTPUT_TIME variable
>>OUTPUT_TIME = ilaplace(OUTPUT)
9. To plot the equation in time is to substitute values of “t”. Create a series of time values from 0 to 15
seconds incremented by 0.1 using row vector declaration.
10. Substitute the values of “t” to OUTPUT_TIME equation using subs() function. This will create 150
values or points. Store the answer to variable RESULT
>>RESULT = subs(OUTPUT_TIME, t)
Tip: So as not to display the 150 values add a semicolon (;) at the end of the statement.
>>plot(t, RESULT)
>>numerator = ________________
>>denominator = ________________
ans:
ans:
5. Using tf2zp() function pole, zero and dc gain can also be found.
>> [z,p,g] = tf2zp(num,den)
ans: z=
p=
g=
V. CONCLUSION