First order Laplace transform

In summary: So y(t) = 3\left[-4 + 10 +4e^{-\frac{1}{4}}\right] = 27.35...since the correct value of a doesn't appear in the final expression for y(10).It does look a bit messy I tend to over complicate things.
  • #1
topcat123
78
1

Homework Statement


A process can be represented by the first order equation

(4δy(t)/δt) + y(t) = 3u(t)

Assume the initial state is steady (y = 0 at t = –0).

(a) Determine the transfer function of this process in the s domain.
(b) If the input is a ramp change in u(t) = 4t, determine the value of y(t)
when t = 10 s.

Homework Equations


Ramp change 1/s2

The Attempt at a Solution


(a)
Transfer function

{sY(s) + y(-0)} + Y(s)/4 = 3U(s)/4

sY(s) + Y(s)/4 = 3U(s)/4

G(s) = Y(s)/U(s) = ¾/(s + ¼) = 4/4(s + ¼)

(b)
This is where i am stuck i realize this is where the ramp change 1/s2 comes in.

Y(s) =¾/(s + ¼) × 1/s2 = ¾/s(s + ¼)
I think this is correct but I don't know where to go from here.

any help would be appreciated.
 
Physics news on Phys.org
  • #2
topcat123 said:

Homework Statement


A process can be represented by the first order equation

(4δy(t)/δt) + y(t) = 3u(t)

Assume the initial state is steady (y = 0 at t = –0).

(a) Determine the transfer function of this process in the s domain.
(b) If the input is a ramp change in u(t) = 4t, determine the value of y(t)
when t = 10 s.

Homework Equations


Ramp change 1/s2

The Attempt at a Solution


(a)
Transfer function

{sY(s) + y(-0)} + Y(s)/4 = 3U(s)/4

sY(s) + Y(s)/4 = 3U(s)/4

G(s) = Y(s)/U(s) = ¾/(s + ¼) = 4/4(s + ¼)

(b)
This is where i am stuck i realize this is where the ramp change 1/s2 comes in.

Y(s) =¾/(s + ¼) × 1/s2 = ¾/s(s + ¼)
Check your algebra. ##\frac{3/4}{s + 1/4} \times \frac 1 {s^2} \ne \frac{3/4}{s(s + 1/4)}##

I haven't verified the rest of your work...
topcat123 said:
I think this is correct but I don't know where to go from here.

any help would be appreciated.
 
  • #3
Mark44 said:
Check your algebra. 3/4s+1/4×1s2≠3/4s(s+1/4)

sorry copied it in wrong
Y(s) =¾/(s + ¼) × 1/s2 = 3/s(s + ¼)
 
  • #4
topcat123 said:
sorry copied it in wrong
Y(s) =¾/(s + ¼) × 1/s2 = 3/s(s + ¼)
That is still incorrect.

Also, when you write 3/s(s + 1/4), the usual interpretation is ##\frac 3 s (s + 1/4)##, which is not what you meant.
 
  • #5
[tex]Y(s) =\frac{\frac{3}{4}}{(s+\frac{1}{4})}\frac{1}{s^2} = \frac{\frac{3}{4}}{s^2(s+\frac{1}{4})}[/tex]

Is this better?
 
  • #6
topcat123 said:
[tex]Y(s) =\frac{\frac{3}{4}}{(s+\frac{1}{4})}\frac{1}{s^2} = \frac{\frac{3}{4}}{s^2(s+\frac{1}{4})}[/tex]

Is this better?
Yes. To find y(t), split up the fraction using partial fraction decomposition, and then take the inverse Laplace transform of each of the resulting terms.
 
  • #7
