Sunday, 3 June 2018

SECOND-ORDER DIFFERENTIAL EQUATIONS CONTAINING FORCING FUNCTIONS - DIRECT METHOD


EDITOR: B. SOMANATHAN NAIR


The current flowing through a series RL circuit is given by

                                    di/dt + R/L = v(t)/L     (1)                           

where i = current flowing through the circuit, and v(t) is the applied (external) voltage. We know that the current stars flowing in the circuit only when the voltage v(t) is applied to it. Since the current flows only on the application of v(t), we call it as the forcing function of the circuit. This means that v(t) forces the  generation of the  transient in the circuit. However, it also forces the circuit to attain steady state.
            As another example, consider a thin galvanized-iron wire being stretched between and fastened to two vertical posts. Assume that the wire remains standstill at time t = 0. Now, if we pull the wire slightly upwards and then remove our hands, we find that the wire starts oscillating up and down. Here, we have forced the wire to oscillate by applying force using our hands. This transient situation (i.e., oscillation of the wire) can be stopped by applying pressure on the oscillating wire using our hands once again. This shows that the transient has been created and stopped by the forcing function, which is the pressure applied by our hands.
             Now, let us consider the second-order differential equation, given by

                      (d2y/dt2) + p(dy/dt)+qy = f(t)   (2)

In Eq. (2), f(t) is the forcing function. We find that f(t) can be a constant, or a function of time. We first consider the case when f(t) is a constant.

Case 1: f(t) is a Step (or Constant) Input

Equation (2) may now be written with f(t) = F, a constant force, as

                        (d2y/dt2) + p(dy/dt)+qy = F      (3)

Since the forcing function is a constant, a logical assumption is that in the steady state, the system has to deliver a constant output because it is the forcing function itself that produces the final steady state. Letting this solution to be the constant K, we find that K also must satisfy Eq. (3), as it must be a solution in both the transient and steady-state situations. Thus using y = K in Eq. (3), we get

                         (d2K/dt2) + p(dK/dt)+qK = F      (4)

But we find that since K is a constant, we have

                                                            d2K/dt2 = dK/dt = 0    (5)
                                                                                             
Therefore, from Eq. (5), we find

                                                                        qK = F      (6)
                                                                                                       
or
                                               
K = F/q    (7)                                                          
This is the required solution.

Example 1:   Obtain the solution of the equation

               (d2v/dt2) + (RIL)(dy/dt)+ (1/LC) y = V/LC   (1)
                                                          
where V is a step input.

Solution: We first rewrite Eq. (1) as

                                                D2 + (RIL)D + 1/LC)v = V/LC   (2)
                                                                                    
where we have chosen the operator D = d/dt, as before. As before, we have the total solution given by

                                                                        v = vtr + vss­      (3)

where vtr is the transient part and vss is the steady-state part of the solution. vtr is obtained by solving the differential part of the equation, and we have already seen that there are four possible solutions to this (see earlier blog on solution of differential equation with forcing function equal to zero).
To get the steady-state part of the solution, since V is a step voltage, we can assume a constant as a solution, as in the case of the first-order equation. Thus, we use the relation

                                                            v = K, a constant 0 £ t £¥                           
                                                                           = 0, elsewhere      (4)                                                         
Using the relation from Eq. (4) into Eq. (1), we get

                                                D2K + (RIL)DK + 1/LC)K = V/LC   (5)

                                                                                   
 But, D2K = DK = 0, since the differential coefficient of a constant is zero. Therefore, Eq. (5) gives

                                       K = V    (6)                                                                             

This is the steady-state solution for a step input. The complete solution is therefore

                                                            v = vtr + V                                                     

                                                                                                                               
Case 2: f(t) is an Impulse Input
When the input is a delta function, Eq. (2) may be written as

                          (d2y/dt2) + p(dy/dt)+qy = δ(t)   (8)                                               

Since the delta function is the derivative of the step function, we may obtain the solution of Eq. (8) by differentiating the solution of the equation with the forcing function a step input.

