Mastering Differential Pair Routing: Keeping Impedance Consistent

Differential pairs form the basis for high-speed interfaces such as USB, Ethernet, and LVDS. To achieve this, we need to have consistent impedance and close proximity between both signals to ensure that the two signals arrive clean and at the same time.

image.png

A differential pair consists of two traces, with both traces carrying opposite and equal signals from each end of the differential pair. The distance between the two traces and their geometry determine their differential impedance (typically 90 ohm or 100 ohm). Most importantly, both traces must be identical in length, width, and environment; any variation will introduce skew and degrade the quality of the signal.

Spacing between the two traces is essential. If the traces are spaced too far apart, the differential pair will lose coupling and behave as two separate traces. If the traces are spaced too closely together, the impedance will decrease. Make sure to follow any stack-up calculations you create, and keep the spacing uniform throughout the entire route of the circuit (this is especially important through bends and layer transitions).

image.png

Speaking of bends, you should avoid using sharp corners when bending the traces; you should use either 45-degree bends or arcs when bending the traces to maintain a consistent impedance reading. You should also keep both traces together at all times; if you need to separate them or pass one trace through a detour, you will create a distortion in the signal that will also create an increase in EMI and noise.

You should always have a solid reference plane (usually GND) underneath the differential pair. Any disruption to the reference plane (e.g., splits and voids) causes the return current to take longer paths; therefore, an increase in EMI and noise will occur. When you change layers, always use a matched via for both traces and maintain the symmetry of the traces.

image.png

While it's important to match length, don't get carried away with it. There are some minor differences before the two lines meet that usually won’t cause a timing problem depending on the type of interface. I would use moderate serpentine tuning as necessary.

Finally, to limit cross-talk interference, keep your differential pairs away from other signals. An easy way to do this is to maintain a minimum of 3 times the spacing (in width) of the traces to other traces.

What's the bottom line? Differential routing is not just about drawing two traces. It is about maintaining symmetry, uniformity, and the electrical character of the path as a whole.

#PCB#

PCB Design
Designing a PCB for Vibration: Component Placement for Durability

It is important to be mindful of component placement and understanding of how they will function together when designing PCBs to meet the demands of high vibration environments (automotive, Industrial & Aerospace). There are many stresses placed on the mechanical structures at the PCB level due to cyclic nature of vibrational forces. If these stresses are not properly mitigated, mechanical failure will occur within components or solder joints due to fatigue, cracks or intermittent failure.


image.png

When locating heavier components, such as inductors, large capacitors and connectors, it is best to place them as close as possible to the mounting point or areas of board support. This serves two purposes; reducing the mechanical leverage applied to the components thus reducing stress on the solder joints and keeping these heavier components from being placed in large unsupported areas of the PCB, which have the highest amount of flexure when subjected to vibration forces.


image.png

Using low-profile components whenever possible will also reduce the overall amount of inertial (force) produced during vibration for these parts. Sensitive integrated circuits (BGAs and QFNs) should be located within the mechanically stable areas of the PCB and not at the edges or corners of the PCB where bending is most pronounced.

The orientation of the components will also matter. The longer axis of the component should be aligned with the direction of the expected vibrational load. This will reduce the concentration of the stress on the solder joints. By evenly distributing the components you can avoid the imbalanced distribution of mass, which can enhance the vibrations.


image.png

For all critical areas you should reinforce these with mechanical support, such as standoffs or additional mounting holes. In addition, you may also want to utilize adhesive, underfill and/or staking compounds when securing connectors and/or larger components to provide additional mechanical stability.

Ensure your PCB thickness and stack-up are appropriate to ensure structural rigidity. Thicker pcbs or multi-layer designs will minimize flex during vibration due to increased strength. Use good soldering techniques and reliable pad design to help improve durability.

#PCB#

PCB Design
Surface Finishing Guide: Choosing the Right Treatment for Your Sheet Metal Parts