OK so partial fraction. [tex]\frac{a}{s^2 (s + a)} = \frac{(As + B)}{s^2} + \frac{C}{(s + a)}[/tex]
Multiply through by [tex] s^2 (s + a) [/tex]
Giving [tex]a = (As + B) (s + a) + Cs^2[/tex]
Removing the brackets[tex]As^2 + Bs + Aas + Ba + C^2[/tex]
[tex] s^0... a = Ba... B = 1[/tex] [tex]s^1...0 = B + Aa[/tex] substituting in for B [tex]A = \frac{-1}{a}[/tex] [tex]s^2... 0 = A + C[/tex] substituting in for A[tex]C = \frac{1}{a}[/tex]
gives [tex]= \frac{(-\frac{s}{a} + 1)}{s^2} + \frac{\frac{1}{a}}{(s + a)}[/tex]
simplifying [tex]= \frac{(-\frac{s}{a} + 1)}{s^2}[/tex] to [tex] -\frac{\frac{s}{a}}{s^2} + \frac{1}{s^2} = \frac{\frac{1}{a}}{s} + \frac{1}{s^2}[/tex]
Final result[tex]\frac{a}{s^2(s + a)} = -\frac{\frac{1}{a}}{s} + \frac{1}{s^2} + \frac{\frac{1}{a}}{(s + a)}[/tex]
[tex]-\frac{\frac{1}{a}}{s}\text { inverse to } -\frac{1}{a}[/tex]
[tex]\frac{1}{s^2}\text{ inverse to } t [/tex]
[tex]\frac{\frac{1}{a}}{(s + a)}\text{ inverse to }\frac{1}{a}e^{-at}[/tex]
[tex]\left[-\frac{1}{a} + t + \frac{1}{a}e^{-at}\right][/tex] as a = ¼ ad t = 10
[tex]3\left[-\frac{1}{\frac{1}{4}} + 10 + \frac{1}{\frac{1}{4}}e^{\frac{1}{4}}\right][/tex]
So [tex] y(t) = 3\left[-4 + 10 +4e^{-\frac{1}{4}}\right] = 27.35[/tex]

Is that any where near?
 
  • #8
topcat123 said:
OK so partial fraction. [tex]\frac{a}{s^2 (s + a)} = \frac{(As + B)}{s^2} + \frac{C}{(s + a)}[/tex]
Multiply through by [tex] s^2 (s + a) [/tex]
Giving [tex]a = (As + B) (s + a) + Cs^2[/tex]
Removing the brackets[tex]As^2 + Bs + Aas + Ba + C^2[/tex]
[tex] s^0... a = Ba... B = 1[/tex] [tex]s^1...0 = B + Aa[/tex] substituting in for B [tex]A = \frac{-1}{a}[/tex] [tex]s^2... 0 = A + C[/tex] substituting in for A[tex]C = \frac{1}{a}[/tex]
gives [tex]= \frac{(-\frac{s}{a} + 1)}{s^2} + \frac{\frac{1}{a}}{(s + a)}[/tex]
simplifying [tex]= \frac{(-\frac{s}{a} + 1)}{s^2}[/tex] to [tex] -\frac{\frac{s}{a}}{s^2} + \frac{1}{s^2} = \frac{\frac{1}{a}}{s} + \frac{1}{s^2}[/tex]
Final result[tex]\frac{a}{s^2(s + a)} = -\frac{\frac{1}{a}}{s} + \frac{1}{s^2} + \frac{\frac{1}{a}}{(s + a)}[/tex]
[tex]-\frac{\frac{1}{a}}{s}\text { inverse to } -\frac{1}{a}[/tex]
[tex]\frac{1}{s^2}\text{ inverse to } t [/tex]
[tex]\frac{\frac{1}{a}}{(s + a)}\text{ inverse to }\frac{1}{a}e^{-at}[/tex]
[tex]\left[-\frac{1}{a} + t + \frac{1}{a}e^{-at}\right][/tex] as a = ¼ ad t = 10
[tex]3\left[-\frac{1}{\frac{1}{4}} + 10 + \frac{1}{\frac{1}{4}}e^{\frac{1}{4}}\right][/tex]
So [tex] y(t) = 3\left[-4 + 10 +4e^{-\frac{1}{4}}\right] = 27.35[/tex]