Case 3: f(t) is an Ramp Input

When the input is a ramp function, Eq. (2) may be written as

                              (d2y/dt2) + p(dy/dt)+qy = r(t)   (9)                                                         

where r(t) is a ramp function. Just as the delta function is obtained by differentiating the step function, we know that the ramp function is obtained by integrating the step function. Therefore, we obtain the solution of Eq. (9) by differentiating the solution of the equation with a step input as the forcing function. This is illustrated in Example 2.

 Case 4: f(t) is an Exponential Input

When the input is an exponential function, Eq. (2) may be written as

                        (d2y/dt2) + p(dy/dt)+qy = Fe‒mt   (10)
                               
When we apply an exponentially decaying function as input, we find that in the steady state the output will also be exponentially decaying. So the response must have the same exponent m, but its magnitude will be less. This is also illustrated in Example 2.

Example 2: Obtain the solution of the equation

(d2v/dt2) + 6(dv/dt)+5v = V  (1)                                                                  
when (a) V = 4 u(t) (b) V = 4 d (t) (c) V = 4 r(t) (d) V = 20 e-4t .

Solution:

(a) Step input: We first rewrite Eq. (1) in the form

          D2 + 6D + 5v = 0  (2)
                                   
The transient solution has the roots ‒5, ‒1. the transient solution therefore is

                                 v = Ae‒5t + Bet      (3)
                                                                                     
            Now, for the steady-state solution, we know that V = 4. As per our earlier theory (see Case 1), we assume a constant K as the solution and find that the steady-state solution is

                                      K = V = 4      (4)                                                         

Thus the complete solution is

                                    v = Ae‒5t + Bet + 4     (5)
                                                                                        

The constants A and B can be evaluated using the boundary conditions (i) v = 0 at t = 0, and (ii) dv/dt = 0. Solving, we get A = 1, B = -5. Then the final solution with the forcing function as step input is

                                   vstep = e‒5t ‒ 5et + 4     (6)                                                   
(b) Impulse input: As stated above, we get the solution for the impulse input by differentiating Eq. (7). Thus, we find the final solution with the forcing as impulse input is
                        vimpulse = (dVstep/dt) =(dVstep/dt) (e‒5t ‒ 5et + 4) = 5(ete‒5t )  (7)
                          
(c) Ramp input: Here we get the solution by integrating Eq. (7). Thus, we have the final solution with the forcing as ramp input is

                        vramp = ∫(e‒5t ‒ 5et  + 4)dt = (‒1/5) e‒5t + 5et + 4t + A     (7)
                                                                
where A is the constant of integration. To evaluate A, we use the boundary condition that at t = 0, vramp = 0. Solving, we get A = -5 + 1/5. The final solution then becomes

vramp = ‒(1/5) e‒5t + 5et + 4t + (1/5)‒5
          = (1/5)(1 e‒5t)5(1et) + 4t       (8)
                  
                                                           
(c) Exponential input: To get the solution for the exponential input, as suggested above we assume v to be given by

                                                            V = Fe‒4t  (9)

Then using Eq. (9) in Eq. (2), we get

      D2(Fe‒4t) + 6D(Fe‒4t) + 5 Fe‒4t  = 20e‒4t   (10)
                                                                                                           
Carrying the differentiations in Eq. (10) yields

                                                16 Fe‒4t ‒24 Fe‒4t + 5Fe‒4t = 20e‒4t (11)

Canceling common term e‒4t and reducing the resultant expression, we get

                                                            F = -20/3  (12)                                                                     

Thus the complete solution is

                        vexponential = Ae‒5t + Bet ‒ (20/3)e‒4t(13)                           

The constants A and B can be evaluated by using the boundary conditions that (i) v = 0 at t = 0, and (ii) dv/dt = 0.


No comments:

Post a Comment

DISCRETE SIGNAL OPERATIONS

EDITOR: B. SOMANATHAN NAIR 1. INTRODUCTION In the previous two blogs, we had discussed operations of scaling and shifting on conti...