WEBVTT

1
00:00.000 --> 00:05.110
I'm not going to lie, I am a little bit of a physics geek. Whenever we talk

2
00:05.110 --> 00:05.840
about wireless

3
00:05.840 --> 00:10.240
communications, I love drilling into the details of our wireless waveforms and

4
00:10.240 --> 00:10.640
how we

5
00:10.640 --> 00:14.950
encode the data. It's pretty fascinating technology. Now within the scope of

6
00:14.950 --> 00:16.000
this conversation

7
00:16.000 --> 00:20.230
and this exam, we're going to be looking at things from the perspective of

8
00:20.230 --> 00:21.360
being a wireless

9
00:21.360 --> 00:25.530
network engineer, which is usually going to focus a little bit more on wireless

10
00:25.530 --> 00:26.000
design

11
00:26.000 --> 00:31.120
and making sure we understand how a lot of our wireless communications happen,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:26.000 --> 00:31.120
and making sure we understand how a lot of our wireless communications happen,

12
00:31.120 --> 00:35.320
wireless topologies infrastructure, those kinds of things. But at the heart of

13
00:35.320 --> 00:36.480
wireless communications,

14
00:36.480 --> 00:42.710
we do need to understand that we are leveraging this concept of radio frequency

15
00:42.710 --> 00:44.720
, which is abbreviated

16
00:44.720 --> 00:50.660
as RF. And the question I love to ask is what exactly is radio frequency? If I

17
00:50.660 --> 00:51.840
've got an access

18
00:51.840 --> 00:55.740
point here and I've got a mobile device and they're communicating back and

19
00:55.740 --> 00:56.960
forth, I mean, what

20
00:56.960 --> 01:02.660
exactly are these waves that they're sending wirelessly? The reality is that
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

20
00:56.960 --> 01:02.660
exactly are these waves that they're sending wirelessly? The reality is that

21
01:02.660 --> 01:04.480
this word radio is

22
01:04.480 --> 01:11.100
kind of unfortunate. We use the word radio to describe something I'm listening

23
01:11.100 --> 01:12.000
to. And so as

24
01:12.000 --> 01:17.920
such, we typically are inclined to think that maybe radio frequency is a sound

25
01:17.920 --> 01:19.360
thing and nothing

26
01:19.360 --> 01:24.290
could be further from the truth. Radio has nothing to do with sound. In fact,

27
01:24.290 --> 01:26.560
it has to do with maybe

28
01:26.560 --> 01:30.960
what we might consider to be the opposite of sound, which is that radio
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

28
01:26.560 --> 01:30.960
what we might consider to be the opposite of sound, which is that radio

29
01:30.960 --> 01:33.440
frequency is actually a form

30
01:33.440 --> 01:38.130
of light. Yes, it's a form of light. When we say that we're communicating to

31
01:38.130 --> 01:39.040
one another,

32
01:39.040 --> 01:43.780
these two devices are essentially blinking light at one another. Now

33
01:43.780 --> 01:45.760
interestingly, this light

34
01:45.760 --> 01:51.920
is light that we cannot see. So it's unseen light. It exists outside the range

35
01:51.920 --> 01:52.720
of frequencies that

36
01:52.720 --> 01:57.180
our eyes can detect. And furthermore, because it is a different set of

37
01:57.180 --> 01:58.640
frequencies, it's actually

38
01:58.640 --> 02:06.140
much lower than the light that we see. They can also pass through walls and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

38
01:58.640 --> 02:06.140
much lower than the light that we see. They can also pass through walls and

39
02:06.140 --> 02:07.840
obstacles and all

40
02:07.840 --> 02:11.740
kinds of things. So it doesn't behave like we might expect light to behave in

41
02:11.740 --> 02:12.800
some ways. And yet,

42
02:13.520 --> 02:19.600
light reflects off of mirrors and radio frequency reflects off of mirrors,

43
02:19.600 --> 02:20.720
reflective surfaces,

44
02:20.720 --> 02:24.400
these kinds of things. So it shares some properties. It doesn't share other

45
02:24.400 --> 02:26.080
properties. And yet,

46
02:26.080 --> 02:31.810
we compare divisible light and yet underlying all of this, it really is just a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

46
02:26.080 --> 02:31.810
we compare divisible light and yet underlying all of this, it really is just a

47
02:31.810 --> 02:33.360
form of light.

48
02:33.360 --> 02:39.510
And so what we do to describe a waveform is we draw it out like this. This is

49
02:39.510 --> 02:40.720
what a wireless

50
02:40.720 --> 02:46.040
waveform looks like. And if you've ever taken a physics class, maybe you had

51
02:46.040 --> 02:47.440
one person stand on one

52
02:47.440 --> 02:51.460
end of a jump rope and the other person stand on the other end and you swing

53
02:51.460 --> 02:52.720
this up and down and

54
02:52.720 --> 02:59.090
forms these wave forms in the middle. Wave forms exist not just for light rays

55
02:59.090 --> 03:00.320
or light waves,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

55
02:59.090 --> 03:00.320
or light waves,

56
03:00.320 --> 03:04.850
but also it exists in the form of sound waves and jump ropes and all kinds of

57
03:04.850 --> 03:05.920
things. So we're going

58
03:05.920 --> 03:11.210
to see these types of wave forms in a lot of places. This specifically is known

59
03:11.210 --> 03:12.960
as a sinusoidal

60
03:12.960 --> 03:17.980
waveform. And that's distinguished from things that we might see elsewhere like

61
03:17.980 --> 03:19.040
a square wave.

62
03:19.040 --> 03:23.700
We've got all kinds of other waveforms that might exist, but light is very

63
03:23.700 --> 03:25.200
analog in nature and it

64
03:25.200 --> 03:31.650
is sinusoidal as a result. Now there's a lot of parts of the waveform that we
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

64
03:25.200 --> 03:31.650
is sinusoidal as a result. Now there's a lot of parts of the waveform that we

65
03:31.650 --> 03:33.040
probably don't need to

66
03:33.040 --> 03:37.600
know necessarily as part of this course, but it's helpful to know. For example,

67
03:37.600 --> 03:38.720
we see peaks and

68
03:38.720 --> 03:43.030
valleys. These peaks and valleys have words that we used to describe them. For

69
03:43.030 --> 03:44.080
example, we have

70
03:44.080 --> 03:49.790
the crest and the trough at the top and bottom. We also have the waveform

71
03:49.790 --> 03:52.000
oscillating around a

72
03:52.000 --> 03:57.020
middle point that we refer to as the origin. And we might also, and this part

73
03:57.020 --> 03:58.000
is important,

74
03:58.640 --> 04:04.310
is fine that there's a level of energy at every point along the waveform. And
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

74
03:58.640 --> 04:04.310
is fine that there's a level of energy at every point along the waveform. And

75
04:04.310 --> 04:05.200
this level of energy

76
04:05.200 --> 04:12.270
is described as the amplitude when it's at its peak. So this much energy right

77
04:12.270 --> 04:14.160
here, or for that

78
04:14.160 --> 04:18.260
matter, this much energy down here is considered to be the amplitude. The more

79
04:18.260 --> 04:19.760
energy a waveform has,

80
04:19.760 --> 04:24.960
the greater its amplitude. We might see smaller waveforms like this that have

81
04:24.960 --> 04:26.640
much lower energy or

82
04:27.280 --> 04:32.330
waveforms that do this that have a much higher energy level. So while that's
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

82
04:27.280 --> 04:32.330
waveforms that do this that have a much higher energy level. So while that's

83
04:32.330 --> 04:33.760
interesting, the crest,

84
04:33.760 --> 04:37.230
the trough, the origin, they don't really help us out a lot with wireless

85
04:37.230 --> 04:38.240
communications, at least

86
04:38.240 --> 04:43.730
within the scope of this conversation. But instead, what we need to focus on a

87
04:43.730 --> 04:44.800
lot is going to be

88
04:44.800 --> 04:48.860
a couple of other elements, namely the frequency, which is right there in the

89
04:48.860 --> 04:50.080
word radio frequency,

90
04:50.640 --> 04:56.720
and our wavelength. Now, frequency is defined as the number of oscillations or

91
04:56.720 --> 04:58.320
modulations in a given

92
04:58.320 --> 05:03.840
time period. So we're talking about essentially the number of waves per second.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

92
04:58.320 --> 05:03.840
time period. So we're talking about essentially the number of waves per second.

93
05:03.840 --> 05:07.280
As this waveform

94
05:07.280 --> 05:12.270
travels, we can actually measure the amount of time it takes for us to repeat

95
05:12.270 --> 05:13.440
ourselves,

96
05:13.440 --> 05:18.470
because these waveforms are going to continue to repeat over and over again.

97
05:18.470 --> 05:19.600
And so it's really just

98
05:19.600 --> 05:23.150
a matter of finding a snippet right here in the middle where we say, okay, how

