<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Circuit-Design on KnightLi Blog</title>
        <link>https://knightli.com/en/tags/circuit-design/</link>
        <description>Recent content in Circuit-Design on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Thu, 30 Apr 2026 20:07:49 +0800</lastBuildDate><atom:link href="https://knightli.com/en/tags/circuit-design/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>How to Choose a Diode: General, Fast Recovery, Schottky, Zener, LED, and TVS Explained</title>
        <link>https://knightli.com/en/2026/04/30/diode-selection-guide/</link>
        <pubDate>Thu, 30 Apr 2026 20:07:49 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/04/30/diode-selection-guide/</guid>
        <description>&lt;p&gt;A diode may look like a small component, but choosing the wrong one can lead to strange circuit problems.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A low-frequency rectifier using &lt;code&gt;1N4007&lt;/code&gt; may work just fine&lt;/li&gt;
&lt;li&gt;A switching power supply using an ordinary rectifier diode may suffer from efficiency and heat issues&lt;/li&gt;
&lt;li&gt;A low-voltage, high-current circuit that ignores Schottky diodes may waste power through unnecessary voltage drop&lt;/li&gt;
&lt;li&gt;An interface that is often damaged by ESD or surges may simply be missing TVS protection&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So diode selection is not only about whether the diode can conduct in one direction. You also need to consider frequency, current, voltage, forward voltage drop, recovery speed, and protection requirements.&lt;/p&gt;
&lt;p&gt;Below is a quick selection guide for six common diode types.&lt;/p&gt;
&lt;h2 id=&#34;1-general-purpose-diodes&#34;&gt;1. General-Purpose Diodes
&lt;/h2&gt;&lt;p&gt;General-purpose diodes are the most common and cheapest type of diode.&lt;/p&gt;
&lt;p&gt;They are suitable for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Low-frequency circuits&lt;/li&gt;
&lt;li&gt;Circuits with low efficiency requirements&lt;/li&gt;
&lt;li&gt;Circuits without strict switching-speed requirements&lt;/li&gt;
&lt;li&gt;Cost-sensitive designs&lt;/li&gt;
&lt;li&gt;Ordinary one-way conduction or low-frequency rectification&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A typical example is an ordinary rectifier diode such as &lt;code&gt;1N4007&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For 50 Hz mains rectification or some low-speed, low-cost circuits, a general-purpose diode is usually enough.&lt;br&gt;
Its advantages are low cost, easy availability, and wide specification coverage. Its disadvantages are slow speed, higher loss, and reverse recovery behavior that is not suitable for high-frequency circuits.&lt;/p&gt;
&lt;p&gt;In short: for low frequency, low cost, and &amp;ldquo;good enough&amp;rdquo; use cases, start with a general-purpose diode.&lt;/p&gt;
&lt;h2 id=&#34;2-fast-recovery-diodes&#34;&gt;2. Fast Recovery Diodes
&lt;/h2&gt;&lt;p&gt;The key feature of a fast recovery diode is recovery speed.&lt;/p&gt;
&lt;p&gt;When an ordinary diode switches from forward conduction to reverse blocking, it does not turn off instantly. It has a reverse recovery process. At low frequencies this may not matter much, but in high-frequency circuits it can cause loss, heat, and waveform problems.&lt;/p&gt;
&lt;p&gt;Fast recovery diodes are suitable for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Switching power supplies&lt;/li&gt;
&lt;li&gt;Motor drivers&lt;/li&gt;
&lt;li&gt;Inverters&lt;/li&gt;
&lt;li&gt;High-frequency rectification&lt;/li&gt;
&lt;li&gt;High-frequency, high-voltage switching paths&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the circuit frequency is clearly higher than mains frequency, or if the diode sits in a fast switching path, do not casually replace it with an ordinary rectifier diode.&lt;/p&gt;
&lt;p&gt;In short: for high frequency, high voltage, and fast switching, start with a fast recovery diode.&lt;/p&gt;
&lt;h2 id=&#34;3-schottky-diodes&#34;&gt;3. Schottky Diodes
&lt;/h2&gt;&lt;p&gt;Schottky diodes are known for low forward voltage drop and fast switching speed.&lt;/p&gt;
&lt;p&gt;The forward voltage drop of an ordinary silicon diode is often around &lt;code&gt;0.7V&lt;/code&gt;, while a Schottky diode is usually lower. In low-voltage, high-current circuits, that saved voltage drop directly means less heat and less power loss.&lt;/p&gt;
&lt;p&gt;Schottky diodes are suitable for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Low-voltage power supplies&lt;/li&gt;
&lt;li&gt;High-current rectification&lt;/li&gt;
&lt;li&gt;DC-DC converter outputs&lt;/li&gt;
&lt;li&gt;Circuits that need higher efficiency&lt;/li&gt;
&lt;li&gt;Reverse-polarity protection or OR-ing circuits&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Their drawbacks also matter: reverse leakage current is usually higher, and voltage rating is often lower than high-voltage rectifier diodes.&lt;br&gt;
So do not use one blindly just because the voltage drop is low. Always check reverse voltage rating and leakage current, especially at temperature.&lt;/p&gt;
&lt;p&gt;In short: for low voltage, high current, and efficiency-focused designs, start with a Schottky diode.&lt;/p&gt;
&lt;h2 id=&#34;4-zener-diodes&#34;&gt;4. Zener Diodes
&lt;/h2&gt;&lt;p&gt;A Zener diode is not mainly used for ordinary one-way conduction. It is used to limit or stabilize voltage around a specific value.&lt;/p&gt;
&lt;p&gt;Common use cases include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Providing a simple reference voltage&lt;/li&gt;
&lt;li&gt;Clamping a node for protection&lt;/li&gt;
&lt;li&gt;Limiting an input voltage range&lt;/li&gt;
&lt;li&gt;Simple overvoltage protection&lt;/li&gt;
&lt;li&gt;Low-current voltage regulation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example, if you want a signal node not to exceed a certain voltage, a Zener diode can be used for clamping.&lt;br&gt;
If you only need a simple reference voltage, a Zener diode with a current-limiting resistor can also work.&lt;/p&gt;
&lt;p&gt;But a Zener diode is not a universal voltage regulator. Accuracy, temperature drift, noise, and power dissipation all matter. If the current varies a lot or accuracy requirements are high, consider a proper voltage regulator or reference.&lt;/p&gt;
&lt;p&gt;In short: for voltage regulation, reference voltage, or node clamping, start with a Zener diode.&lt;/p&gt;
&lt;h2 id=&#34;5-light-emitting-diodes&#34;&gt;5. Light-Emitting Diodes
&lt;/h2&gt;&lt;p&gt;A light-emitting diode is an LED.&lt;/p&gt;
&lt;p&gt;Its use is straightforward:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Power status indication&lt;/li&gt;
&lt;li&gt;Signal status indication&lt;/li&gt;
&lt;li&gt;Simple display&lt;/li&gt;
&lt;li&gt;Lighting or backlight&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When selecting an LED, do not only look at color. Also check:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Forward voltage&lt;/li&gt;
&lt;li&gt;Forward current&lt;/li&gt;
&lt;li&gt;Brightness&lt;/li&gt;
&lt;li&gt;Package size&lt;/li&gt;
&lt;li&gt;Viewing angle&lt;/li&gt;
&lt;li&gt;Whether a current-limiting resistor or constant-current driver is needed&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Beginners often forget current limiting. An LED should not be connected to a power supply like an ordinary bulb. It usually needs a series current-limiting resistor or a constant-current driver.&lt;/p&gt;
&lt;p&gt;In short: for light, display, or status indication, use an LED, but always calculate current limiting.&lt;/p&gt;
&lt;h2 id=&#34;6-tvs-diodes&#34;&gt;6. TVS Diodes
&lt;/h2&gt;&lt;p&gt;A TVS diode can be understood as a guard against transient high voltage.&lt;/p&gt;
&lt;p&gt;It is designed to handle:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ESD&lt;/li&gt;
&lt;li&gt;Surges&lt;/li&gt;
&lt;li&gt;Lightning-induced transients&lt;/li&gt;
&lt;li&gt;Plug-in or unplug spikes&lt;/li&gt;
&lt;li&gt;Abnormal high voltage from external interfaces&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is suitable for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Communication ports&lt;/li&gt;
&lt;li&gt;Sensor interfaces&lt;/li&gt;
&lt;li&gt;Power inputs&lt;/li&gt;
&lt;li&gt;Buttons or external wiring interfaces&lt;/li&gt;
&lt;li&gt;Locations likely to be touched by human ESD&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The role of a TVS is not long-term voltage regulation. It conducts quickly during transient overvoltage and clamps the voltage to protect downstream circuitry.&lt;/p&gt;
&lt;p&gt;When selecting a TVS diode, pay attention to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Working voltage&lt;/li&gt;
&lt;li&gt;Breakdown voltage&lt;/li&gt;
&lt;li&gt;Clamping voltage&lt;/li&gt;
&lt;li&gt;Peak pulse power&lt;/li&gt;
&lt;li&gt;Capacitance&lt;/li&gt;
&lt;li&gt;Unidirectional or bidirectional type&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For high-speed signal lines, the junction capacitance of the TVS is especially important. Too much capacitance can affect signal integrity.&lt;/p&gt;
&lt;p&gt;In short: if an interface needs protection from ESD, surges, or external high-voltage spikes, start with a TVS diode.&lt;/p&gt;
&lt;h2 id=&#34;a-quick-selection-rule&#34;&gt;A Quick Selection Rule
&lt;/h2&gt;&lt;p&gt;You can roughly choose by this logic:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Low-frequency rectification, cheap and durable: general-purpose diode&lt;/li&gt;
&lt;li&gt;High-frequency, high-voltage switching: fast recovery diode&lt;/li&gt;
&lt;li&gt;Low-voltage, high-current, efficiency-focused: Schottky diode&lt;/li&gt;
&lt;li&gt;Voltage regulation, reference voltage, node clamping: Zener diode&lt;/li&gt;
&lt;li&gt;Light, display, status indication: LED&lt;/li&gt;
&lt;li&gt;ESD, surge, transient overvoltage protection: TVS diode&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This rule does not replace the datasheet, but it helps you choose the right direction first.&lt;/p&gt;
&lt;p&gt;When selecting an actual part number, continue checking:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Maximum reverse voltage&lt;/li&gt;
&lt;li&gt;Average rectified current&lt;/li&gt;
&lt;li&gt;Peak surge current&lt;/li&gt;
&lt;li&gt;Forward voltage drop&lt;/li&gt;
&lt;li&gt;Reverse recovery time&lt;/li&gt;
&lt;li&gt;Reverse leakage current&lt;/li&gt;
&lt;li&gt;Package and thermal capability&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;final-thought&#34;&gt;Final Thought
&lt;/h2&gt;&lt;p&gt;The first step in diode selection is not memorizing part numbers, but identifying what job the diode performs in the circuit.&lt;/p&gt;
&lt;p&gt;If it is only low-frequency conduction, an ordinary diode may be enough. If it needs high-frequency switching, look at fast recovery diodes. If it needs low-voltage efficiency, look at Schottky diodes. If it needs voltage clamping, look at Zener diodes. If it needs light, use an LED. If it needs interface protection, use a TVS.&lt;/p&gt;
&lt;p&gt;Classify by purpose first, then check the datasheet parameters. Diode selection becomes much clearer that way.&lt;/p&gt;
</description>
        </item>
        <item>
        <title>Dual Power Automatic Switching Circuit with Near-Zero Voltage Drop</title>
        <link>https://knightli.com/en/2024/09/30/dual-power-auto-switching/</link>
        <pubDate>Mon, 30 Sep 2024 00:00:00 +0000</pubDate>
        
        <guid>https://knightli.com/en/2024/09/30/dual-power-auto-switching/</guid>
        <description>&lt;h2 id=&#34;dual-power-automatic-switching-circuit-near-zero-drop&#34;&gt;Dual Power Automatic Switching Circuit (Near-Zero Drop)
