<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yang Fei</title>
    <description>The latest articles on DEV Community by Yang Fei (@dbdesignmw).</description>
    <link>https://dev.to/dbdesignmw</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241966%2F612b0da5-9a5b-4fac-b290-ccad4e5b2dbe.png</url>
      <title>DEV Community: Yang Fei</title>
      <link>https://dev.to/dbdesignmw</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dbdesignmw"/>
    <language>en</language>
    <item>
      <title>Why Your 10 W Attenuator Failed at 5 W</title>
      <dc:creator>Yang Fei</dc:creator>
      <pubDate>Sat, 14 Nov 2026 00:48:58 +0000</pubDate>
      <link>https://dev.to/dbdesignmw/why-your-10-w-attenuator-failed-at-5-w-3dp</link>
      <guid>https://dev.to/dbdesignmw/why-your-10-w-attenuator-failed-at-5-w-3dp</guid>
      <description>&lt;p&gt;A 10 W attenuator running at 5 W continuous should be the least interesting part on the bench. It still comes back. When it does, the report usually says "overpowered", and the test log says 5 W, and both are wrong.&lt;/p&gt;

&lt;p&gt;The rating on the label is measured under conditions that almost never exist in a rack: 25 °C ambient, VSWR 1.0, bolted to a heat sink of a specified size, continuous, at the low end of the band. Move any one of those and the 10 W part is a 6 W part or worse. Here is where the margin goes.&lt;/p&gt;

&lt;h2&gt;
  
  
  An attenuator is a heater with connectors
&lt;/h2&gt;

&lt;p&gt;A 10 dB attenuator turns 90 percent of the input into heat. A 20 dB pad turns 99 percent into heat. At 5 W input through a 10 dB pad, 4.5 W is being dissipated inside a package the size of a thimble. That is the whole design problem, and it is why the mechanical drawing matters as much as the electrical one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four things that eat the margin
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Ambient temperature.&lt;/strong&gt; Most parts derate linearly from full power at 25 °C to zero at the maximum operating temperature, often 125 °C or 150 °C. At 55 °C inside a closed rack you are already down 20 to 30 percent. At 85 °C, which is a normal interior temperature for equipment in a shelter, a 10 W part may be rated for 4 to 5 W.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VSWR at the load.&lt;/strong&gt; Reflected power comes back into the pad and is dissipated there too. With a 2:1 mismatch on the output, assume 15 to 20 percent more dissipation than the matched calculation. This is the number that turns a 5 W test into a 6 W thermal load.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mounting.&lt;/strong&gt; A 10 W attenuator normally assumes it is bolted to metal with thermal compound. Hanging in free air on a bench, convection carries away a fraction of that, and the case temperature climbs until something gives. If the datasheet does not state the mounting condition for the rating, the rating is a marketing number.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Frequency.&lt;/strong&gt; Thin-film resistor geometry and skin effect both change with frequency, and the thermal density along the film is not uniform. A part rated for full power at DC is often limited at 18 GHz or 40 GHz. Check the power-versus-frequency curve, not just the headline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Peak is not average
&lt;/h2&gt;

&lt;p&gt;For pulsed radar and for anything with a duty cycle, the average rating governs heating and the peak rating governs voltage breakdown across the resistor. A part rated 10 W average and 1 kW peak will not survive 1 kW average for a millisecond, and it will flash over at 1 kW peak if the pulse shape is sharper than the test pulse. Ask what pulse width and duty cycle the peak rating assumes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the failure looks like
&lt;/h2&gt;

&lt;p&gt;The three signatures are distinguishable, and they tell you which limit you hit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open circuit after months of thermal cycling.&lt;/strong&gt; The resistor film cracked from repeated expansion, not from one overload event. You were running close to the thermal limit the whole time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discoloured or reflowed centre pin, attenuation still correct.&lt;/strong&gt; The connector, not the resistor, was the limit. This is common on small packages pushed to their rated power at high frequency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attenuation value drifted up by a few tenths of a dB.&lt;/strong&gt; Film aging from sustained over-temperature. The part still works, the calibration no longer does.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to size one properly
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Compute dissipated power: input minus output, in linear terms, not dB.&lt;/li&gt;
&lt;li&gt;Derate from the vendor curve for your actual ambient inside the enclosure.&lt;/li&gt;
&lt;li&gt;Add 20 percent if the load VSWR can reach 2:1.&lt;/li&gt;
&lt;li&gt;Apply 1.5 to 2x margin for a part that will sit in a rack for ten years.&lt;/li&gt;
&lt;li&gt;Measure the case temperature after 30 minutes at the intended power. If you are within 25 °C of the maximum case temperature, you have no margin and should go up a size.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What to ask for before you buy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Derating curve, with the mounting condition explicitly stated&lt;/li&gt;
&lt;li&gt;Thermal resistance, case to ambient&lt;/li&gt;
&lt;li&gt;Maximum case temperature&lt;/li&gt;
&lt;li&gt;Power rating versus frequency, not just at the band edge&lt;/li&gt;
&lt;li&gt;Connector power limit, which is often lower than the resistor limit&lt;/li&gt;
&lt;li&gt;Whether the part is intended for conduction cooling or convection&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where I sit
&lt;/h2&gt;

