1 / 20

Modern Control Theory (Digital Control)

Modern Control Theory (Digital Control). Lecture 1 Based on notes from Jesper Sandberg Thomsen. Course Overview. Analog and digital control systems MM 1 – introduction, discrete systems, sampling. MM 2 – discrete systems, specifications, frequency response methods.

Télécharger la présentation

Modern Control Theory (Digital Control)

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. Modern Control Theory(Digital Control) Lecture 1 Based on notes from Jesper Sandberg Thomsen

  2. Course Overview • Analog and digital control systems • MM 1 – introduction, discrete systems, sampling. • MM 2 – discrete systems, specifications, frequency response methods. • MM 3 – discrete equivalents, design by emulation. • MM 4 – root locus design. • MM 5 – root locus design.

  3. Outline • Introduction to digital control • Digitization (3.1) • Effect of sampling (3.2) • Sampling • Spectrum of a sampled signals (5.2) • Sampling theorem (11.1, 11.2) • Discrete Systems • Z-transform (4.2.1) • Transfer function (4.2.2) • Pulse response (4.2.4) • Stability (4.2.5)

  4. Digitization • Analog Control System For example, PID control continuous controller r(t) e(t) ctrl. filter D(s) u(t) plant G(s) y(t) + - sensor 1

  5. Digitization • Digital Control System • T is the sample time (s) • Sampled signal : x(kT) = x(k) digital controller bit → voltage control: difference equations D/A and hold r(t) r(kT) e(kT) u(kT) u(t) y(t) plant G(s) T + - clock y(kT) sensor 1 A/D T voltage → bit

  6. Digitization • Continuous control vs. digital control • Basically, we want to simulate the cont. filter D(s) • D(s) contains differential equations (time domain) – must be translated into difference equations. • Derivatives are approximated (Euler’s method)

  7. Digitization Example (3.1) Using Euler’s method, find the difference equations. Differential equation Using Euler’s method

  8. Digitization Significance of sampling time T Example controller D(s) and plant G(s) • Compare – investigate using Matlab • 1) Closed loop step response with continuous controller. • 2) Closed loop step response with discrete controller. • Sample rate = 20 Hz • 3) Closed loop step response with discrete controller. • Sample rate = 40 Hz

  9. Digitization Matlab - continuous controller numD = 70*[1 2]; denD = [1 10]; numG = 1; denG = [1 1 0]; sysOL = tf(numD,denD) * tf(numG,denG); sysCL = feedback(sysOL,1); step(sysCL); Controller D(s) and plant G(s) Matlab - discrete controller numD = 70*[1 2]; denD = [1 10]; sysDd = c2d(tf(numD,denD),T); numG = 1; denG = [1 1 0]; sysOL = sysDd * tf(numG,denG); sysCL = feedback(sysOL,1); step(sysCL);

  10. Digitization • Notice, high sample frequency (small sample time T ) • gives a good approximation to the continuous controller

  11. Effect of sampling D/A in output from controller The single most important impact of implementing a control digitally is the delay associated with the hold.

  12. Effect of sampling • Analysis • Approximately 1/2 sample time delay • Can be approx. by Padè (and cont. analysis as usual) r(t) e(t) ctrl. filter D(s) u(t) Padé P(s) y(t) plant G(s) + - sensor 1

  13. Effect of sampling • Example of phase lag by sampling • Example from before with sample rate = 10 Hz • Notice PM reduction

  14. Spectrum of a Sampled Signal • Spectrum • Consider a cont. signal r(t) • with sampled signal r*(t) • Laplace transform R*(s) can be calculated r(t) r*(t) T

  15. Spectrum of a Sampled Signal

  16. Spectrum of a Sampled Signal • High frequency signal and low frequency signal – same digital representation.

  17. Spectrum of a Sampled Signal • Removing (unnecessary) high frequencies – anti-aliasing filter digital controller control: difference equations D/A and hold r(t) r(kT) e(kT) u(kT) u(t) y(t) plant G(s) T + - clock anti-aliasing filter y(kT) sensor 1 A/D T

  18. Spectrum of a Sampled Signal

  19. Sampling Theorem • Nyquist sampling theorem • One can recover a signal from its samples if the sampling frequency fs=1/T (ws=2p /T) is at least twice the highest frequency in the signal, i.e. • ws > 2 wb (closed loop band-width) • In practice, we need • 20 wb < ws < 40 wb

  20. Discrete Systems • Discrete Systems • Z-transform (4.2.1) • Transfer function (4.2.2) • Pulse response (4.2.4) • Stability (4.2.5)

More Related