99
05:23.150 --> 05:25.520
long did this take for

100
05:25.520 --> 05:30.580
us to oscillate? If we are measuring it in time, we have a word for this. This
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

100
05:25.520 --> 05:30.580
us to oscillate? If we are measuring it in time, we have a word for this. This

101
05:30.580 --> 05:32.640
is the period. How long

102
05:32.640 --> 05:36.230
it takes for one waveform to complete? But then we have this concept of

103
05:36.230 --> 05:37.760
frequency that now is saying,

104
05:37.760 --> 05:46.140
okay, but how many of these exist within a one second time period? And in this

105
05:46.140 --> 05:47.200
case, we see that

106
05:47.200 --> 05:52.640
we have three different waveforms inside of one second. So we have a fun unit

107
05:52.640 --> 05:53.680
of measurement for

108
05:53.680 --> 06:00.710
the frequency. It is known as the hertz, which is actually named after somebody
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

108
05:53.680 --> 06:00.710
the frequency. It is known as the hertz, which is actually named after somebody

109
06:00.710 --> 06:02.400
. And so anytime we

110
06:02.400 --> 06:06.120
have a unit of measurement, we name it after someone, we typically capitalize

111
06:06.120 --> 06:07.600
it. So we abbreviate

112
06:07.600 --> 06:11.860
this as a capital H lowercase z. It does sound like we're talking about

113
06:11.860 --> 06:13.520
something plural, but it's not

114
06:13.520 --> 06:18.640
plural. It's just somebody's name ends with a z. So if I have one waveform in a

115
06:18.640 --> 06:19.760
second, I would

116
06:19.760 --> 06:24.680
indeed say that it's one hertz, not like one hertz or something like that. In

117
06:24.680 --> 06:25.920
our case here, we say

118
06:25.920 --> 06:30.640
we have three waveforms in one second. And so this means that we have a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

118
06:25.920 --> 06:30.640
we have three waveforms in one second. And so this means that we have a

119
06:30.640 --> 06:33.200
frequency of three hertz.

120
06:33.200 --> 06:38.180
Now, this is a very low frequency. If I want to talk about wireless

121
06:38.180 --> 06:40.240
communications, we're usually

122
06:40.240 --> 06:46.680
talking about potentially killer hertz or more often times megahertz and even

123
06:46.680 --> 06:47.840
gigahertz.

124
06:47.840 --> 06:53.610
So killer hertz, this would be a thousand. If I said it's one killer hertz, it

125
06:53.610 --> 06:54.880
's a thousand hertz.

126
06:54.880 --> 07:03.840
A megahertz, this is one million. And yes, a gigahertz is one billion. And this
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

126
06:54.880 --> 07:03.840
A megahertz, this is one million. And yes, a gigahertz is one billion. And this

127
07:03.840 --> 07:04.560
is typically the

128
07:04.560 --> 07:09.260
range that our Wi-Fi communications are going to communicate in. So if we are

129
07:09.260 --> 07:10.800
communicating at five

130
07:10.800 --> 07:16.440
gigahertz, we're truly squeezing five billion waveforms into a single second,

131
07:16.440 --> 07:17.520
which is pretty

132
07:17.520 --> 07:22.090
incredible. Now, here's the crazy thing. If we want to talk about Wi-Fi, we're

133
07:22.090 --> 07:23.840
talking about gigahertz.

134
07:23.840 --> 07:29.020
If we want to talk about visible light, meaning the light that we can see red

135
07:29.020 --> 07:30.800
and blue and green and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

135
07:29.020 --> 07:30.800
and blue and green and

136
07:30.800 --> 07:34.640
all the beautiful colors that exist out there, then we are actually talking

137
07:34.640 --> 07:35.200
about the

138
07:35.200 --> 07:39.220
terror hertz range. And not just the terror hertz, but usually hundreds of

139
07:39.220 --> 07:40.720
terror hertz. So for

140
07:40.720 --> 07:46.910
example, we might be talking about 400 terror hertz for seeing visible light

141
07:46.910 --> 07:47.840
that's actually at

142
07:47.840 --> 07:54.140
the lower end of the spectrum that we can see. And that is talking about 400,

143
07:54.140 --> 07:55.920
000 gigahertz.

144
07:55.920 --> 08:01.520
So that is the difference between visible light and Wi-Fi and why Wi-Fi is so
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

144
07:55.920 --> 08:01.520
So that is the difference between visible light and Wi-Fi and why Wi-Fi is so