&lt;p&gt;I work on these parts at &lt;a href="https://www.dbdesignmw.com" rel="noopener noreferrer"&gt;DB Design / MeiXun&lt;/a&gt; in Wuxi, so read this as notes from the manufacturing side rather than a neutral survey. We build &lt;a href="https://www.dbdesignmw.com/products/passive-components/attenuator" rel="noopener noreferrer"&gt;fixed and variable attenuators&lt;/a&gt; alongside &lt;a href="https://www.dbdesignmw.com/products/passive-components/coaxial-loads-coaxial-terminations" rel="noopener noreferrer"&gt;coaxial loads and terminations&lt;/a&gt; and the &lt;a href="https://www.dbdesignmw.com/products/passive-components/coaxial-switches" rel="noopener noreferrer"&gt;coaxial switches&lt;/a&gt; that usually sit next to them in the same rack.&lt;/p&gt;

&lt;p&gt;If an attenuator in your system keeps dying, the derating curve and the mounting are where the answer usually is, not the wattage on the label.&lt;/p&gt;

</description>
      <category>rf</category>
      <category>hardware</category>
      <category>electronics</category>
      <category>engineering</category>
    </item>
    <item>
      <title>RF Switch Matrix Design: The Isolation Budget Nobody Calculates</title>
      <dc:creator>Yang Fei</dc:creator>
      <pubDate>Fri, 13 Nov 2026 08:09:53 +0000</pubDate>
      <link>https://dev.to/dbdesignmw/rf-switch-matrix-design-the-isolation-budget-nobody-calculates-590h</link>
      <guid>https://dev.to/dbdesignmw/rf-switch-matrix-design-the-isolation-budget-nobody-calculates-590h</guid>
      <description>&lt;p&gt;Every switch matrix spec sheet I get asked to quote lists port count and insertion loss. Almost none lists a leakage budget. That is the number that decides whether an 8x8 matrix actually behaves at 40 GHz, and it is the number that is hardest to fix after the chassis is built.&lt;/p&gt;

&lt;p&gt;Here is how the three common architectures differ, and where each one quietly fails.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways to build the same matrix
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Fan-in tree.&lt;/strong&gt; Each output port gets one SP(N) switch, and its throws land on the N input lines. One switch in the path, so loss is the lowest of the three and isolation is a single switch's off-isolation. It is non-blocking only for one-to-one connections: if input 1 is feeding output 3, nothing else can use input 1 until you move that switch. Cheapest, lowest loss, least flexible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full crossbar.&lt;/strong&gt; A splitter on every input, a switch on every output. Any input can reach any number of outputs at once, which is what you want for a parallel ATE rack or a redundancy test. The cost is the splitter: a 1:8 resistive splitter burns 9 dB before the signal ever reaches a switch, and a Wilkinson version burns 9 dB too plus makes the unused branches reflective.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Two-stage cascade.&lt;/strong&gt; Fewer switch throws, more routing options, at the price of two switches in series. Loss roughly doubles in dB, switching time doubles, and the isolation arithmetic gets interesting in a way that usually does not go the way the designer expects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Isolation adds in dB until it stops adding
&lt;/h2&gt;

&lt;p&gt;Two 60 dB switches in series look like 120 dB on paper. In a real chassis you will measure somewhere between 85 and 110 dB and then stop seeing improvement, because the leakage floor is no longer the switch. It is the path around the switch: connector shells bonded to the same panel, the gap between two SMA bulkheads 15 mm apart, a ribbon cable crossing under the cavity, the ground plane of the driver board.&lt;/p&gt;

&lt;p&gt;The practical consequence: if you need more than about 100 dB, do not buy it by cascading switches. Buy it with packaging. Separate cavities, feedthroughs instead of bulkhead connectors, absorber on the lid, physical distance between the input and output connectors, and a driver board that is not sitting under the RF path.&lt;/p&gt;

