Hi again,
Well, any system that deals with rate of change will probably use DE's, and in electrical circuits the capacitor and inductor have characters that involve such rates of change, so it makes sense that DE's would be used with electrical circuits. Not all systems need be represented this way, but if they are, they are
I dont know who first used the lower case 's' for the Laplace variable, but in any case it is physically the complex frequency:
s=a+j*w
with a being the real part and w being the imaginary part. The real and imaginary parts form a complex plane and this is where we can plot the roots.
The lower case 'z' might have come from the name of the place where the first guy to use these transforms came from, but in any case it represents a delay.
For example, z^-1 represents a delay of one time period, while z^-2 represents a delay of two time periods, etc.
We end up with a number of z's in the equation for a system. I guess an example would be in order here but it's going to have to wait a bit.
Laplace has a rather wide application for sure, and Z Transforms as well. I rate them both pretty highly, but we also have to keep in mind that many systems are non linear and with the advent of digital computers calculations on somewhat high order systems can happen pretty quick these days, so it makes sense to include numerical methods in with Laplace and Z. Numerical solutions will help when other methods are difficult to apply, but pure Laplace will help more with theory.
So we would end up with these three or four as being important:
Laplace Transforms
Z Transforms
State Vector Differential Equations
Numerical Solutions to State Vector Differential Equations
A quick example of using Laplace Transforms to solve a simple RC circuit driven by a voltage source E, where we want the solution to be the voltage across the capacitor at time t, given initial conditions are all zero...
First, a resistor circuit with two resistors, R1 and R2, forming a voltage divider, R1 on top and R2 on bottom, driven by source E.
First, the total impedance is Z=R1+R2, and the current is I=E/Z, and the voltage across R2 is vR2=I*R2 which worked out is also vR2=E*R2/Z
which is Vo=E*R2/(R1+R2). Compare this last expression to the one obtained below for the RC network.
Code:
+--R1--+--oVo
| |
E R2 Simple voltage divider
| |
+------+--oGND
Next, a resistor R1 in series with a cap C1 driven by a source E that is a dc source, and at time t=0 we turn the circuit on. The initial cap voltage is zero volts.
Code:
+--R1--+--oVc
| |
E C1 Simple RC network with step voltage input
| |
+------+--oGND
First, the complex impedance of the capacitor (which we will call 'sC1' for short) is:
sC1=1/(s*C1)
and the total impedance is again the sum of the two in series, which is Z=R1+sC1, and so the current I=(1/s)*E/Z as before except we multiply E times 1/s because it 'steps' up to E from 0 at time t=0, so the voltage across the cap is simply Vc=I*sC1, which when multiplied out comes out to:
Vc=(1/s)*E*sC1/(R1+sC1)
(notice this is the same expression as before with the resistors except sC1 replaces R2 and we added (1/s) to account for the step change in E)
and now substituting the actual complex impedance for both sC1's we get:
Vc=(1/s)*E*(1/(s*C1))/(R1+1/(s*C1))
and after simplifying we get:
Vc=E/(s*(s*R1*C1+1))
which is really:
Vc(s)=E/(s*(s*R1*C1+1))
Now we look in a table of Laplace Transforms, and we find
1/(s+a)=>e^(-a*t)
so we divide top and bottom of Vc(s) by R1*C1 and we get:
Vc(s)=E/(R1*C1)/(s*(s+1/(R1*C1)))
which if we let a=1/(R1*C1) we get:
Vc(s)=a*E/(s*(s+a))
and notice that
(1/E)*s*Vc(s)/a=1/(s+a)
which is in the form we need, so:
(1/E)*s*Vc(s)/a => e^(-a*t)
and now divide both sides by s and we get:
(1/E)*Vc(s)/a => (1/s)*e^(-a*t)
which means we can use a property of the Laplace Transform to get the solution, namely, a multiplication by 1/s in the frequency domain is equivalent to an integration in the time domain:
(1/E)*Vc(s)/a => -e^(-a*t)/a+K
and now multiply to again isolate Vc(s) we get:
Vc(s) => E*(K-e^(-a*t))
or
Vc(t)=E*(K-e^(-a*t))
and we can use the initial conditions Vc(0)=0 to obtain the value of K which comes out to equal 1, so we end up with:
Vc(t)=E*(1-e^(-a*t))
where again a=1/(R1*C1).
We ended up having to integrate in this problem because we usually wont find this exact transform we needed in a table, but a simpler way would be to use partial fractions on Vc(s) and find the solution that way. Partial fractions are often used to solve the inverse transform problem.
So we started with
Vc(s)=E/(R1*C1)/(s*(s+1/(R1*C1)))
and used Inverse Laplace Transform methods to get the required time domain solution:
Vc(t)=E*(1-e^(-a*t))
Probably most noteworthy here though is how easy we got Vc(s) above, in exactly the same way we solve for the voltage across R2 in the two resistor circuit. The only difference here is instead of starting with R2, we started with 1/(s*C1), after which we took exactly the same algebraic steps to solve for Vc(s) except for multiplying E by 1/s to account for the step change in voltage at t=0.
In fact, we could have started with the general topology circuit with all resistors:
Vo=E*R2/(R1+R2)
and simply changed the R2 resistor to 1/(s*C1) to get the same result (after also multiplying E by 1/s).
This shows the significance of the topology over the actual type of components used and how much the Laplace Transform can simplify the procedure for finding a solution.
Some component transformations:
Capacitor C1 => 1/(s*C1)
Inductor L1 => s*L1
The capacitor is defined:
dv/dt=i/C
which is a differential equation, while
1/(s*C1)
is algebraic.