1 00:00:02,460 --> 00:00:05,520 Welcome back, this is Dr. Ferri. 2 00:00:05,520 --> 00:00:08,260 Today's lesson will be on second order differential equations. 3 00:00:09,890 --> 00:00:13,190 In previous lessons we've looked at solutions to first order differential 4 00:00:13,190 --> 00:00:19,220 equations and we've applied that to the analysis of RC and RL circuits. 5 00:00:19,220 --> 00:00:22,460 So looking at our module on reactive circuits here. 6 00:00:22,460 --> 00:00:27,600 that covers, that first order analysis covers up through RC and RL circuits. 7 00:00:27,600 --> 00:00:30,840 So now we want to introduce second-order differential equations, so that we can 8 00:00:30,840 --> 00:00:35,720 examine more complicated circuits, particularly ones that involve RLC 9 00:00:35,720 --> 00:00:38,730 circuits. They include both inductors and 10 00:00:38,730 --> 00:00:44,155 capacitors, as well as resistors. Our lesson objectives are to examine 11 00:00:44,155 --> 00:00:47,660 second-order differential equations with a constant input. 12 00:00:47,660 --> 00:00:51,130 We want to be able to determine the steady-state solution and determine the 13 00:00:51,130 --> 00:00:53,860 type of transient response that we can get out of it. 14 00:00:53,860 --> 00:00:57,060 And then we want to see what the actual response looks like if we plot it and 15 00:00:57,060 --> 00:01:03,540 recognize the characteristics of that. So as we talked about before with first 16 00:01:03,540 --> 00:01:07,340 order differential equations, And ordinary Differential equation is just an 17 00:01:07,340 --> 00:01:10,570 equation with functions and variables of their derivatives. 18 00:01:10,570 --> 00:01:15,770 Looking at this equation right here, we've got a second derivative, so that 19 00:01:15,770 --> 00:01:18,890 makes it a second order differential equation and were just assuming that 20 00:01:18,890 --> 00:01:24,060 we've got constant coefficients here. And that our forcing term here is just a 21 00:01:24,060 --> 00:01:32,720 constant. Many physical systems are governed by 22 00:01:32,720 --> 00:01:35,248 differential equations like this second order differential equations. 23 00:01:35,248 --> 00:01:40,760 Where the forcing term is the input to our system. 24 00:01:40,760 --> 00:01:44,036 And then the output is the solution to our differential equation. 25 00:01:44,036 --> 00:01:48,340 Vibratory system and RLC circuit are examples of this. 26 00:01:48,340 --> 00:01:52,460 In a vibratory system our forcing term, our actual physical force that we apply 27 00:01:52,460 --> 00:01:57,210 at the system is the input. And then the solution to the differential 28 00:01:57,210 --> 00:02:01,910 equation is a position. In our RLC circuit, our input is a 29 00:02:01,910 --> 00:02:07,190 voltage, or current source, and our output is a voltage or current across a 30 00:02:07,190 --> 00:02:14,640 particular element. So let's look at a generic second-order 31 00:02:14,640 --> 00:02:18,280 differential equation. And I say generic so that we can apply it 32 00:02:18,280 --> 00:02:23,500 to Rlc circuits, vibratory systems or anything that's governed by second order 33 00:02:23,500 --> 00:02:28,945 differential equations. And in, in the system that were looking 34 00:02:28,945 --> 00:02:34,570 at, were assuming that these are constant but unknown parameters, a1 and a2 and k 35 00:02:34,570 --> 00:02:39,020 is also constant. We assume that we have known values for 36 00:02:39,020 --> 00:02:43,970 initial conditions, so y of 0 is known, That's time equals zero and the first 37 00:02:43,970 --> 00:02:46,110 derivative at time equals zero is also known. 38 00:02:47,480 --> 00:02:52,580 Our solution is made up of a steady state part plus a transient. 39 00:02:52,580 --> 00:02:57,300 Plus steady state part is pretty easy to solve for and it's exactly the same way 40 00:02:57,300 --> 00:03:00,990 we solve for the steady state in a first order differential equation. 41 00:03:00,990 --> 00:03:06,690 We just take this value K I redivided by this last coefficient, a sub 2. 42 00:03:06,690 --> 00:03:10,450 And that's what happens to y of t as it becomes very large. 43 00:03:10,450 --> 00:03:14,560 It approaches this value. The transient, well the transient's a 44 00:03:14,560 --> 00:03:17,900 little bit more difficult than it was in the first order differential equation. 45 00:03:17,900 --> 00:03:21,970 Because we have 3 possible forms, depending on the roots of this 46 00:03:21,970 --> 00:03:24,370 polynomial. Okay. 47 00:03:24,370 --> 00:03:27,680 Where do I get that from? I can look up at the differential 48 00:03:27,680 --> 00:03:31,790 equation, and wherever I see a second derivative, I'm going to replace it with 49 00:03:31,790 --> 00:03:36,080 an s squared. That's a sub 1. 50 00:03:36,080 --> 00:03:38,435 My first derivative, I'm going to replace with an s. 51 00:03:38,435 --> 00:03:45,070 Plus a 2, equals 0. Those of you who have studied 52 00:03:45,070 --> 00:03:49,140 differential equations before might recognize this as a, as a characteristic 53 00:03:49,140 --> 00:03:52,360 equation. Those of you that have seen Laplace 54 00:03:52,360 --> 00:03:56,520 transform before may recognize it as a Laplace transform. 55 00:03:56,520 --> 00:04:00,890 In our case, we're just going to use. This define the solution. 56 00:04:00,890 --> 00:04:04,380 I'm not going to assume that you had any other background in differential 57 00:04:04,380 --> 00:04:12,080 equations than what I'm covering here. So the transient response again is 58 00:04:12,080 --> 00:04:15,980 governed by that polynomial and we've got three possible cases. 59 00:04:15,980 --> 00:04:18,658 If I've got real and distinct roots. Say, R1 and R2. 60 00:04:18,658 --> 00:04:20,800 Then I've got this case right here, and my solution, kind of my generic form of 61 00:04:20,800 --> 00:04:23,455 my transient response looks like this. So remember, I've got a steady state plus 62 00:04:23,455 --> 00:04:35,178 this part, here's my solution to the differential equation. 63 00:04:35,178 --> 00:04:41,330 Now, if R1 And r two are both less than zero. 64 00:04:43,430 --> 00:04:47,962 Then my transient suppose it starts up here with initial condition up here. 65 00:04:47,962 --> 00:04:53,090 It's going to go like this. It's going to look exponential versus 66 00:04:53,090 --> 00:04:57,160 time. And that's because one of these roots. 67 00:04:57,160 --> 00:05:02,320 It usually is, is much it decays much faster than the other one. 68 00:05:02,320 --> 00:05:07,195 So if this decays much faster compared to this one, then my response will look 69 00:05:07,195 --> 00:05:10,950 exponential. In the critically damped case, I have two 70 00:05:10,950 --> 00:05:16,280 roots that are equal, r and r. So my solution looks like this. 71 00:05:16,280 --> 00:05:18,490 So I get this, this sort of strange term in here. 72 00:05:18,490 --> 00:05:24,220 T times e to the r t. Well it turns out r is less than zero 73 00:05:24,220 --> 00:05:29,380 then the exponential goes to zero faster than t gets large. 74 00:05:29,380 --> 00:05:39,000 So my response for that case. Also looks exponential, and that's if the 75 00:05:39,000 --> 00:05:44,360 case where r is less than 0. We oftentimes call these stable systems, 76 00:05:44,360 --> 00:05:49,120 where the transient decays to 0. Now the under-damped case, that's when 77 00:05:49,120 --> 00:05:53,560 I've got complex roots, and I'll say the complex roots are equal to A plus or 78 00:05:53,560 --> 00:05:57,040 minus j v. Where j is the square root of minus one. 79 00:05:57,040 --> 00:06:04,130 By imaginary term. So in that case I get this sinusoidal. 80 00:06:05,590 --> 00:06:11,180 Where the real part, the real part goes as the exponential. 81 00:06:11,180 --> 00:06:13,748 And the imaginary part shows up as a frequency. 82 00:06:13,748 --> 00:06:23,140 In this case, if a is less than 0, then I've got e to that a t with a negative 83 00:06:23,140 --> 00:06:24,790 exponent. That's going to decay. 84 00:06:26,200 --> 00:06:31,440 And let me show you what this looks like. Given some initial condition, the 85 00:06:31,440 --> 00:06:43,550 transient Will look sort of like that. Where if I were to look at this 86 00:06:43,550 --> 00:06:50,130 amplitude, the amplitude would be exponential because it follows this. 87 00:06:50,130 --> 00:06:52,620 This looks like an amplitude of this sine way. 88 00:06:52,620 --> 00:06:58,390 We often call this a damped sign wave. So this is a damp sign wave and it's 89 00:06:58,390 --> 00:07:06,830 damped by this real part of my root. So my overdamped case looks exponential, 90 00:07:06,830 --> 00:07:12,000 my underdamped case looks oscillatory. In the cases we're going to be examining, 91 00:07:12,000 --> 00:07:15,080 it's, we're not going to be really worried about the critically damped case, 92 00:07:15,080 --> 00:07:18,820 because critically damped, we have to have your, your system perfectly match. 93 00:07:18,820 --> 00:07:20,785 So that you end up with real and equal roots. 94 00:07:20,785 --> 00:07:25,120 And the chances of that happening in a physical system aren't very good. 95 00:07:25,120 --> 00:07:30,340 Unless you really are tuning your system so with resistors that have tolerances to 96 00:07:30,340 --> 00:07:33,240 them. It's unlikely you actually come up with a 97 00:07:33,240 --> 00:07:35,948 critically damped system. So we're just going to worry about 98 00:07:35,948 --> 00:07:43,870 overdamped and underdamped. Lets look at some sample examples. 99 00:07:43,870 --> 00:07:50,260 Sample problems. Given this problem, the steady state 100 00:07:50,260 --> 00:07:59,930 value is one over four. And if I see, what happens is y gets very 101 00:07:59,930 --> 00:08:02,090 large as it approaches 0.25. So that a steady-state value. 102 00:08:02,090 --> 00:08:15,512 The transient is found by solving this differential equation, s squared plus 5 s 103 00:08:15,512 --> 00:08:21,690 plus 4 equals 0. If I find the roots of that, I get roots 104 00:08:21,690 --> 00:08:27,960 equal to minus 1 and minus 4. That means my transient is some constant, 105 00:08:27,960 --> 00:08:35,640 k 1, times e to the minus 1 times t, plus some constant k 2. 106 00:08:35,640 --> 00:08:41,010 E to the minus 4 times t. Well in this case you see that e to the 107 00:08:41,010 --> 00:08:45,440 minus 4 to k is much faster than e to minus t. 108 00:08:45,440 --> 00:08:50,550 So this system kind of dominates by this exponential here. 109 00:08:50,550 --> 00:08:53,400 And that's what we see right here. We see something that looks almost 110 00:08:53,400 --> 00:08:56,810 exponential. The, the transient has an exponential 111 00:08:56,810 --> 00:08:59,450 decay until it reaches a steady-state value. 112 00:08:59,450 --> 00:09:05,320 And, in fact, if I look at a value of 1, this, this looks to be, having pretty 113 00:09:05,320 --> 00:09:11,560 close to a time constant of 1, because that's when the transient decays to about 114 00:09:11,560 --> 00:09:14,250 gets to about two-thirds of the way to the steady-state value. 115 00:09:14,250 --> 00:09:17,660 So it's pretty close to a time constant of 1. 116 00:09:17,660 --> 00:09:20,890 So this case, real and distinct roots, it's overdamped. 117 00:09:20,890 --> 00:09:36,610 And it looks sort of exponential. Now if I look at this, the next case, the 118 00:09:36,610 --> 00:09:40,785 steady state. Just like it was in the previous case, 119 00:09:40,785 --> 00:09:47,490 it's equal to one over four. And we see that it does approach one over 120 00:09:47,490 --> 00:09:56,022 four here. Transient I have to solve s square plus 121 00:09:56,022 --> 00:10:00,090 .8 s. Plus four equals zero. 122 00:10:01,160 --> 00:10:10,651 Well the roots to this one are complex. It's equal to minus .4s .4 plus or minus 123 00:10:10,651 --> 00:10:14,005 1.96 j. It's complex so that means it's 124 00:10:14,005 --> 00:10:24,940 underdamped. And I serve the general form of the 125 00:10:24,940 --> 00:10:31,100 transient, is k, you know some constant case of one. 126 00:10:31,100 --> 00:10:39,462 E to the minus .4 t. Sin of 1.96. 127 00:10:39,462 --> 00:10:48,340 T Plus some angle. This is my sine wave, and you see that if 128 00:10:48,340 --> 00:10:57,070 I were to look at the amplitude here, the amplitude looks like this, it's a 129 00:10:57,070 --> 00:11:02,470 decaying exponential. With that decay rate. 130 00:11:02,470 --> 00:11:09,350 One thing I want to point out about this is, if I look at a case of a low value 131 00:11:09,350 --> 00:11:13,380 here, compared to the previous example, the lower the value here, it turns out 132 00:11:13,380 --> 00:11:17,490 the more oscillatory the system is. And there's a parameter here in this 133 00:11:17,490 --> 00:11:21,162 coefficient that we're going to call Damping factor or damping ratio. 134 00:11:21,162 --> 00:11:33,215 And so as the damping ratio goes down, as this coefficient goes down, gets 135 00:11:33,215 --> 00:11:41,150 smaller,then it becomes more oscillatory and it peaks up a little bit more So this 136 00:11:41,150 --> 00:11:46,880 is, this coefficient is proportional for the damping ratio and as damping ratio 137 00:11:53,130 --> 00:11:56,459 goes down then it becomes more oscillatory. 138 00:11:56,459 --> 00:12:07,448 [SOUND] And again it peaks out more. So in this case we've got complex roots. 139 00:12:07,448 --> 00:12:13,610 It's underdamped and the lower that value, the more it peaks up. 140 00:12:13,610 --> 00:12:17,624 In summary, we've examined in generic second order differential equations. 141 00:12:17,624 --> 00:12:23,769 And, we've talked about how it these apply to vibratory systems and RLC 142 00:12:23,769 --> 00:12:26,250 circuits. We've showed how to find the steady state 143 00:12:26,250 --> 00:12:31,140 solution. We've showed generic transient solutions 144 00:12:31,140 --> 00:12:35,250 to underdamped and overdamped responses. And then, we looked at characteristics of 145 00:12:35,250 --> 00:12:38,540 plots of underdamped and overdamped responses. 146 00:12:38,540 --> 00:12:41,400 Constant input applied at time equal to zero. 147 00:12:43,700 --> 00:12:48,340 In our next lesson, we will demonstrate RLC circuit equations, And their 148 00:12:48,340 --> 00:12:52,660 responses and show how we use these solutions to second order differential 149 00:12:52,660 --> 00:12:55,900 equations to analyze those sorts of circuits. 150 00:12:55,900 --> 00:12:58,470 Now please visit the forms And I'll see you online. 151 00:12:58,470 --> 00:12:59,040 Thank you.