{"id":693,"date":"2026-11-09T23:21:15","date_gmt":"2026-11-09T15:21:15","guid":{"rendered":"http:\/\/www.anamstone.com\/blog\/?p=693"},"modified":"2026-11-09T23:21:15","modified_gmt":"2026-11-09T15:21:15","slug":"how-to-model-a-diode-in-a-circuit-485f-bb8f7f","status":"publish","type":"post","link":"http:\/\/www.anamstone.com\/blog\/2026\/11\/09\/how-to-model-a-diode-in-a-circuit-485f-bb8f7f\/","title":{"rendered":"How to model a DIODE in a circuit?"},"content":{"rendered":"<p>Hey everyone, thanks for popping in\u2014today we\u2019re diving into something I get asked about all the time here at the diode shop: how to actually model a diode in a circuit, no fancy textbook mumbo jumbo that makes your head spin. I\u2019m gonna keep this real, since I\u2019ve been selling diodes for 8 years now, and half the emails I get are from engineers who just burned up a board because they modeled the diode wrong. Let\u2019s cut to the chase. <a href=\"https:\/\/www.ctkchip.com\/diode\/\">DIODE<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ctkchip.com\/uploads\/47165\/small\/ll-41-silicon-planar-power-zener-diodes3b67e.jpg\"><\/p>\n<p>First off, why does modeling even matter? If you slap a random diode onto a board, sure it might work for a prototype, but when you\u2019re scaling production? You gotta make sure it doesn\u2019t overheat, doesn\u2019t fail when the load spikes, and fits within your power budget. I\u2019ve seen guys use the wrong diode model for a regulator circuit, end up with 10k returns because the forward voltage dropped too low and the chip fried. Model right, and you skip that headache.<\/p>\n<p>Let\u2019s start with the basics: what\u2019s a diode\u2019s core model? The old school one is the ideal diode model, right? That\u2019s the \u201czero voltage drop, infinite current when forward biased, open circuit when reverse biased\u201d thing. It\u2019s quick for initial designs, but it\u2019s garbage for real circuits. Last month, a designer from a robotics firm came to me with a problem: their battery protection circuit kept tripping, and they were using the ideal model for the Schottky diode. Turns out, the forward voltage drop was actually 0.28V, not zero\u2014so their protection threshold was off by enough that it was triggering early. The ideal model\u2019s just a starting point, don\u2019t rely on it for anything beyond sketching a schematic.<\/p>\n<p>Next up is the linear piecewise model. This one\u2019s a step up. It splits the diode into three regions: forward biased below threshold, forward biased above threshold, and reverse biased. For forward biased, you\u2019ve got a turn-on voltage (Vf)\u2014like 0.7V for silicon, 0.2V for Schottky\u2014plus a series resistance (Rs). That Rs is super important, I can\u2019t stress that enough. When current ramps up, the voltage drop isn\u2019t just Vf\u2014it\u2019s Vf + I*Rs. So if you have a 1A current going through a diode with 0.1\u03a9 Rs, that\u2019s an extra 0.1V drop, which adds up to power loss (P = I\u00b2Rs). I once sold a batch of 10k Schottkys to a solar inverter company; they had modeled the Rs wrong, so their power loss calculation was off by 5%, which meant their inverter was underperforming. We caught it before production, saved them a ton of cash. The reverse biased part here is just a high resistance, not a perfect open\u2014good enough for low reverse voltage, but if you\u2019re dealing with high reverse bias (like 50V+), you need more.<\/p>\n<p>Then there\u2019s the exponential model, also called the Shockley diode equation. This is the nerd\u2019s go-to for accurate simulations. The formula is I = Is*(e^(qV\/(nkT)) &#8211; 1). Let me break that down in plain talk: Is is the reverse saturation current (tiny, like 1e-12 A for a small signal diode), q is electron charge, n is the ideality factor (1 for Schottkys, 1-2 for regular silicon), k is Boltzmann\u2019s constant, T is temperature. Why does this matter? Because diodes act different when temperature changes. If your circuit\u2019s gonna run hot (like in a car engine bay, or a power supply), temperature\u2019s a big factor. I had a customer making LED headlights\u2014they were using a standard silicon diode in the reverse polarity protection. When the headlight hit 80\u00b0C, the reverse current spiked way higher than their simulation, because Is goes up with temperature. The exponential model accounts for that. But wait, it\u2019s more complex, so it takes longer to simulate\u2014tradeoff between accuracy and speed. For prototyping, you might use the linear model; for production simulation, go exponential.<\/p>\n<p>Wait, don\u2019t forget about real-world effects that most models skip. There\u2019s junction capacitance (Cj)\u2014when the diode switches from forward to reverse, the capacitance affects switching speed. That\u2019s huge for high-frequency circuits, like switch-mode power supplies. If you\u2019re using a diode in a buck converter running at 100kHz, Cj can cause switching losses. I always ask customers what frequency their circuit runs at, because if it\u2019s above 10kHz, they need to include Cj in their model. Then there\u2019s series resistance we talked about, but also thermal resistance (Rth). Diodes get hot, and if you\u2019re not accounting for Rth, your simulation will underestimate junction temperature, leading to overheating and early failure. Last year, a guy from a drone company modeled a diode without Rth, thought it would run at 40\u00b0C, but actual was 65\u00b0C\u2014his diode died after 10 hours of flight. Oops.<\/p>\n<p>Okay, so how do you actually apply this to a circuit? Let\u2019s walk through a quick example: a simple 5V power supply with a Schottky diode rectifier. First, pick your diode\u2014let\u2019s say a 1A, 20V Schottky (that\u2019s the MBR120, one of our bestsellers). Now, for simulation (I use LTspice, it\u2019s free, everyone should know it), you grab the SPICE model for that diode. Wait, hold up\u2014make sure the SPICE model you use is for the exact part number, not a generic Schottky. Generic models are for \u201ca Schottky\u201d, not the one you\u2019re selling. A lot of engineers grab a generic model, get bad results, blame the diode. That\u2019s a pet peeve of mine. For the MBR120, our SPICE model includes Is, n, Rs, Cj, Rth\u2014all the stuff you need. Plug that into your rectifier circuit, run the transient simulation, check the voltage drop and power loss. If you\u2019re switching at 50kHz, add the Cj parameter to make sure your switching time is correct. If your ambient temp is 50\u00b0C, adjust the temperature in the simulation to see if the junction temp stays under the diode\u2019s maximum (for MBR120 it\u2019s 125\u00b0C). That\u2019s way better than guessing.<\/p>\n<p>Another example: a reverse polarity protection diode for a battery pack. Let\u2019s say 3.7V Li-ion, so the diode needs to block reverse voltage up to -5V. You can\u2019t use the ideal model here, because when reverse biased, the diode\u2019s leakage current (Ir) matters. A 1N4001 has Ir of like 10\u00b5A at 5V reverse, but a Schottky might have higher leakage. If your battery has 1000mAh, 10\u00b5A leakage is nothing, but if it\u2019s a tiny coin cell, that can drain it in a week. The linear model\u2019s reverse resistance is (Vreverse\/Ir), so you can calculate the leakage, but the exponential model will give you the exact current at different reverse biases. I once had a customer with a wearable device using a coin cell\u2014they modeled the 1N5817 (Schottky) with a linear model, thought leakage was 1\u00b5A, but actual was 50\u00b5A, so the battery died way before the product\u2019s advertised 6 months. Switched to a 1N4148 (small signal diode) with lower reverse leakage, problem solved.<\/p>\n<p>Now, common mistakes I see all the time: first, using the wrong model for the application. Ideal for high power, exponential for high frequency\/temp. Second, ignoring parameters like Rs, Cj, Rth. Third, using a generic SPICE model instead of the part-specific one for your diode. Fourth, not testing the model with real parts. Simulations are great, but you gotta breadboard it too\u2014sometimes the model misses a tiny detail, like lead inductance for surface-mount diodes (SMDs). Wait, right! SMD diodes have lead inductance that affects high-frequency performance. If you\u2019re using an SMD in a 1MHz circuit, add a tiny inductor (like 1nH) in series with the diode model, because the leads have inductance. I learned that the hard way when a customer\u2019s 1MHz converter kept oscillating\u2014turns out they didn\u2019t account for the SMD lead inductance, so their simulation was stable, real circuit wasn\u2019t.<\/p>\n<p>So, what should you do next? If you\u2019re an engineer struggling with circuit simulations, or you just want to make sure your diode choice is right for your design, don\u2019t guess. I\u2019ve got a ton of part-specific SPICE models for all our diodes on our site, but if you\u2019re not finding what you need, hit me up. We don\u2019t just sell diodes\u2014we help you model them right, so your circuits work first time, every time. No more returns, no more late prototypes, no more pulling your hair out because your simulation didn\u2019t match the real world.<\/p>\n<p>Look, I\u2019ve been in this game long enough to know that a good diode model is half the battle. You can have a great circuit design, but if your diode model\u2019s wrong, it\u2019s gonna fail. I\u2019ve fixed more problems with bad diode modeling than with bad component selection, honestly. So do yourself a favor: skip the ideal model for anything beyond a rough sketch, use part-specific models, include all the key parameters, and test with real hardware.<\/p>\n<p>If you\u2019re working on a new design, scaling production, or just confused about which diode model to use for your circuit, reach out to our team for a custom consultation. We\u2019ll walk you through the right model for your application, share SPICE models, and make sure you pick the right diode that fits your needs. No jargon, no pressure\u2014just straight talk about diodes, like we\u2019ve done for thousands of engineers over the years.<\/p>\n<p>Oh, and one last tip: if you\u2019re working with high-temperature environments (automotive, industrial), look for diodes with a wide temperature range, and make sure your model includes temperature coefficients. Diodes behave differently at -40\u00b0C vs 125\u00b0C, and a good model will account for that. I once had a customer in the automotive industry who used a standard diode, didn\u2019t model temp effects, and their diode failed in cold weather\u2014cost them a big client. Don\u2019t be that guy.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ctkchip.com\/uploads\/47165\/small\/ll-34-switching-diode8c955.jpg\"><\/p>\n<p>Wait, let\u2019s wrap this up. Modeling a diode isn\u2019t rocket science, but it does require knowing which model fits your circuit. Start simple, level up accuracy as needed, use part-specific parameters, and always validate with real parts. If you need help with any of that, just get in touch to talk through your project. We\u2019re here to make sure your diodes work as hard as you do.<\/p>\n<p><a href=\"https:\/\/www.ctkchip.com\/mosfets\/mid-high-mosfets\/\">Middle Voltage MOSFETs<\/a> References:<\/p>\n<ol>\n<li>Shockley, W. (1949). The Theory of p-n Junctions in Semiconductors and p-n Junction Transistors. Bell System Technical Journal.<\/li>\n<li>Antognetti, P., &amp; Massobrio, G. (1988). Semiconductor Device Modeling with SPICE. McGraw-Hill.<\/li>\n<li>Yazdi, N., &amp; Najafi, K. (1998). Characterization and Modeling of Junction Capacitance in Schottky Diodes. IEEE Transactions on Electron Devices.<\/li>\n<li>MBR120 Series Diodes Product Datasheet. (Our Company Diodes Division, 2024).<\/li>\n<\/ol>\n<hr>\n<p><a href=\"https:\/\/www.ctkchip.com\/\">Tongke Electronic Co., Ltd<\/a><br \/>Tongke Electronic Co., Ltd. is one of the most experienced diode manufacturers and suppliers in China, featured by quality products and low price. Please rest assured to wholesale advanced diode made in China here from our factory. Contact us for pricelist.<br \/>Address: No.3,Chayuan Rd, Street 3, AilingKan, Dalingshan, Dongguan, Guangdong, China.<br \/>E-mail: jack@ctk-elec.com<br \/>WebSite: <a href=\"https:\/\/www.ctkchip.com\/\">https:\/\/www.ctkchip.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey everyone, thanks for popping in\u2014today we\u2019re diving into something I get asked about all the &hellip; <a title=\"How to model a DIODE in a circuit?\" class=\"hm-read-more\" href=\"http:\/\/www.anamstone.com\/blog\/2026\/11\/09\/how-to-model-a-diode-in-a-circuit-485f-bb8f7f\/\"><span class=\"screen-reader-text\">How to model a DIODE in a circuit?<\/span>Read more<\/a><\/p>\n","protected":false},"author":132,"featured_media":693,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[656],"class_list":["post-693","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry","tag-diode-488d-bbd605"],"_links":{"self":[{"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/posts\/693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/users\/132"}],"replies":[{"embeddable":true,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/comments?post=693"}],"version-history":[{"count":0,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/posts\/693\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/posts\/693"}],"wp:attachment":[{"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/media?parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/categories?post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.anamstone.com\/blog\/wp-json\/wp\/v2\/tags?post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}