Surface finishing isn't just about appearance—it affects durability, conductivity, corrosion resistance, and even assembly fit.

Here's a quick breakdown of common sheet metal finishes:

🔹 No Finish (Raw)

  • Lowest cost, fastest turnaround
  • Keeps original material properties
  • May oxidize or scratch easily

👉 Best for internal parts or quick prototypes

8725426684906065920

🔹 Brushing

  • Creates a uniform, textured surface
  • Improves visual consistency
  • Does not provide strong corrosion protection

👉 Often used for aesthetic aluminum or stainless parts

8725426989160337408

🔹 Powder Coating

  • Thick protective layer
  • Excellent corrosion resistance
  • Wide range of colors
  • Adds thickness (important for tight fits)

👉 Great for enclosures and outdoor applications

8725427098640060416

🔹 Anodizing (Aluminum)

  • Improves corrosion resistance
  • Creates clean, premium look
  • Maintains relatively tight tolerances

👉 Common for consumer-facing aluminum parts

8725427194027192320

🔹 Hardcoat Anodizing

  • Much thicker and harder than standard anodizing
  • High wear resistance
  • Slight dimensional change

👉 Used in high-friction or industrial environments

8725427424881549312

🔹 Conductive Anodizing

  • Maintains electrical conductivity
  • Provides light corrosion protection

👉 Ideal for electronic housings and grounding applications

8725427763412484096

🔹 Silkscreen

  • Used for logos, labels, markings
  • Typically applied after coating or anodizing

👉 Great for branding and instructions

8725428001484967936

🔹 Laser Marking

  • Permanent, high-precision marking
  • No added thickness
  • Very durable

👉 Used for serial numbers, QR codes, branding

8725428129810239488

💬 Discussion:

When choosing surface finishes, what matters most in your projects—appearance, durability, or functionality?
Have you ever had issues with coating thickness or finish affecting assembly?

#sheetmetal# #surfacefinish#

Sheet Metal Fabrication
The Physics of Signal Propagation: Why Trace Length Matters

image.png

PCB trace close-up (conceptualized)

Signals, in PCB design, are not instantaneously transmitted, but rather propagate as electromagnetic waves over copper traces, which is fundamental to understanding why trace-length can be critical to signal integrity.

The speed at which a signal propagates depends on the material in which the signal is propagating, with typical standards for FR-4 PCB materials being approximately 50-70% of the speed of light. Thus, a signal propagating from one PCB pad to another may take 100 + picoseconds to travel a nominal distance of 2-3 centimeters. This travel time is relatively significant when compared with the fast rising (edge rate) of the signal itself.

image.png

High-density PCB routing

In addition to the delay of a signal traveling on its forward path, the signals also have a return path back to the source, typically by way of a common ground. Increased trace lengths create larger return loops, therefore increasing the inductance and the effects of voltage/potential noise from any external electromagnetic interference (EMI) sources.

Higher trace lengths increase resistive/capacitive characteristics, which in turn may attenuate the signal, create longer rising/falling signals, and create potential distortion. When considered at higher frequencies, traces can behave like transmission lines, where impedance mismatching effects create reflections. Reflections can introduce ringing, as well as logic errors.

Timing is another major consideration. When considering buses or high-speed interfaces, a difference in trace length will cause some skew (i.e., signal arriving at different times). This will potentially cause the system to lose its intended relationship of synchronization for such devices as memory or differentials.

The reason designers apply techniques such as length matching, controlled impedance routing, and appropriate terminations is because keeping traces as short, direct, and grounded to the reference plane will help to maintain the integrity of the signal.

image.png

PCB with short, direct, and grounded traces

Takeaway? Trace length is not simply an attribute of geometry; it impacts the manner in which the signal behaves. As speeds continue to increase, propagation management is critical to reliable and predictable circuit operation.

RFDesign
What is "High Speed" Anyway? Determining When Layout Becomes Critical

