Preview

Control Theory-Lab

Satisfactory Essays
Open Document
Open Document
606 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Control Theory-Lab
CASIAN INSTITUTE OF TECHNOLOGY

CONTROL THEORY

Name: Dilesha Herath

ID.No. st20000297

Date: 23/04/2013

Exercise
Consider the following plant.

G( s) 
(a) Determine the stability of this plant.

1 ( s  1) 2

>> numerator = [0 0 1]; denominator = [1 -2 1]; >> [z p k] = tf2zp(numerator,denominator) z = Empty matrix: 0-by-1

p = 1 1

k = 1 >> x1=1; x2=-2; x3=1; x4=0; >> alpha1=(x1/x2); y1=(x3-alpha1*x4); alpha2=(x2/y1); >> if alpha1>0 else if alpha2>0 disp('the system is stable') else disp('the system is not stable') alpha1, alpha2 end 1

ASIAN INSTITUTE OF TECHNOLOGY

CONTROL THEORY

end the system is not stable alpha1 = -0.5000

alpha2 = -2

(b) Assume that PID controller, K (s)  K P  K I / s  K D s , is selected to compensate the requirement of system stability and zero steady state error to unit step input, use the Routh-Hurwitz test to show that a cascade of PID controller with the original plant and unity negative feedback configuration can meet the requirements. Remember that the system must be stabilized first before the consideration of steady state error.

>> Kd=1; Kp=1; Kc=1; >> alpha1=(x1/x2); y1=(x3-alpha1*x4); y2=0; alpha2=(x2/y1); z1=(x4-alpha2*y2); alpha3=y1/z1; >> if alpha1> Kd=25; Kp=25; Kc=25; >> alpha1=(x1/x2); y1=(x3-alpha1*x4); y2=0; alpha2=(x2/y1); z1=(x4-alpha2*y2); alpha3=y1/z1; >> if alpha1>numerator = [Kd Kp Ki]; denominator = [1 (Kd-2) (Kp+1) Ki]; >> t=[0:0.1:10]; y=step(numerator, denominator, t); plot(t,y)

>> roots(num) ans = -0.5000 + 0.8660i -0.5000 - 0.8660i The system is unstable. >> Kd=25; Kp=25; Kc=25; >>numerator = [Kd Kp Ki]; denominator = [1 (Kd-2) (Kp+1) Ki]; 4

ASIAN INSTITUTE OF TECHNOLOGY

CONTROL THEORY

>> t=[0:0.1:10]; y=step(numerator, denominator, t); plot(t,y)

>> roots(num) ans = -0.5000 + 0.8660i -0.5000 - 0.8660i

The system is perfect but the output is not perfect.
>> Kd=100; Kp=50; Kc=50; >>numerator = [Kd Kp Ki]; denominator = [1 (Kd-2) (Kp+1) Ki]; >>

You May Also Find These Documents Helpful

  • Satisfactory Essays

    6.02 Algebra 2

    • 253 Words
    • 2 Pages

    Graph the function f(x) = x4 – 7x3 + 12x2 + 4x – 12 using graphing technology and describe the end behavior. (1 point)…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    03.03 Linear Functions

    • 277 Words
    • 2 Pages

    You may graph your equation using graphic technology that can be found in the Course Information area.…

    • 277 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The pivot element is not zero. When the pivot element is zero, the elimination step leads to division by zero. ii. The pivot element is not close to zero. If the size (the magnitude) of the pivot element is small compared to the other elements, then in the course of our computation, rounding errors will result, which affect the accuracy of our solution. This situation can be rectified by introducing the pivoting strategy strategy.…

    • 3404 Words
    • 14 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Hca Ratio Analysis

    • 546 Words
    • 3 Pages

    * Place this information in the table. You will do the same with the rest of the ratios. Take the result of your calculations and place in the grid, as in the example.…

    • 546 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Study Guide

    • 356 Words
    • 12 Pages

    PY 208 Equation Sheet F el = 1 q1 q2 ˆ 4π 0 r2 r E · dA = E ring = q encl 0 qz 1 4π 0 (z 2 +R2 ) 3/2 F = Eq E point = 1 q ˆ 4π 0 r2 r E dip, axis = ∆V = − q = CV C= C = κC I= P = IV 1 C eq, ser τ = RC I= t ρ= q V µ0 N I…

    • 356 Words
    • 12 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Chapter Essay

    • 18415 Words
    • 74 Pages

    Solving Equations by Adding or Subtracting Solving Equations by Multiplying or Dividing Model Two-Step Equations Solving Two-Step Equations…

    • 18415 Words
    • 74 Pages
    Satisfactory Essays
  • Good Essays

    Problems1

    • 605 Words
    • 2 Pages

    (that is, a1 = an−1 = 0). Modify the file splinemat.m so that it computes the matrix relevant…

    • 605 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The generic four-stage control cycle helps in monitoring and controlling projects by operating in a continuous cycle and can be represented as a wheel. The elements are setting a goal which the project goal setting goes beyond overall scope development to include setting the project baseline plan. Measuring progress is when effective control systems require accurate project measurements mechanisms. Comparing actual with planned performance which is when we have some sense of the original baseline (plan) and a method for accurately measuring progress, the next step is to compare the two pieces of information. Then there is taking action which is once we detect significant deviations from the project plan, it becomes necessary to engage in some form of corrective action to minimize or remove the deviation.…

    • 183 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    xs (t). fs = 2Hz , repeat 4. fs = 0.5Hz , repeat 4. fs = 1.5Hz , repeat 4. fs = 2/3Hz , repeat 4.…

    • 333 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    17) Compare the alternative systems from Problem and Exercise 16 using the weighted approach demonstrated in Figure 7-19. Which system would you recommend? Why? Was the approach taken in this and Problem and Exercise 16 useful even for this relatively small system? Why or why…

    • 334 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Purpose: An introduction to the qualitative aspects of chemical equilibrium. Starting with a reaction at equilibrium, one will change the concentration of various ions present in the equilibrium, and record the states of the changing equilibrium through observation.…

    • 1484 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Paper Helicopter

    • 1136 Words
    • 5 Pages

    Note: The stability is going to be measured form 1 to 5, where 1 is perfectly stable and 5 not stable and added to the next criteria: (it isn´t relevant if it reached the bottom in the released position). This criteria is based on what you can observe during the experiment, it has to be averaged.…

    • 1136 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Record the “stress” involved, state which ion in the ORIGINAL EQUILIBRIUM changed concentration, and whether the change was an increase or a decrease.…

    • 1867 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Viva El Toro

    • 416 Words
    • 3 Pages

    HW 3.8 (Use the RREF function to solve all systems. Write the RREF input and output matrices): 3.8 Pages 214-217: 20, 24, 26, 32, 36, 38, 44, 48, 52, 55, 58, 60 HW 3RVW1 (Use the RREF function to solve 1214, and 27-28. Write the RREF input and output matrices. Solve #10 using elimination and #11 using substitution): 3 Chapter Test Page 227: 36, 10-13, 16-21, 25-28, 32 Practice chapter review 3 worksheet…

    • 416 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PLEASE PRINT AND BRING A COPY OF THIS COURSE SYLLABUS FOR REVIEW AND TO CLARIFY THE…

    • 2579 Words
    • 11 Pages
    Satisfactory Essays