&lt;/h2&gt;&lt;p&gt;A key advantage of this design is very low conduction drop, making it suitable for battery-powered and low-loss power-path applications.&lt;/p&gt;
&lt;p&gt;This circuit uses MOSFET switching behavior and low &lt;code&gt;Rds(on)&lt;/code&gt; characteristics to achieve automatic source selection.&lt;/p&gt;
&lt;h3 id=&#34;circuit-and-functional-behavior&#34;&gt;Circuit and Functional Behavior
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;When &lt;code&gt;Vin1 = 3.3V&lt;/code&gt; and &lt;code&gt;Vin2&lt;/code&gt; is absent, &lt;code&gt;Vin1&lt;/code&gt; supplies &lt;code&gt;Vout&lt;/code&gt; through the MOSFET path.&lt;/li&gt;
&lt;li&gt;When &lt;code&gt;Vin1&lt;/code&gt; is removed, the circuit automatically switches so &lt;code&gt;Vin2&lt;/code&gt; supplies &lt;code&gt;Vout&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Because selected MOSFETs have low &lt;code&gt;Rds(on)&lt;/code&gt;, voltage drop is typically only tens of millivolts.&lt;/li&gt;
&lt;li&gt;With a single source active, quiescent current is around the microamp range, suitable for low-power systems.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;https://knightli.com/2024/09/30/%E7%94%B5%E6%BA%90%E5%88%87%E6%8D%A2%E7%94%B5%E8%B7%AF/1.png&#34;
	width=&#34;820&#34;
	height=&#34;557&#34;
	srcset=&#34;https://knightli.com/2024/09/30/%E7%94%B5%E6%BA%90%E5%88%87%E6%8D%A2%E7%94%B5%E8%B7%AF/1_hu_7b8e1202c39b081c.png 480w, https://knightli.com/2024/09/30/%E7%94%B5%E6%BA%90%E5%88%87%E6%8D%A2%E7%94%B5%E8%B7%AF/1_hu_6f8da5b575c307e2.png 1024w&#34;
	loading=&#34;lazy&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;147&#34;
		data-flex-basis=&#34;353px&#34;
	
&gt;&lt;/p&gt;
&lt;h3 id=&#34;principle-of-operation&#34;&gt;Principle of Operation
&lt;/h3&gt;&lt;ol&gt;
&lt;li&gt;With &lt;code&gt;Vin1 = 3.3V&lt;/code&gt;, NMOS &lt;code&gt;Q1&lt;/code&gt; turns on, pulling gate conditions such that PMOS &lt;code&gt;Q3&lt;/code&gt; conducts and PMOS &lt;code&gt;Q2&lt;/code&gt; is off. Output is supplied from &lt;code&gt;Vin1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;When &lt;code&gt;Vin1&lt;/code&gt; is removed, &lt;code&gt;Q1&lt;/code&gt; turns off. Bias network drives &lt;code&gt;Q2&lt;/code&gt; on and &lt;code&gt;Q3&lt;/code&gt; off, so output is supplied from &lt;code&gt;Vin2&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For practical design, choose MOSFETs with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;low gate-threshold voltage&lt;/li&gt;
&lt;li&gt;very low &lt;code&gt;Rds(on)&lt;/code&gt; at target gate drive voltage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example device notes from the original design:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Q2 = Q3 = PMN50XP&lt;/code&gt; (low &lt;code&gt;Rds(on)&lt;/code&gt; around 3.3V gate drive)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Q1&lt;/code&gt; can use &lt;code&gt;2N7002&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Final selection should be based on required current, voltage, and thermal budget.&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
