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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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