&lt;p&gt;Also check isolation at the frequency you actually use. A switch quoted at 80 dB at 1 GHz is often 50 to 55 dB at 40 GHz, because the off-state capacitance of the contact and the coupling across the cavity both scale with frequency.&lt;/p&gt;

&lt;h2&gt;
  
  
  The number ATE engineers should be asking for
&lt;/h2&gt;

&lt;p&gt;Absolute insertion loss is calibrated out on the first run. What does not calibrate out is the spread of insertion loss across paths, and how much that spread moves after a few hundred thousand cycles.&lt;/p&gt;

&lt;p&gt;Ask for three things instead of one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Insertion loss spread across all paths, worst pair, at the top of the band&lt;/li&gt;
&lt;li&gt;Insertion loss repeatability on a single path over 100k operations&lt;/li&gt;
&lt;li&gt;Return loss spread, same conditions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A matrix with 2.0 dB typical loss and 0.15 dB spread is more useful than one with 1.4 dB typical and 0.6 dB spread, because the second one forces a per-path calibration file and re-verification every quarter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Terminate the ports you are not using
&lt;/h2&gt;

&lt;p&gt;An unterminated reflective SP8T output reflects the leakage back into the cavity. In a crossbar the effect shows up as ripple in a path that has nothing to do with the unused port. Internally terminated switches cost more and add a little loss, but they make the matrix's behaviour independent of which ports happen to be idle, which is exactly what you need when the test sequence changes every product revision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Latching relays, not failsafe, for large matrices
&lt;/h2&gt;

&lt;p&gt;This is the failure mode that kills matrices in the field. A failsafe relay drops to a default position when the coil loses power. Put 128 of them in a chassis, lose the supply while the source is live, and you have hot-switched 128 contacts simultaneously into whatever load was there. Contacts pit, insertion loss drifts, and the failure looks random for months afterwards.&lt;/p&gt;

&lt;p&gt;Use latching relays, drive them with a sequenced controller that never changes state while RF is present, and put a hardware interlock on the source. Also size the supply for the inrush, not the average: 128 latching relays at 28 V pull real current for a few milliseconds each, and a supply that sags during a re-route will leave relays in an undefined state.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you send the RFQ
&lt;/h2&gt;

&lt;p&gt;Have a number for each of these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Port count, and whether you need one-to-many or only one-to-one&lt;/li&gt;
&lt;li&gt;Highest frequency, and isolation required at that frequency&lt;/li&gt;
&lt;li&gt;Insertion loss spread target, not just typical loss&lt;/li&gt;
&lt;li&gt;Switching time including driver and sequence&lt;/li&gt;
&lt;li&gt;Lifetime in full re-routes, not individual switch operations&lt;/li&gt;
&lt;li&gt;Control interface, and what happens on power loss&lt;/li&gt;
&lt;li&gt;Connector series and the number of mating cycles the bench will do&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where I sit
&lt;/h2&gt;

&lt;p&gt;I work on these parts at &lt;a href="https://www.dbdesignmw.com" rel="noopener noreferrer"&gt;DB Design / MeiXun&lt;/a&gt; in Wuxi, so read this as notes from the manufacturing side rather than a neutral survey. We build &lt;a href="https://www.dbdesignmw.com/products/passive-components/coaxial-switches" rel="noopener noreferrer"&gt;electromechanical coaxial switches&lt;/a&gt; from SPDT to SP12T and DPDT rated to 2 million operations and 67 GHz, &lt;a href="https://www.dbdesignmw.com/products/passive-components/waveguide-switches" rel="noopener noreferrer"&gt;waveguide switches&lt;/a&gt; to 110 GHz, and &lt;a href="https://www.dbdesignmw.com/products/active-components/pin-switches" rel="noopener noreferrer"&gt;PIN diode switches&lt;/a&gt; for the cases where the re-route has to happen inside a pulse.&lt;/p&gt;

&lt;p&gt;If a matrix in your rack has started drifting, the leakage budget and the relay type are usually where the answer is.&lt;/p&gt;

