{"id":48,"date":"2020-06-18T20:20:07","date_gmt":"2020-06-18T20:20:07","guid":{"rendered":"https:\/\/www.vu2ese.com\/?p=48"},"modified":"2020-06-20T16:28:55","modified_gmt":"2020-06-20T16:28:55","slug":"feedback-amplifier","status":"publish","type":"post","link":"https:\/\/www.vu2ese.com\/index.php\/2020\/06\/18\/feedback-amplifier\/","title":{"rendered":"Feedback Amplifier"},"content":{"rendered":"<p>Feedback amplifiers are marvelous, reliable circuits. They have gained popularity in the amateur literature thanks to many articles featuring them in the popular magazines like the QST, they have been extensively used in the works of Wes Hayward, W7ZOI.<\/p>\n<p>This is a discursive video that I recorded for my club to show how one can easily design feedback amplifiers, build them and measure their performance. I have used <a href=\"https:\/\/www.hfsignals.com\/index.php\/antuino\/\">the Antuino<\/a> to do the measurements.\u00a0 The Antuino firmware that is used in this video is available on\u00a0<a href=\"https:\/\/github.com\/afarhan\/antuino2.2\">https:\/\/github.com\/afarhan\/antuino2.2<\/a><\/p>\n<p>In the video, I have glossed over two important points: 0.6v base-emitter potential difference and towards the end I have rushed through the IMD measurment, these will be covered in a upcoming videos.<\/p>\n<p><iframe loading=\"lazy\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/j3Xf_SpK7qc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>As an adjunct to the method in the video, based on the calculations set forth in Fig 2.69 of Experimental Methods in RF Design (Hayward, Campbell and Larkin, ARRL), I have created a small feedback amplifier calculator that is available below.\u00a0 To understand what&#8217;s going on, read <a href=\"http:\/\/w7zoi.net\/fba_with_simple_model.pdf\">W7ZOI&#8217;s introductory article<\/a> and then try his <a href=\"http:\/\/w7zoi.net\/transistor_models_and_the_fba.pdf\">Paper on Transistor Models<\/a>. It is worth your time to understand what amplifiers do.<\/p>\n<p>There are a few caveats though:<\/p>\n<ul>\n<li>This calculator does not handle complex impedances. It works as\u00a0 a rough estimation for HF to lower VHF range<\/li>\n<li>The emitter current Ie should be limited to 100 mA or less<\/li>\n<li>The transistor beta should be at least 5 times higher than the frequency of operation<\/li>\n<\/ul>\n<p>You can play with values, however if you want to get started, here are some tips:<\/p>\n<ul>\n<li>The Ratio of Rf\/Zin determines the voltage gain<\/li>\n<li>Keep the ratio of Rf\/Zin same as Zout\/Re<\/li>\n<li>For the small transistors like 2N3904, 2N2222, etc., keep Ie to less than 20 mA<\/li>\n<li>This model is very basic. For better modelling learn to use Spice and model it there<\/li>\n<\/ul>\n<table>\n<tbody>\n<tr>\n<td>Rin(Ohms):<\/td>\n<td><input id=\"r_s\" class=\"my_input\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Rf(Ohms):<\/td>\n<td><input id=\"r_f\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Re(Ohms):<\/td>\n<td><input id=\"r_d\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Rout(Ohms):<\/td>\n<td><input id=\"r_l\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>N:1 N=<\/td>\n<td><input id=\"n\" type=\"text\" value=\"2\" \/>(Output Transformer)<\/td>\n<\/tr>\n<tr>\n<td>Ie(mA):<\/td>\n<td><input id=\"i_e\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Ft(MHz):<\/td>\n<td><input id=\"f_t\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Freq(MHz):<\/td>\n<td><input id=\"freq\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><input id=\"btn_calculate\" type=\"submit\" value=\"Calculate\" \/><br \/>\n(The results appear below the circuit. The circuit diagram is to show what we mean by each resistor in the calculator).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-24\" src=\"https:\/\/www.vu2ese.com\/wp-content\/uploads\/2020\/06\/fba-300x256.png\" alt=\"\" width=\"300\" height=\"256\" srcset=\"https:\/\/www.vu2ese.com\/wp-content\/uploads\/2020\/06\/fba-300x256.png 300w, https:\/\/www.vu2ese.com\/wp-content\/uploads\/2020\/06\/fba.png 557w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<table>\n<tbody>\n<tr>\n<td>Gain(db):<\/td>\n<td><input id=\"gain\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Zin(ohms):<\/td>\n<td><input id=\"z_in\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Zout(ohms):<\/td>\n<td><input id=\"z_out\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Input Ret-Loss:<\/td>\n<td><input id=\"input_retloss\" type=\"text\" value=\"\" \/><\/td>\n<\/tr>\n<tr>\n<td>Output Ret-Loss:<\/td>\n<td><input id=\"output_retloss\" type=\"text\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<style>\n.my_input{color:black;background-color:white;}<br \/><\/style>\n<p><script type=\"text\/javascript\">\n\/\/<![CDATA[\nfunction set(id, val){\n  document.getElementById(id).value = val;\n};\nfunction get(id){return parseInt(document.getElementById(id).value);};\n\ndocument.getElementById(\"btn_calculate\").addEventListener(\"click\", calculate);\n\nvar r_f = 1000;\nvar r_d = 10;\nvar r_s = 50;\nvar r_l = 200;\nvar i_e = 10;\nvar beta = 300;\nvar f_t = 300;\nvar freq = 10;\n\nset(\"r_f\", 1000);\nset(\"r_d\", 10);\nset(\"r_l\", 200);\nset(\"r_s\", 50);\nset(\"i_e\", 10);\nset(\"f_t\", 300);\nset(\"freq\", 10);\n\n\nfunction calculate(){\n\t\n\tvar r_f = get(\"r_f\");\n\tvar r_d = get(\"r_d\");\n\tvar r_s = get(\"r_s\");\n\tvar r_l = get(\"r_l\");\n\tvar i_e = get(\"i_e\");\n\tvar f_t = get(\"f_t\");\n\tvar freq = get(\"freq\");\n\tvar n = get(\"n\");\n\tvar beta = f_t\/freq;\n\tvar r_e = r_d + (26\/i_e);\n\n\tconsole.log(\"R_e is \" + r_e);\n\n\tvar r_in = (1 + beta) * (r_f + r_l) * ( r_e \/ ((1+beta)*r_e + beta * r_l + r_l + r_f));\n\tconsole.log(\"r_in is \" + r_in);\n\n\tvar r_out = (((1+beta)*(r_f + r_s)) * r_e + r_s *r_f)\/((1+beta) * r_e + r_s + beta * r_s); \n\tconsole.log(\"r_out is \" + r_out);\n\n\tvar gain_num = ((beta + 1)*(beta + 1) * r_e * r_e - 2 * beta * r_f *(beta + 1) * r_e) + beta * beta * r_f * r_f;\n\tvar gain_den = ((1+beta)*r_e + r_s)*r_f + (r_l + r_s + beta * r_l + beta * r_l) * r_e + beta * r_s * r_l + r_l * r_s;\n\tgain_den = gain_den * gain_den;\n\tvar gain = (4 * r_l * r_s) * gain_num\/gain_den;\n\n\tvar gain_db = Math.log10(gain) * 10;\n\n\tset(\"gain\", gain_db.toFixed(2));\n\tset(\"z_in\", r_in.toFixed(2));\n\tset(\"z_out\", r_out.toFixed(2));\n\n\tset(\"input_retloss\", ret_loss(r_in));\n\tset(\"output_retloss\", ret_loss(r_out\/(n*n))); \n\tconsole.log(\"gain is \" + gain_db); \n}\n\n\/\/assumes the denominator is 50 ohms\nfunction ret_loss(z){\nvar mismatch = z\/50;\n\n\tif (mismatch < 0) mismatch = 1\/mismatch; if (mismatch > 999)\n\t\treturn 40;\n\tfor (var i = 0; i < vswr_table.length; i++)\n\t\tif (vswr_table[i]\/10 < mismatch) return i; return 0; } \/* table that maps return loss to vswr, hides the complex calculations! *\/ var vswr_table = [ 999, 174, 87, 58, 40, 35, 30, 26, 20, 19, 18, 17, 16, 15, 14, 14, 14, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10 ];\/\/]]>\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Feedback amplifiers are marvelous, reliable circuits. They have gained popularity in the amateur literature thanks to many articles featuring them in the popular magazines like the QST, they have been extensively used in the works of Wes Hayward, W7ZOI. This is a discursive video that I recorded for my club to show how one can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-circuits"],"_links":{"self":[{"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":16,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/posts\/48\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vu2ese.com\/index.php\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}