Step response of the position servo system

Assignment Help MATLAB Programming
Reference no: EM13865701

Use MATLAB to plot the step response of the position servo system for values of the gain K=0.5, 1.0, 2.0 below is possible data code

Code 2 for Project:

EDU>> K1=[0.5,1.0,2.0];

EDU>> t=0:0.01:150;

EDU>>  fori=1:1:length(K1)K=K1(i);

title Text=mymintf('K=%1.4f',K);

wn=sqrt(0.2*K);

num=[wn^2];

den=[1,0.104,wn^2];

zeta=0.104/2/wn;

sys=tf(num,den);

y=step(sys,t);

% Finding maximum overshoot

if zeta<1 Mp=(max(y)-1)*100;

overshoot Text=mymintf('Max overshoot=%3.2f%',Mp);

else overshoot Text=mymintf(' No overshoot');

end

% Finding rise time

idx_01=max(find(y<0.1));

idx_09=min(find(y>0.9));

t_r=t(idx_09)-t(idx_01);

risetime Text=mymintf('Rise time=%3.2f sec',t_r);

% Plotting

subplot(t,y);

grid on;

title(titleText);

text(0.5,0.3,overshootText);

text(0.5,0.1,risetimeText);

end

Reference no: EM13865701

Questions Cloud

When compared to a company like alcoa : Comment on the lawsuits described above and whistle-blowing with respect to Amgen values statement. What message do you get about what drives Amgen operations when compared to a company like Alcoa and its values statement discussed in the chapter?
Systolic blood pressure and cholesterol : Determine whether there is a statistically significant difference in systolic blood pressure between smokers and non-smokers and summarise graphically the total blood cholesterol data for males and for females.
Define a new program or an existing program? : Is this a new program or an existing program?
One-hot state assignment : Question 1.What is one-hot state assignment and what advantages does it have?
Step response of the position servo system : Use MATLAB to plot the step response of the position servo system for values of the gain K=0.5, 1.0, 2.0 below is possible data code
Explain the culture of law enforcement : Compose a 1-2 page Essay discussing how one's disposition and manner contributes to building a rapport with colleagues. Be sure to address the prompts below: Describe the culture of law enforcement. How does effective, appropriate communication and..
Conducting an organizational assessment : Conducting an organizational assessment
Tory of the sadhu from your perspective? : McCoy concludes that the lesson of the sadhu is that in a complex corporate situation the individual requires and deserves the support of the group When people cannot find such support in their organizations, they don’t know how to act What support i..
The method of sections : 1. Determine, by THE METHOD OF SECTIONS, the forces in members AC, BC and BD. 2. Determine, by THE METHOD OF JOINTS, the forces in members FH, HI, GI, and GH.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Script that will graphically show the range of frequency

the script that will graphically show the range of frequencies for which the ouput amplitude is less than 70% of the input amplitude. The original problem statement

  Create a script file for conversion of temperature

Create a script file for conversion of temperatures. Use the input function or menu function to allow the user to enter temperature scale of Fahrenheit, Celsius, Kelvin, or Rankine. If you are using the input function, tell the user to enter F for Fa..

  Create matlab function to plot the rotation of a wheel

Create Matlab function to plot the rotation of a wheel without sleeping. Plot the trajectory of any point on the wheel.

  Considered to equal when the result of one array subtract

Two arrays are considered to be equal when the result of one array subtracted from the other is an array of zeros. In the script file, create the MATLAB commands to prove the following relationships (use arrays that you makeup yourself)

  Least squares

For homework consider the points (0,0), (1,2), (2,3), (3,9), ( 4,17), (5,24), (6,37). (1) Use Matlab to find the least squares best fit with a line.  Turn in A, y and c and a plot like the one above.  Also (2) use Matlab to find the least square best..

  Calculate the geometric mean of numbers

Write a program to calculate the geometric mean of numbers entered by a user. The program should prompt the user to enter numbers and continue to accept the numbers until the user enters 999.

  Matlab program which will determine your vehicle fuel usage

Create a MATLAB program which will determine your vehicle fuel usage (MPG, miles/gallon) rating for a user defined number of trips ('for' repetition structure). Review the voiceover supplied for an example of the required input/output from this progr..

  Characterizing population of about countries

Select 10 features characterizing the population of about 100 countries. load it into Matlab. Normalize the data between 0 and 1. (min, max and minmax are some useful Matlab commands)

  Review about using audio weighting in matlab

Write a Literature review about using Audio weighting in Matlab by applying A-filter to the data. Add (graphs and imagines or charts) must also write one or two sentences to describe it

  Create a matrix of 5x6

Prepare a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

  Perform gauss-jordan elimination

Write a matlab function to perform gauss-jordan elimination with pivoting. Modify the pivoting so that it is using the row with the highest absolute value rather than the first non-zero row.

  Using matlab and for loops

Using MATLAB and for loops, provide an animation that follows the below steps: Start with a square at the origin with each side being 5 units long. Imagine someone kicked the box and animate it moving on a projectile motion trajectory. Hint: look at ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd