<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Transistors: The Transistor as a Switch</title><link>/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><description>I&amp;#39;ve been getting interested in designing with transistors recently, so I thought I&amp;#39;d start blogging about some of the things that I&amp;#39;m doing as I learn. This blog is about using the transistor as a switch. Specifically, I&amp;#39;m going to look at how it be</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Mon, 16 Jan 2017 16:20:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>D_Hersey</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;What happens if you put a little more effort into the CCS?&amp;nbsp; How about a Wilson mirror?&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.diodes.com/_files/datasheets/ds30437.pdf" rel="nofollow ugc noopener" target="_blank" title="http://www.diodes.com/_files/datasheets/ds30437.pdf"&gt;http://www.diodes.com/_files/datasheets/ds30437.pdf&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Or one made of a transistor, sense resistor and op-amp?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Sat, 14 Jan 2017 20:24:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;John, I had only now time to read your post and I loved it! As many of us I suppose, we use transistors to switch signals in a lot of situations but this is a great reference point. I think that newbies can be very grateful to your easy to read and complete presentation of this use.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enrico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Sat, 14 Jan 2017 13:59:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is a follow-up the the blog above. Here I&amp;#39;m going to implement a constant-current source to replace the 1k collector load resistor to see if it will do a better job. This was at the suggestion of &lt;span&gt;[mention:d8c3045f03b446e4be30edf8ec9c4677:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&amp;nbsp; in his comment above.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the circuit diagram. The circuit replaces the 1k collector resistor I had in the original circuit, so the collectors of the two transistors join together.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/600x334/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183314.jpg:600:334]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And here&amp;#39;s the circuit as I built it. Beauty is in the eye of the beholder as they say and I say it&amp;#39;s beautiful (feel free to differ if you want to - either way it will do the job).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/600x450/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183315.jpg:600:450]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I better quickly say what it does, since it may not be obvious. The potential divider roughly splits the supply, giving a base voltage of something like 4.5V (in practice it will be a little higher because the transistor base will source some current). The emitter follower 2N3906 follows that voltage giving a voltage at the bottom of the 470 of somewhere just above 5V. That then means the 470 has a constant voltage across it and a current of approximately 9mA will flow through it. Most of that current will find its way to the collector, giving us our constant current source.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The 47n capacitor is there because I discovered that, when the switch turned on, the base-emitter capacitance in the 2N3906 was such that the base was pulled all the way down to ground before recovering again. The capacitor counters that. With a 47n it just twitches slightly - in a practical circuit you&amp;#39;d probably choose a value a bit larger (I just used what was quickly to hand in the clutter on the bench).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now for the results.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183316.png:480:234]&lt;/span&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183317.png:480:234]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And here are the original&amp;nbsp; traces with the 1k load resistor as a comparison (watch out for the different horizontal speed in the one on the right above).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183318.png:480:234]&lt;/span&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183319.png:480:234]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now that we have a constant current going, it&amp;#39;s evident that all of the transistor fall time, when the switch turns off, comes from capacitance - the previous exponential is now a nice linear ramp (though it starts to deviate a bit above 5V when the current source stops regulating the current properly).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Unfortunately, the constant current source doesn&amp;#39;t really help at all. The capacitance of the collector of the PNP transistor combines with that of the NPN switching transistor to give an longer fall time even though it&amp;#39;s now being charged more efficiently. Admittedly, we could increase the current, but we could do that with the resistor too without all the extra circuit complexity.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Final note. The constant current generator isn&amp;#39;t too stable and is getting thrown around - here&amp;#39;s an accumulated trace:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_183320.png:480:234]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Sat, 14 Jan 2017 12:10:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>mcb1</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice intro.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve used the cap across the series resistor before when driving a 2N3055 using a 555, but never bothered measuring it.&lt;/p&gt;&lt;p&gt;I knew it worked because the transistor ran a lot cooler ....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;mark&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Sat, 14 Jan 2017 06:38:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>jw0752</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you for a great experiment and explanation.&lt;/p&gt;&lt;p&gt;John&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Fri, 13 Jan 2017 19:45:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>pettitda</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;I thought I&amp;#39;d start blogging about some of the things that I&amp;#39;m doing as I learn&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Either you&amp;#39;re a very quick learner, or you knew quite a bit about the subject beforehand.&amp;nbsp; &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/contentimage_5F00_3.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Fri, 13 Jan 2017 18:42:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It reminded me that I need to look at the semiconductor effect using my new atomic model.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I may be able to explain why you see these effects based upon the transfer of photons between the atoms in the semiconductor crystal matrix.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for the reminder.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Fri, 13 Jan 2017 18:08:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>D_Hersey</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Are things improved much by going cascode by switching out the load with a current source?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Fri, 13 Jan 2017 18:01:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>dougw</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Useful article.&lt;/p&gt;&lt;p&gt;It is probably worth showing that the speed-up cap would be across the 10K base resistor.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Transistors: The Transistor as a Switch</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/transistors-the-transistor-as-a-switch</link><pubDate>Fri, 13 Jan 2017 13:45:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8230db0e-0954-480d-877f-20c6665351b4</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I got to wondering how good a spice simulation of a transistor would be - specifically, whether it might model the saturation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is my circuit (without speed-up capacitor) simulated with TI-TINA, using the 2N3904 that comes with that package&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x305/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/5875.contentimage_5F00_183311.jpg:620:305]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8230db0e-0954-480d-877f-20c6665351b4/3731.contentimage_5F00_183312.png:480:234]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Compared with my trace, it&amp;#39;s very similar. The saturation time is slightly longer, but presumably that varies between manufacturers, anyway. Similarly, the delay time and the rise and fall times look to be reasonably accurate (slightly less than I&amp;#39;m seeing with a real device), so the model includes the internal capacitances.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2414&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>