When designing printed circuit boards (PCBs), "high speed" is not solely determined by clock frequency, but rather by the rate at which signals are switching (rise and fall times). When rise/fall times are down to the point where they are close to the speed it takes to propagate a signal along a trace, layout becomes very important; as a rule of thumb, when the length of a trace exceeds approximately 1/10th of its effective wavelength (also called edge length), it must be treated as if it were a transmission line. At that point, reflection, impedance mismatch, and ringing will create distorted signals.

image.png

PCB close-up

This is why "slow" systems (e.g., tens of MHz) may require fast design techniques if they incorporate very fast digital logic families with very sharp edges.

Three layout considerations are particularly important for high-speed circuit designs; controlled impedance (all traces and cables have impedance), continuous ground plane (a common reference with low impedance), and tightly coupled return path (the return current flow follows the path of least impedance; in most cases directly under the trace). In high-speed applications, signals form loops, and return current finds the path of least impedance, typically directly under the trace. Interruptions (such as ground splits) will increase the total area of the loop and increase the amount of electromagnetic interference (EMI).

image.png

Dense PCB routing / high-speed layout

When designing for fast applications, crosstalk must also be taken into account. Two close traces that run parallel and adjacent to each other can couple energy to one another over long cable lengths. Proper trace spacing and layer management will help reduce the amount of crosstalk present in a design.

image.png

PCB layer management can be an important factor to consider

Interface Standards are another triggering mechanism. Controlled routing (i.e., differential routing methods) and matched lengths are required of signal traces regardless of clock rate for Protocols such as USB, Ethernet and DDR memory.

The takeaway from this is that the phrase "High Speed" is defined as beginning at the point where physics (not simply connectivity) starts to govern signal behavior. Therefore, if you have fast edge rates, long trace lengths, or tight timing constraints on your signals, layout is critical for successful operation.

High Speed PCB
Tip&Tricks for a good layout: why a solid ground plane is crucial!

The Critical Role of Ground Planes in High-Speed PCB Design: When developing a printed circuit board, the implementation of a solid ground plane is far more than a structural choice; it is a fundamental requirement for signal integrity.

Why Continuity Matters: In high-frequency systems, signals propagate as electromagnetic waves within a transmission line environment. A continuous copper plane directly beneath the signal trace provides a predictable, low-inductance return path. If this plane is fractured or interrupted, the return current cannot follow its ideal path. Instead, it is forced to "detour" around the gap. This deviation increases the loop area of the circuit, causing the electromagnetic fields to expand and bleed into neighboring traces. This mechanism is the primary driver of crosstalk and electromagnetic interference (EMI).

Empirical Evidence: A Comparative Study To quantify the impact of ground plane integrity, we can examine a laboratory setup involving two distinct PCB configurations. Both boards utilize matched 50Ω striplines, each terminated into a 50Ω load to the underlying ground plane. Each board features two connectors, labeled H1 and H2. The Experiment: A high-speed signal is injected into H1 (the "aggressor" line), while the signal on H2 (the "victim" line) is monitored on two different PCBs. The first one (PCB4) has an interrupting trace under both H1 and H2 while the second one has an interrupting trace only under H1 (PCB3). To do the experiment, two waveforms have been injected, a square wave and a sine wave both at 5V, and the peak-to-peak crosstalk voltage and its dependency on frequency have been found. Then, applying different frequencies, different data have been acquired.

Data analysis: From the data it is possible to notice how crosstalk is significantly higher for the PCB4 in both settings: square and sine waves applied. Also, with higher frequencies come also higher crosstalk.

Conclusion: When designing a PCB's layout, guaranteeing that one of the ground planes is solid without any cutting is actually very significant and can guarantee a good output of the PCB reducing crosstalk and thus disturbs.

8724836880220700672

8724836880350183424

8724836880057122816

8724837187399077888

#PCB##PCB# #PCB# #layout# #grounding# #loop# #current# #PCBDesign#

Layout
Tip&Tricks for a good layout : why the placing of the decoupling capacitor is so crucial? T

