디지털 제어 Sun Moon University 1 of 32 목 차 7. Stability Kyoung-Chul DIGITAL CONTROL.

Slides:



Advertisements
Similar presentations
Root Locus Analysis (1) Hany Ferdinando Dept. of Electrical Eng. Petra Christian University.
Advertisements

Root Locus Diagrams Professor Walter W. Olson
MATLAB BASICS ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya.
ECEN/MAE 3723 – Systems I MATLAB Lecture 3.
Nyquist Stability Criterion
Frequency Response Techniques
Bode Magnitude Plots Constructed Bode Actual Bode
Chapter 8 Root Locus and Magnitude-phase Representation
PD Controller 1.Find the steady-state output due to unit-step r d. 2.Find the steady-state output due to unit-step input (with r d =0)
Control System Design Based on Frequency Response Analysis
Frequency Response Methods and Stability
Transient and steady state response (cont.)
Modern Control Theory (Digital Control)
I. Concepts and Tools Mathematics for Dynamic Systems Time Response
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Digital Control Systems Stability Analysis of Discrete Time Systems.
Modern Control Systems (MCS) Dr. Imtiaz Hussain Assistant Professor URL :
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Stability and the s-Plane Stability of an RC Circuit 1 st and 2 nd.
Automatic Control Theory-
Automatic Control System
The Root Locus Analysis Eng R. L. Nkumbwa MSc, MBA, BEng, REng. Copperbelt University.
ME375 Handouts - Spring 2002 MESB System Modeling and Analysis System Stability and Steady State Response.
1.1 Introduction Comparison between ACS and CCS. ACS CCS Process Actuator Measure Controller (correcting network) Structure: Process Actuator Measure.
Ch6 The Root Locus Method. Main content §The Root Locus Concept §The Root Locus Procedure §Generalized root locus or Parameter RL §Parameter design by.
ME375 Handouts - Spring 2002 Root Locus Method.
Chapter 5 Transient and Steady State Response “I will study and get ready and someday my chance will come” Abraham Lincoln.
Frequency Response OBJECTIVE - Bode and Nyquist plots for control analysis - Determination of transfer function - Gain and Phase margins - Stability in.
Modern Control Systems (MCS) Dr. Imtiaz Hussain Assistant Professor URL :
Lec 9. Root Locus Analysis I From last lecture, the locations of the closed loop poles have important implication in –Stability –Transient behavior –Steady.
Subsea Control and Communications Systems
Lecture 22: Frequency Response Analysis (Pt II) 1.Conclusion of Bode plot construction 2.Relative stability 3.System identification example ME 431, Lecture.
1 More General Transfer Function Models Chapter 6 Poles and Zeros: The dynamic behavior of a transfer function model can be characterized by the numerical.
Lecture 7 Poles and Zeros Stability. Transfer Function Models General Representation wh where z i are the zeros p i are the poles n ≥ m to have a physically.
Root Locus Method. Root Locus Method Root Locus Method.
The root locus technique 1.Obtain closed-loop TF and char eq d(s) = 0 2.Rearrange d(s) by grouping terms proportional to parameter of interest, and those.
System Time Response Characteristics
Chapter 5: Root Locus Nov , Two Conditions for Plotting Root Locus Given open-loop transfer function G k (s) Characteristic equation Magnitude.
Chapter 6 Root-Locus Analysis 6.1 Introduction - In some systems simple gain adjustment may move the closed- loop poles to desired locations. Then the.
Lecture 18: Root Locus Basics
Lecture 9 Feedback Control Systems President UniversityErwin SitompulFCS 9/1 Dr.-Ing. Erwin Sitompul President University
Root Locus Techniques (Sketching Method) Date: 25 th September 2008 Prepared by: Megat Syahirul Amin bin Megat Ali
Dr. Tamer Samy Gaafar Automatic Control Theory CSE 322 Lec. 11 Root Locus.
Exercise 1 (Root Locus) Sketch the root locus for the system shown in Figure K 1 (
Prof. Wahied Gharieb Ali Abdelaal
OBJECTIVE  Determination of root from the characteristic equation by using graphical solution.  Rules on sketching the root locus.  Analysis of closed-loop.
Root Locus. Closed-loop control system with a variable parameter K.
7.1 Root Locus (RL) Principle We introduce the RL through an example. Consider servo motor system shown bellow The closed loop transfer function is motor.
Dr. Tamer Samy Gaafar Lec. 2 Transfer Functions & Block Diagrams.
DESIGN OF CONTROLLERS WITH ARBITRARY POLE PLACEMENT AND STATE OBSERVERS Dr. C. Vivekanandan Professor and Vice Principal Dept. of EEE Jan. 9, 20161SNSCE.
سیستمهای کنترل خطی پاییز 1389 بسم ا... الرحمن الرحيم دکتر حسين بلندي - دکتر سید مجید اسما عیل زاده.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
Signals and Systems, 2/E by Simon Haykin and Barry Van Veen Copyright © 2003 John Wiley & Sons. Inc. All rights reserved. Figure 9.1 (p. 664) Two different.
Lecture 11/12 Analysis and design in the time domain using root locus North China Electric Power University Sun Hairong.
Chapter 6 The Stability of Linear Feedback System
 Sub : system response analysis using ‘MATLAB’. prepared by, chokshi abhi ( ) Guided by, Prof. Vishvjit.K.Thakar sir(Head of ECE dept.).
1 Chapter 9 Mapping Contours in the s-plane The Nyquist Criterion Relative Stability Gain Margin and Phase Margin PID Controllers in the Frequency Domain.
EE4262: Digital and Non-Linear Control
Automatic Control Theory CSE 322
ME375 Handouts - Spring 2002 MESB374 System Modeling and Analysis System Stability and Steady State Response.
Methods of Determining Stability
Control System Toolbox
Root-locus Technique for Control Design
Root-Locus Analysis (1)
دکتر حسين بلندي- دکتر سید مجید اسما عیل زاده
Figure Contributions of characteristic equation roots to closed-loop response.
ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya
ERT 210 DYNAMICS AND PROCESS CONTROL CHAPTER 11 – MATLAB TUTORIAL
Methods of Determining Stability
Presentation transcript:

디지털 제어 Sun Moon University 1 of 32 목 차 7. Stability Kyoung-Chul DIGITAL CONTROL

디지털 제어 Sun Moon University 2 of 32 강의진도 참고문헌 [1] 고경철, 이장명 저, “C 로 구현한 디지털 제어 시스템 ”, 홍릉과학서적, to be published [2] Ogata, Discrete-Time Control System, [3] Dorf, Modern Control Systems, Wesley, 1998 [1 주 ] 1 장 서론 [2 주 ] 2 장 Z 변환 [3 주 ] 3 장 역 Z 변환 [4 주 ] 4 장 이산 제어 시스템의 모델링 [5 주 ] 5 장 시간응답 [6 주 ] 6 장 정상 상태 오차 분석 [7 주 ] 7 장 안정도 해석

디지털 제어 Sun Moon University 3 of System stability mapping from s-plane to z-plane stability analysis of closed loop system in z-plane design approach (1) root locus method in z-plane (2) pulse transfer function design of continuous control system with root locus method method -> directly applied to digital control systems Negative half in s- plane Unit circle in z-plane

디지털 제어 Sun Moon University 4 of System stability locations of poles and zeros in discrete control system Stability condition of discrete system if For stability, Negative half in s- plane Unit circle in z-plane Mapping s-plane into z-plane by using

디지털 제어 Sun Moon University 5 of 32 stability analysis of a closed loop system characteristic equation (1) the closed loop poles must lie within the unit circle in the z plane (2) if a simple pole or a single pair of conjugate complex poles lie at z=1, then the system becomes critically stable (3) closed loop zeros do not affect the absolute stability Stability conditions: + - Unit circle in z-plane Close loop poles in z-plane 7.1 System stability

디지털 제어 Sun Moon University 6 of System stability relative stability - linear time invariant continuous time closed loop system > locations of poles in s plane >> oscillatory behavior near imaginary axis >> exponential decay near real axis relationship between two complex variables z and s location of poles and zeros in z planes location of poles and zeros in s planes by using therefore, relative stability of linear time invariant discrete time closed loop system - can be analyzed by investigating locations of poles in z plane - also locating the poles at desired location > varying by controller gains

디지털 제어 Sun Moon University 7 of System stability relative stability - linear time invariant continuous time closed loop system > locations of poles in s plane >> oscillatory behavior near imaginary axis >> exponential decay near real axis relationship between two complex variables z and s Constant damping coefficient loci vs constant natural frequency loci

디지털 제어 Sun Moon University 8 of Stability of discrete 2 nd order system Example : stability analysis of a closed loop system with a open loop of z transform of G(s)

디지털 제어 Sun Moon University 9 of Stability of discrete 2 nd order system Example : stability analysis of a closed loop system Determine the stability of the closed loop system when K=1 Closed-loop pulse transfer function Characteristic equation which becomes or Since the system is stable !, Unit circle in z-plane

디지털 제어 Sun Moon University 10 of 32 Example : stability analysis of a closed loop system System order n=2 System parameter a[0],a[1],a[2],b[0],b[1],b[2] Input type r(k) Controller gains Kp Controller u (k) Plant y(k+1) 7.2 Stability of discrete 2 nd order system + -

디지털 제어 Sun Moon University 11 of 32 Example : stability analysis of a closed loop system 7.2 Stability of discrete 2 nd order system + -

디지털 제어 Sun Moon University 12 of 32 Example : stability analysis of a closed loop system 7.2 Stability of discrete 2 nd order system double stability(double a1,double a2,double b1, double b2,double Kp) { double alpha,beta,a,b,magnitude; //characterist eq=z*z+alpha*z+beta=0 alpha=a1+Kp*b1; beta=a2+Kp*b2; // poles=a+bj and a-bj a=-alpha/2.0; b=sqrt(4.0*beta-alpha*alpha)/2.0; printf("z1=%f+%fj\n",a,b); printf("z2=%f-%fj\n",a,b); //stability condition magnitude=sqrt(a*a+b*b); return magnitude; }

디지털 제어 Sun Moon University 13 of 32 Example : stability analysis of a closed loop system with Kp=1 7.2 Stability of discrete 2 nd order system + - Stable!

디지털 제어 Sun Moon University 14 of 32 Example : stability analysis of a closed loop system with Kp=2 7.2 Stability of discrete 2 nd order system + - Relatively oscillatory, but still stable!

디지털 제어 Sun Moon University 15 of 32 Example : stability analysis of a closed loop system with Kp= Stability of discrete 2 nd order system + - Unstable!

디지털 제어 Sun Moon University 16 of Root locus method Characteristic Eq. Root locus: location trajectory of system poles by varying gain Kp For higher order(n>2) systems: - difficult to draw the location trajectory of system poles since needing numerical solution of characteristic equation Commercialized design packages for control system - MATLAB, CemTools

디지털 제어 Sun Moon University 17 of Root locus method Root locus by MATLAB + - m-file for MATLAB

디지털 제어 Sun Moon University 18 of Root locus method : m-file for MATLAB

디지털 제어 Sun Moon University 19 of Root locus method : m-file for MATLAB

디지털 제어 Sun Moon University 20 of Root locus method: MATLAB practice(1) Ex. 7.3: Root locus by MATLAB with Coding m-file for drawing root locus Find maximum Kp guaranteeing the stability

디지털 제어 Sun Moon University 21 of Root locus method: MATLAB practice(1) Ex. 7.4: Root locus by MATLAB with Coding m-file for drawing root locus Find maximum Kp guaranteeing the stability + -

디지털 제어 Sun Moon University 22 of Summary - 시스템 안정도는 제어 시스템 설계에 있어 고려해야 할 가장 요소이다. 이 장에서는 이산 제어 시스템의 안정도를 판별하기 위해, 극점의 위치를 Z 평면 상에서 검사하는 방법을 소개하였다. 그리고 단위 시간 응답 시뮬레이션을 통해 결과를 비교하였다. 3 차 이상의 고차 시스템의 안정도 해석을 위해, 컴퓨터 기반 제어 시스템 설계용 상용 S/W 의 하나인 MATLAB 을 이용하는 방법을 간략히 소개하였다. 또한 예제로서, 산업용 제어기에서 가장 넓게 응용되는 PID 제어기의 설계를 안정도 해석을 통해 연습하였다.

디지털 제어 Sun Moon University 23 of 32 HW#7 Solve Pr.7.1, 7.2, 7.3, 7.4, 7.5 Due: Next week this time

디지털 제어 Sun Moon University 24 of 32 MATLAB: “ MATrix LABoratory” - Tool box >> Control system Tool box. 130 functions: Step, rlocus, bode, Nyquist, others >> Signal Processing Tool box >> Robust Control Tool box >> System Identification Tool box >> System Optimization Tool box >> Neural Network Tool box >> Fuzzy Tool box Matrix calculation >> a=[1 2 3]; b=[3 4 5]; >> c=a’*b >> c=a*b’ >> c=a.*b >> x=[0.0: 0.2: 0.5]; >> y=3*(1-x).^2.*exp(-x.^2)) >> c=[a b] >> c=[a; b] >> t=[0:10] 부록 :MATLAB 특강 (1):

디지털 제어 Sun Moon University 25 of 32 Ex.10-1 %---- function calculation t=[0:0.1:1]; y=exp(-t).*sin(t); [t' y'] plot(t,y,'-w') ans = 부록 :MATLAB 특강 (2):

디지털 제어 Sun Moon University 26 of 32 Matrix or vector dimension - length(a) ; vector dimension - size(a): matrix dimension >> [m, n]=size(a) who >> who Your variables are: a b t ans c y whos >> whos NameSizeElementsBytesDensityComplex a 1 by FullNo ans 11 by Full No b 1 by Full No c 1 by Full No t 1 by Full No y 1 by Full No clear >> clear a >> who Your variables are: ans b c t y 부록 :MATLAB 특강 (2):

디지털 제어 Sun Moon University 27 of 32 load d.dat; x=d(:,1); y=d(:,2); w=d(:,3); k=1; for i=1:1:51, for j=1:1:51, X(i,j)=x(k)*10.; Y(i,j)=y(k)*10.; Z(i,j)=(X(i,j)*X(i,j)-Y(i,j)*Y(i,j))*sin(0.5*X(i,j))*cos(0.5*Y(i,j)); k=k+1; end mesh(X,Y,Z,'g') view(-37,30) Ex.10-2 부록 :MATLAB 특강 (3):

디지털 제어 Sun Moon University 28 of 32 %---- function calculation t0=0; tf=20; x0=[0 0.25]; [t, x]=ode45('mat141',t0,tf,x0); plot(t,x(:,1),'-w',t,x(:,2),'--w') %function name should be same as file name function xdot=mat141(t,x) xdot=zeros(2,1); xdot(1)=x(1).*(1-x(2).^2)-x(2); xdot(2)=x(1); Mat141.m Ex.10-3 Van der Pol 2nd order differential equation 부록 :MATLAB 특강 (4):

디지털 제어 Sun Moon University 29 of 32 plot(a,b) : 2-dimensional graph loglog(a,b): logarithmic graph semilogx(a, b), semilogy(a,b) : semi-logarithm graphs plot3(a, b, c) subplt(mnp) subplot(211) plot(t,x(:,1),'-w') subplot(212) plot(t,x(:,2),'--w') axis(‘square’) axis(‘equal’) input() printsys() Stiffness =1 Inerta =1 num/den = s^2 + 1 kp=input('Stiffness ='); J=input('Inerta ='); num = [0 0 kp]; den = [J 0 kp]; printsys(num, den) 부록 :MATLAB 특강 (5):

디지털 제어 Sun Moon University 30 of 32 grid text(x,y,’message’) title(‘Caption title’) xlabel(‘ x-axis ‘) ylabel(‘ y-axis ‘) v = [ -x x -y y]; hold hold off 부록 :MATLAB 특강 (6):

디지털 제어 Sun Moon University 31 of 32 conv() >> num =conv(num1, num2) >> den = conv(den1,den2) series() >> [num, den] = series(num1, den1, num2, den2) parallel() >> [num, den] = parallel(num1, den1, num2, den2) cloop() >> [num, den] = cloop(num1, den1,-1) feedback() >> [num, den] = feedback(num1, den1, num2, den2,-1) 부록 :MATLAB 특강 (7):

디지털 제어 Sun Moon University 32 of 32 [r,p,k]=residue(num,den) /* pp.42 [y,x,t]= step(num, den,t) [y,x,t]=impulse(num, den, t) [r,K]=rlocus(num,den,K) [mag, phase, w] = bode(num, den, w) [re, im, w] = nyquist(num, den, w); z=re+i*im; theta=angle(z); r=abs(z); polar(theta, r) 부록 :MATLAB 특강 (8):