Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Steady state error of closed loop system

01/12/2021 Client: muhammad11 Deadline: 2 Day

Lab #2: Steady-State Error

Name

Student No

Time Slot

Signature

1:

Monday

Tuesday

Wednesday

Thursday

13:00

Friday

2:

We, by signing this page, declare that the work presented in this report is all work done by us, unless appropriate reference has been made to the work of others. We acknowledge that should this not be the case the report will receive zero marks and due action may be taken.

Lab Number: 2

Demonstrator

Submitted on

Mark Received

Aim

One of the objectives of most control systems is that the system output response follows a specific reference signal accurately in the steady state. The difference between the output and the reference in the steady state is defined as the steady-state error. In the real world, because of friction and other imperfections and the natural composition of the system, the steady state of the output response seldom agrees exactly with the reference. Therefore, steady-state errors in control systems are almost unavoidable. In a design problem, one of the objectives is to keep the steady-state error to a minimum, or below a certain tolerable value, and at the same time the transient response must satisfy a certain set of specifications, such as those discussed in laboratory 1. The accuracy requirement for individual control systems depends to a great extent on the control system objectives of the particular system. For instance, the final position accuracy of an elevator would be far less stringent than the pointing accuracy for the control of a Large Space Telescope whose accuracy of position control is often measured in micro radians.

Experiment 1

1.1. Requirements

In Experiment 1, Matlab was used to find different characteristics of the systems shown below in figure1.1.1 and figure1.1.2.

( Figure1. 1. 2 ) ( Figure1.1 .1 )

For these systems the system type, Kpos, Kv and Ks was calculated using MATLAB and the results were discussed. The steady state error for inputs of 30u(t), 30tu(t) and 30t^2u(t) were also calculated and discussed.

1.2. Introduction

Before analyzing the steady state error of a system, system error needs to be explained. The ideal system would display the least amount of error that quickly reduces to zero. Using Figure1.2.1 below this can be clarified.

Figure1.2.1 : Closed loop System

Using the Figure 1.2.1 where the reference signal, r(t), is the signal that the output c(t) has to track. For a system with unity feedback, H(s) = 1, the input it a reference signal and therefore the error is simply e(t) = r(t) – c(t).

http://controls.ame.nd.edu/ame301/hw7/specifications.jpg

Figure1.2.2 : step response plot example with steady state error.

In the Figure above the steady state error of the system can easily be seen. If the system were to be ideal the error would be zero and the settling time would be as close to zero as possible. The steady state error can be defined as:

When H(s) is not unity, the actuating signal may or may not be the error, depending on the form of e(t) = reference signal – c(t) and the purpose of H(s).

Clearly, depends on the characteristics of G(s) or more specifically on the number of poles that G(s) has at s=0. This number is known as the type of the control system, or simply the system type. Now let us investigate the effects of the types of inputs on the steady-state error. We will consider only the Step, Ramp and Parabolic inputs.

Steady-State Error of a System with a Step Input is when the input, r(t) to the control system is a step function with a magnitude R, R(s) = R/s, the steady state error of a system can be calculated using the following formula.

Kpos = lims->0 G(s)

estep() =
Steady-State Error of a System with a Step Input is when the input, r(t) to the control system is a step function with a magnitude R, R(s) =, the steady state error of a system can be calculated using the following formula.

Kv = lims->0 sG(s)

eramp() =
Steady-State Error of a System with a Step Input is when the input, r(t) to the control system is a step function with a magnitude R, R(s) = , the steady state error of a system can be calculated using the following formula.

Ka= lims->0 s2G(s)

eparabola() =
A system’s behaviour steady state error for all three of the standard input’s applied will place it into a system type. This system type can be used when applying the system to a specific application. A type 0 system will only be able to handle a step input as it has a constant error in this situation. For a ramp and parabolic input the steady state error is infinite. A type 1 system has zero error for a step input and a constant error for ramp input. A parabolic input will result in an infinite steady state error. Type 3 systems maintain zero error for step and ramp inputs and a constant error for parabolic inputs.

The figure1.2.3 below shows how different systems are classed into their respective system type given different system characteristics.

Figure1.2.3

The construction of control systems for individual applications is a very important aspect in today’s society. The accuracy of such systems is also very important. As such understanding steady state error and knowing how to apply systems and the inputs that could be encountered is important.