#decoupling# #capacitor# #pcb design# #JLCPCB#

Lately I have had this doubt: is the position of the decoupling capacitor really significant? Well, the quick answer is YES!

Here you will see a brief experiment and its results that I hope will make you understand how significant actually is.

First of all, what are decoupling capacitors and why are they needed?

  • Well, they are needed to stabilize voltage and eliminate noise in electronic circuits by providing a local and high-speed reservoir for components (such as microcontrollers etc.). It will prevent the EMI radiation, as well as isolate the sensitive components from the power supply noise. More specifically, when a circuit needs current instantly the supply rails can't react instantly because of wiring inductance and resistance, thus the supply voltage sags. Putting a decoupling capacitor helps with this by keeping the circuits stable.

What do you need? 

  • An oscilloscope, a signal generator and a power supply. The circuit built featured a NPN BJT transistor, with a resistor of 20 Ohm on its source, the gate connected to ground and drain to Vcc. Connected to the gate there was a source generator generating a square wave of 5V of amplitude at 1kHz. The source was connected to the scope/oscilloscope with DC coupling.
  • After building the circuit with a breadboard, you can put a capacitor at difference distances from the voltage source and see its effect on the voltage drop.

Obtained data analysis

  • the voltage drop without a capacitor is around 4.62V. This is HUGE! Since the voltage power is of 5V.
  • the 1000uF electrolytic/ 1uF film capacitors are the one that reduced more significantly the voltage drop. Generally the electrolytic however are slower.
  • the more the capacitor is near to the voltage source the more it attenuates its voltage drop.

Key findings from data

The experimental data reveals a critical struggle between power stability and signal speed. Without any decoupling, the 4.62V drop on a 5V rail represents a near-total power failure every time the transistor switches. In a real-world application, this wouldn't just be electrical noise; it would cause a processor to brown out or a sensor to provide false readings because the voltage hits rock bottom.

These results also expose a performance trade-off tied to internal resistance. The 1000uF electrolytic capacitor acts like a massive water tank with a slow, narrow valve. While it holds enough energy to prevent the voltage from sagging, it cannot release that energy fast enough to keep up with the 1kHz square wave. This explains why the signal rise time slowed to 153ns with the large cap, whereas the 1uF film version, acting as a smaller but much faster bucket, snapped the signal into place in just 90ns.

CONCLUSION

When designing a PCB's layout, ALWAYS put the decoupling capacitors near its voltage source, the nearest the better!

8724792225516892160

8724792225181347840

Do not put them distant!!

Layout
Designing a 2.4GHz Inverted-F Antenna on a 2-Layer PCB

The Inverted-F Antenna (IFA) is an ideal option for 2.4GHz applications (Wi-Fi, Bluetooth) as it is small in size and performs well on basic 2 layer PCBs.

image.png

PIFA

An IFA acts like a quarter wavelength radiator. For 2.4 GHz the wavelength is approximately 125 mm so the actual radiating length will be 25 - 30 mm tall on FR-4 as a result of the dielectric material. However, because the antenna is housed on a PCB (which introduces dielectric loading), actual IFA length will typically range from 20-30mm in FR-4 material.

Three components make up the structure of an IFA:

  1. Radiating Element/Main Trace
  2. Shorting Pin/Trace To Ground
  3. Feed Point Located Between The Other Two Components

The shorting component reduces the resonant length of the radiator and aids in impedance matching, while the feed location will allow for further fine-tuning of input impedance (targeted value of approximately 50Ω).

Proper ground plane design is also essential. The IFA should ideally be placed at the edge of the PCB with no copper and no routing underneath and around it (the keep-out area). The remaining area of the PCB acts as the ground plane; thus, the size and shape of the ground plane will have a large influence on performance.

Dedicate the entire bottom layer of a PCB with 2-layers as a solid ground plane and use multiple vias near both the feed and shorting locations to ensure a low-impedance path to ground.

