Linear Control Systems Lab Manual: Lab # 6 Analyze The Step Response of A System in Simulink

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

Linear Control Systems lab Manual

Lab # 6

Analyze the Step Response of a System in Simulink

Name: Raja Rohaan Abdullah

Semester: 6th

Section: A

Mis id: 30558

Department of Electrical Engineering

Submitted to: Engr. Saqib Riaz


When Ramp input is applied:
Case 1

Scope:

Case 2:
Scope:

Case 3

Scope:
Now we will apply Step input
Case 1

Scope:

Case 2
Scope:

Case 3

Scope:

“Task”
Simulink:

Code:
>>%%openloop
>> n1=[12.9];
>> d1=[1 3.2962 12.9];
>> g=tf(n1,d1);
>> figure(1)
>> step(n1,d1)
>> %%close loop
>> [n1cl,d1cl]=cloop(n1,d1,-1);
>> g1=tf(n1cl,d1cl);
>> figure(2)
>> step(n1cl,d1cl)

You might also like