Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO

DEPARTMENT OF ELECTRONIC ENGINEERING

Open Ended Lab

Name: Insha Kubra Roll # 20ES029


Signature of Lab Tutor Date

OBJECTIVE(S)

# Topic # Of Lectures CLO Taxonomy level


The purpose of this lab is to introduce you to
1 3 4,5 P3, A4
software tool namely MATLAB/SIMULINK

OUTCOME(S)

a. An ability to use the techniques, skills, and modern PLO5: Modern Tool Usage
engineering tools necessary for engineering practice.
b. An ability to communicate effectively (written/oral) PLO10: Communication

LAB RUBRICS:

Performance Metric Good (5-4) Average (3-2) Poor (1-0) Score


Use of modern Demonstrates Demonstrates awareness Unable to use modern
engineering software knowledge and of modern engineering engineering software to
[PLO5] application of modern software through mostly develop or interpret
engineering software correct development and computer programs to
through accurate interpretation of solve problems.
development and computer programs to
interpretation of computer solve problems, but may
programs to solve contain minor mistakes
problems. or syntax errors
Level of understanding Demonstration of full At ease with content and No grasp of information.
of the learned skill knowledge of the handout able to elaborate and Clearly no knowledge of
[PLO5] with explanations and explain to some degree. subject matter. No
elaboration. questions are answered.
No interpretation made.
Responsiveness to Responds well, quick and Generally responsive Non-responsive at all or
Questions/ Accuracy very accurate all the time. and accurate most of the the candidate giving only
[PLO10] times. one correct response of
viva voce questions.
Documentation: Report well organized, Report reasonably well Report not well
contents and Appropriately sectioned, documented. May lack organized, lack key
organization [PLO10] uses diagram/description some minor aspects. aspects.
when appropriate,
important issues clearly
stated.
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Total

Open-Ended Lab Max Marks: 05


Lab: Digital Control Systems with MATLAB
Objective: To understand and apply digital control system concepts using MATLAB based on the
student’s roll number.

Task 1: Step Response Analysis


Objective: Analyse the step response of a discrete-time system and observe the effect of sampling
time.

• Procedure:
1. Define a continuous-time system using the student’s roll number as system
parameters.
2. Convert the system to a discrete-time system with different sampling times.
3. Plot and analyse the step response for each sampling time.

My rollno: 20ES029, We first plot the continuous-time step response in one subplot. Then, in
another subplot, we plot the discrete-time step responses for different sampling times as before.
Each subplot has its own title to distinguish between continuous-time and discrete-time
responses.
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Task 2: Z-Transforms and Transfer Function


Objective: Understand the relationship between Z-transforms and the transfer function of a
discrete system.

• Procedure:
1. Calculate the Z-transform of a any difference equation of your choice that
incorporates the student’s roll number.
2. Determine the transfer function from the Z-transform.
3. Verify the stability of the system using the transfer function.

Solution on MATLAB:
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Task 3: Discrete-Time State Space Representation


Objective: Represent any given system of your choice in state-space form and simulate its
response.

• Procedure:
1. Formulate the state-space representation of a system using the student’s roll
number.
2. Simulate the system’s response to a unit step input.
3. Analyse the results and discuss the system’s behaviour.

Solution on MATLAB:

Analyzing system’s behaviour:


Observing how quickly the system reaches its steady-state or the presence of oscillations in the
response can give insights into the transient behavior of the system.The final value that the
system output settles to represents the steady-state response. It can indicate the system's
performance or characteristics under a constant input.
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Task 4: Controllability and Observability


Objective: Determine the controllability and observability of any discrete-time system of your
choice.

• Procedure:
1. Using the state-space representation from Task 3, compute the controllability and
observability matrices.
2. Apply the student’s roll number to modify system parameters and re-evaluate
controllability and observability.
3. Discuss the implications of the results on system design.

Solution on MATLAB:
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Results:
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
DEPARTMENT OF ELECTRONIC ENGINEERING

Task 5: Digital PID Controller


Objective: Design a digital PID controller and implement it using MATLAB/Simulink.

• Procedure:
1. Develop a PID control algorithm where the coefficients are derived from the
student’s roll number.
2. Implement the controller in MATLAB/Simulink.

Solution on Simulink:

As my rollno: 20ES029
Num: [0.29 0.1 1]
Den: [1 0.29 0.53]

Note: Each task should be documented with MATLAB code snippets and simulation results. The
student’s roll number should be used creatively to influence system parameters and controller
design.
This lab is designed to be open-ended, allowing students to explore the effects of different
parameters and design choices on the behaviour of digital control systems. Ensure that all of
students follow proper MATLAB coding practices and document their findings comprehensively.

You might also like