1.3. Solution Description

For Experiment (1), the two systems given in the lab manual, which are shown below, were input into a Matlab script using the ‘tf’ inbuilt transfer function.

Where the System Functions were calculated to be able to be put into the MATLAB code function ‘tf’ is shown below.

The Transfer functions T(s) were then calculated using MATLAB and the simplified System transfer Functions are shown below in Figure 1.3.1

Figure1.3.1

1.4. Test Results

Table 1 : Table of results for experiment 1.

1.5. Discussion& Conclusions

Q1 : Given the values of Kpos , Kv , or Ka, what do you know about each system?

As seen from Table1, the two systems analysed in the experiment were both system type 0.

This was determined because both systems displayed a real value as an error for a step input and an infinite value error for a ramp and parabolic input. The way system types are determined was shown in Figure1.1.3.

Q2 : What does the sign (positive / negative) of the steady-state error tell you ?

From the results it is possible to see that system (a) had a significantly larger absolute steady state error value than that of system (b).System (b) showed much greater accuracy with less absolute steady state error than that of system (a). This showing that the positive error value of system (b) created a more stable output of the system.

Before the error formulas are introduced and calculated, it is possible to judge the performance of a system by its constant (K) values. For a perfect system with no steady state error, ideally, Kp would equal zero, Kv one, and Ka one.

However this sort of system is very hard to achieve. If Kv or Ka are equal to zero then the steady state error is infinite as seen in the results table. If Kposequalled to negative one, the steady state error would become infinity. As seen in the results table the Kposis very close to negative one therefore that is the reason that the steady state error is of such a large value.

The sign of the steady state error indicates whether the output is greater than the input or whether the input is greater than the output. As seen in the results table, system (a) displays a negative error value, therefore it is shown that the output of the system is greater than the input, indicating an amplification of some degree. A positive error shown in system (b) indicates a smaller output, compared to the input.

1.6. References

· Figure1.2.2: http://fea.kpi.ua/books/catalog/catalog1/0002/APPNO005.HTM

· Laboratory manual No.1 – System response in time domain Designed in line with textbook by N. Nise: Control systems Engineering, prescribed for the course

· Norman S.Nise – Control Systems Engineering (sixth edition)

1.7. Appendix:

% Lab 2 Grant Gatland and Wayne Els

%% Experiment 1 a

clear all;

clc;

close all;

numg = 10*poly([-7]); % setting the numerator of G(s)

deng = poly([0 -4 -8 -12]); % Setting the denominator of G(s)

G = tf(numg,deng); % Generating the transfer function of G(s)

numh = poly([-10]); % setting the numerator of H(s)

denh = poly([-5 -15 -20]); % setting the numerator of H(s)

H = tf(numh,denh); % setting the numerator of H(s)

Ge = feedback(G,(H-1)); %Checking Stability

disp('Checking Stability:')

Ge = tf(Ge) % creating transfer function Ge

T = feedback(Ge,1); %Finding the feedback

disp('Step Input of 30u(t)')

Kp = dcgain(Ge) % Calculating Kp with Step Input of 30u(t)

ess = 30/(1+Kp); % steady state error with Step Input of 30u(t)

Zeros = zero(Ge); % finding the roots of the numerator

Poles = pole(Ge); % finding the roots of the denominator

disp('Ramp Input of 30tu(t)') % display Ramp Input of 30tu(t)

numsGe = 10*poly([Zeros]); % Numerator of Ge

numsGe = conv([1 0],numsGe);

densGe = poly([Poles]); % Denominator

sG = tf(numsGe,densGe); % Creating the transfer function

sG = minreal(sG); % pole cancelation of the poles outside the range

Kv = dcgain(sG) % Dc gain of sG

ess = 30/Kv % steady state error calculation with 30t(u(t)) input

disp('Parabolic Input of 30t^2(t)')

nums2Ge = 10*poly([Zeros]); % Numerator of Ge

nums2Ge = conv([1 0 0],numsGe);

dens2Ge = poly([Poles]); % Denominator

s2G = tf(nums2Ge,dens2Ge); % Creating the transfer function

s2G = minreal(s2G); % pole cancelation of the poles outside the range

Ka = dcgain(s2G) % Dc gain of sG

ess = 30/Ka % steady state error calculation with 30t(u(t)) input

