1 / 11

Dynamic System Modeling and Analysis: MATLAB Transfer Function Approach

Learn how to model and analyze dynamic systems using MATLAB transfer functions. Explore block diagrams, partial-fraction expansion, and transient-response analysis. Step-by-step commands and examples provided.

lavernes
Download Presentation

Dynamic System Modeling and Analysis: MATLAB Transfer Function Approach

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 動態系統建模分析與控制 Lecture4Transfer-function Approach to Modeling Dynamic Systems Instructor: Chen-Hsiung Yang Dynamic System Modeling Analysis and Control

  2. Outline 4-1 Introduction 4-2 Block Diagrams 4-3 Partial-Fraction Expansion with MATLAB 4-4 Transient-Response Analysis with MATLAB

  3. 4-1 Introduction

  4. 4-2 Block Diagrams

  5. 4-3 Partial-Fraction Expansion with MATLAB • If • MATLAB Command • 1. T.F. → Partial-Fraction • Type: • >>num=[1,8,16,9,6]; • >>den=[1,6,11,6]; • >>[r, p, k]=residue(num, den) • Display: • r=-6 -4 3 • p=-3 -2 -1 • k=1 2 • 2. Partial-Fraction → T.F. • Type: • >>r=-6,-4,3 • >>p=-3,-2,-1 • >>k=1,2 • >>[num, den]=residue(r, p, k) • Display: • num=1 8 16 9 6 • den=1 6 11 6

  6. 4-3 Partial-Fraction Expansion with MATLAB(Cont.) sol: By MATLAB we obtain

  7. 4-3 Partial-Fraction Expansion with MATLAB(Cont.) sol: By MATLAB we obtain

  8. 4-4 Transient-Response Analysis with MATLAB • Basic Command: • Transfer function:>>sys=tf(num,den) • Time interval:>>t=0: Δt: T • MATLAB Command • 1. Forstep response • Type: • >>num=[1,8,16,9,6]; • >>den=[1,6,11,6]; • >>sys=tf(num,den) • >>step(sys) or step(num,den) • >>y=step(sys) or [y,t]=step(sys,t) • 2. Forimpulse response • Type: • >>num=[1,8,16,9,6]; • >>den=[1,6,11,6]; • >>sys=tf(num,den) • >>step(sys) or step(num,den) • >>y=step(sys) or [y,t]=step(sys,t)

  9. 4-4 Transient-Response Analysis with MATLAB(Cont.) • Basic Command: • Transfer function:>>sys=tf(num,den) • Time interval:>>t=0: Δt: T • MATLAB Command • 3. Forarbitary input • Type: • >>num=[1,8,16,9,6]; • >>den=[1,6,11,6]; • >>sys=tf(num,den) • >>t=0:0.01:4; • >>u=t • >>lsim(sys,u,t) <Note>: lsim(sys1,sys2,…,u,t) • 4. ramp response • Type: • >>num=[1,8,16,9,6]; • >>den=[1,6,11,6]; • >> sys=tf(num,den); • >> t=0:0.01:4; • >>u=t • >>lsim(sys, u, t)

  10. 4-4 Transient-Response Analysis with MATLAB(Cont.) sol: By MATLAB

More Related