{"id":3087,"date":"2014-04-22T22:37:10","date_gmt":"2014-04-23T02:37:10","guid":{"rendered":"http:\/\/pages.vassar.edu\/magnes\/?p=3087"},"modified":"2014-04-22T22:53:09","modified_gmt":"2014-04-23T02:53:09","slug":"preliminary-results-rlc-circuits","status":"publish","type":"post","link":"https:\/\/pages.vassar.edu\/magnes\/2014\/04\/22\/preliminary-results-rlc-circuits\/","title":{"rendered":"Preliminary Results- RLC Circuits"},"content":{"rendered":"<p align=\"JUSTIFY\"><strong>Overview<\/strong><\/p>\n<p align=\"JUSTIFY\">In the following blog post, I discuss my progress with my project so far. I start out with a simple RLC circuit, go on to discuss the components, and derive a solution (using Mathematica) for a circuit with parameters that I have come up with. I then plot current as a function of time and discuss long-term structure in the output of the circuit, its relevance to my project, and my forward plan.<\/p>\n<p align=\"JUSTIFY\"><strong>Progress<\/strong><\/p>\n<p align=\"JUSTIFY\">In my plan I discussed a simple RLC circuit that consists of a capacitor, voltage source, resistor, and an inductor.\u00a0To easily visualize this, I have constructed a basic circuit diagram (Figure 1).<\/p>\n<p align=\"JUSTIFY\"><a style=\"line-height: 1.714285714;text-align: left;font-size: 1rem\" href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/circuitwithnumbers11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3100\" alt=\"circuitwithnumbers1\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/circuitwithnumbers11.png\" width=\"242\" height=\"199\" \/><\/a><span style=\"line-height: 1.714285714;text-align: left;font-size: 1rem\">(Figure 1)<\/span><\/p>\n<p align=\"JUSTIFY\">The differential equation that governs this RLC circuit is given by<\/p>\n<p style=\"text-align: left\" align=\"JUSTIFY\"><span style=\"color: #444444\"><span style=\"font-family: 'Open Sans', Helvetica, Arial, sans-serif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-eac0cedfb7457178f885cdcf95c0db3d_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#76;&#73;&#39;&#39;&#40;&#116;&#41;&#43;&#82;&#73;&#39;&#40;&#116;&#41;&#43;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#67;&#125;&#73;&#40;&#116;&#41;&#61;&#32;&#69;&#95;&#123;&#48;&#125;&#32;&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#99;&#111;&#115;&#40;&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"296\" style=\"vertical-align: -6px;\"\/>\u00a0<\/span><\/span><span style=\"font-size: medium\">[1]<\/span><\/p>\n<p align=\"JUSTIFY\">where L is the inductance, R is the resistance, C is the capacitance, I is the current, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-11ccf66e35a6ad701edfee2663acb536_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#92;&#111;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/>\u00a0is the\u00a0resonant\u00a0angular frequency, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-2cf56434dc031c28acb706e4308b1df8_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#32;&#69;&#95;&#123;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"20\" style=\"vertical-align: -3px;\"\/> is\u00a0an initial value dependent on the voltage source,\u00a0and t is the time. The inductance\u00a0(L), resistance\u00a0(R),\u00a0and\u00a0capacitance\u00a0(C)are all determined by their respective circuit components,\u00a0which are easily changed out\u00a0for different ones.\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-11ccf66e35a6ad701edfee2663acb536_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#92;&#111;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> depends\u00a0on the inductance and capacitance, and its value is given by<\/p>\n<p align=\"JUSTIFY\"><span style=\"line-height: 1.714285714;font-size: 1rem\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-003c7233f95d3889807c2089378f7804_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#76;&#67;&#125;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"27\" width=\"70\" style=\"vertical-align: -11px;\"\/> [2]<\/span><\/p>\n<p align=\"JUSTIFY\">What we have left in terms of variables are current (I) and time (t). For our purposes, time is the independent variable, which leaves the current in the circuit at any time to be the dependent variable. Now that we have established this, we can solve our differential equation [1] for current as a function of time (<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-3fdb038c5615c4490dae465213f7e0dd_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -4px;\"\/>).<\/p>\n<p>In order to solve [1], I will use the equation solving powers of Mathematica. In particular, the DSolve function is used.\u00a0<span style=\"line-height: 1.714285714;font-size: 1rem\">\u00a0When plugged into Mathematica, the input line looks like:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-4fd6cd2ab6f0ba47fdfaab15b71e9d9e_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#92;&#116;&#101;&#120;&#116;&#123;&#68;&#83;&#111;&#108;&#118;&#101;&#125;&#92;&#108;&#101;&#102;&#116;&#91;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#117;&#114;&#114;&#101;&#110;&#116;&#125;&#40;&#116;&#41;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#97;&#112;&#97;&#99;&#105;&#116;&#97;&#110;&#99;&#101;&#125;&#125;&#43;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#110;&#100;&#117;&#99;&#116;&#97;&#110;&#99;&#101;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#117;&#114;&#114;&#101;&#110;&#116;&#125;&#39;&#39;&#40;&#116;&#41;&#43;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#101;&#115;&#105;&#115;&#116;&#97;&#110;&#99;&#101;&#125;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#117;&#114;&#114;&#101;&#110;&#116;&#125;&#39;&#40;&#116;&#41;&#61;&#69;&#95;&#123;&#48;&#125;&#32;&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#92;&#99;&#111;&#115;&#32;&#40;&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#116;&#41;&#44;&#92;&#116;&#101;&#120;&#116;&#123;&#67;&#117;&#114;&#114;&#101;&#110;&#116;&#125;&#40;&#116;&#41;&#44;&#116;&#92;&#114;&#105;&#103;&#104;&#116;&#93;\" title=\"Rendered by QuickLaTeX.com\" height=\"32\" width=\"749\" style=\"vertical-align: -11px;\"\/> [3]<\/p>\n<p>We must set values for resistance, inductance, capacitance,\u00a0and\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-2cf56434dc031c28acb706e4308b1df8_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#32;&#69;&#95;&#123;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"20\" style=\"vertical-align: -3px;\"\/>. For this run through of the solution I chose the following arbitrary values:<\/p>\n<ul>\n<li>Inductance= 1 Henry<\/li>\n<li>Resistance= 10 ohms<\/li>\n<li>Capacitance= .1 farads<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-2cf56434dc031c28acb706e4308b1df8_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#32;&#69;&#95;&#123;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"20\" style=\"vertical-align: -3px;\"\/>= 1 Volt<\/li>\n<\/ul>\n<p>When the command is run with the above values set, Mathematica generates the general solution, which is:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-e92f0ada61a2748426a72df614104599_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;&#61;&#99;&#95;&#49;&#32;&#101;&#94;&#123;&#45;&#56;&#46;&#56;&#55;&#50;&#57;&#56;&#32;&#116;&#125;&#43;&#99;&#95;&#50;&#32;&#101;&#94;&#123;&#45;&#49;&#46;&#49;&#50;&#55;&#48;&#50;&#32;&#116;&#125;&#43;&#48;&#46;&#48;&#52;&#48;&#56;&#50;&#52;&#40;&#45;&#67;&#111;&#115;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#43;&#101;&#94;&#123;&#54;&#46;&#54;&#54;&#49;&#42;&#49;&#48;&#94;&#45;&#49;&#54;&#116;&#125;&#67;&#111;&#115;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#45;&#48;&#46;&#51;&#53;&#54;&#52;&#83;&#105;&#110;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#43;&#50;&#46;&#56;&#48;&#54;&#101;&#94;&#123;&#54;&#46;&#54;&#54;&#49;&#42;&#49;&#48;&#94;&#45;&#49;&#54;&#116;&#125;&#83;&#105;&#110;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"41\" width=\"589\" style=\"vertical-align: -4px;\"\/> [4]<\/p>\n<p>First, lets make sure that this solution is reasonable. The known form of the solution to the equation for such a circuit is given by:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-f1e55e04d02c3795b6e87f169c4164d1_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;&#61;&#99;&#95;&#49;&#32;&#101;&#94;&#123;&#114;&#95;&#123;&#49;&#125;&#116;&#125;&#43;&#99;&#95;&#50;&#32;&#101;&#94;&#123;&#114;&#95;&#123;&#50;&#125;&#116;&#125;&#43;&#65;&#115;&#105;&#110;&#40;&#92;&#111;&#109;&#101;&#103;&#97;&#32;&#116;&#45;&#92;&#118;&#97;&#114;&#112;&#104;&#105;&#32;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"284\" style=\"vertical-align: -4px;\"\/> [5]<\/p>\n<p>The form of our equation [4] seems to match up pretty nicely with this known solution [5]. Now, lets examine [4] in more detail.<\/p>\n<p>Our solution [4] looks a little daunting, but we can break it down into its components. The first two terms have constants that depend on the initial current running through the system, i.e. when <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-1eecbd67175c41e11d7a3bc6a02ffbf8_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;&#61;&#73;&#40;&#48;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"84\" style=\"vertical-align: -4px;\"\/>. However, we can approximate the equation by only looking at the last term, which is a superposition of sin and cosine functions along with a couple exponential terms thrown in. The reason that we can apply this approximation is that the first two terms &#8220;damp out&#8221; quickly, and thus have exponentially less of an effect as time progresses. The reader may still be curious to see how much of an effect these terms have on the current flowing through the system: to that I say don&#8217;t worry! After my initial approximation, I will solve for these constants and compare the two cases.<\/p>\n<p>For now, we will deal with the approximate solution, which is:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-ee1e7c19febbeffa364281e06d9c85a5_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;&#61;&#48;&#46;&#48;&#52;&#48;&#56;&#50;&#52;&#40;&#45;&#67;&#111;&#115;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#43;&#101;&#94;&#123;&#54;&#46;&#54;&#54;&#49;&#42;&#49;&#48;&#94;&#45;&#49;&#54;&#116;&#125;&#67;&#111;&#115;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#45;&#48;&#46;&#51;&#53;&#54;&#52;&#83;&#105;&#110;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#43;&#50;&#46;&#56;&#48;&#54;&#101;&#94;&#123;&#54;&#46;&#54;&#54;&#49;&#42;&#49;&#48;&#94;&#45;&#49;&#54;&#116;&#125;&#83;&#105;&#110;&#40;&#51;&#46;&#49;&#54;&#50;&#116;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"41\" width=\"582\" style=\"vertical-align: -4px;\"\/> [6]<\/p>\n<p>Now that we have this equation, we can use Mathematica to give us an idea of what the changing current looks like over a longer period of time. Figure 2 shows the current in the circuit as a function of time (<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pages.vassar.edu\/magnes\/wp-content\/ql-cache\/quicklatex.com-3fdb038c5615c4490dae465213f7e0dd_l3.png\" class=\"ql-img-inline-formula \" alt=\"&#73;&#40;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -4px;\"\/>) plotted over a 30-second interval.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/30secondplot.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3261\" alt=\"30secondplot\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/30secondplot.jpg\" width=\"542\" height=\"363\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/30secondplot.jpg 542w, https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/30secondplot-300x200.jpg 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/a>(Figure 2)<\/p>\n<p>This looks like something we would expect! A sinusoidal wave that describes the changing current over time, just like our equations dictate. But, this is a short time-scale. What happens when we look at the changing current over a longer period of time? In Figure 3, I show the changing current over a longer time period (3000 seconds\/50 minutes). In Figure 4, I repeat the process, but with the timescale being 5 years.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/50minuteplot.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3262\" alt=\"50minuteplot\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/50minuteplot.jpg\" width=\"526\" height=\"337\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/50minuteplot.jpg 526w, https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/50minuteplot-300x192.jpg 300w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><\/a>(Figure 3)<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/5yearplot1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3265\" alt=\"5yearplot\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/5yearplot1.jpg\" width=\"532\" height=\"318\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/5yearplot1.jpg 532w, https:\/\/pages.vassar.edu\/magnes\/files\/2014\/04\/5yearplot1-300x179.jpg 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a>(Figure 4)<\/p>\n<p>In both Figures 3 and 4, we see some very interesting long-term variations in the current. Why does this occur? Well to be honest, I am not completely certain. I do have a few ideas though:<\/p>\n<ul>\n<li>My first inclination is that the long-term variations are in part due to the approximation I made by removing the first two terms of Equation [4].<\/li>\n<li>My second idea is that these long-term structures are present due to a possible approximation Mathematica may have made when solving the differential equation.<\/li>\n<li>My third and last thought is that these variations are not an artifact of finding the solution, but truly do exist in this theoretical circuit I have chosen.<\/li>\n<\/ul>\n<p><strong>Why?<\/strong><\/p>\n<p>A question that the reader may have after looking at all of this is &#8220;Why is the long-term structure important?&#8221; The answer lies in the fact that RLC circuits are embedded in many electronic devices, including radios and televisions. For this reason, it is important to know the current they put out. We don&#8217;t \u00a0really want something that has an unpredictable output in devices that are high-cost.<\/p>\n<p><strong>Forward Plan<\/strong><\/p>\n<p>To further investigate the reason for the long-term structure, I will first solve for the constants in Equation [4] and plot the graphs of current again. Hopefully this will provide some insight into the workings of the circuit. I may also alter the initial parameters (inductance, resistance, etc.) to see if this provides any insight. If not, then I will investigate Mathematica&#8217;s differential equation solving techniques and attempt to alter my solution in a way that provides a more accurate solution.<\/p>\n<p><strong>Resources<\/strong><\/p>\n<p>1. Circuit Diagram Maker-\u00a0http:\/\/www.circuit-diagram.org\/<\/p>\n<p>2.\u00a0The RLC Circuit- University of British Columbia- \u00a0<a href=\"http:\/\/www.math.ubc.ca\/~feldman\/m121\/RLC.pdf\">http:\/\/www.math.ubc.ca\/~feldman\/m121\/RLC.pdf<\/a><\/p>\n<p>3.\u00a0Mathematica Cookbook by Sal Mangano<\/p>\n<p><strong>Mathematica Notebook<\/strong><\/p>\n<p><a title=\" Mathematica NB\" href=\"https:\/\/drive.google.com\/file\/d\/0B3mtB6CQNnpjejEzN25zbFlqajQ\/edit?usp=sharing\">https:\/\/drive.google.com\/file\/d\/0B3mtB6CQNnpjejEzN25zbFlqajQ\/edit?usp=sharing<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview In the following blog post, I discuss my progress with my project so far. I start out with a simple RLC circuit, go on to discuss the components, and derive a solution (using Mathematica) for a circuit with parameters that I have come up with. I then plot current as a function of time [&hellip;]<\/p>\n","protected":false},"author":1826,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4101,54058,188,54190],"tags":[],"class_list":["post-3087","post","type-post","status-publish","format-standard","hentry","category-advanced-em","category-gagandeep","category-mathematica","category-spring-2014"],"_links":{"self":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/users\/1826"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/comments?post=3087"}],"version-history":[{"count":32,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3087\/revisions"}],"predecessor-version":[{"id":3302,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/3087\/revisions\/3302"}],"wp:attachment":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/media?parent=3087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/categories?post=3087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/tags?post=3087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}