special projects on control topic : matlab simulink

12
Special Projects on Co ntrol Topic : MATLAB Simulin k

Post on 21-Dec-2015

243 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Special Projects on Control Topic : MATLAB Simulink

Special Projects on Control

Topic : MATLAB Simulink

Page 2: Special Projects on Control Topic : MATLAB Simulink

What is Simulink ?

• Simulink is a software package that enables you to model, simulate and analyze systems whose outputs change over time

• Simulating a dynamic system is a two-step processes with Simulink : – create a graphical model using the Simulink model editor.

– use Simulink to simulate the behavior of the system over a specified time span.

Page 3: Special Projects on Control Topic : MATLAB Simulink

Starting Simulink

1. Starting MATLAB1. Click the Simulink icon

2. Enter the simulink command

Page 4: Special Projects on Control Topic : MATLAB Simulink

Creating a model

1. An easy example• Using signal generator and scope to measure a

sine wave signal

2. An example of the first order system

2

1)(

s

sT

Page 5: Special Projects on Control Topic : MATLAB Simulink

Transient response of F.O.S.

Page 6: Special Projects on Control Topic : MATLAB Simulink

Transient response of S.O.S.

22

2

2)(

nn

n

sssT

Page 7: Special Projects on Control Topic : MATLAB Simulink
Page 8: Special Projects on Control Topic : MATLAB Simulink
Page 9: Special Projects on Control Topic : MATLAB Simulink

Transient response of a S.O.S.

Page 10: Special Projects on Control Topic : MATLAB Simulink

Homework

1. Find the rise time, settling time and steady-state error of the following systems by using MATLAB Simulink. Assume the input signal is an unit-step function

ps. a 是學號最後一碼

assT

2

2)(

assT

5

5)(

Page 11: Special Projects on Control Topic : MATLAB Simulink

Homework

2. Consider a RLC circuit system

dttICdt

tdILtRItV )(

1)()()(

)(1

)()()( sIsC

ssLIsRIsV

)(1

1)( sV

sCRsLsI

LCs

L

Rs

LCsV

sVsT c

1

1

)(

)()(

2

Page 12: Special Projects on Control Topic : MATLAB Simulink

Homework

2. If , and

Using MATLAB Simulink to find the following indexs when the input signal is an unit-step function

– Maximum overshoot

– Rise time

– Settling time

– Peak time

– Delay time

ps. a 是學號最後一碼Deadline : 12/19

5.12R H 1.9L F 01.0 aC