logo

MATLAB Simulink Assignment: Control Systems

Analytically find the open-loop response c(t) to a unit impulse input and plot this open-loop system response. Determine a suitable sample interval T based on sampling theorem. Derive the discrete-time system transfer function GHP(Z) from G1(s). Design a digital Proportional (P)

20 Pages1517 Words463 Views
   

Added on  2023-06-14

About This Document

This assignment involves solving problems related to control systems using MATLAB Simulink. The topics covered include stabilizing systems, sampling theorem, state space representation, and designing proportional control. The solutions are presented in the form of MATLAB code and simulation results.

MATLAB Simulink Assignment: Control Systems

Analytically find the open-loop response c(t) to a unit impulse input and plot this open-loop system response. Determine a suitable sample interval T based on sampling theorem. Derive the discrete-time system transfer function GHP(Z) from G1(s). Design a digital Proportional (P)

   Added on 2023-06-14

ShareRelated Documents
UNIVERSITY AFFILIATION
FACULTY OR DEPARTMENT
COURSE ID & NAME
TITLE:
STUDENT NAME:
STUDENT REGISTRATION NUMBER:
PROFESSOR (TUTOR)
DATE OF SUBMISSION
MATLAB Simulink Assignment: Control Systems_1
ASSIGNMENT I
QUESTION 1
Ships have fins which are the stabilizers in the reduction of the roll motion. The stabilizers can
be positioned by a closed-loop roll stabilizing system as designed in the MATLAB Simulink
figure below,
The transducer is the proportional controller for the open-loop transfer function,
G ( s ) H ( s ) = 22.5
( s+ 4 ) ( s2 +0.9 s+ 9 ) x 1 ( unity feedback )
G ( s ) H ( s ) = 22.5
( s3+ 4.9 s2 +12.6 s +36 ) x 1
Open-loop response c(t) to a unit impulse input,
Open-loop system response
1
MATLAB Simulink Assignment: Control Systems_2
QUESTION 2
The sampling theorem, according to Shannon-Nyquist, states that for one to recover the signal
function as sent, it is necessary to set a sample frequency of the time function at a rate greater
than twice its highest frequency component. By definition, it is given as,
f s 2 f c
Matlab Solution
%% Assignment 1: Question 2
GsHs=tf([22.5],[1 4.9 12.6 36])
bode(GsHs,{1,100})
grid on
2
MATLAB Simulink Assignment: Control Systems_3
-100
-50
0
50
Magnitude (dB)
100 101 102
-270
-180
-90
0
Phase (deg)
Bode Diagram
Frequency (rad/s)
At 3dB, the frequency in rad/sec is between 1-10 rad/sec as shown in the figure above.
T S= 1
f s
= 1
2 =0.5 seconds(sampling time)
f S=2rad /sec
QUESTION 3
To obtain a discrete-time system of the transfer function from the continuous open-loop system
transfer function,
%% discretizing the output
Ht=c2d(GsHs,0.5,'zoh');
figure(2)
bode(GsHs,Ht)
grid on
The function c2d is used to discretize the continuous system to discrete time system for the
dynamic system model using the zero-order hold on the inputs and a sample time of Ts seconds.
3
MATLAB Simulink Assignment: Control Systems_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Solved Assignment on Electric Drives and Power Systems
|9
|1615
|334

Effect of Addition of Poles and Zeros on Control System - Desklib
|14
|2164
|392

Advanced Electrical Machines and Drives
|10
|1193
|362

Engineering Lab - Automatic Control Systems (MATLAB & Simulink)
|12
|879
|314

EEE 303A TEST1 - Full Solution
|19
|1862
|12

Transient Response Improvement through Controller Design
|2
|677
|500