Is that any where near?
By my calculation, you're low by about a factor of 3.

What you show as y(t) above is actually y(10). What do you have for y(t)? You need to check that it is a solution of the diff. equation y' + (1/4)y = 3t, and that y(0) = 0. The solution I found satisifies this diff. equation and initial condition, and I get y(10) ≈ 75.94.
 
  • #9
topcat123 said:
Transfer function
{sY(s) + y(-0)} + Y(s)/4 = 3U(s)/4
sY(s) + Y(s)/4 = 3U(s)/4
G(s) = Y(s)/U(s) = ¾/(s + ¼) = 4/4(s + ¼)
I think you have a mistake in the last line above.
3u(t) = 12t, so after dividing by 4 you should get 3t. The Laplace transform of this is ##\frac 3 {s^2}##, not ##\frac {3/4}{s^2}##
 
  • #10
Yes I see the mistake there is also another.
[tex]Y(s) = \frac{\frac{12}{4}}{s^2(s + \frac{1}{4})}[/tex]
also the second error.
[tex]\frac{1}{a}e^{at} = \frac{1}{\frac{1}{4}}e^{-\frac{10}{4}}[/tex]
giving [tex]y(10) =12 \left[ -4 + 10 + 4e^{-\frac{10}{4}}\right ] = 75.94[/tex]

Is this better?
 
Last edited by a moderator:
  • #11
topcat123 said:
Yes I see the mistake there is also another.
[tex]Y(s) = \frac{\frac{12}{4}}{s^2(s + \frac{1}{4})}[/tex]
also the second error.
[tex]\frac{1}{a}e^{at} = \frac{1}{\frac{1}{4}}e^{-\frac{10}{4}}[/tex]
giving [tex]y(10) =12 \left[ -4 + 10 + 4e^{-\frac{10}{4}}\right ] = 75.94[/tex]

Is this better?
Your answer agrees with mine.
One thing though that you're a little sloppy on: You wrote ##\frac{1}{a}e^{at} = \frac{1}{\frac{1}{4}}e^{-\frac{10}{4}}##. The left side is a function of t, but the right side is a number. You should have ##y(t) = \frac{1}{a}e^{-at} = 4e^{-\frac{t}{4}}##. From this you get y(10) = 75.94 (approx.).

I also don't see much advantage of bringing a into things as you did in your work.
 

1. What is a first order Laplace transform?

A first order Laplace transform is a mathematical tool used to convert a function of time into a function of the complex variable s. It is commonly used in the field of engineering and physics to solve differential equations.

2. What is the formula for a first order Laplace transform?

The formula for a first order Laplace transform is L{f(t)} = ∫e^(-st)f(t)dt, where f(t) is the original function, s is the complex variable, and L{ } denotes the Laplace transform operator.

3. What are the advantages of using a first order Laplace transform?

First order Laplace transforms can simplify complex differential equations, making them easier to solve. They also allow for the analysis of a system's behavior in the frequency domain, providing valuable insights for engineers and scientists.

4. How is a first order Laplace transform used in real-world applications?

First order Laplace transforms are used in a variety of real-world applications, such as electrical circuit analysis, control systems, and signal processing. They are also commonly used in physics to model physical systems and in economics to analyze economic models.

5. What is the inverse Laplace transform and how is it related to the first order Laplace transform?

The inverse Laplace transform is the process of converting a function of the complex variable s back into a function of time. It is denoted as L^-1{F(s)} and is the opposite of the Laplace transform. The first order Laplace transform is a specific type of Laplace transform, so the inverse Laplace transform can be used to find the original function of a first order Laplace transform.

Similar threads

Replies
23
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
329
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
148
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
  • Differential Equations
Replies
17
Views
858
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Back
Top