this post was submitted on 08 May 2024
469 points (98.6% liked)

Technology

57997 readers
5628 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SpaceNoodle@lemmy.world 47 points 4 months ago (4 children)

A millimeter is huge in these situations. USB3 requires 5 mil tolerances, just over 0.1 mm. This scales with the inverse of data rate.

Electronics are so fast that we gotta take the speed of light into account. God help you if you put too sharp a bend in a trace, too ...

[–] itsmect@monero.town 12 points 4 months ago (2 children)

USB3 is quite forgiving regarding the layout. The standard +-10% impedance matching is fine, and because there is no dedicated clock line you don't need to do length matching either. Even differential pair length mismatch is not that big of a deal. If 0.1mm is easy to archive, sure go for it, but I'd rather compromise on this in favor of more important parameters.

[–] gregorum@lemm.ee 4 points 4 months ago* (last edited 4 months ago) (1 children)

So, does it just have really advanced error checking? How does it handle the mismatches? I believe you, it’s just that the phrase “not that big of a deal” is doing a lot of heavy lifting here.

[–] itsmect@monero.town 5 points 4 months ago* (last edited 4 months ago) (1 children)

The signal does not care about how it gets from the sender to the receiver. The only thing that matters is that at the receivers end 0s and 1s can be separated. One common measurement is the eye pattern. If the eye is "open" enough (=matches the spec), communication is possible.

Impedance mismatch causes reflections (visible as oscillation after rising/falling edge), differential pair line mismatch degrades the slop of the signal transition (rising/falling edge). Geometric features only matter if they are large compared to the signal wavelength. As a rule of thumb features smaller then 1/20th of a wavelength can be safely ignored, often times a ratio as large as 1/5 works just fine. USB3 uses 2.5Ghz (5Gbit/s) or 5Ghz (10Gbit/s), where 1/20th result in 3.4mm and 1.7mm respectively (assuming an effective dialectic of 3.17). This is still grossly simplified, because in many real systems you don't control the entire transmission line (eg. user buys a random cable and expects it to work), so it makes sense that the USB consortium specifies eye patterns and factors in various system uncertainties.

RAM on the other hand uses 16/32/64/128 single ended data lines, with a dedicated clock line. Data does not have to arrive perfectly at the same time, but the margin may be as little as 1/10th of a clock cycle. Here accurate length matching is absolutely required. Its also the reason why the same CPU + RAM combination may archive higher stable clock rates on some mainboards then on others.

[–] gregorum@lemm.ee 1 points 4 months ago (1 children)

Ok, wow. Thank you for educating me on a great deal I didn’t know when I asked the question. And while it does a great deal to bridge that gap… the question remains unanswered: how is this breakthrough achieved?

[–] itsmect@monero.town 1 points 4 months ago

Which breakthrough do you mean? Can you rephrase your question?

[–] AnUnusualRelic@lemmy.world 1 points 4 months ago

That's why serial busses won over parallel ones I guess.

[–] TimeSquirrel@kbin.social 6 points 4 months ago (2 children)

Haha, I'm still over here messing with 10/100 Ethernet and USB 2 on my home projects. I'm used to bigger tolerances than the truly high tech stuff.

[–] SpaceNoodle@lemmy.world 7 points 4 months ago

Same, but now I'm working on very high-speed stuff for work and starting to get into that hobby-wise as well. Just yesterday had a conversation with a colleague about how things are getting too small to hand-solder.

[–] GluWu@lemm.ee -3 points 4 months ago (1 children)

My dedicated AI machine uses 1866mhz DDR3. Consumers don't know what they need and will buy whatever the latest new thing is. Smart phones are so dumb. Like wow, your brand new $2500 phone has a benchmark 4x faster than my refurbished $250 phone. Now tell me what you do with all that power. "...well I save 27ms per Instagram post which adds up with how much I use it". I want to run headfirst into a brick wall.

[–] TimeSquirrel@kbin.social 12 points 4 months ago* (last edited 4 months ago)
[–] Threeme2189@lemmy.world 5 points 4 months ago (2 children)

What is a mil in this context? I'm genuinely curious.

[–] Hawke@lemmy.world 13 points 4 months ago (3 children)

Probably one thousandth of an inch.

[–] user224@lemmy.sdf.org 10 points 4 months ago (2 children)
[–] Hawke@lemmy.world 2 points 4 months ago
[–] kaboom36@ani.social 1 points 4 months ago

Hey thousands of an inch are the only part of our imperial system that actually makes sense

[–] Threeme2189@lemmy.world 6 points 4 months ago (2 children)

I've heard it referred to as 'thou' but not 'mil'

[–] curiousPJ@lemmy.world 3 points 4 months ago* (last edited 4 months ago)

A couple old metrology equipment dated back from the 80s I still use calls them 'mil'. It's got dual dials for mil/mm. Gets me confused sometimes because the gauge can go down to couple millionths of an inch/couple 10s of nanometers.

LVDT for those curious.

[–] borari@lemmy.dbzer0.com 2 points 4 months ago (1 children)

Yeah, I’ve never heard of that before either. What I have heard of is either MOA or MIL reticles. In that context a Mil stands for milliradian, which is a representation of angle. That definitely doesn’t track with the post though.

[–] Excrubulent@slrpnk.net 4 points 4 months ago

And it's especially confusing for people who use sane measurement systems where "mil" is short for "millimetre", because it's just the start of the word. I think anyone that still insists on measuring things in thousandths of an inch should keep their own bespoke lingo too, and everyone else should steadfastly refuse to acknowledge "mil" in this context.

[–] SpaceNoodle@lemmy.world 4 points 4 months ago
[–] flying_gel@lemmy.world -3 points 4 months ago* (last edited 4 months ago) (2 children)

A millimeter i.e a thousands of a meter.

edit: I was wrong, confusingly enough it is a thousands of an inch

[–] Threeme2189@lemmy.world 9 points 4 months ago (1 children)

5 mm isn't 'just over 0.1 mm'. That can't be right.

[–] AnUnusualRelic@lemmy.world 4 points 4 months ago

Well, it depends on your margin of error.

[–] Aceticon@lemmy.world 4 points 4 months ago* (last edited 4 months ago) (1 children)

In the design and manufacture of PCBs (aka circuit boards) a "mil" is a one thousandth of an inch, so it makes sense that's what is being used in this context.

Also the maths check out: 0.005 inches is equal to aprox 0.12mm, "just over 0.1mm".

[–] flying_gel@lemmy.world 2 points 4 months ago (1 children)

I stand corrected, and I see I didn't read the comment thoroughly enough either.

Colloquially as a non-pcb maker I would use and hear the term "mill" as short form millimeter so I assumed it was that.

so TIL :)

[–] Aceticon@lemmy.world 3 points 4 months ago

Yeah, I found it wierd too when I started designing PCBs (as hobby) that "mill" actually stood for thousanth of an inch.

Probably for historical reasons, there are tons of things in the older domains within electronics that are based on inches rather than metric units: for example the spacing between the legs of a microchip in the older chip package formats (so called DIP, the ones with legs that go into holes) is exactly 0.1"

The sizes in more modern electronics isn't usually based on inches anymore, but circuit boards are old tech (even if done with new materials) so there are still a number of measures in there which are based on inches.

[–] gregorum@lemm.ee 1 points 4 months ago

That inverse square law will fuck you every time