The beautiful maths which makes 5G faster than 4G, faster than 3G, faster than...
Вставка
- Опубліковано 28 лют 2024
- Pre-order Love Triangle on Maths Gear now and get a signed copy! Also, a special book cover if you're fast enough. mathsgear.co.uk/products/love...
UK edition out 20 June, pre-order options: bit.ly/UKLoveTriangle
USA edition out 20 August, pre-order options: bit.ly/3wCTesR
Here are the fantastic GeoGebra files Ben Sparks made for the video.
Modulated 1 bit: www.geogebra.org/m/bndn54th
Modulated 2 bit: www.geogebra.org/m/enkymjtg
Constellations: www.geogebra.org/m/fff3aqvn
Sum of waves: www.geogebra.org/m/trjxxf9p
Huge thanks to my Patreon supports. They enable me to be outstanding in a field. / standupmaths
CORRECTIONS
- 07:15, don't ask why that circle is there. It's not a clue. I just forgot to turn off a layer in photoshop.
- At 10:06 I didn't show the Gray Code paths which loop around the diagram. But you get the idea.
- Yes, I spelled "Pello!" in the hidden binary message instead of "Hello!". It was an idea I had at the last second and I didn't double check where I was clicking!
- Let me know if you spot anything!
Filming and editing by Alex Genn-Bash
Written and performed by Matt Parker
Geogebra files by Ben Sparks
Produced by Nicole Jacobus
Music by Howard Carter
Design by Simon Wright and Adam Robinson
MATT PARKER: Stand-up Mathematician
Website: standupmaths.com/
US book: www.penguinrandomhouse.com/bo...
UK book: mathsgear.co.uk/collections/b... - Розваги
QAM now goes up to 4096QAM in WiFi 7, also called 4K-QAM since 4K is now such a buzzword. The physics required in signal processing to reliably distinguish 4096 code words is mindboggling.
Only Marketing could take some really clever invention like this and make it sound like a samsung TV
It has for quite some time. I’ve had backhaul radios operating for years that run 4096 QAM. But given the time to implement standards and costs of parts WiFi is only adopting it now while 5GNR adopts 1024. Today no phone could sustain this level as the signal degradation would be too high
Higher error rates too.
I wonder how this translates to error rates. At this point the differences (the wave) becomes so small, it may be read wrong, and now it relies more on the actual TCP/IP protocol (or whatever protocol is relevant) to resend the packages, from my limited understanding.
I guess there’s a threshold where it’s better to have a lower QAM number, to keep the read error rates lower?
@@friedpicklezzz yes you can have higher QAM and slower speed due to lost packets and rely on retransmit. That’s why radios tend to have an option for max QAM to keep it locked on the best reliable level as moving up and down also causes losses and latency.
I would be about 63.0315 times more impressed if the the ID contained "5G" instead of just "G".
Hahaaaaaaa
It says 5AG, is that close enough?
@@tolik75x i think matt just said yep good enough
I'm surprised too, Mat only had 1296 Video Upload Reset to Do 🤣
At least it says Lisa which is kinda cool
"Every triangle's a love triangle when you love triangles" - Pythagoras, probably
He sure was acute little chaser.
Dammit, Springleaf, get in my office now
Glad i wasnt the only one to think of this
You took a really dry angle with that joke.
10:19 I am afraid your explanation of why the constellation points are grey-coded in QAM is not quite right. The cell tower needs to be able to switch from one codeword to any other in order to maximise throughput. The grey-coding of the codewords actually minimizes the number of bit-errors that occur because of added white gaussian noise (AWGN) during the radio-transmission. But kudos for explaining QAM encoding in ca. 10 minutes, that took me at least one semester at uni to understand properly!
Agree. So if there is an error, it is highly likely to only be a single bit error which can easily be corrected by the error correction scheme.
You're correct
TY Fabian, my brain was screaming "that's not what the V.92 spec said!" (Not too forget V.32bis, V.34bis, etc…)
Is the higher density of QAM encoded words the reason we need more 5G towers closer together? As in signal attenuation and noise lead to less effective error correction?
@@MrCrayztrain yes. You need more power to enable faster data.
Good old QAM, I love their song Qareless Qisper.
It's the sound a Swiss cheese wheel makes when it falls on its side
This is an underrated comment 😂
Qub Tropiquana is my fav
Qilty Feet Qot No Rhythm
Qast Qristmas Qi Qave Qou Qy Qeart
The left side of the 16-QAM chart @4:25 has duplicate values. "45º, 1.000" is at the top ("0000") and near the middle ("1010"); "18.4º, 0.745" lines up with both "0001" and "1011"; "315º, 1.000" lines up with "0010"and "1000"; et c.
Okay, I wasn't the only one who noticed that. I paused the video to check, and each one is on there twice. I suspect some of those numbers should be negative
Parkers qam
Parker QAM Square
Thank you. I was very confused.
I'm glad i wasn't the only one!
As far as I know Gray code is used to minimize bit errors. Since the most common error is to detect a constellation point near the one that was transmitted, when converting the point to its bit label Gray code will ensure only one bit out of four is in error.
Grey codes are indeed to optimize the hamming distance to detect errors.
Came here to comment the same thing. If the only point of the Gray code was to avoid a transition through the origin, you could still only transmit one bit per symbol, so that makes no sense. It does make a lot of sense when it comes to error detection though.
Also see Gray code used in position encoders and such where the exact transition 'clocking' isn't controlled. Having two or more bits transition when moving one 'step' is problematic if you 'read' each bit individually.
This is how I have learned it too
Yes
"QAM!!" is my new favorite exclamation!
Reminds me of the old Batman comics :D POW! SOK! QAM!
Qam Qam Qam Quammity Qam... Qam Qam Qam
I'm a telephone network engineer and I'm okay...
Can we use it in Scrabble though? :)
3G HSPA supported up to 64 QAM. The biggest step in 4G was OFDM.
Yup and LTE (4G) already did 256 QAM, same as NR (5G). ( AFAICT in the spec it's still limited to that although there has been experiments with 1024 QAM ).
DOCSIS 3.1 requires support of QAM 4096, but designed to support 16,384 QAM
OFDM is a method of using PSK or QAM though, in discrete channels. It is a massive leap for sure, but I think it kinda falls outside the scope of this video since he's really just discussing the discrete steps involved in QAM/PSK, not the overall implementation. It's a neat way to visualize it for sure.
@@TheIronPIperks of being a completely isolated rf environment, eh?
@@TheIronPI That's pretty wild, but I guess it's just "raw" QAM instead of being modulated on top of CDMA / OFDM, right?
There are tons of books about all the nitty gritty details on 2G/GPRS/EDGE, 3G/HSDPA/HSUPA/HSPA+, 4G and 5G (didn't care to read about the "enhanced" steps in-between those), but I never found something as in-depth as those for DOCSIS.
QAM has been used since 3G, and to some extent, 2G.
In fact, QAM is the most common modulation scheme in 4G.
Good old QAM... QAM is also used in ADSL and analog QAM is used in NTSC and PAL.
Yeah, QAM goes back a long ways. It was also used in several modem standards, like V.34, which is how we got beyond the theoretical limit of 28.8k using just frequency/phase shift keying.
Yea have to admit, I'm left a bit unsatisfied with regards to the answer to the title of the video.
@@ayuminor ditto. I think 4G uses the same modulation and bandwidth as 3G, but allows a single handset to use multiple channels when the cell is uncrowded. And 5G introduced beamforming so different signals can be sent to different handsets. 6G will support adhoc mesh networks a la IoT.
@@mmmmmratner No, 4G doesn't use the same modulation and bandwidth as 3G. 3G supported up to 5 MHz paired bandwidth per carrier, while 4G bumps that to 20 MHz. 5G bumps that again to 100 MHz (or something lower if the band isn't wide enough for 100 MHz) or up to 400 MHz for mmWave spectrum.
Also, both 4G and 5G support 1024QAM, but that's not used very widely due to it needing extremely clean signals to "snap" to the right codeword.
First of all, great video!
A few insights on the last part of the video (Gray coding), hope it is useful to some people:
Gray coding is not because of transitions from different symbols. It is to separate symbols cleverly. With additive white Gaussian noise (AWGN) at the receiver, the received signal will be noisy. To minimize bit errors, we place the symbols with less distance between them closer than those with more distance between them (distance meaning how many 0s and 1s change from one symbol to the other). Due to noise statistics, it is more likely that the errors occur between close symbols. If we have Gray coding, these close symbols have only 1 bit of distance, and we can reduce the bit error rate. Then 2 bit errors are less likely than 1 bit errors, for example.
In addition to that, forward error correcting (FEC) codes are able to correct bit errors up to a certain number. It is always better to have less than more errors in the detected bits, but it is even better if we allow FEC to correct the errors. With Gray coding, not only we reduce bit errors, but we also increase the probability that FEC is able to correct those errors.
About the transitions, we want them to be "fast", we don't want the signal to linger around 0 amplitude for most of the symbol period. This is seen in the eye diagram. There is nothing wrong with transitions through 0, we don't want to restrict any transition between two symbols. In an ideal world with infinite bandwidth we would want infinitely fast transitions. The eye diagram would be as open as possible. In the real world we want an open eye, we don't avoid certain transitions but their quality affects performance.
God I love it in the weeds, thank you.
I learned about Gray coding when I was working on radar systems. The radar heads had optical sensors to detect which way the head was pointing, and Gray codes were used so the detector only changed one bit at a time and the head didn't seem to jump via a wildly different angle if multiple bits didn't *quite* change over at the same instant.
Top comment! The only part of Matt's explanation that confused me was this bit about Gray coding, and your clarification really helped, thank you!
Thanks! I couldn't see how that arrangement prevented transitions through zero or why that would be a problem. That makes far more sense.
What do you mean by 'eye diagram'?
Wait.. how did you know there would be a "G" in the id?! Did you seriously re-upload until you got a G?
it's a far from the dumbest thing he's done over and over to get a specific result. it's also actually not that bad. Just starting the upload gives you the ID, so it's a pretty quick process.
It's not that statistically unlikely and the video ID already gets created when you start your upload, so you can just cancel when it's wrong. It''s pretty easy to do.
It is possible to upload really slow, and editing a video while it is still uploading. And some channels have the ability to change a video after the fact, but I'm not sure that feature is available to everyone.
And he welcomes us back, just as I'm done checking the ID. Amazing!
@@LaughingOrange but the joke only makes sense with a G. I don't think this is what happend
This better be about quadrature amplitude modulation
QAM!
ive been asking for a quadrature amplitude modulation video for years
OFDM next 😉
COFDM even
@@ericpeterson6520I only asked for it since January. Seems like I was more efficient
The guys who had to add the analogue colour TV signal while remaining backward compatible with B&W broadcasts already knew this back in the 1950s. Phase angle can be split in X and Y (red and green) values. Subtract from the original black and white signal and you have blue.
Actually it was red(-Y) and blue(-Y) which was transmitted via QAM on a subcarrier, and the green ( not blue ) was derived from the this and the black and white (Y luminance signal) in both NTSC and PAL colour TV signals. NTSC had the two axis slightly rotated. Blue could have been derived instead of course, but it was decided to derive green, possibly because our eyes are more sensitive to it.
QAM is also part of the DOCSIS standard that we use for Cable Internet here in the US. You left out my favorite little detail, which emerges from the combination of Gray Code, decision boundaries, and error correction.
As a signal gets distorted, the received codeword will wander farther from the intended point on the constellation, and that means that the first errors as signal degrades are likely to be the adjacent codewords, which as you pointed out, differ by exactly 1 bit from the intended transmission. Many types of error correction code can not only detect if an error has taken place, but if a single bit was flipped, they can figure out which bit it was and flip it back. By having orthogonally adjacent codewords arranged under a Gray code, that means that the most likely errors (from just barely bad signal distortions) will most likely be correctable, single bit errors instead of multi-bit errors that are more bandwidth-intensive to correct.
Still, a great intro-level video into QAM, and quite a shiny thing. Well done!
That's not really how error correction works in cellular. We use interleavers (in NR this is just part of the rate matcher) to mix the bits so that an errors in a single subcarrier (one QAM constellation symbol) won't tend to fall "next" to each other in when they arrive at the decoder. This is important because frequency selective fading will tend to impair entire subcarriers.
All of this was a lot more important back in the 3G error when the state-of-the art forward error correction was convolutional coding, which was very susceptible to burst errors. Today though, we have shannon-approaching block codes (turbo/ldpc/polar) and they are much less susceptible to burst errors by their nature
@@letterAZornumber09 I don't really know the specifics of interleavers; I'm not sure that we use that. I'm speaking in a more implementation agnostic way that doesn't make deep assumptions about the specific error correction or encoding that's being used beyond Gray Code on a QAM constellation. I maintain my assertion that the value of arranging codewords on the constellation according to Gray Code, as opposed to some other scheme, is that as the MER transitions from ideal to degraded, the resulting errors will have a statistically lower number of bit flips per errored codeword which are more likely to be correctable with lower error correction overhead. We're more likely to see correctable codeword errors than uncorrectable codeword errors.
Yes gray codes are used so that all of the decision boundaries (-2, 0, and 2 for unnormalized 16-QAM) are only associated with a single bit flip. In fact for SISO you can even use a super simplified approximate LLR algorithm (softbit_0 = x; softbit_1 = abs(x) - 1) that gets very near MAP performance.
Thank you for this clear explanation
.
Yup I checked.
Obviously I checked, and obviously I KNEW that it would be in there. There was no other possibility of any of the two things right from the start
What even is the video id😭
@@anto8722It's in the video link
@@anto8722 To7Ll5AGboI, so it does indeed have a capital G
I want to know how that ID is generated now :) Guess I'm doing some research later...
No matter how many times this is explained to me, it still feels like magic. How the data of this video is sent through the air into the phone I’m watching it on is still amazing to me.
I've been explained this for the first time and I am like WHOOAA, it's that simple!?
@@JohnCena-te9mi It actually isn't quite that simple, because he didn't discuss the amount of "side splatter" this kind modulation produces, SNR, needed filtering, error prevention and correction, etc. etc.
@@yeroca Sure, but I went from "it's magic" to "I can breadboard something with this".
@@JohnCena-te9mino you can’t
@@MrSkinkardeI can, ask your mom
Really cool visualizations. Thanks. It's also good to see you get out more.
Nice job on explaining QAM. I am an 30+ year veteran of the cable TV industry and your explanations of the constellations of various QAM modulation schemes (16, 64, 256, etc) was spot on!
You have a gift for presenting information in an easily understandable and digestible way. Love the work you do, Matt, thanks.
not only is there a capital G in the video ID but you timed it perfectly that I was just scrolling back up from the comments when you welcomed me back from checking the ID and of course, the comments.
Great to see some content making signal processing more accessible. And well done describing this without once using the term ‘complex number’, whilst still using the complex description of the waveform. Its really not that, well, complex, but the mere mention of the term is sometimes enough to put people off. This is a great example of how its so often simply a useful tool in engineering to characterise the behaviour of a system.
It would be great to see a follow video on Forward Error Correction e.g. turbo codes, LDPC, Reed-Solomon, BCH etc given they’re just as important in dealing with error-prone real world conditions.
>And well done describing this without once using the term ‘complex number’
It's also confusing for anyone who doesn't already know a lot of DSP
The cut at the end! Oh my gosh! Oh it's so perfect! Amazing video as always! And that last little bit at the end is just the cherry on top 😺💜🎉💖🎉😺😻
Great video - it summarizes the basics quite nicely.
WIFI 6 uses 1024-QAM, so it's probably coming with the 6G networks.
The high-number QAM modulation techniques itself has been known for a very long time, but the spacing between the constellations has been too small and any interference in the radio signal (of which there is a lot) could easily shift a bit to be the wrong value.
What is allowing the newer networks to start using these larger constellations is the use and advancement of Forward Error Correction (FEC) codes.
These codes basically allows the receivers to receive wrong signals, but by sending a number of extra bits (and encoding them in smart ways) which allows a receiver to work out which bits are wrong, and correct them. The more extra bits you send, the more noise and interference you can counter.
I wish you explained how it's impossible to transmit more information without taking up more bandwidth. Changing phase and amplitude introduce harmonics and so you really aren't transmitting a single frequency but a spread of frequencies in the spectrum. 5G of course has a much wider frequency spread than 4G.
Very long ago, it took me a long time to understand while AM requires a frequency range.
At one time when CB radio was a big fad, I learned about SSB, the idea you can eliminate the main carrier and just transmit that 'side band' frequences that contained the modulated information. Warps the mind to think about 'not transmitting' the carrier and still transmitting the signal. lol
Harmonics get filtered out (but not 100% eliminated) by filtering.
@chtman7164 It's not just suppressing the carrier. It's also suppressing one of the two sidebands. Hence, "single sideband." The carrier is reintroduced in the receiver to allow demodulation. Get the frequency a little off and your interlocutor sounds like Donald Duck. That's what the "Clarifier" control adjusts.
SSB has been around for a while. The first US patent for SSB modulation was filed in 1915. Ham radio operators have been using it since the late 1940s.
@@maxaafbackname5562this still confuses me, until I think of AM as literally multiplying the AF (I imagine just a sine wave) with the carrier, which makes it intuitive that it both only changes the amplitude _and_ of course there are other frequencies there because they were multiplied in!
4:25
I think your table is wrong. There's duplicates for all values and some are missing.
That clearly shouldn't happen. I think whatever you used to generate the table wasn't working correctly for negative X coordinates on your graphed version. That'd also explain missing values like 135° and 161.6°.
I was wondering why some values were duplicated.
Thank you for making this post so that I didn't have to.
so what he showed is... a parker table? :)
Almost certainly. If you're into computer programming at all, look up the atan2() function (and compare it to the simpler atan() function).
@@altrag I've made that mistake myself a few times, because atan(y/x) for a point almost works for getting the angle right but inverts when you cross an axis. Sorta annoying to work around when you don't have atan2 available, in limited settings like with block coding websites. Good thing I didn't publish anything before getting it to work properly!
Kudos for the great video. Cool presentation format using the drone shots from above and the chair :D
One of your best videos! Hats off, Mr. Parker! 💯
Actually, this video is about math of 4G and explains why 4G is faster then 3G. I wish this video explains why 5G is faster than 4G, because the reason is mindblowing! On the first sight, it is so fast that it defies the laws of nature (Shannon-Hartley theorem). 5G is about MMIMO technology.
EDIT: Well, QAM was adopted even earlier, it is used even in 3G. 4G added (simple) MIMO and OFDM. Never mind, point is: 5G is MMIMO and it blows my head.
Underrated comment
Seriously! I came here hoping for an explanation of MMIMO.
Not all 5G is Massive MIMO though.
Electrical Engineer here. Here is what you missed in your video.
1. QAM has been used in 4G forever
2. QAM has a cool property that lets you send more data in exchange for using more power.
3. 5G Towers use new antenna technology that uses an array of patch antenna with different delays to each antenna in order to make the net signal go largely in a single direction.
4. These antenna require less power for the same signal.
5. The power savings from more efficient antenna are used to increase the amount of data with QAM, while keeping actual power the same.
6. 5G uses higher frequencies, which in a way have more bandwidth. (There are more numbers at higher orders of magnitude.)
So yeah, you missed a lot in the video. You weren’t exactly wrong, but you only told the simplest and least interesting part of what 5G is.
Also, you really should have mentioned how QAM only uses odd magnitudes of its base waves in order to keep spacing even.
We've been SISO'd
5G antenas are phased array?
Electronically steerable directional antennae are not a lot of use if the mast is in the centre of its cell. In some cases 5G will reuse 3G bandwidth and not always higher frequencies so bandwidth increase is not always possible. Out in the sticks 5G would be very expensive and would be overkill.
correct... the video does not do justice at all apart from an attempt to explain Modulation (in this case higher order modulation), I thought he would discuss the math behind Shannon's channel capacity equation to explain why NR has a higher throughput than Option 1(LTE). We truly have been SISO'd as peregarauburguera remaked 🤣
Wow, I've been reading these comments, and it seems like you guys have a lot of experience and knowledge about various interesting subjects. You might consider trying to translate that expertise into your own video where you discuss it to your heart's content, instead of commenting.
Information theory, encoding schemes and error correction are some of the most interesting and useful maths that people have invented. Thank you Shannon and so many others
Great explanation. I love when maths gets visualised really well and that grid is one of my favourites.
I worked in the design of NU-QAM in TV and later ported to 5G, so I am glad to see you showing this in the "proper way" it should be explained.
However, you should have said as well:
* Grey code is used because it help reducing errors. When you have noise and a codeword is distorted, only 1 bit is lost. Then the Error correction can probably fix it at a later stage. Without it, noise would have a catastrophic effect of messing all bits in transmission.
* Also it is interesting to mention that the Power of the transmission is important, more amplitude more power. That is why codewords with many 0000 are in the corners, becaus emost transmissions should have more zeros than 1 in general.
* If you want to enter NUQAM area, the reason the points in the corners become round, is to reduce power of those points.
Interesting!
So how many reuploads did it take?
Now we need a video doing the math of how many expected reupload to get a capital G.
Probably didn't need too many attempts.
Didn't do the math, but I did spot check. About 15% or so of the videos I checked had a G. Probably didn't take too many tries.
My maths think about 6
@@wincentywilk7511I was about to do them. Care to share your maths?
Matt if you haven’t already you HAVE to try this hobby project, I obsessed over it for months: write one script that takes data of any type (text, binary, image etc) and encodes it as an audio file using any method you like (QAM, PSK, FSK etc). Then write a separate script that takes an audio recording and decodes the original data. Bonus points if you play the original audio out of a speaker and into a microphone, double bonus points if you use Trellis Coded Modulation for error correction 😊
Non negotiable.
The Parker link simulator!
Bangai-O Spirits on the Nintendo DS allowed you to save and share custom levels as audio files, which you'd then play into the microphone to load. It sounded like a direct line to the underworld, but a great workaround given the file-sharing limitations of the device. I'd be interested to see it done using more ear-friendly audio.
Assignments are more fun to give than to receive. 🙂
I might have to try this whole thing myself! I've wanted to get into understanding how radio works and how to transmit data wirelessly with radio parts, and I think this would be a great place to start.
I always wondered about these and wanted to know their meaning but was never interested enough to decide to expend any effort. That was relatively painless and quick so thanks!
I started in telecoms on the cusp of 3G launching - EDGE on 2G introduced 8PSK which worked on a good day at point blank range (16 and 32-QAM was in the spec but not used as far as I know). Similarly 64-QAM was introduced on 3G but again only really worked at point blank range from the cell 😑 Then 4G introduced 256- QAM but hardly anyone bothered with it. Current 5G just piggybacks on to the existing 4G network but the underlying radio is very similar just with more efficiency and overall bandwidth i.e. bigger pipes. Carrier Aggregation and MIMO are more significant in the radio interface now and going up to 1024 QAM like wifi isn’t going to happen just yet due to signals not being clean enough. The more interesting aspect is how the modem is running FFTs to decode all of this stuff - pretty amazing how the specs are conjured up even before the chipsets can physically achieve the expectations 😮
As an extra:
5G in cellular telecommunications is not the same as 5G in WiFi.
In the context of WiFi, it's often used to refer to the frequency band used for transmission: 5GHz
Yes! I was just thinking about this, it's really misleading that they call 5GHz wifi 5G - I wonder if this is to jump on the marketing bandwagon
You, sir, just blew my mind. I subscribed. Please. More.
Huge fan of this video, had a class on this in uni just on the last year and i love seeing my studies explained by youtubers i love :^)
I love constellation diagrams too, I have an unlisted video named "Magic at work" because they look so awesome!
Matt is using 5g to infect my brain with maths
His signal wasn't strong enough, though. I may have understood parts of it, but it seems I have to infer the rest. Oh no.
Bill Gates are using 5G to turn the kids into mathematicians!
Why don't they just do the maths for 7G now and skip 6G?
But then it'd still be the 6th "G" 😢
Because that's one less model phone they can sell you... Not to mention network upgrades.
Hi Matt! Love your videos.
Sir, your channel has been usefull for me since 3 years ago, from the time i was studying for a math competition in high school to now as an under graduate IEEE student. you have amazing content, fun and beneficial. Great work.
what the cork is that release date? what is the month 20? does 2024 have 8 leap months?
Matt lives in England and their dates are day, month, year, like makes sense.
Why is the date for the UK edition of your new book in US format?
I wondered if it was purposeful and actually a fraction, but 6/20 is 0.3, 0.3 of the year is the 19th of April.
I then wondered if any dates in US format, when taken as a fraction equate to that fraction of the year through the calendar.
Turns out 3 (for a leap year)
16 Feb = 2/16 or 0.125 which is 46 days into the year, so 16 Feb
14 Apr = 4/14 or 0.2857 which is 104 days into the year, so 14 Apr
13 Aug = 8/13 or 0.6154 which is 225 days into the year, so 13 Aug
at ~ 7:18 you show the "64 qam", but it doesn't have 64 unique values. it's 8 x 8 so 64 values, yes. but on the bottom row there is 000000 as the 1st and 5th column. There might also be other duplications.
the grid appears to use greycodes; only needing one bitflip for going up down left or right (presumably so when an error occurs its minimal and will be caught by the checksum) so I think the value in the 5th column should be 110000 which I also can't find anywhere else in the grid
Edit: so watching the whole video, it does use grey codes but for a reason I hadn't considered. Though I'm sure what I said plays a role as well
Working on a video very much related to this! love it
Matt, why is the British release date in American date format? 🤦
he's just trying to ease you into correctness
It says the UK release is "6/20"?? That isn't a date??!
It says June 20th for uk release in description
nah dont you know the 20th month? augumber!
@aetheriox463 I just assumed it would overflow, so it's being released 6th August 2025 instead.
It's the sixth of Tembruary. 📅
@@n3139 Yeah, I'm always late in writing stuff as well.
Not a filler episode! This one was quality, very interesting, nice work!
I really like the new ‘corrections’ section in the description. Never seen it before but it’s a long over due feature
I got free 5G with my covid vaccination...apparently 🤣⛳
Yeah, me too... When I'm really quiet I can actually feel those nanobots skittering around inside... 🤣
This is why spending hours watching YT videos is so good at this time.
Those nascent AI overlords devote less-and-less of their attention to "my" transmissions... 🤣
I can never get over how absolutely revolutionary it would be if we could have something the size of mRNA transmit and receive radio signals yet people think that technology actually exists
This explains why when the 5G horse visited me it said “QAM!”
I have looked at the constellation diagrams so many times before and never really understood the theory. This is the first time it has clicked, thanks!
4:17
There are duplicated sets of angles and amplitudes: 45 and 315, two sets at each angle are listed twice; angles 225 and 135 are missing, two of sets of each.
Oh my god , you are next to a 5g tower , you are going to get super corona :D
Brilliant explanation! Thanks. BTW I watched at 1.75x because the last video I was was watching - not one of yours- was tedious and you were so fun. So brilliant to the power 1.75! And the point about visualising maths and your demo were both wonderful and straight forward!
I think it's super cool how this stuff works. I was radio operator in the army for a while and I just loved how all the physics and technology worked. You should do a video on antennas. From basic monopole and dipole antenna to things like phased array antennas.
Brilliantly explained, thank you!
this is the first time I have understood QAM, constellation diagram, and inphase and quadrature phase components. all within 11 mins! you are an excellent teacher.
Oh my god, some good old fashioned action packed 10 min video about an interesting topic. Almost forgot how the good old days felt.
Thank you so much for this!
Of course I discover this video AFTER I took my Communication Systems final! Excellent video and great, succinct explanations!
Great video. This is the first video I've watched on 5G and you explained it very clearly
Yes and no. It was a video on QAM and we've had that since 3G.
Thanks for this video!
You absolute madman xD
Thanks for actually going through the effort with the video ID xD
how he do that??
Just amazing! I'm a Telecom Engineer, preparing myself for a presentation and this video really helped me getting prepared for the task. Cheers!!!
Great stuff, Matt.
Great length of video. Tight and clear
4:35 Yeah, it looks like a mess because there's multiple code word assigned to the same amplitude and phase shift
Congratulations and good luck with your next book. I've just finished my first book. I'm so inspired now, I think I'll read another one (-:
Brilliant! Thank you!
Makes me miss my old job. With the right scope you can visualize the constallation plot from the tower and see how discrete the values are. Super helpful troubleshooting slow data rates.
Great video Matt 👍😄
Hey mate, great explanation of IQ modulation as per usual.
I'm currently using finishing up my masters thesis on the topic of communication (specifically wireless security) and using this to procrastinate.
Just wanted to mention that the purpose of greycodes is actually not to avoid crossing the (0,0) coordinate, though there do exist methods to avoid this. Instead the purpose is to reduce the bit error rate.
For simplicity let call the coordinates that the symbols take in both x and y (-3, -1, 1, 3). Now if I want to send a bit that is at coordinate (-1,-1), this would be 0101 in your diagram. Then the received signal is going to be (-1,-1) + noise.
As the noise is additive for the position, it means that if the bit is erroneously received, it is the likeliest that it lands at one of the directly neighbouring codewords. Thanks to Gray coding, the difference between the codewords only has a hamming distance of 1, means that of the 4 transmitted bits, 3 of them were correctly received, and there was only one error despite decoding the wrong codeword.
Hope this was clear enough, if not then I'm more than happy to elaborate further. Keep up the good work, and I'd love to see more communication theory in the future. The mathematics is fascinating but it's so rarely taught in a manner approachable outside of academia.
Great explanation. I'd also love an explanation on how 5G uses multiplexing which is the technique needed to get high speed data to multiple users at once. Most videos on UA-cam about it are pretty dry lectures.
I totally agree!
Awesome explanation!
Yay new book! Your first two were a great read. Humble Pi was amazing, I even referenced it yesterday😊 (the Boeing programming mistake)
Great video!
The geometry of QAM constellations is fantastically complex. How neatly your received data fits into each box determines whether you can increase or decrease the QAM order in use, dynamically trading noise immunity for bandwidth. You can also tell a lot about the different types of noise on the channel by the way the constellation gets distorted. Beautiful radio math!
That sounds fascinating, I'd love to learn more about the maths involved in this. I'm guessing it's just a simple threshold distance with some statistics involved since some errors are acceptable due to error correction.
'Constellation Diagram' is a great way to explain that mess. Including Gray code makes it a perfect way to wake up. I hope the rest of my day is as good! 👍
I remember working on I think it was a 9QPR telemetry radio 30 years ago. Quardrature Phase radio. I remember watching the constellation spinning like random noise as the radio software worked to "lock on" to the signal. It took something like a minute or so until the radio hardware finally identified the state of the constellation and then you'd see the constellation LOCK solid. I was the hardware guy working on the board and programmable hardware, the radio and software guys did the constellation thing. It was fascinating to watch. This was before cellphones, back in the beeper days.
One of the software guys said something about the code he was writing after an incident. He finally got it working and we had made significant progress. Then someone asked him to change the name of a variable and the whole thing broke. He decided it was time to go to lunch. As we walked out he goes with full software guy exasperation: "NOTHING IS EASY!"
I still say that to this day, 30 years later LOL.
Hi Matt - this is great! I actually teach this as part of a wifi course, maybe you could cover OFDM and multipath in a separate video? There is some amazing math in there, and talking about wifi 5/6/7 would give a lot of people insight!
But seriously, this is the best explanation of transmission theory I've seen and you spin on it just makes it perfect!
Awesome video 😮
I fell down a rabbit hole of trying to figure out how cellular networks work a while ago so this is super cool to see, I'd love more of it.
You're on a roll lately Matt!
i love this, its so simple when a pro teaches it!
Did anyone else get 'Pello!' when decoding the message at the beginning (2:08) using ASCII? I'm guessing he meant 'Hello!' because he paused on the l and 1010000 (P) is similar to 1001000 (H).
For reference here's the binary I read: 1010000 1100101 1101100 (1101100) 1101111 0100001
Is that also a off-by-one error? ;)
@@maxaafbackname5562 An off-by-one error is when one value is one unit larger than it should be when they are regarded as integer numbers, e.g. 0100 instead of 0011. A single-bit error is when one bit is wrong, e.g. 0111 instead of 0011. Since P and H are 1010000 and 1001000, the error is neither off-by-on nor single-bit.
@@Bob94390 I know.
The joke was that the 1 was shifted in the bit string.
Parker encoding, perhaps?
nicely done indeed mate
Brilliant shot composition.
Quadrangle Amplitude Modulation. The wikipedia article on data is very comprehensive and there is even a chart of data/voice transmission specs.
Electrical/Electronics engineering has a ton of cool math tricks and details like these to make everything work, in particular telecom
Glad to see a video on that!
New video. Awesome!
QAM can also be used for sending analog data. The color signal in NTSC TVs had two components, which were represented simultaneously on a single carrier wave using QAM. The main monochrome signal was unchanged from B&W TVs (called the luminance signal), while the color signal carried hue and saturation information (though not in that format). TV is now all digital of course, but cable channels (not broadcast channels) still use QAM in an unrelated way to increase throughput.
I took Digital communications in my 4th year for my Electrical Engineering Degree and this video did a much better job of explaining than the entire course.
QAM is how NTSC and PAL encoded color. We used vectorscopes to display the phase and amplitude variations. It was all analog. The digital modulation analyzers use constellation displays to show the grid of dots representing the possible states. Now explain COFDM.
Thanks for providing those links to test the constellation plot myself :)
Constructive Feedback: I wasn't understanding how the plot was working in the Video because I didn't understood how the anGle from 0 to 360 Degree were working on this Plot. Those example you provided while going CounterClockWise really messed up my brain XD
Really Good video and thanks for this awesome knowledge, :)
Have an awesome Day
Daniel G
Nice to see electromagnetic fields being discussed, in a field. This must have been shot a while back or you would have been frozen.
How about doing one on Shannon, balls in a jar, forwarded error correction and decoding Reed Solomon, Turbo Codes, LDPC? Inter-symbol interference, filtering, Multipath, OFDM perhaps?
I'd love to see a video on synchronous CMDA and/or ODFM. Using orthogonality to multiplex and isolate communications is fascinating to me.
Side note, in engineering school we had constellation diagrams where symbol (code) was a Gaussian representing the effect of noise on inter-symbol interference. There's a direct correlation between symbol spacing, signal to noise ratio, and bit error rate, assuming the noise is Gaussian. In a zero noise system, when a given symbol is transmitted, the receiver will receive exactly that phase and amplitude. However in a real system with noise, the phase and amplitude received by the receiver will have some drift due to noise, so the symbols effectively spread out. Assuming the noise has a Gaussian distribution, you can calculate the probability that a given symbol will deviate to the point where it is received as a different symbol, based on the symbol spacing in the constellation diagram, and thus you can calculate the expected bit error rate. And vice versa, given a target BER and spacing or SNR you can calculate what the other parameter must be to achieve that target.
It's not just 90° offset, but it's the slope, and the slope function (derivative of the function) is orthogonal to the original at the same input point.