145
08:01.520 --> 08:03.120
much lower frequency

146
08:03.120 --> 08:06.800
than even what we see from a visible light perspective. Now, if we want to talk

147
08:06.800 --> 08:08.160
about going to the

148
08:08.160 --> 08:12.640
doctor and getting X-rays, that's even higher frequencies than visible light.

149
08:12.640 --> 08:13.920
And we have to be

150
08:13.920 --> 08:19.520
careful with the higher frequencies because that's where we can see radiation

151
08:19.520 --> 08:20.480
causing us damage

152
08:20.480 --> 08:24.570
as human beings. But anything lower than visible light is considered safe,

153
08:24.570 --> 08:26.240
which is why we use the

154
08:26.240 --> 08:32.120
lower light ranges for our wireless communications. Now, if we flip frequency
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

154
08:26.240 --> 08:32.120
lower light ranges for our wireless communications. Now, if we flip frequency

155
08:32.120 --> 08:33.440
around, we're going to

156
08:33.440 --> 08:39.400
find that we have another unit of measurement, which is the wavelength. The

157
08:39.400 --> 08:40.640
wavelength of a wave

158
08:40.640 --> 08:45.530
form is truly the length that's right there in the name. We can measure this in

159
08:45.530 --> 08:46.640
feet or inches or

160
08:46.640 --> 08:53.270
more likely in meters and millimeters and nanometers. So the amount of distance

161
08:53.270 --> 08:55.280
up here of one of our

162
08:55.280 --> 09:04.050
cycles, this length, or again, the distance is what the wavelength is. And so
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

162
08:55.280 --> 09:04.050
cycles, this length, or again, the distance is what the wavelength is. And so

163
09:04.050 --> 09:05.600
we're typically again

164
09:05.600 --> 09:10.680
talking about this in terms of nanometers, especially as it relates to anything

165
09:10.680 --> 09:12.160
in the Wi-Fi space.

166
09:12.160 --> 09:16.730
But if we're talking about much lower frequencies, then we get much longer

167
09:16.730 --> 09:18.400
wavelengths. This is

168
09:18.400 --> 09:28.080
an inversely proportional relationship inversely proportional, meaning that if

169
09:28.080 --> 09:29.040
we increase the

170
09:29.040 --> 09:33.640
frequency, the wavelength goes down because I've got more of these in here. And
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

170
09:29.040 --> 09:33.640
frequency, the wavelength goes down because I've got more of these in here. And

171
09:33.640 --> 09:34.400
so the length of

172
09:34.400 --> 09:40.200
this is much shorter versus if I have a much longer wavelength than the

173
09:40.200 --> 09:41.920
frequency is much lower,

174
09:41.920 --> 09:46.070
even though the wavelength is much higher or longer, if we want to think of it

175
09:46.070 --> 09:47.200
that way. In fact,

176
09:47.200 --> 09:51.160
there's a relationship between frequency and wavelength. If I multiply the

177
09:51.160 --> 09:52.240
frequency times the

178
09:52.240 --> 09:55.780
wavelength, and by the way, we measure the wavelength or represent wavelengths

179
09:55.780 --> 09:56.320
with the

180
09:56.320 --> 10:00.930
Greek letter lambda here, if I multiply these two together, I get the speed of
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

180
09:56.320 --> 10:00.930
Greek letter lambda here, if I multiply these two together, I get the speed of

181
10:00.930 --> 10:01.760
the wave form.

182
10:01.760 --> 10:07.200
Because this wave form is actually moving in free space at a particular speed.

183
10:08.080 --> 10:12.520
Well, what is the speed of a wireless wave form? Well, we already said it. It's

184
10:12.520 --> 10:14.400
light, so it's going

185
10:14.400 --> 10:20.260
at the speed of light. Meaning if I take a Wi-Fi or just ultimately any radio

186
10:20.260 --> 10:23.040
frequency wave form,

187
10:23.040 --> 10:27.040
and I multiply the frequency times the wavelength, I'm going to get the speed

188
10:27.040 --> 10:28.080
of light, which is a

189
10:28.080 --> 10:32.470
defined constant in the physics space, which I think is pretty cool. We just
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

189
10:28.080 --> 10:32.470
defined constant in the physics space, which I think is pretty cool. We just

190
10:32.470 --> 10:34.800
take any Wi-Fi frequency

191
10:34.800 --> 10:39.150
and multiply it by its wavelength. It will equal the speed of light. So all of

192
10:39.150 --> 10:40.880
this is cool, and I

