{"id":397678,"date":"2024-06-29T13:36:48","date_gmt":"2024-06-29T13:36:48","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=397678"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=397678","title":{"rendered":"<span>Compensation for Error Caused by Limited Gain-Bandwidth of Operational Amplifiers in Low-pass Filters<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/je\/pl\/7g\/jepl7g71qvt7c_1u6wq7o5_svue.png\" alt=\"Amateur vs Pro\" data-src=\"https:\/\/habrastorage.org\/webt\/je\/pl\/7g\/jepl7g71qvt7c_1u6wq7o5_svue.png\"\/><\/div>\n<p>  An operational amplifier has the internal compensation circuit for stability which limits its working bandwidth. Frequency response of the compensated Op Amp has slope of \u22126\u00a0dB\/octave or \u221220\u00a0dB\/decade. Unity gain frequency defines the bandwidth where the Op Amp is able to amplify a signal. If we multiply the gain and frequency at any point, the result is the same, allowing us to use this parameter to select the appropriate Op Amp. It is called Gain-Bandwidth Product, GBW or GBP. The limited open-loop gain introduces a closed-loop gain and phase error.<\/p>\n<p>  But we want to optimize our circuits, right?<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/5t\/lo\/-j\/5tlo-jyweeb0osc1zci1yzcgwkk.png\" alt=\"'Closed-loop gain of the Non-Inverting and Inverting Amplifier\" data-src=\"https:\/\/habrastorage.org\/webt\/5t\/lo\/-j\/5tlo-jyweeb0osc1zci1yzcgwkk.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Closed-loop gain of the Non-Inverting and Inverting Amplifier<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The closed-loop gain of the non-inverting amplifier is:<\/p>\n<pre>        A G = \u2014\u2014\u2014\u2014\u2014\u2014\u2014     1 + A \u03b2 <\/pre>\n<p>  and for the inverting amplifier:<\/p>\n<pre>       A (1 \u2212 \u03b2) G = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014        1 + A \u03b2 <\/pre>\n<p>  where:<\/p>\n<p>  A is the open-loop gain;<br \/>  \u03b2 is the feedback fraction.<\/p>\n<p>  Let\u2019s calculate, for example, an inverting amplifier with desired gain of 1 when <nobr>A = 100<\/nobr>, <nobr>\u03b2 = R1 \/ (R1+R2) = 0.5<\/nobr>:<\/p>\n<pre>      A (1 \u2212 \u03b2)     100 \u00d7 (1 \u2212 0.5)     50 G= \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2212 \u2014\u2014 \u2248 \u22120.98       1 + A \u03b2       1 + 100 \u00d7 0.5      51 <\/pre>\n<p>  and A=1:<\/p>\n<pre>      A (1 \u2212 \u03b2)     1 \u00d7 (1 \u2212 0.5) G= \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2248 \u22120.333       1 + A \u03b2       1 + 1 \u00d7 0.5 <\/pre>\n<p>  But to make a real Op Amp stable, A is frequency dependent and there is a phase shift, how you can see in the picture below.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fg\/9l\/em\/fg9lemn3falb0hzm776hpckfu00.png\" alt=\"'idealCircuit', Frequency response of the compensated Op Amp without a feedback network\" data-src=\"https:\/\/habrastorage.org\/webt\/fg\/9l\/em\/fg9lemn3falb0hzm776hpckfu00.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Frequency response of the compensated Op Amp without a feedback network<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <nobr>Gain-Bandwidth Product (GBW) = A \u00d7 F<\/nobr> is a constant, and the greater the GBW, the faster and expensive the Op Amp. Of course, A cannot be infinity, so we see a shelf at low frequencies due to a finite gain.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/jv\/e0\/ng\/jve0ng4qkraoystsprnpbmfqvzm.png\" alt=\"'idealCircuit', The inverting amplifier with ideal and compensated Op Amp\" data-src=\"https:\/\/habrastorage.org\/webt\/jv\/e0\/ng\/jve0ng4qkraoystsprnpbmfqvzm.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">The inverting amplifier with ideal and compensated Op Amp.<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The figure shows the difference between the ideal and compensated Op Amp with GBW = 1\u00a0MHz. You can see that the cyan line of the compensated Op Amp is always below the yellow line showing its open-loop gain and there must be some margin.<\/p>\n<p>  However, the simulator shows that gain at 1\u00a0\u041c\u0413\u0446 is not -9.55\u00a0dB, but about -7\u00a0dB due to a phase shift at the output.<\/p>\n<p>  The closed-loop gain error versus gain margin for the non-inverting amplifier looks likes that:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/xn\/p2\/xf\/xnp2xfnvlbriojt1zc2qdvdrxce.png\" alt=\"'Circuit Calculator', Closed-loop gain error vs Gain margin of the non-inverting amplifier\" data-src=\"https:\/\/habrastorage.org\/webt\/xn\/p2\/xf\/xnp2xfnvlbriojt1zc2qdvdrxce.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Closed-loop gain error vs Gain margin of the non-inverting amplifier.<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <\/p>\n<h2>Error compensation for 2-nd order low-pass filter<\/h2>\n<p>  This equation is usually used to compute the GBW of an Op Amp:<\/p>\n<pre>GBW(Hz) = 100 \u00d7 Q \u00d7 G \u00d7 F3<\/pre>\n<p>  where:<\/p>\n<p>  Q is the quality factor of the filter;<br \/>  G is the specified gain;<br \/>  F3 is the cutoff frequency at -3\u00a0dB;<br \/>  100 is the gain margin.<\/p>\n<p>  Why? A low-pass filter with <nobr>Q > 0.707<\/nobr> has a peak and we need to multiply the gain with this peak value to account it. The peak value is:<\/p>\n<pre>               Q \u03b2 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2248 Q     sqrt(1 \u2212 1 \/ (4 Q^2)) <\/pre>\n<p>  The most of used filters are low-pass filters for ADCs and DACs. So even for an LPF with 150\u00a0kHz an Op Amp with GBW of 15\u00a0MHz is desirable.<\/p>\n<p>  Texas Instruments\u2019 engineers shared a method to reduce the requirement in [1][2].<br \/>  Let\u2019s try to figure out how to use their equations in practice.<\/p>\n<h3>Multiple FeedBack LPF<\/h3>\n<p>  Let\u2019s compute a 2-nd order LPF with bandwidth of 150\u00a0kHz, gain of 1 and quality factor of 0.707.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/cs\/vr\/fh\/csvrfhsde-ackolfifoqnjlzpny.png\" alt=\"'Circuit Calculator', 2-nd order MFB LPF\" data-src=\"https:\/\/habrastorage.org\/webt\/cs\/vr\/fh\/csvrfhsde-ackolfifoqnjlzpny.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">2-nd order MFB LPF<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The required GBW is:<\/p>\n<pre>GBW(Hz) = 100 \u00d7 Q \u00d7 G \u00d7 F3 = 100 \u00d7 0.707 \u00d7 1 \u00d7 150 kHz \u2248 10.5 MHz<\/pre>\n<p>  Let\u2019s try to use an Op Amp with GBW of 1\u00a0MHz.<\/p>\n<p>  Add R4 in series with C2:<\/p>\n<pre>             1                   1 R4 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 2122 \u2248 2.1k (E96)      2 \u00d7 \u03c0 \u00d7 GBW \u00d7 C2   2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 75pF <\/pre>\n<p>  Change R3:<\/p>\n<pre>R3' = R3 \u2212 R4 = 4990 \u2212 2100 = 2868 \u2248 2.87k (E96)<\/pre>\n<p>  And finally enter the values into a simulator:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/5e\/au\/ix\/5eauix45grb-8ffjvs6j8paayfm.png\" alt=\"'idealCircuit', Error compensation for 2-nd order MFB LPF\" data-src=\"https:\/\/habrastorage.org\/webt\/5e\/au\/ix\/5eauix45grb-8ffjvs6j8paayfm.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Error compensation for 2-nd order MFB LPF<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The top circuit and green color on the charts: the ideal amplifier.<br \/>  The middle circuit and cyan color on the charts: the Op Amp with GBW of 1\u00a0MHz.<br \/>  The bottom circuit and yellow color on the charts: the Op Amp with GBW of 1\u00a0MHz and with the error compensation.<\/p>\n<p>  When R3 is too low, the R3\u2019 value may be negative. In such cases you should recalculate the filter with a greater R3 value.<\/p>\n<h3>Sallen-Key LPF<\/h3>\n<p>  Let\u2019s compute a 2-nd order LPF with bandwidth of 150\u00a0kHz, gain of 1 and quality factor of 0.707.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/b3\/wq\/rx\/b3wqrxnrl2y3rvsipxyij8jf6oc.png\" alt=\"'Circuit Calculator', 2-nd order Sallen-Key LPF\" data-src=\"https:\/\/habrastorage.org\/webt\/b3\/wq\/rx\/b3wqrxnrl2y3rvsipxyij8jf6oc.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">2-nd order Sallen-Key LPF<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The required GBW is:<\/p>\n<pre>GBW(Hz) = 100 \u00d7 Q \u00d7 G \u00d7 F3 = 100 \u00d7 0.707 \u00d7 1 \u00d7 150kHz \u2248 10.5 MHz<\/pre>\n<p>  Let\u2019s try to use an Op Amp with GBW of 1\u00a0MHz.<\/p>\n<p>  Add R5 in series with C1:<\/p>\n<pre>             R3 + R4                  \u221e + 0                      1 R5 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 1061 \u2248 1.07k (E96)      2 \u00d7 \u03c0 \u00d7 GBW \u00d7 C1 \u00d7 R3   2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 150pF \u00d7 \u221e   2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 150pF <\/pre>\n<p>  Change R2:<\/p>\n<pre>R2' = R2 \u2212 R5 = 4990 \u2212 1070 = 3920 = 3.92k (E96)<\/pre>\n<p>  And finally enter the values into a simulator:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/8i\/yx\/-d\/8iyx-dz3zz-6vndowg8llh1ixxu.png\" alt=\"'idealCircuit', Error compensation for 2-nd order Sallen-Key LPF\" data-src=\"https:\/\/habrastorage.org\/webt\/8i\/yx\/-d\/8iyx-dz3zz-6vndowg8llh1ixxu.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Error compensation for 2-nd order Sallen-Key LPF<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The top circuit and green color on the charts: the ideal amplifier.<br \/>  The middle circuit and cyan color on the charts: the Op Amp with GBW of 1\u00a0MHz.<br \/>  The bottom circuit and yellow color on the charts: the Op Amp with GBW of 1\u00a0MHz and with the error compensation.<\/p>\n<h2>Error compensation for Type II compensation network with Op Amp<\/h2>\n<p>  Let\u2019s try to apply the same method to the Type II compensation network with Op Amp used in switching-mode power supplies.<\/p>\n<p>  Consider a Type II circuit with parameters: the zero at 2\u00a0kHz, the pole at\u00a0300 kHz, the middle gain is 0\u00a0dB.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/1y\/xq\/ge\/1yxqge5ogeay38whcsypgofjjn8.png\" alt=\"'Circuit Calculator', Type 2 compensation with Op Amp\" data-src=\"https:\/\/habrastorage.org\/webt\/1y\/xq\/ge\/1yxqge5ogeay38whcsypgofjjn8.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Type 2 compensation with Op Amp<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  Conservative calculation of the required GBW:<\/p>\n<pre>GBW(Hz) = M \u00d7 Fpole \u00d7 Gfp = 100 \u00d7 300kHz \u00d7 0.707 \u2248 21 MHz<\/pre>\n<p>  where:<\/p>\n<p>  M=100 is the gain margin of the Op Amp at a frequency in times;<br \/>  Fpole is the pole frequency in Hz;<br \/>  Gfp is the gain at the pole frequency in times.<\/p>\n<p>  Christophe Basso in [4] gives another calculation:<\/p>\n<pre>GBW(Hz) = M \u00d7 (20 Fcross) \u00d7 Gfc = 20 \u00d7 20 \u00d7 5kHz \u00d7 1 \u2248 2 MHz<\/pre>\n<p>  where:<\/p>\n<p>  M=20 is the gain margin of the Op Amp at a frequency in times;<br \/>  20 Fcross is the frequency with maximum phase boost in Hz with the factor to account the pole position;<br \/>  Gfc is the gain at the Fcross frequency in times.<\/p>\n<p>  The transfer function of the circuit is:<\/p>\n<pre>                          (C1 R1 s + 1) H(s) = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014          (s Rfb1 (C1 + C2))(s C1 C2 R1 \/ (C1 + C2) + 1) <\/pre>\n<p>  Add R2 in series with C2. The new transfer function is:<\/p>\n<pre>                       (1 + C1 R1 s) (1 + C2 R2 s) H(s) = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014          (s Rfb1 (C1 + C2)) (s C2 C1 (R2 + R1) \/ (C1 + C2) + 1) <\/pre>\n<p>  Change the C2 value and find the R2 value:<\/p>\n<pre>                   1 C2' = C2 \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014            2 \u00d7 \u03c0 \u00d7 GBW \u00d7 R1 <\/pre>\n<p>  <\/p>\n<pre>             1 R2 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014      2 \u00d7 \u03c0 \u00d7 GBW \u00d7 C2' <\/pre>\n<p>  Now try to use an Op Amp with <nobr>GBW = 1 MHz<\/nobr> in this circuit.<\/p>\n<p>  Recalculate the circuit values using the equations above and see the result.<\/p>\n<p>  Adjust the C2 value:<\/p>\n<pre>                      1 C2' = 56pF \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 40pF \u2248 39pF (E24)              2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 10k <\/pre>\n<p>  The R2 value:<\/p>\n<pre>              1 R2 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 4k \u2248 3.9k (E24)      2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 39pF <\/pre>\n<p>  And finally enter the values into a simulator:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ke\/5o\/uu\/ke5ouu8cyvzcizsgnglf7w9im04.png\" alt=\"'idealCircuit', Error compensation for Type 2 compensation network with Op Amp\" data-src=\"https:\/\/habrastorage.org\/webt\/ke\/5o\/uu\/ke5ouu8cyvzcizsgnglf7w9im04.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Error compensation for Type 2 compensation network with Op Amp<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The top circuit and green color on the charts: the ideal amplifier.<br \/>  The middle circuit and cyan color on the charts: the Op Amp with GBW of 1\u00a0MHz.<br \/>  The bottom circuit and yellow color on the charts: the Op Amp with GBW of 1\u00a0MHz and with the error compensation.<\/p>\n<h2>Error compensation for Type II compensation network with Optocoupler without Fast Lane<\/h2>\n<p>  There are 2 variants of the circuit: with an Op Amp and a shunt regulator like TL431.<br \/>  We will use the same parameters: the zero at 2\u00a0kHz, the pole at 300\u00a0kHz, the middle gain is 0\u00a0dB, the current transfer ratio of an optocoupler is 1.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/hr\/nm\/fp\/hrnmfpzv6fkqlukorwjflxyqs10.png\" alt=\"'Circuit Calculator', Type 2 compensation with Optocoupler without Fast Lane\" data-src=\"https:\/\/habrastorage.org\/webt\/hr\/nm\/fp\/hrnmfpzv6fkqlukorwjflxyqs10.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Type 2 compensation with Optocoupler without Fast Lane<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The transfer function of both circuits is (C1=Cz, R1=Rz):<\/p>\n<pre>          CTR Rp       (1 + C1 R1) s H(s) = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014            Rd   (C1 Rfb1 s) (1 + Cp Rp s) <\/pre>\n<p>  where CTR is the current transfer ratio of the optocoupler.<\/p>\n<p>  Add Rc in series with Cp. The new transfer function is:<\/p>\n<pre>          CTR Rp   (1 + C1 R1 s) (1 + Cp CRc s) H(s) = \u2212 \u2014\u2014\u2014\u2014\u2014\u2014 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014            Rd   (C1 Rfb1 s) (1 + Cp (Rp + Rc) s) <\/pre>\n<p>  Change the C2 value and find the Rc value:<\/p>\n<pre>                   1 Cp' = Cp \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014            2 \u00d7 \u03c0 \u00d7 GBW \u00d7 Rp <\/pre>\n<p>  <\/p>\n<pre>             1 Rc = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014      2 \u00d7 \u03c0 \u00d7 GBW \u00d7 Cp' <\/pre>\n<p>  Try to use an Op Amp with <nobr>GBW = 1 MHz<\/nobr> in this circuit.<br \/>  Recalculate the circuit values using the equations above and see the result.<\/p>\n<p>  Adjust the Cp value:<\/p>\n<pre>                      1 Cp' = 51pF \u2212 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 35.1pF \u2248 36pF (E24)              2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 10k <\/pre>\n<p>  The Rc value:<\/p>\n<pre>              1 Rc = \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 4.421k \u2248 4.42k (E96)      2 \u00d7 \u03c0 \u00d7 1MHz \u00d7 36pF <\/pre>\n<p>  The extra DC gain is:<\/p>\n<pre>     CTR Rp   1 \u00d7 10k A = \u2014\u2014\u2014\u2014\u2014\u2014 = \u2014\u2014\u2014\u2014\u2014\u2014\u2014 = 1       Rd       10k <\/pre>\n<p>  And finally enter the values into a simulator:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td align=\"center\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ic\/hz\/mm\/ichzmmtbniviygqvcb2egsrd7bg.png\" alt=\"'idealCircuit', Error compensation for Type 2 compensation network with Optocoupler without Fast Lane\" data-src=\"https:\/\/habrastorage.org\/webt\/ic\/hz\/mm\/ichzmmtbniviygqvcb2egsrd7bg.png\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Error compensation for Type 2 compensation network with Optocoupler without Fast Lane<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  The top circuit and green color on the charts: the ideal amplifier.<br \/>  The middle circuit and yellow color on the charts: the Op Amp with GBW of 1\u00a0MHz.<br \/>  The bottom circuit and cyan color on the charts: the Op Amp with GBW of 1\u00a0MHz and with the error compensation.<br \/>  Do not forget that a real optocoupler has a parasitic capacitance and its value should be taken into account.<\/p>\n<h2>Conclusion<\/h2>\n<p>  The described methods help to reduce the requirement to the Gain-Bandwidth of a used Op Amp and cost of circuits.<\/p>\n<p>  For filters, they work well with commonly used quality factors below 1.<\/p>\n<h2>References<\/h2>\n<p>  <\/p>\n<ol>\n<li><a href=\"https:\/\/www.ti.com\/lit\/an\/sbaa236\/sbaa236.pdf\" rel=\"nofollow noopener noreferrer\">TI, Vito Shen, Thomas Kuehl, \u00abCompensation Methodology for Error in Multiple-Feedback Low-Pass Filter, Caused by Limited Gain-Bandwidth of Operational Amplifiers\u00bb<\/a><\/li>\n<li><a href=\"https:\/\/www.ti.com\/lit\/an\/sbaa237\/sbaa237.pdf\" rel=\"nofollow noopener noreferrer\">TI, Vito Shen, Thomas Kuehl, \u00abCompensation Methodology for Error in Sallen-Key Low-Pass Filter, Caused by Limited Gain-Bandwidth of Operational Amplifiers\u00bb<\/a><\/li>\n<li><a href=\"http:\/\/www.how2power.com\/newsletters\/1701\/articles\/H2PToday1701_design_ONSemi.pdf\" rel=\"nofollow noopener noreferrer\">Christophe Basso, \u00abUnderstanding Op Amp Dynamic Response In A Type-2 Compensator (Part 1): The Open-Loop Gain\u00bb<\/a><\/li>\n<li><a href=\"http:\/\/www.how2power.com\/newsletters\/1702\/articles\/H2PToday1702_design_ONSemi.pdf\" rel=\"nofollow noopener noreferrer\">Christophe Basso, \u00abUnderstanding Op Amp Dynamic Response In A Type-2 Compensator (Part 2): The Two Poles\u00bb<\/a><\/li>\n<li><a href=\"https:\/\/cbasso.pagesperso-orange.fr\/Downloads\/Papers\/The%20TL431%20in%20loop%20control.pdf\" rel=\"nofollow noopener noreferrer\">Christophe Basso, \u201cThe TL431 in Switch-Mode Power Supplies loops\u201d<\/a><\/li>\n<li><a href=\"https:\/\/sidelinesoft.com\/ic\/\" rel=\"nofollow noopener noreferrer\">\u00abidealCircuit\u00bb, simulator, Windows<\/a><\/li>\n<li><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.vdv.circuitcalculator\" rel=\"nofollow noopener noreferrer\">\u00abCircuit Calculator\u00bb, an electronics design tool for Android<\/a><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/521478\/\"> https:\/\/habr.com\/ru\/articles\/521478\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/je\/pl\/7g\/jepl7g71qvt7c_1u6wq7o5_svue.png\" alt=\"Amateur vs Pro\" data-src=\"https:\/\/habrastorage.org\/webt\/je\/pl\/7g\/jepl7g71qvt7c_1u6wq7o5_svue.png\"\/><\/div>\n<p>  An operational amplifier has the internal compensation circuit for stability which limits its working bandwidth. Frequency response of the compensated Op Amp has slope of \u22126\u00a0dB\/octave or \u221220\u00a0dB\/decade. Unity gain frequency defines the bandwidth where the Op Amp is able to amplify a signal. If we multiply the gain and frequency at any point, the result is the same, allowing us to use this parameter to select the appropriate Op Amp. It is called Gain-Bandwidth Product, GBW or GBP. The limited open-loop gain introduces a closed-loop gain and phase error.<\/p>\n<p>  But we want to optimize our circuits, right?  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-397678","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/397678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=397678"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/397678\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=397678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=397678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=397678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}