%% Experiment 1b

clear all;

clc;

close all;

numG1 = poly([-7]); % Numerator of Ge

denG1 = poly([0 -4 -8 -12]); % Denominator of Ge

G1 = tf(numG1,denG1); % Creating the transfer function G1

numG2 = 5*poly([-9 -13]); % Numerator of Ge

denG2 = poly([-10 -32 -64]); % Denominator of Ge

G2 = tf(numG2,denG2); % Creating the transfer function

G2 = feedback(G2,10); %Checking Stability

Ge1 = G1*G2 %Multiplying the transfer function by the feedback

numH = 1; % Numerator of h

denH = poly([-3]); % Denominator of h

H = tf(numH,denH); % Creating the transfer function H

Ge = feedback(Ge1,H) %Checking Stability

Zeros = zero(Ge) % finding the roots of the numerator

Poles = pole(Ge) % finding the roots of the denominator

disp('Step input of 30u(t)'); %display step Input of 30tu(t)

Kp = dcgain(Ge) %Dc gain of function Ge

ess = 30/(1+Kp) %Steady state error formula

disp('Ramp input of 30tu(t)'); %display ramp input 30tu(t)

numsGe = 5*poly([Zeros]); %Numerator of Ge

numsGe = conv([1 0],numsGe); %New Numerator of Ge

densGe = poly([Poles]); %Denominator of Ge

sG = tf(numsGe,densGe); %Transfer function of numerator and denominator Ge

sG = minreal(sG); % pole cancelation of the poles outside the range

Kv = dcgain(sG) %Dc gain of function Ge

ess = 30/Kv %Steady state error formula for Kv

disp('Parabolic Input of 30t^2(t)') %Displays Parabolic input of 30t^2(t)

nums2Ge = 5*poly([Zeros]); %Numerator of Ge2

nums2Ge = conv([1 0 0],numsGe); %New Numerator of Ge2

dens2Ge = poly([Poles]); %Denominator of Ge2

s2G = tf(nums2Ge,dens2Ge); %Transfer function of numerator and denominator Ge

s2G = minreal(s2G); % pole cancelation of the poles outside the range

Ka = dcgain(s2G) %Dc gain of function Ge

ess = 30/Ka %Steady state error formula for Ka

Experiment 2

2.1. Requirements of Experiment 2

Experiment 2A was put forward with a representation of a closed-loop system of the dc motor servomechanism with a given Gt value (0) and the PID controller (shown in figure 2.4) to be in proportion only.

For part a) Kp and Gt values were given and Matlab was required to find the equivalent forward transfer functions of a unity feedback system, aswell as the system type, the Kpos, kv, ka values and the steady state error for the inputs u(t), tu(t) and t2u(t),

Part b) required the implementation of the ESVL program to give an indication of the effect of non-ideal system behavior and steady state error. For the given program to run, some parameters were given. Kp=2, Ki=0, Kd=0, Gt=0, Gp=2 and a 1V constant input signal.

Part c) required the input signal to be bumped up to 2V and the effect of the steady state error must be observed.

Part c) required the input signal to be returned to 1V and the Kp to be increased, and the effect on the steady state error must again be observed.

Experiment 2B was followed the same method as 2A, however the Gp value was changed to 1. The process from 2A must be repeated and the results must be recorded.

2.2. Introduction (Background)

Block diagram: When doing anything with programing, a very easy method of understanding what you are doing is to draw block diagrams. They are just a simple way of writing step by step the process needed to get a desired output. A perfect example of a simple block diagram is shown below in figure 2.1. It shows that there is an input given into a system then it is processed and as a result an output is given.

Figure 2.1: Basic Block Diagram

ESVL: The abbreviation ESVL has been used in this report. ESVL stands for ELECTROMECHANICAL SERVOMECHANISM VIRTUAL LABORATORY and is a program that is used on a computer to simulate the operation of a DC motor servomechanism within a feedback control system. An image of what the ESVL represents is shown below in figure 2.2; which is the physical servomechanism. A Block diagram is also given (Figure 2.3) to show the internal programing of the system.

Figure 2.2: Servomechanism Figure 2.3: Block diagram of open loopservomechanism

As seen in figure 2.3 the power amp, motor and gearbox are represented by a first order system. Km is the gain of the motor which includes the gain from the amplifier and the gearbox. Here Km and τ are 19.513 and 0.1 respectively. kωand kθ are 0.23 and 0.796 respectively.

