Help: unit-step response of a first order system

AI Thread Summary
The discussion revolves around determining the parameters a and K for a first-order system represented by G(s)=k/(s+a) in response to a unit step input. The user attempted to solve the problem using MATLAB but sought guidance on the correct approach. Through analysis, they derived relationships involving the tangent line to the system's response curve, leading to the conclusion that a and K can be expressed as a=1/Δt and k=a. Ultimately, by applying the known values, they found that both a and k equal 10, resulting in G(s)=10/(s+10), which was verified as correct in MATLAB. The thread highlights the importance of understanding system dynamics and response characteristics in control theory.
Jonny2011
Messages
2
Reaction score
0

Homework Statement



A first-order system

G(s)=\frac{k}{s+a}

and its response to a unit step input are shown in the figure below.

173799238.jpg


Determine the system parameters a and K


2. The attempt at a solution

I’ve tried to find K & a using MATLAB and read a lot but didn’t find the right topic about this problem. I need hints guys to solve .
 
Last edited:
Physics news on Phys.org
u(t) \Longleftrightarrow \frac{1}{s}
y(t)=x(t)*h(t) \Longleftrightarrow X(s)H(s)
Y(s) = \frac{k}{s(s+a)}=\frac{k}{as}-\frac{k}{a(s+a)}
\frac{k}{as}-\frac{k}{a(s+a)} \Longleftrightarrow \frac{k}{a}(1-e^{-at})

Now, it seems you have a tangential line and knowledge for what change in time it takes for that tangent to arrive to the maximal height of your output. So let derive an answer from this given:

We shall call the function for the tangent z(t) to avoid confusion with my previously used y(t). Thus:

z - z_1 = m(t - t_1)
z_1 = y(t_1) = \frac{k}{a}(1-e^{-at_1})
m = y'(t_1) = ke^{-at_1}

Plugging in the last two into the first:

z - \frac{k}{a}(1-e^{-at_1}) = ke^{-at_1}(t-t_1)

We then solve for what new time, t_2, will give the maximal height, which is z = k/a:

\frac{k}{a} - \frac{k}{a}(1-e^{-at_1}) = ke^{-at_1}(t_2-t_1)
t_2 = \frac{1}{a} + t_1

or

t_2 - t_1 = \Delta t = \frac{1}{a} \rightarrow a = \frac{1}{\Delta t}

We then need simply to apply the known maximal height of one to solve for k:

\frac{k}{a} = 1 \rightarrow k = a = \frac{1}{\Delta t}
 
Last edited:
thank you that was really helpful.

so we have t1=0 & t2=0.1 by applying the a=k=1/t2-t1

we get a=k=10

G(s)=\frac{10}{s+10}

I checked it in MATLAB and it was correct.
 
Back
Top