{"id":1887,"date":"2014-02-03T22:25:30","date_gmt":"2014-02-04T01:25:30","guid":{"rendered":"http:\/\/tangopardo.com.ar\/2cf7\/?p=1887"},"modified":"2014-02-03T22:25:30","modified_gmt":"2014-02-04T01:25:30","slug":"stability-analysis-of-an-active-load","status":"publish","type":"post","link":"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load","title":{"rendered":"Stability analysis of an active load."},"content":{"rendered":"<p>A more formal analysis about why the previous compensation scheme worked.<\/p>\n<p>On this first part I will cover the loop around the opamp ignoring for a while the output transistor and parasitic capacitances; they will come later.<\/p>\n<p>Some math after the jump.<!--more--><\/p>\n<p>So after a while I went for a more minimalistic approach. This is more or less the original load:<\/p>\n<div id=\"attachment_1889\" style=\"width: 493px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1889\" data-attachment-id=\"1889\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/ckt_orig\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig.png\" data-orig-size=\"604,301\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Original circuit of the active load.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Original circuit of the active load.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig-300x149.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig.png\" class=\" wp-image-1889 \" alt=\"Original circuit of the active load.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig.png\" width=\"483\" height=\"241\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig.png 604w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_orig-300x149.png 300w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/a><p id=\"caption-attachment-1889\" class=\"wp-caption-text\">Original circuit of the active load.<\/p><\/div>\n<p>The opamp power supply is not shown, Vext and Zl are external to the circuit. Assuming for a while that the opamp is a bit more ideal and its output can swing to at least Vext the circuit can be reorganized as follows without changing the behaviour:<\/p>\n<div id=\"attachment_1890\" style=\"width: 474px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1890\" data-attachment-id=\"1890\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/ckt_reordenado\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado.png\" data-orig-size=\"464,266\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Circuit reorganized.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Active load circuit, reorganized.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado-300x171.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado.png\" class=\"size-full wp-image-1890\" alt=\"Active load circuit, reorganized.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado.png\" width=\"464\" height=\"266\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado.png 464w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_reordenado-300x171.png 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><p id=\"caption-attachment-1890\" class=\"wp-caption-text\">Active load circuit, reorganized.<\/p><\/div>\n<p>And finally, we can dispense of the transistor, arriving at the bare minimum:<\/p>\n<div id=\"attachment_1891\" style=\"width: 296px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_simple.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1891\" data-attachment-id=\"1891\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/ckt_simple\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_simple.png\" data-orig-size=\"286,258\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Active load, simplificated.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Active load, simplificated.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_simple.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_simple.png\" class=\"size-full wp-image-1891\" alt=\"Active load, simplificated.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_simple.png\" width=\"286\" height=\"258\" \/><\/a><p id=\"caption-attachment-1891\" class=\"wp-caption-text\">Active load, simplificated.<\/p><\/div>\n<p>If Zl is an inductor we can model it as a &#8216;pure&#8217; inductor L in series with a resistance Rl. Then, the voltage at Iout will be:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=V%28I_%7Bout%7D%29%28s%29+%3D+V_%7Bout%7D+%5Ccdot+%5Cleft%28+%5Cfrac%7BR_s%7D%7BR_s+%2B+R_L%7D+%5Cright%29+%5Ccdot+%5Cfrac%7B1%7D%7B1+%2B+s+%5Cfrac%7BL%7D%7BR_s+%2B+R_L%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"V(I_{out})(s) = V_{out} &#92;cdot &#92;left( &#92;frac{R_s}{R_s + R_L} &#92;right) &#92;cdot &#92;frac{1}{1 + s &#92;frac{L}{R_s + R_L} } \" class=\"latex\" \/><\/p>\n<p>We can build a block diagram of the whole system:<\/p>\n<div id=\"attachment_1894\" style=\"width: 494px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1894\" data-attachment-id=\"1894\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/sin_compensar_flujo\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo.png\" data-orig-size=\"691,331\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Uncompensated system.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Uncompensated system.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo-300x143.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo.png\" class=\" wp-image-1894 \" alt=\"Uncompensated system.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo.png\" width=\"484\" height=\"232\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo.png 691w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/sin_compensar_flujo-300x143.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/a><p id=\"caption-attachment-1894\" class=\"wp-caption-text\">Uncompensated system.<\/p><\/div>\n<p>So we have a three pole system (p1 and p2 are the opamp poles). This is bound to oscillate sooner or later unless gain is reduced or the response modified with a compensation network.<\/p>\n<p>The traditional recipe for this cases is to put a small capacitor from the output to the inverting input of the opamp. Given the very low impedance present at V- we isolate it with a moderate resistor, thus the new circuit is:<\/p>\n<div id=\"attachment_1908\" style=\"width: 359px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1908\" data-attachment-id=\"1908\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/ckt_compensado\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado.png\" data-orig-size=\"349,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Compensated active load.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Compensated active load.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado-300x216.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado.png\" class=\"size-full wp-image-1908\" alt=\"Compensated active load.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado.png\" width=\"349\" height=\"252\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado.png 349w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_compensado-300x216.png 300w\" sizes=\"auto, (max-width: 349px) 100vw, 349px\" \/><\/a><p id=\"caption-attachment-1908\" class=\"wp-caption-text\">Compensated active load.<\/p><\/div>\n<p>To obtain the voltage at Vfb we use the superposition theorem. Neglecting the loading effect that Rcc and Cc can present at the Vout and Iout nodes we consider the two cases:<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_1911\" style=\"width: 467px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1911\" data-attachment-id=\"1911\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/ckt_feedback-2\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1.png\" data-orig-size=\"457,122\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"compensation network\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Models of the compensation network for Iout and Vout to Vfb&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1-300x80.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1.png\" class=\"size-full wp-image-1911\" alt=\"Models of the compensation network for Iout and Vout to Vfb\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1.png\" width=\"457\" height=\"122\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1.png 457w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/ckt_feedback1-300x80.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/a><p id=\"caption-attachment-1911\" class=\"wp-caption-text\">Models of the compensation network for Iout and Vout to Vfb<\/p><\/div>\n<p>For Vout it acts as a high pass filter and as a low pass for Iout. In the s domain that is:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=V_%7Bfb%7D+%3D+V_%7Bout%7D+%5Cfrac%7Bs+R_c+C_c%7D%7B1+%2B+s+R_c+C_c%7D+%2B+V%28I_%7Bout%7D%29+%5Cfrac%7B1%7D%7B1+%2B+s+R_c+C_c%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"V_{fb} = V_{out} &#92;frac{s R_c C_c}{1 + s R_c C_c} + V(I_{out}) &#92;frac{1}{1 + s R_c C_c} \" class=\"latex\" \/><\/p>\n<p style=\"text-align: left;\">And in a block form:<\/p>\n<div id=\"attachment_1892\" style=\"width: 473px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1892\" data-attachment-id=\"1892\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/compensado_flujo\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo.png\" data-orig-size=\"771,654\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Compensated system.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Compensated system.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo-300x254.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo.png\" class=\" wp-image-1892 \" alt=\"Compensated system.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo.png\" width=\"463\" height=\"392\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo.png 771w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/compensado_flujo-300x254.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/a><p id=\"caption-attachment-1892\" class=\"wp-caption-text\">Compensated system.<\/p><\/div>\n<p>The denominator of the transfer function is then:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=1+%2B+%5Cfrac%7BA_v%7D%7B%281+%2B+s+%2F+p_1%29+%281%2B+s+%2F+p_2%29%7D+%5Cfrac%7B1%7D%7B1+%2B+s+R_c+C%7D+%5Cleft+%5B+s+R_c+C+%2B+%5Cfrac%7BR_s%7D%7BR_s+%2B+R_L%7D%5Cfrac%7B1%7D%7B1+%2B+s+%5Cfrac%7BL%7D%7BR_s+%2B+R_L%7D%7D+%5Cright%5D&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"1 + &#92;frac{A_v}{(1 + s \/ p_1) (1+ s \/ p_2)} &#92;frac{1}{1 + s R_c C} &#92;left [ s R_c C + &#92;frac{R_s}{R_s + R_L}&#92;frac{1}{1 + s &#92;frac{L}{R_s + R_L}} &#92;right]\" class=\"latex\" \/><\/p>\n<p>With a bit of algebra the term on square brackets can be simplified as follows:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Cleft+%28+%5Cfrac%7BR_c+L+C_c%7D%7BR_s+%2B+R_L%7D+%5Cright+%29+%5Ccdot+%5Cleft%28+%5Cfrac%7B1%7D%7B1+%2B+s+%5Cfrac%7BL%7D%7BR_s+%2B+R_L%7D%7D+%5Cright%29+%5Ccdot+%5Cleft%28+s%5E2+%2B+s+%5Cfrac%7BR_s+%2B+R_L%7D%7BL%7D+%2B+%5Cfrac%7BR_s%7D%7BR_c+L+C_c%7D%5Cright%29+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"&#92;left ( &#92;frac{R_c L C_c}{R_s + R_L} &#92;right ) &#92;cdot &#92;left( &#92;frac{1}{1 + s &#92;frac{L}{R_s + R_L}} &#92;right) &#92;cdot &#92;left( s^2 + s &#92;frac{R_s + R_L}{L} + &#92;frac{R_s}{R_c L C_c}&#92;right) \" class=\"latex\" \/><\/p>\n<p>So, now we have a system with four poles and two zeros. The natural frequency and damping factor are:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Comega+_n+%3D+%5Csqrt%7B+%5Cfrac%7BR_s%7D%7BR_c+L+C_c%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"&#92;omega _n = &#92;sqrt{ &#92;frac{R_s}{R_c L C_c} } \" class=\"latex\" \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Czeta+%3D+%5Cfrac%7BR_s+%2B+R_L%7D%7B2L%7D+%5Csqrt%7B%5Cfrac%7BR_c+L+C%7D%7BR_s%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"&#92;zeta = &#92;frac{R_s + R_L}{2L} &#92;sqrt{&#92;frac{R_c L C}{R_s} } \" class=\"latex\" \/><\/p>\n<p style=\"text-align: left;\">Most of the time the damping factor will be quite low. One of my problematic loads was a 4mH choke with about an ohm of series resistance. Plugging that values and using Rc = 10K and Cc = 120pF (just had those at hand) I get:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Comega+_n+%3D+4787%7BHz%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"&#92;omega _n = 4787{Hz} \" class=\"latex\" \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Czeta+%3D+.0289+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"&#92;zeta = .0289 \" class=\"latex\" \/><\/p>\n<p style=\"text-align: left;\">Which results in a pair of complex zeros at <img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=-138+%5Cpm+j+%5Ccdot+4785+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"-138 &#92;pm j &#92;cdot 4785 \" class=\"latex\" \/>. The rest of the equation has two poles from the opamp (one at about 2Hz and other far away), another one at about 132KHz from the compensation network and another one around 44Hz from the L and (Rs + Rl).<\/p>\n<p style=\"text-align: left;\">The net effect of this pair of zeros is to move the root locus towards the left side of the complex plane, stabilizing the system. Using Octave we can easily plot it:<\/p>\n<div id=\"attachment_1950\" style=\"width: 471px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1950\" data-attachment-id=\"1950\" data-permalink=\"https:\/\/tangopardo.com.ar\/2cf7\/2014\/02\/03\/stability-analysis-of-an-active-load\/rlocus_revisado\" data-orig-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado.png\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Root locus of compensated system.\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Root locus of compensated system.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado-300x225.png\" data-large-file=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado-1024x768.png\" class=\" wp-image-1950  \" alt=\"Root locus of compensated system.\" src=\"http:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado.png\" width=\"461\" height=\"346\" srcset=\"https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado.png 1280w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado-300x225.png 300w, https:\/\/tangopardo.com.ar\/2cf7\/wp-content\/uploads\/2014\/02\/rlocus_revisado-1024x768.png 1024w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><p id=\"caption-attachment-1950\" class=\"wp-caption-text\">Root locus of compensated system.<\/p><\/div>\n<p>It is noteworthy the high amount of gain that is needed for the poles to move close to the zeroes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A more formal analysis about why the previous compensation scheme worked. On this first part I will cover the loop around the opamp ignoring for a while the output transistor and parasitic capacitances; they will come later. Some math after the jump.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-1887","post","type-post","status-publish","format-standard","hentry","category-electronica"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmnbC-ur","_links":{"self":[{"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/comments?post=1887"}],"version-history":[{"count":65,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/posts\/1887\/revisions"}],"predecessor-version":[{"id":1968,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/posts\/1887\/revisions\/1968"}],"wp:attachment":[{"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/media?parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/categories?post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tangopardo.com.ar\/2cf7\/wp-json\/wp\/v2\/tags?post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}