The servomechanism described above is incorporated in a feedback control system which lets the system control the motor shaft angle. Figure 2.4 below shows the ESVL program display. The block labelled PID is the control controller.

Figure 2.4: ESVL Display

The term feedback control system mentioned above means that the output value is controlled by feeding back the controlled value and using it to alter or manipulate the input value so that the output value is the same or very similar to the desired output.

2.3. Solution Description

Simplifying the given box diagram below of a closed loop system with proportion control and the given values: Km= 19.513

Kθ=0.796

τ=0.1

As it is seen above, this is the method used to simplify the servo mechanism initial response. Just by following some simply mathematics, the equation looks much simpler and easier to understand for people who do not know how to use block diagrams.

Pulled from the appendix:

“Kp=2; -Setting variable Kp to 2

Km=19.513; -Setting variable Km to 19.513

Ko=0.796; -Setting variable Kp to 0.796

t=0.1; -Setting variable Kp to 0.1

var = 10*Kp*Km*Ko; -Setting variable var to multiply 10*Kp*Km*Ko

num = var; -Setting variable num to var

den = [1,10,var]; -Setting variable Kp to 1 10 and variable var

G = tf(num,den) -Transfer function num divided by den “

Some important steps in proceeding with task 2 were to firstly set the values needed in the formula to a variable. This would make it much easier to make a final formula or else the final equation would be very long which makes it more prone to mistakes.

Also some variables were set in place of the full formula; again to avoid mistakes in the code. It is seen that there are variables for num and den, which are short for numerator and denominator.

Also in the last line of code shown above are the letters tf followed by some brackets. This creates a transfer function model of whatever values are placed in the brackets directly after.

2.4. Test Results

Servomechanism with Gp = 2

Servomechanism with Gp=1

Results where Kp=2, and an input of 1V applied :

Transfer function Geq(s)

System type

0

1

Kpos

1

Inf

Kv

0

31.0647

Ka

0

0

ess (r = u(t))

0.5V

0

ess (r = tu(t))

Inf

0.0322V

ess (r = ½ t2u(t))

Inf

Inf

Results where Kp = 2, and input increased to 2V :

ess (r = u(t))

1V

0.5V – No change

Results where an input of 1V applied , and Kp is increased to _____V :

ess (r = Ku(t))

0.5V – No change

0V – No change

Table 2 : Table of results for experiment 2.

The table above shows all the values that were given from Matlab and the ESVL system.

C:\Users\Wayne\Documents\University\3304ENG-Control Systems\Lab2\Pics\1V.jpg

Figure 2.5: ESVL at 1V input

As seen in the above image, the bottom right corner shows the voltages from each voltage reader from the virtual mechanism shown above and labelled on the diagram. Number [5] shows the input voltage which sits around 1.014V which is just above the input value of 1,and number [4] shows the steady state error which is sitting at 0.485V which is consistent with the Matlab result at 0.5V. Therefore these values agree with the results in table 2 above.

C:\Users\Wayne\Documents\University\3304ENG-Control Systems\Lab2\Pics\2V.jpg

Figure 2.6: ESVL at 2V input

This is the same format as the image above, the bottom right corner shows the voltages from each voltage reader from the virtual mechanism shown above and labelled on the diagram. Number [5] shows the input voltage which sits at 2.017V which is close to the input value of 2V, and number [4] shows the steady state error which is sitting at 1.019V which is again consistent with the Matlab result of 1V.

2.5. Discussion& Conclusions

Experiment 2A

Q1 : Given the values of Kpos , Kv , or Ka, what do you know about the system?

If the Kpos, Kv or Ka values were given we would know the system type, for example if the Kpos result was a constant value and not zero, then the system type would be 0. If the Kpos value was infinite and the Kv value was a constant then this would be a type 1 system. If none of the criteria above were correct; the system would be a type 2. This is clearly shown in the table below.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Exam Attempter
Quick N Quality
Top Class Engineers
Top Essay Tutor
Quick Finance Master
Supreme Essay Writer
Writer Writer Name Offer Chat
Exam Attempter

ONLINE

Exam Attempter

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$32 Chat With Writer
Quick N Quality

ONLINE

Quick N Quality

