11 - Compensation in frequency domain.

Extra material:
Graphical User Interfaces illustrating compensation in frequency domain (matlab)

designk.m Download designk.m varierande förstärkning K

designlagnew.m Download designlagnew.m fasretarderande länk = lag-design: K(s+a)/(s+a/M)

designleadnew.m Download designleadnew.m fasavancerande länk = lead-design: K_k (s+b)/(s+bN)

designleadlagnew.m Download designleadlagnew.m (båda samtidigt, med M=infty):  K(s+a)/s * (s+b)/(s+bN)

 

The code lets you experiment with compensation in the frequency domain, and helps you get familiar with the different diagrams.

Download the code to your computer, start matlab and run e.g. designlagnew.m to get at GUI with 3 sliders that change the K, a, and M parameters in a lag design, see below. The blue curve corresponds to the original system G(s) (on the lecture called G0(s)) and the red curve corresponds to the compensated system C(s)G(s) (on the lecture called GK(s)G0(s)).

image.png

Bode and Nyquist curves are for open loop systems (blue = original G_0(s), red = compensated G_K(s)G_0(s)

The lower left figure shows the poles of the closed loop systems (same colors)

The lower right figure shows simulations of the closed loop systems (step response at t=0, followed by input load disturbance at t=20, followed by output measurement noise starting at t=40)

 

Lecture video:

Part 1. Download Part 1.Play media comment.

Part 2. Download Part 2.Play media comment.

Lecture notes: Chapter 11 in the lecture notes  (Swe Download Swe) / (Eng Download Eng).

 

 

------------------------------

Repitition Lec8-10:

Kontrollera dina kunskaper om tillstånds- och utsignalåterkoppling med denna sant/falskt-uppgift Download denna sant/falskt-uppgift. Facit Download Facit.  (Note: PBH-testet som nämns i lösningen ingår ej i grundkursen, men nämns i Reglerteori)