Lab 1 Transfer Function and System Response

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

FACULTY OF ELECTRONICS ENGINEERING AND

COMPUTER ENGINEERING (FKEKK)


SEMESTER 2 SESI 2020/2021

BENG 3761
ELECTRONIC ENGINEERING LAB 4

REPORT LAB SESSION 1


TRANSFER FUNCTION AND SYSTEM RESPONSE

LECTURER’S NAME
TS. DR. KHAIRUDDIN BIN OSMAN

CLASS/SECTION

NAME MATRIC NUMBER


JOSEPH ANANTHAN A/L RAJINDRIN B021910061
MITTIRAAN A/L GOPALAKRISHNA B021910163

DATA ANALYSIS
RESULTS

Part A: Mechanical System

num = [1 1]
den = [1 5 8 5 1]
numl = [1 3 2]
denl = [1 5 8 5 1]
sys = tf(num,den)
step(sys)
hold on
sysl = tf(numl,denl)
step(sysl)
grid

num =
1 1

den =
1 5 8 5 1

numl =
1 3 2

denl =
1 5 8 5 1

sys =
s + 1
-----------------------------
s^4 + 5 s^3 + 8 s^2 + 5 s + 1

Continuous-time transfer function.

sysl =
s^2 + 3 s + 2
-----------------------------
s^4 + 5 s^3 + 8 s^2 + 5 s + 1

Continuous-time transfer function.


Part B: Electrical System

num = [1 1 0 0]
den = [2 5 4 1]
sys = tf(num,den)
step(sys)
grid
num =
1 1 0 0

den =
2 5 4 1

sys =

s^3 + s^2
-----------------------
2 s^3 + 5 s^2 + 4 s + 1

Continuous-time transfer function.


DISCUSSION AND CONCLUSION

From this lab we can conclude that we have learned about transfer function, for a linear time-
invariant system (electrical and mechanical system) and using MATLAB codes to execute the
output response of transfer functions for (electrical and mechanical system). In this
experiment, the basic concept of transfer function for a linear time-invariant system
(electrical and mechanical system) is learned by methods, and certain kind of transfer
function limitations are used to perform this experiment.
First of all, based on the simulation graph in Part A, it illustrates that the behaviour of these
two transfer functions differs from one another. According to the table, the first transfer
function is red in colour with an amplitude of 2, while the second transfer function has an
amplitude of 1. Furthermore, the displacement of the first transition feature (red colour) is
greater than the displacement of the blue colour transfer function. This is because the
variation in coefficients of friction between them has influenced the system's output response.
Aside from that, Newton's law must be used to sum up all the forces in the scheme and set to
zero in order to form an equation. In the data analysis section, solving equations can involve
using techniques such as the Laplace Transform and Creamer's Rule to solve problems. We
can see from the graph that G1 is greater than G2. Take a look at G1. As G2 is going, it takes
more time than G2 because of the cumulative friction.
The mesh analysis technique was used to produce two equations based on the part B circuit.
The first equation is (R1+R2) I1 +(1/sC1+1/sC2) I1 - R2I2 - (1/sC2) I2 = V(s), while the
second equation is (R2+R3) I2+LsI2+(1/sC2) I2-(R2+1/sC2) I1=0. Thus, there are a few
steps to resolving this equation, which is to substitute the impedance of passive components
with their values, as well as the voltage source. Following that, the Laplace transform is
applied to the time variables to simplify and simplify the equation. Then, solve the
simultaneous equation, assuming that the mesh has a transform current and that current flows
around each mesh. Kirchhoff’s law is applied with the effect equalling zero by summing
voltage between loops and nodes. The peak value derived from the graph simulation is 0.5
amplitude, with a decreasing value over time. This is due to the inductor part of the circuit
having an impact on the system's performance and causing the value to drop slightly. From
transfer function, physical nature of the system whether it is electrical or mechanical are
cannot be judged. So, effects arising due to initial conditions are neglected. Hence initial
conditions lose their importance. At last we can conclude that the values for XL are greater
than those for XC. Since the capacitor is discharged, the inductor has dropped. Additionally,
the XL has an opposite relationship to the XL. The admittance in the parallel resonance
circuit is very minimal, reducing currents.
As a conclusion, in this lab we used MATLAB coding functions to analyse a circuit system
output response of electrical and mechanical system. The frequency domain properties,
impulse response as well as step response are analysed.

You might also like