Tuning is a necessary step that cannot be avoided. A small change in an object's length or width, or objects around the object, will affect the resonance. By including a π-matching network in the feed using two capacitors and one inductor, you can fine-tune your fabrication using a VNA after fabrication.

image.png

VNA

So what have we learned? Antenna design is split equally between calculation, layout discipline and tuning. Once you have your geometry and grounding right, you end up with an efficient, reliable antenna without having to rely upon elaborate multilayer boards.

image.png

PCB close-up

RFDesign
Introduction to Microwave Engineering for PCB Designers

High-frequency circuit board design (microwave design) applies not only to radio frequency circuit board design engineers, but also to today's designers of circuit boards. Circuit board, or PCB, designers use microwave design principles as they reach frequencies of hundreds of MHz or more, where traces on Printed Circuit Boards (PCBs) are no longer behaving as simple wire connections, but will instead function as transmission lines.

Controlled impedance is an important concept in PCB design. Each PCB trace has a characteristic impedance that is determined by the construction parameters of that trace: Width, thickness of conductor materials, dielectric materials used as well as the distance to the reference or ground plane. Impedance mismatches (discrepancies between the characteristic impedances) create reflections/echoes and signal integrity issues in the form of signal loss and/or distortion. As a result controlled PCB geometric shapes must be closely adhered to; otherwise, you will create a signal integrity and performance issue.

image.png

Another important concept is return path. High frequency signals will follow the path of least impedance, which will normally be directly underneath the PCB trace (on the ground plane). Any type of discontinuity (for example, split planes) will increase the loop area and cause interference problems in the forms of radiated Electro Magnetic Interference (EMI).

Material selection is important too; standard FR-4 laminate will work on many PCB applications, but as you increase frequency you have increased dielectric losses. Therefore, in high frequency applications (i.e greater than 1GHz), it is common to select lower-loss laminates to maintain signal integrity.

image.png

In addition to using proper design parameters & materials, PCB layout techniques will change when designing high frequency PCBs. Design Engineers must consider design matching of trace lengths, effects of vias (splices in traces), and parasitic types of effects. Little elements within a PCB like stubs and sharp bends can have performance ramifications. Therefore, proper routing can be vital to achieving good signal integrity.

image.png

In conclusion, the use of simulation tools and measurement tools such as field solvers and vector network analyzers (VNA’s) are an important part of validating both pre-production and post-production designs.

The bottom line for microwave PCB designs is to help control the flow of energy through the circuit as opposed to simply connecting all points. By mastering these basic components of circuit design, you will now be able to produce circuits that function reliably and with superior performance at increasingly higher frequencies.

PCB Design
LoRaWAN vs. NB-IoT: Choosing the Right Protocol for Remote Sensing

Three factors will aid you in your determination of which network is best for your IoT application: Coverage, power, and infrastructure.

LoRaWAN is the best candidate if your IoT application requires a network to work out of the grid, or in rural areas. LoRaWAN operates in an unlicensed band, has a long range (up to several kilometres), and consumes very little power – requiring batteries to last for multiple years.In addition, you can use private gateways for your device to provide access to the internet.

NB-IoT (Narrowband Internet of Things) is a licensed cellular technology that has been approved by 3GPP and utilizes existing LTE networks and licensed spectrum. With NB-IoT as an option, you have another viable method of connecting your devices to the Internet; how to do this depends on your needs. NB-IoT also has very good Quality of Service (QoS) because of its direct connection to either the Internet/cloud. While NB-IoT provides a reliable connection for several devices connected to the Internet, it can draw considerably more power than LoRaWAN and is therefore subject to some restrictions on carrier network connectivity.

image.png

Side by side LoRa module and NB-IOT module

Your best option for flexibility and extra low power consumption would be the LoRaWAN option, though if you need a mobile/cellular carrier level of reliable connectivity (with[during and after] supported network issues), then you would want to use NB-IoT instead.

IoT Project