{"id":1135,"date":"2018-04-18T11:00:53","date_gmt":"2018-04-18T11:00:53","guid":{"rendered":"https:\/\/www.tina.com\/resources\/?page_id=1135"},"modified":"2018-07-04T09:57:51","modified_gmt":"2018-07-04T09:57:51","slug":"2-level-shifters","status":"publish","type":"page","link":"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/","title":{"rendered":"2. Level Shifters"},"content":{"rendered":"<div class=\"top-navigation\">\n<div class=\"current-page\"><img decoding=\"async\" src=\"https:\/\/www.tina.com\/images\/resource\/people-location-30.png\" \/>CURRENT &#8211; 2. Level Shifters<\/div>\n<div class=\"previous-page\"><a href=\"https:\/\/www.tina.com\/resources\/home\/differential-amplifiers\/\"><img decoding=\"async\" src=\"https:\/\/www.tina.com\/images\/resource\/leftarrow5.png\" \/>PREVIOUS- 1. Differential amplifiers<\/a><\/div>\n<div class=\"next-page\"><a href=\"https:\/\/www.tina.com\/resources\/practical-operational-amplifiers\/3-the-typical-op-amp\/\">NEXT- 3. The typical Op-Amp<img decoding=\"async\" src=\"https:\/\/www.tina.com\/images\/resource\/rightarrow5.png\" \/><\/a><\/div>\n<div class=\"clear\"><\/div>\n<\/div>\n<p><script>\nfunction setStyle(){ \nheight = document.getElementsByClassName('entry-header')[0].clientHeight;\ndocument.getElementsByClassName('entry-header')[0].style.marginTop = height +\"px\";\ndocument.getElementsByClassName('top-navigation')[0].style.top = Math.round(-(height-20)*2) +\"px\";\n}\nsetStyle();\nwindow.onresize = function(event) {\nsetStyle();\n};\n<\/script><\/p>\n<p align=\"justify\"><strong><em><span style=\"font-size: 22px;\"> Level Shifters<\/span><\/em><\/strong><\/p>\n<p>Even if the input to an amplifier has an average value of zero volts, the output often has a non-zero average voltage due to biasing effects. These <em>dc<\/em> voltages can cause an undesired offset which adversely affects the operation of a system.<\/p>\n<p>Since the op-amp is a multi-stage <em>dc<\/em> amplifier with high gain, unwanted <em>dc<\/em> voltages can be a source of concern. A small offset in an early stage can saturate a later stage.<\/p>\n<p><em>Level shifters<\/em> are amplifiers that add or subtract a known voltage from the input in order to compensate for <em>dc<\/em> offset voltages. Op-amps have level shifters included in their design.<\/p>\n<p>Figure 7 illustrates a simple level shifter. We show that this shifter acts as a unit-gain amplifier for <em>ac<\/em> while providing an adjustable <em>dc<\/em> output.<\/p>\n<p>We begin the analysis by using KVL in the input loop of Figure 7(a) and letting <em>v<sub>in <\/sub><\/em>= 0 to obtain<\/p>\n<div id=\"attachment_1158\" style=\"width: 199px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1158\" class=\"wp-image-1158 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-34.png\" alt=\"\" width=\"189\" height=\"24\" \/><p id=\"caption-attachment-1158\" class=\"wp-caption-text\">(34)<\/p><\/div>\n<p>Now since<\/p>\n<div id=\"attachment_1159\" style=\"width: 70px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1159\" class=\"wp-image-1159 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-35.png\" alt=\"\" width=\"60\" height=\"44\" \/><p id=\"caption-attachment-1159\" class=\"wp-caption-text\">(35)<\/p><\/div>\n<p>we solve for the <em>dc<\/em> value of output voltage, <em>V<sub>out<\/sub><\/em>.<\/p>\n<div id=\"attachment_1160\" style=\"width: 191px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1160\" class=\"wp-image-1160 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-36.png\" alt=\"\" width=\"181\" height=\"44\" \/><p id=\"caption-attachment-1160\" class=\"wp-caption-text\">(36)<\/p><\/div>\n<p>Equation (36) shows that by varying <em>R<sub>E<\/sub><\/em>, <em>V<sub>out<\/sub><\/em> can be set to any desired <em>dc<\/em> level (limited to a maximum of <em>V<sub>BB<\/sub><\/em>&#8211;<em>V<sub>BE<\/sub><\/em>). Since <em>V<sub>BB<\/sub><\/em> is the <em>dc<\/em> level acquired from the previous stage, this amplifier is used to shift the level <em>downward<\/em> (to a lower value). If <em>upward<\/em> shifting is required, a similar\u00a0circuit is used but <em>pnp<\/em> transistors are substituted for the <em>npn<\/em> transistors. A complete circuit with active current source is shown in Figure\u00a0 7(b).<\/p>\n<div id=\"attachment_1164\" style=\"width: 791px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1164\" class=\"wp-image-1164 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-ampFigure9-7abc.png\" alt=\"Level shifter, practical operational amplifier, circuit simulation\" width=\"781\" height=\"303\" srcset=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-ampFigure9-7abc.png 781w, https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-ampFigure9-7abc-300x116.png 300w, https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-ampFigure9-7abc-768x298.png 768w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><p id=\"caption-attachment-1164\" class=\"wp-caption-text\">Figure 7\u2013 Level shifter<\/p><\/div>\n<p>We now examine the circuit with <em>ac<\/em> signals applied. Figure 7(c) illustrates the <em>ac<\/em> equivalent circuit. Note that <em>\u03b2<\/em><sub>2<\/sub><em>i<sub>b2<\/sub><\/em> is the collector current in the active current source, and we assume it to be a constant. Because the <em>ac<\/em> value of the current is zero, this current source is replaced by an open circuit. We write the <em>ac<\/em> equations using KVL.<\/p>\n<div id=\"attachment_1152\" style=\"width: 190px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1152\" class=\"wp-image-1152 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-37.png\" alt=\"\" width=\"180\" height=\"24\" \/><p id=\"caption-attachment-1152\" class=\"wp-caption-text\">(37)<\/p><\/div>\n<p>and<\/p>\n<div id=\"attachment_1153\" style=\"width: 223px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1153\" class=\"wp-image-1153 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-38.png\" alt=\"\" width=\"213\" height=\"124\" \/><p id=\"caption-attachment-1153\" class=\"wp-caption-text\">(38)<\/p><\/div>\n<p>The ratio of <em>ac<\/em> output to <em>ac<\/em> input is<\/p>\n<div id=\"attachment_1154\" style=\"width: 219px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1154\" class=\"wp-image-1154 size-full\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/04\/Practical-op-amp9-39.png\" alt=\"\" width=\"209\" height=\"45\" \/><p id=\"caption-attachment-1154\" class=\"wp-caption-text\">(39)<\/p><\/div>\n<p>Equation (39) shows that as <em>r<sub>o2<\/sub><\/em> becomes large, the ratio of output to input approaches unity and the level shifter acts like an emitter follower to <em>ac<\/em>. This is the desired result.<\/p>\n<h5><strong>Example\u00a0<\/strong><\/h5>\n<p>Two direct-coupled CE amplifiers are placed in series to achieve the desired voltage gain. Design a level shifter to be placed in between the two CE amplifiers to provide a <em>dc<\/em> voltage sufficiently low to prevent the second CE amplifier from saturating. Do this by providing a 1 V bias to the second stage. The collector voltage, <em>V<sub>C<\/sub><\/em>, of the first amplifier is 4 V, and the <em>R<sub>C<\/sub><\/em> of that amplifier is 1 k\u03a9. Design the level shifter to have an <em>I<sub>C<\/sub><\/em> of 1 mA using a\u00a0 <a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-ampexample4m\/#main\" rel=\"attachment wp-att-3166\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3166 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/practical-op-ampExample4M.png\" alt=\"\" width=\"49\" height=\"36\" \/><\/a>power supply. Use a current source of the type shown in Figure 3 (See chapter: Differential amplifier 1.3) with transistors having <em>\u03b2(s)<\/em> = 100, <em>V<sub>BE<\/sub>(s)<\/em> = 0.7 V, and <em>V<sub>ON<\/sub><\/em> = 0.7 V.<\/p>\n<p><em>Solution:<\/em> The level shifter is shown in Figure 7(b). We need to find the values of <em>R<sub>E<\/sub><\/em>, <em>R<sub>1<\/sub><\/em>, <em>R<sub>2<\/sub><\/em>, and <em>R&#8217;<sub>E<\/sub><\/em>. Since the first amplifier has a <em>V<sub>C<\/sub><\/em> of 4 V, the value of <em>V<sub>BB<\/sub><\/em> for Equation (36) is 4 V, whereas the <em>R<sub>B<\/sub><\/em> of that formula is 1 k\u03a9. Note this is using the Thevenin equivalent circuit of the previous amplifier. Equation (36) then yields,<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-ampexample4-a\/#main\" rel=\"attachment wp-att-3168\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3168 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/practical-op-ampExample4-a.png\" alt=\"\" width=\"117\" height=\"23\" \/><\/a><\/p>\n<p>Setting the current-source transistor operating point in the middle of the <em>dc<\/em> load line, we have<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-amp9-example4\/#main\" rel=\"attachment wp-att-3170\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3170 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4.png\" alt=\"\" width=\"201\" height=\"27\" \/><\/a><\/p>\n<p>and<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-amp9-example4-b\/#main\" rel=\"attachment wp-att-3172\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3172 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-b.png\" alt=\"\" width=\"148\" height=\"112\" \/><\/a><\/p>\n<p>The voltage across <em>R&#8217;<sub>E<\/sub><\/em> is 5.5 V. Then<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-amp9-example4-c\/#main\" rel=\"attachment wp-att-3174\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3174 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-c.png\" alt=\"\" width=\"339\" height=\"68\" srcset=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-c.png 339w, https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-c-300x60.png 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/a><\/p>\n<p>We now know the voltages across <em>R<sub>1<\/sub><\/em> and <em>R<sub>2<\/sub><\/em> and the parallel resistance. This yields two equations, where we assume that the base current in the lower transistor of Figure 9.7(b) is negligible.<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-amp9-example4-d\/#main\" rel=\"attachment wp-att-3179\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3179 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-d.png\" alt=\"\" width=\"218\" height=\"103\" \/><\/a><\/p>\n<p>and<\/p>\n<p><a href=\"https:\/\/www.tina.com\/resources\/home\/practical-operational-amplifiers\/2-level-shifters\/practical-op-amp9-example4-e\/#main\" rel=\"attachment wp-att-3181\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3181 alignnone\" src=\"https:\/\/www.tina.com\/resources\/wp-content\/uploads\/2018\/06\/Practical-op-amp9-Example4-e.png\" alt=\"\" width=\"127\" height=\"74\" \/><\/a><\/p>\n<p>The design is therefore complete.<\/p>\n<p><em><strong><u>APPLICATION<\/u><\/strong><\/em><\/p>\n<div>\n<p>Also, you can carry out these calculations with TINA or TINACloud circuit simulators, using their Interpreter tool by clicking the link below.<\/p>\n<p><a href=\"https:\/\/www.tinacloud.com\/tinademo\/tina.php?c=5b3335f05403b:910492&amp;amp;act;act=&amp;amp;noad&amp;amp;inframe=https%3A%2F%2Fwww.tina.com\" target=\"_blank\" rel=\"noopener\"><em><strong><span style=\"color: #466ce0;\"><em><strong>Level Shifters Circuit Simulation <\/strong><\/em><\/span><\/strong><\/em><\/a><\/p>\n<div class=\"previous-page\"><a href=\"https:\/\/www.tina.com\/resources\/home\/differential-amplifiers\/\"><img decoding=\"async\" src=\"https:\/\/www.tina.com\/images\/resource\/leftarrow5.png\" \/>PREVIOUS- 1. Differential amplifiers<\/a><\/div>\n<div class=\"next-page\"><a href=\"https:\/\/www.tina.com\/resources\/practical-operational-amplifiers\/3-the-typical-op-amp\/\">NEXT- 3. The typical Op-Amp<img decoding=\"async\" src=\"https:\/\/www.tina.com\/images\/resource\/rightarrow5.png\" \/><\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CURRENT &#8211; 2. Level Shifters PREVIOUS- 1. Differential amplifiers NEXT- 3. The typical Op-Amp Level Shifters Even if the input to an amplifier has an average value of zero volts, the output often has a non-zero average voltage due to biasing effects. These dc voltages can cause an undesired offset which adversely affects the operation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":917,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"yst_prominent_words":[406,396,405,398,403,29,410,348,404,505,400,247,411,402,395,401,376,397,399,409],"class_list":["post-1135","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/pages\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":50,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/pages\/1135\/revisions"}],"predecessor-version":[{"id":3588,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/pages\/1135\/revisions\/3588"}],"up":[{"embeddable":true,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/pages\/917"}],"wp:attachment":[{"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.tina.com\/resources\/wp-json\/wp\/v2\/yst_prominent_words?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}