laboratory in automatic control lab12

12
Laboratory in Automatic Control Lab 12 Simulink Basics

Upload: nchubccl

Post on 22-Apr-2015

40 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Laboratory in Automatic Control Lab12

Laboratory in Automatic Control

Lab 12

Simulink Basics

Page 2: Laboratory in Automatic Control Lab12

Simulink Basics

Method 1

Method 2

Method 3

Page 3: Laboratory in Automatic Control Lab12

Simulink Basics

Page 4: Laboratory in Automatic Control Lab12

Simulink Basics

Page 5: Laboratory in Automatic Control Lab12

Simulink Basics

Page 6: Laboratory in Automatic Control Lab12

Simulink Basics

Simulink | Sources | Sine Wave

Simulink | Sinks | Scope

Simulink | Sources | Clock

Simulink | Sinks | XY Graph

Page 7: Laboratory in Automatic Control Lab12

Simulink Basics

Start simulation

Simulation stop time

Page 8: Laboratory in Automatic Control Lab12

Simulink Basics

Page 9: Laboratory in Automatic Control Lab12

Simulink Basics

Simulink | Sources | Step

Simulink | Continuous | Transfer Fcn

Simulink | Math Operations | Sum

Page 10: Laboratory in Automatic Control Lab12

Simulink Basics

Page 11: Laboratory in Automatic Control Lab12

Lab 12 Homework

• P1. Use Simulink to simulate the response of the system in Figure 1 to a ramp input, . What is the steady-state error? Display the output on an xy-graph.

21R ss

Page 12: Laboratory in Automatic Control Lab12

• P2. Use Simulink to simulate the response of the system in Figure 2 to a unit step input, design a PID controller to get a better performance.