I am a PhD writer with 10 years of experience. I will be delivering high-quality, plagiarism-free work to you in the minimum amount of time. Waiting for your message.

$38 Chat With Writer
Top Class Engineers

ONLINE

Top Class Engineers

This project is my strength and I can fulfill your requirements properly within your given deadline. I always give plagiarism-free work to my clients at very competitive prices.

$24 Chat With Writer
Top Essay Tutor

ONLINE

Top Essay Tutor

This project is my strength and I can fulfill your requirements properly within your given deadline. I always give plagiarism-free work to my clients at very competitive prices.

$33 Chat With Writer
Quick Finance Master

ONLINE

Quick Finance Master

I have read your project details and I can provide you QUALITY WORK within your given timeline and budget.

$18 Chat With Writer
Supreme Essay Writer

ONLINE

Supreme Essay Writer

I am an elite class writer with more than 6 years of experience as an academic writer. I will provide you the 100 percent original and plagiarism-free content.

$21 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

David chosen as king - How children develop fourth edition - Shooting the longbow relaxed method - Experiment 1 basic laboratory techniques lab report - 200 word discussion please follow instructions and make sure its authentic work due tomorrow at 4pm - Pinto station wagon fuel tank - Tis the season to be jolly mp3 - Kaplan university hagerstown md - Writing an affidavit for a friend - Chemistry midterm test answers - Spaghetti marshmallow tower worksheet - New innovations in mathematics - Jiggle a mesa cara - Astm grain size equation - Walt disney company competitive advantage - Quantitative Methods - What is frontalism in egyptian art - Social Responsibility - Outcome criteria definition - Configure chap authentication on s0 0 0 - Cultural diversity in health and illness spector pdf - Computer science - Solve - Write your name in graffiti letters - My cousin vinny law questions - Accounting lesson plans grade 11 - How does a franchise work ppt - Which carat diamond is pure - What are the advantages and the disadvantages of a merger? - What are narrative conventions - Windshield survey nursing examples - Current event - political science (has to be within the last 30 days) - Target costing case study tata nano - 7665 lantana rd crossville tn - Nouns ending in i - Simquick process simulation with excel pdf - Brunel university term dates - Barco projection systems case answers - Psychology questions - Human Resources Management project - Examples of how value chain helps companies become more competitive - ETHICAL DILEMMA PROJECT: TRAINING PRESENTATION AND PEER FEEDBACK - 1350 werombi road werombi - Tesco vision values and business strategies - Harvard in text referencing adelaide uni - Streaming video systems can be classified into three categories - Balancing chemical equations worksheet and answers - Alkalinity of water procedure - Research_paper - Taxation of individuals and business entities solutions - Joyce mayne warehouse kawana - Think like a nurse login - Operation anaconda analytical essay - 10 planks of communism - Us and them questions and answers - BU204 Discussion Unit 4 - The basic practice of statistics 8th edition slader - Process view software architecture - Implement a hexadecimal calculator for iOS. - Cell defense worksheet answers - Jsp 822 part 5 - LDR531 Week 3 Learning Team Communication Challenges Conversation - Integrating teams at hernandez & associates - Ethos pathos logos kairos - Back At it ... In depth Discussion questions and responses - HW - Notice of acquisition state revenue office - Upside down a math - Capstone Assignment - 5 Pages - $35 - Human Resources & Project Management Expert Needed. APA Experts ONLY! - Discussion - Correction to my previous email - Twin ground spark plugs - Case Study 3 & 4 - Accounting cycle problems and solutions - Forensic toxicology worksheet answers - Week 4 Discussion - Difference that emerges from our male and female bodies. - Animal cell model flat - Factors to consider when bidding for a contract - Hannaford seed grader sale - Chapter 7 answer questions #3 and #27 - Electron dot diagram of iodine - Blank training matrix template - Interpreting Test Results - American red cross strategic plan 2016 - Management assertions definition - Application of systems theory in social work - White fantasy black fact - Freak the mighty drawings - Discussion Questions - Directors assistant funeral software - Social media makes us lonely essay - Rheem lazer boiling water unit manual - Hardware implementation of booth algorithm - Nursing - Fired over facebook case study - As 4786 timber flooring - Bi assignment 9 - Where do the witches plan to meet macbeth - Mapping your competitive position harvard business review