Starting from:
$35

$29

Laboratory 4 Analysis of Continuous-Time Systems Using Laplace Solution

Part I

We will continue using Matlab’s symbolic math processor in this lab.

We will analyse Problem 4.4.13 as shown in the next figure:


I3




I1    I2




Figure 1.

Using basic circuit theory
6
−  (  ) + 1(  ) +    2(  ) + 2(  ) = 0

3(  ) + 2(  ) = 1(  )
2(  ) = −2  (  )
3
−  (  ) + 1(  ) +    3(  ) +   (  ) = 0


Using the symbolic tool in Matlab we can form the matrix problem


6

















−1
1

+ 1
0



0







1



0
−1
1
1
[

] = [
0
]





2



0
0
−1/2
0










3

−  

[−1
1
0
3/  ]















as

    • syms Y s

    • A = sym([-1 1 (1+6/s) 0; 0 -1 1 1 ; 0 0 -1/2 0; -1 1 0 3/s])

    • B = sym([0; 0; Y; -Y])

    • inv(A)*B

ans =

    • (Y*s)/3 - (2*Y*(s^2 + 12*s + 18))/(3*s)

        ◦ (Y*s)/3 - Y*((2*s)/3 + 6)

-2*Y

    • (Y*s)/3 - Y*((2*s)/3 + 4) From the matrix inversion we have



  (  ) −
2  (  )[  2 + 12   + 18]
=   (  )

3

3  


Using again symbolic math expressions

    • ff = - (Y*s)/3 - (2*Y*(s^2 + 12*s + 18))/(3*s)

    • simplify(ff)

ans =

-(Y*(s^2 + 8*s + 12))/s

We then have

    •   (  )[  2 + 8   + 12] =   (  )

  (  )
=
−  
=   (  )
(1)
  (  )

[  2+8  +12]








And that is how you can easily calculate the transfer function of a system. The impulse response of the system is just the inverse that can also easily be calculated as

    • H = sym(-s/(s^2 + 8*s +12))

    • imp_response = ilaplace(H)

imp_response =

exp(-2*t)/2 - (3*exp(-6*t))/2

And literally that is what you obtained, if your circuit was in a box (red rectangle) you try to identify it by doing


Once you have h(t) you can compute any output for any input signal x(t) by convolutions. Most importantly, if h(t) models degradation of a signal, like an undesired echo in audio, motion blurring in an image etc., knowing h(t) may be the first step to counteract these unwanted degradations.

If you want to have an idea of the frequency response of a system, you can easily do this in Matlab as identifying the coefficients of the polynomials on H(s) (equation 1 above) and doing the following:

b = [0 -1];
a = [1 8 12];

    w = logspace(-1,1); freqs(b,a,w)



















Figure 2.

There is no lab equipment in the world that can generate an impulse though or an oscilloscope that can record it. But it is very easy to have x(t) be a unit step. It is just a constant voltage connected to a switch that when you close it and feed the system you can easily check for the step response. Let us introduce a second system in the green square in the figure.

Question:    What is the transfer function H2(s) = Y(s)/X2(s)


















ideal differentiator

Question:    What is the system within the green box doing?

Question:    What is the final Y(s) and y(t) for the unit step input?
ilaplace(H(s))

Question: From what you know about Linear Time-Invariant systems, can you explain in the time domain the results you obtained in the last question?

Question:    Is the system in Figure 1 stable?

You found an analog video system that you would like to connect to an analog TV. You do not have video coaxial cables and the cable you have available will attenuate higher frequencies and is modeled by the system in Figure 1.

Question: Can you describe an analog circuit that can be connected to your available cable and compensate for the higher frequencies attenuation?

Hint 1: your nice input video signal is x(t) that enters h(t) and that output needs to go to the system you designed hi(t) that will be connected to your TV. Work in the Laplace domain.
















Hint 2:



















Question: You found that you have some spare general purpose 741 OpAmps. Can you use them for this project? You have been provided the data sheet to make such decision.

Part II

H(s)

Following the same approach as before, calculate i) the transfer function, ii) the impulse response of the following circuit and iii) determine what type of filter is this.


R1 = 200;
C1 = 2e-6;
R2 = 200;
C2 = 1e-6;
R3 = 100;
C3 = 1e-6;
Rload = 1000;

More products