Professional Documents
Culture Documents
Lecture 7A
1 +
1 ∞ 𝑑𝑓 𝑡 −𝑠𝑡
= 𝑓 0 + න 𝑒 𝑑𝑡 Multiply
𝑠 𝑠 0 𝑑𝑡
both sides
F(s) ∞
with s
+
𝑑𝑓 𝑡 −𝑠𝑡
𝑠ℒ 𝑓 𝑡 =𝑓 0 +න 𝑒 𝑑𝑡
Re(s) > 0 0 𝑑𝑡
𝑑𝑓 𝑡
ℒ = 𝑠ℒ 𝑓 𝑡 − 𝑓 0+
Re(s) > - a 𝑑𝑡
𝑣𝑙 (𝑡) 𝑉 𝑅
𝑖 𝑡 = ∙ 𝑢 𝑡 − 𝑒 −𝐿 𝑡 𝑢 𝑡
𝑅
𝑅
𝑣𝑙 𝑡 = 𝑉 𝑒 − 𝐿 𝑡 𝑢 𝑡
Now what about the voltage? Let’s examine the
voltage of the inductance vl(t). and for simplicity let V = R = L = 1 in magnitude
to plot the time profiles:
Ohm’s law for impedances:
L/R is here the
𝑉 1 1 time-constant t
𝑉𝐿 𝑠 = 𝑍𝐿 ∙ 𝐼 = 𝑠𝐿 −
𝑅 𝑠 𝑅
𝑠+ The time-constant 𝜏 of an
𝐿
exponential funtion 𝑒 −𝑡/𝜏 is
1
defined at amplitude 𝑒 = 0.3679
𝑅
𝐿 𝑠 𝐿 𝑠+ −𝑠 1
=𝑉 1− =𝑉 𝐿 =𝑉
𝑅 𝑅 𝑅 𝑅 𝑅
𝑠+ 𝑠+ 𝑠+
𝐿 𝐿 𝐿
The Laplace transform – introduction (7.1 – 7.3)
Example 3, Laplace transform of a function The Laplace Transform of most functions is
Let’s find the LT of a typical function: cos 𝑏𝑡 readily obtained by standard integration.
∞
ℒ𝑏 cos 𝑏𝑡 = න cos 𝑏𝑡 ∙ 𝑒 −𝑠𝑡 𝑑𝑡 It is also possible to make numerical
−∞ integration if the function does not have an
To get the unilateral transform multiply with 𝑢 𝑡 analytical form (say some experimental
input signal). →
∞ ∞
−𝑠𝑡
ℒ cos 𝑏𝑡 = න cos 𝑏𝑡 𝑢 𝑡 𝑒 𝑑𝑡 = න cos 𝑏𝑡 𝑒 −𝑠𝑡 𝑑𝑡
−∞ 0
∞
1 𝑖𝑏𝑡
=න 𝑒 + 𝑒 −𝑖𝑏𝑡 𝑒 −𝑠𝑡 𝑑𝑡 =
0 2 Euler formula → sin
1 ∞ − 𝑠−𝑖𝑏 𝑡 1 ∞ − 𝑠−𝑖𝑏 𝑡
= න 𝑒 + 𝑒− 𝑠+𝑖𝑏 𝑡
𝑑𝑡 = ℒ sin 𝑏𝑡 = න 𝑒 − 𝑒 − 𝑠+𝑖𝑏 𝑡
𝑑𝑡
2 0 2𝑖 0
∞ ∞
1 −1 1 1 −1 1
= 𝑒 − 𝑠−𝑖𝑏 𝑡 − 𝑒 − 𝑠+𝑖𝑏 𝑡 = 𝑒− 𝑠−𝑖𝑏 𝑡
+ 𝑒− 𝑠+𝑖𝑏 𝑡
2 𝑠 − 𝑖𝑏 𝑠 + 𝑖𝑏 2𝑖 𝑠 − 𝑖𝑏 𝑠 + 𝑖𝑏 0
0
As previously, this converges only if Re 𝑠 > 0 As previously, this converges only if Re 𝑠 > 0
1 1 1 1 𝑠 + 𝑖𝑏 + 𝑠 − 𝑖𝑏 1 1 1 1 𝑠 + 𝑖𝑏 − 𝑠 − 𝑖𝑏
= + = = − =
2 𝑠 − 𝑖𝑏 𝑠 + 𝑖𝑏 2 𝑠2 + 𝑏2 2𝑖 𝑠 − 𝑖𝑏 𝑠 + 𝑖𝑏 2𝑖 𝑠2 + 𝑏2
∞ ∞
−𝑠𝑡
𝑠 𝑏
ℒ cos 𝑏𝑡 = න cos 𝑏𝑡 𝑒 𝑑𝑡 = 2 ℒ sin 𝑏𝑡 = න sin 𝑏𝑡 𝑒 −𝑠𝑡 𝑑𝑡 =
0 𝑠 + 𝑏2 0 𝑠2 + 𝑏2
Script for calculating LT of cos bt and plot in complex plane using both numerical
integration and directly from formulas as s/(s^2+b^2) in the Laplace transform table
clear all; close all;
t=[0:0.01:300]; % time vector
sigma=[0.05:0.05:2]; % real part of s, n.b. Real(s) > 0 𝑠 = 𝜎 + 𝑖𝜔
omega=[-2:0.05:2]; % imaginary part of s
H_n=zeros(length(sigma),length(omega)); % allocate memory for Hn
H_a=H_n; % allocate memory for H_a & H_b We must integrate for
H_b=H_n; all possible s and w in
b=1; % set frequency for cosine the complex plane
for m=1:length(sigma)
for n=1:length(omega)
∞
s=sigma(m)+sqrt(-1)*omega(n); % assigning s value
𝑭 𝒔 = න 𝒇 𝒕 ∙ 𝒆−𝒔𝒕 𝒅𝒕
f=cos(b*t).*exp(-s*t); % calculating integrand 𝟎
H_n(m,n)=trapz(t,f); % integral for LT 𝒔
H_a(m,n)=s/(s*s+b*b); %calculating 'analogue' response from table formula 𝒔𝟐 + 𝒃𝟐
H_b(m,n)=0.5*(1/(s-sqrt(-1)*b)+1/(s+sqrt(-1)*b)); % calc from partial fraction intermediate
end 𝟏 𝟏 𝟏
end +
𝟐 𝒔 − 𝒊𝒃 𝒔 + 𝒊𝒃
figure
surf(omega,sigma,abs(H_n)) % 3D plot of real(H) vs. real and imag part of s
ylabel('\sigma');xlabel('\omega');zlabel('abs[H(s)]');
box on;
s
Direct integration
s 2 + b2