193
10:40.880 --> 10:44.230
guess that I like to geek out on it, but at some point this has to bring us

194
10:44.230 --> 10:45.760
back to computer networking

195
10:45.760 --> 10:50.900
and specifically data. So where does the data come from in all of this? If I'm

196
10:50.900 --> 10:52.960
going to send these

197
10:52.960 --> 10:57.440
light waves back and forth to one another, how do we make them represent ones

198
10:57.440 --> 10:58.560
and zeros? And this

199
10:58.560 --> 11:04.490
is a fascinating conversation around data encoding within the wireless wave
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

199
10:58.560 --> 11:04.490
is a fascinating conversation around data encoding within the wireless wave

200
11:04.490 --> 11:06.880
forms. We can't dive into

201
11:06.880 --> 11:10.560
all the details that really exceeds the scope of this course, but what we'll

202
11:10.560 --> 11:11.520
find in wireless

203
11:11.520 --> 11:16.610
networking is that we are going to encode data into the wave forms using this

204
11:16.610 --> 11:17.760
process called

205
11:17.760 --> 11:24.130
modulation. And modulation is just a really fancy word that means changing. We

206
11:24.130 --> 11:26.880
're going to change

207
11:26.880 --> 11:31.500
the wireless wave forms a little bit. For example, I might send a waveform like
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

207
11:26.880 --> 11:31.500
the wireless wave forms a little bit. For example, I might send a waveform like

208
11:31.500 --> 11:32.960
this and this equals

209
11:32.960 --> 11:37.170
a zero. And then I might completely flip it around. This is called a phase

210
11:37.170 --> 11:39.440
manipulation. And I might

211
11:39.440 --> 11:43.440
say that this waveform equals a one. It's the same frequency. It's the same

212
11:43.440 --> 11:45.360
amplitude, but the phase

213
11:45.360 --> 11:49.610
is off where it starts and stops is going to be a little bit different. This

214
11:49.610 --> 11:50.720
waveform starts here,

215
11:50.720 --> 11:54.340
for example, if I look over here at the exact same spot where it starts, it's

216
11:54.340 --> 11:55.280
actually here in the

217
11:55.280 --> 12:01.050
middle. So it's a 180 degree phase shift. We just sort of shift it halfway. I
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

217
11:55.280 --> 12:01.050
middle. So it's a 180 degree phase shift. We just sort of shift it halfway. I

218
12:01.050 --> 12:01.760
might also change

219
12:01.760 --> 12:07.060
the amplitude. So maybe I could say that this waveform here is a zero, but then

220
12:07.060 --> 12:08.080
I'm going to take

221
12:08.080 --> 12:13.090
the exact same phase and the exact same frequency, but shorten the amplitude

222
12:13.090 --> 12:14.640
and say that this is a one.

223
12:14.640 --> 12:22.080
However, I decide to modulate and change is somewhat arbitrary. So long as the

224
12:22.080 --> 12:22.880
transmitter and

225
12:22.880 --> 12:26.520
the receiver, which could be either of these devices, could trade be transm

226
12:26.520 --> 12:27.680
itting in one direction or

227
12:27.680 --> 12:32.250
the other, either way, as long as they agree on what represents a zero, what
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

227
12:27.680 --> 12:32.250
the other, either way, as long as they agree on what represents a zero, what

228
12:32.250 --> 12:33.360
represents a one,

229
12:33.360 --> 12:37.430
and even more importantly, if we get to a point where I say I'm going to encode

230
12:37.430 --> 12:39.040
many bits in here.

231
12:39.040 --> 12:43.600
So I might say this is a zero, zero, zero, one versus a one, zero, zero, one.

232
12:43.600 --> 12:46.400
At this point, we have to

233
12:46.400 --> 12:50.620
be very careful to make sure that we agree on what the rules are for this

234
12:50.620 --> 12:52.720
communication. And so

235
12:52.720 --> 12:57.280
in the end, what we find is that by performing one of these transmissions, I

236
12:57.280 --> 13:00.560
want to send a 1,001.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

236
12:57.280 --> 13:00.560
want to send a 1,001.

237
13:00.560 --> 13:06.310
I send a very specific type of waveform to represent this. And the other device

238
13:06.310 --> 13:06.640
hopefully

239
13:06.640 --> 13:12.080
receives this well and says, ah, you sent me a 1,001. And that is thanks to the

240
13:12.080 --> 13:13.920
concept of data encoding

241
13:13.920 --> 13:18.000
using the modulation of these radio frequency waveforms.
