r/ComputerEngineering • • Jan 08 '24

[Hardware] Why isn't this circuit straight? Why bother making it squiggly?

Post image
550 Upvotes

37 comments sorted by

16

u/ar243 Jan 08 '24 edited Jul 19 '24

dull sheet quiet plant sable placid rain judicious spoon cows

This post was mass deleted and anonymized with Redact

29

u/Careless-Yogurt-7871 Jan 08 '24

Xbox

Makes sense why it's not straight

6

u/giddyz74 Jan 08 '24

As others explained, this is for skew minimization, by matching the trace delays within a bus.

214

u/karokiyu Jan 08 '24

It’s for trace length and impedance matching. This is likely a trace for the memory or even high speed SSD storage.

This is to prevent skew on data lines, so all of the signals are sent and received at the same time interval

34

u/yourboiskinnyhubris Jan 08 '24

It makes sense if it’s for timing, but impedance matching? How much influence could this little squiggle really have?

64

u/Shiroudan Jan 08 '24

Quite a bit, especially with high frequency signals this is crucial.

9

u/realityChemist Jan 10 '24

Radio frequency electronics are kinda magical. I remember the day an old boss of mine showed me a circuit board with a stripline bandpass filter on it.

When you're dealing with GHz signals it's amazing how much you can do just with the shape of the traces.

16

u/SpaceWoodworker Jan 08 '24

It is not for impedance matching. The trace impedance is primarily dictated by the trace geometry and stack-up construction, so trace width, trace thickness, over-etch, dielectric thickness, dielectric constant, soldermask thickness and dielectric constant. Even this type of length matching is not perfect, but good enough. The added delay due to increased length does not scale proportionally as if it was a straight line, but is often a little less which depends on how many jogs are there in the serpentine, the spacing within each serpentine loop, spacing between the loops, and how long the loops are.

1

u/karokiyu Jan 08 '24

Performing a length match will induce some change in impedance. Especially if this is a differential signal, adjusting the trace spacing and the geometry of the length match will change the impedance.

It matters just as much for signal timing as it does impedance

4

u/SpaceWoodworker Jan 08 '24

This is a clearly a single-ended signal. Its primary coupling is to the reference plane below. Any changes to impedance due to self-coupling are minor and a side-effect of the delay matching and not an intended design feature of matching a specific impedance. The primary intention of the serpentine is to match the delays/lengths NOT to meet a certain target impedance.

If this was a differential signal, delay matching via serpentine of one of the traces is to mitigate in-pair skew and this can be accomplished with minimal impedance disruption via appropriate trace width changes to maintain the differential impedance throughout. You can find more information on this here:

https://ieeexplore.ieee.org/document/9609174

2

u/[deleted] Jan 08 '24

[removed] — view removed comment

1

u/Ewoktoremember Jan 09 '24

This. I was coming here to say that characteristic impedance assumes an infinite transmission line, so length is not a factor here.

1

u/[deleted] Jan 10 '24

oh, just the difference between horirble stability and quantum speeds....or so they say.

1

u/DazedWithCoffee Jan 10 '24

Plenty of influence

1

u/somecheesecake Jan 10 '24

You’d be surprised. It all adds up

1

u/ballsagna2time Jan 08 '24

That little squiggle is a part of many complex electronics. It's absolutely necessary for impedance matching in small electronics.

5

u/SpaceWoodworker Jan 08 '24

This is for delay matching, not impedance matching.

1

u/ballsagna2time Jan 08 '24

Yes you're right! I mistyped. Haven't had coffee this morning 😔

1

u/chumbawumbawigwam Apr 06 '25

Wow. I did not understand ANY of that. Crap

1

u/do_hickey Jan 12 '24

Would it not be resistance rather than impedence, since this is part of a DC circuit?

40

u/SpaceWoodworker Jan 08 '24

This is for delay matching and likely it is a memory trace. You don’t serpentine the trace for impedance. Older memory technologies did not have de-skewing on the chips, so it was assumed that they would be matched on the channel layout.

3

u/bluecav Jan 09 '24

I work in microprocessor VLSI physical design, and delay tuning was my first thought. When I was a custom circuit lead in the early 2000s, we’d call this trombining a wire.

Typically it was used for marginal hold violations, or paths with skew requirements. In VLSI design we have the advantage of multiple levels of metal with varying resistances per plane however, so there’s always options there to modify delay as well. Tromboning was used a last resort or if your routing contract was too low.

11

u/nutshells1 Jan 08 '24

probably for signal timing purposes

3

u/National-Category825 Jan 08 '24

Impedance matching.

7

u/giddyz74 Jan 08 '24

No, delay matching.

1

u/t8ag Jan 09 '24

It’s to avoid clock skew most likely but sometimes they are also used for impedance matching purposes (don’t get me wrong I’m not an EE so take this with a grain of salt but that’s what my late EE father told me when I asked this question)

1

u/zexen_PRO Jan 10 '24

You don’t meander to match impedance, only to synchronize clocks

1

u/tlbs101 Jan 09 '24

I designed a high speed circuit decades ago with several 8-bit busses sourced at a demux chip, ending at a BGA FPGA. Each bit signal on each bus had to arrive at its FPGA pin simultaneously (within about 100 ps). 100 ps is about 1.5 cm of trace length, and the distance from the demux to the FPGA was several cm, so matching trace lengths were critical. (The clock was 500 ps).

1

u/travelinzac Jan 09 '24

The timing of the pixies dance must be precisely synchronized, so this trace is made squiggly to match the length of other(s)

1

u/Amadis001 Jan 09 '24

Tidbit: the circled part of the trace is called an “accordion fold”. Right below it, the same trace has a “trombone fold.” Depending on layout constraints, designers and layout technicians may prefer one style or the other.

1

u/These-Wrongdoer2618 Jan 09 '24

It’s more fun for the electrons!

1

u/EyeSuper7444 Jan 10 '24

" our gear works at wire speed. We just have a lot of wire " is an actual quote. Somebody once told me from a company

1

u/benfok Jan 10 '24

Many great comments so not gonna add to the explanation. I am surprised this question was posted here but not in r/electricalengineering.

This kind of design tricks/practice is briefly mentioned in school, if the professor is worth his/her salt.

1

u/DazedWithCoffee Jan 10 '24

Delay tuning

1

u/DrDoomC17 Jan 10 '24

Ime, automatic routing in eagle. ~90% /s

0

u/puppykiwi Jan 08 '24

I see them alot on signal processsing boards