</description>
      <category>rf</category>
      <category>hardware</category>
      <category>testing</category>
      <category>engineering</category>
    </item>
    <item>
      <title>Electromechanical vs. PIN Diode RF Switches: What Actually Fails First</title>
      <dc:creator>Yang Fei</dc:creator>
      <pubDate>Fri, 13 Nov 2026 01:03:38 +0000</pubDate>
      <link>https://dev.to/dbdesignmw/electromechanical-vs-pin-diode-rf-switches-what-actually-fails-first-99h</link>
      <guid>https://dev.to/dbdesignmw/electromechanical-vs-pin-diode-rf-switches-what-actually-fails-first-99h</guid>
      <description>&lt;p&gt;Every RF bench has a switch that dies young. In ATE racks and radar front ends, the switch is often the first part to fail, and it is almost never the part the designer blamed. The usual cause is a mismatch between the technology chosen and the way the switch is actually driven: hot switching, DC on the RF line, or a control interface that promises more than the contact can deliver.&lt;/p&gt;

&lt;p&gt;This is not a datasheet comparison. It is the short list of things that decide which of the two switch families you should specify, and what will kill either one early.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two technologies, one decision
&lt;/h2&gt;

&lt;p&gt;An electromechanical (EM) coaxial switch moves a metal contact. Insertion loss is very low, isolation is excellent, and it works from DC upward, which matters if your signal carries a DC or low frequency component. The price is mechanical wear, a few milliseconds of switching time, and contact bounce during the transition.&lt;/p&gt;

&lt;p&gt;A PIN diode switch has no moving parts. It switches in microseconds or less, survives millions of operations without wearing out, and is the only sane choice when you need to change path inside a pulse. The price is higher insertion loss, worse isolation at the top of the band, forward current to bias the diodes, and a device that is unforgiving of transients on its bias line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where each one wins
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DC to 67 GHz with no bias network:&lt;/strong&gt; EM coaxial.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changing path inside a 10 us window:&lt;/strong&gt; PIN diode.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Millions of operations over a decade:&lt;/strong&gt; PIN diode.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Highest isolation and lowest loss above 40 GHz:&lt;/strong&gt; EM coaxial, and waveguide above 50 GHz.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hot switching into a mismatched load:&lt;/strong&gt; neither is happy, but EM survives longer.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What kills them early
&lt;/h2&gt;

&lt;p&gt;Three failure modes account for most field returns.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hot switching.&lt;/strong&gt; Breaking a live RF path at high power arcs the contact. Derate power handling by roughly half when the switch operates while the transmitter is on, and specify the hot switching rating separately from the cold one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DC or low frequency on the line.&lt;/strong&gt; A PIN diode switch cannot pass DC, and a bias tee in front of it will not turn it into a DC coupled path either. Check what your source actually puts on the centre conductor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Control transients.&lt;/strong&gt; An EM switch driven by a slow or bouncy supply can sit between positions and dissipate the full input power in the contact. A PIN diode driver that floats or overshoots will forward bias a diode that is supposed to be off.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A specifying checklist
&lt;/h2&gt;

&lt;p&gt;Before you send an RFQ, have a number for each of these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Isolation at the specific frequency, not the band minimum&lt;/li&gt;
&lt;li&gt;Insertion loss and return loss over temperature&lt;/li&gt;
&lt;li&gt;Switching time including the driver, not just the switch&lt;/li&gt;
&lt;li&gt;Lifetime in operations, at the rated power&lt;/li&gt;
&lt;li&gt;Power handling, cold and hot&lt;/li&gt;
&lt;li&gt;Control interface: TTL, 12/28 V, latching or failsafe&lt;/li&gt;
&lt;li&gt;Connector type and sex, and whether the body is the ground reference&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where I sit
&lt;/h2&gt;

&lt;p&gt;I work on these parts at &lt;a href="https://www.dbdesignmw.com" rel="noopener noreferrer"&gt;DB Design / MeiXun&lt;/a&gt; in Wuxi, so read the above as notes from the manufacturing side rather than a neutral survey. We build &lt;a href="https://www.dbdesignmw.com/products/passive-components/coaxial-switches" rel="noopener noreferrer"&gt;electromechanical coaxial switches&lt;/a&gt; from SPDT to SP12T and DPDT, rated for 2 million operations to 67 GHz, plus waveguide switches to 110 GHz and &lt;a href="https://www.dbdesignmw.com/products/active-components/pin-switches" rel="noopener noreferrer"&gt;PIN diode switches&lt;/a&gt; for the cases where microseconds matter.&lt;/p&gt;

&lt;p&gt;If a switch in your design keeps failing, the checklist above is usually where the answer is.&lt;/p&gt;

</description>
      <category>hardware</category>
      <category>electronics</category>
      <category>rf</category>
    </item>
  </channel>
</rss>
