当前位置:网站首页>NR modulation 1
NR modulation 1
2022-07-06 02:58:00 【明朝百晓生】
前言
终端在测试吞吐量的时候主要看两个参数,网络分配的RB,以及Modulation
这个系列主要参考一些海外专家的课程做个分享
这里主要参考cisco 的 tutorangel
- summary
- RF Encoding and modulation Mechanisms
- BPSK
- QPSK
- QAM
一 summary
编码后,我们得到的还是数字信号 0,1 ,前面讲过会把QPSK 会把0
调制成1,1调制成-1的模拟信息,对应一个waveform.
如何区分wavefrom(symbol) ,主要通过幅度,频率,相位
为什么要调制:
最终信号要通过天线发射出去
天线的长短和波长成正比,所以和频率成反比,频率越高,波长越短,天线也就可以做得越短。天线的长度并不等于一个波长,往往是1/4波长或者5/8波长。
二 RF Encoding and modulation Mechanisms
调制后,0,1对应一个symbol(或waveform),我们可以通过三种方式区分0,1
Amplitude, frequency, phase
2.1 Amplitude 区分

如上可以通过幅度来区分1,0
2.2 Frequency 区分

如图,后半段的频率更高,低频认为是1,高频认为是0。
2.3 phase区分
0,1 相位相差

2.4 调制算法

对应一段时域的波形
3: BPSK(Binary phase shift keying) 二进制相移键控

根据数字基带信号的两个电平,使得载波相位在两个不同的数值之间切换的一种相位调制方式。 通常两个相位相差
,故有时也称为反相键控PSK
以二进制调相为例,码元为0时,调制后载波与为调制载波同相
码元为1,调制后载波与为调制载波反相。
每个符号一个bit,或者一个waveform 对应一个bit
# -*- coding: utf-8 -*-
"""
Created on Mon Jul 4 15:06:27 2022
@author: chengxf2
"""
import numpy as np
import matplotlib.pyplot as plt
def bpsk(bit):
a = 1.0
w = 2.0
if bit ==0:
p = -np.math.pi/2.0
else:
p = np.math.pi/2.0
x = np.linspace(0, 2*np.math.pi,1000)
y = []
for t in x:
v = a*np.cos(w*t+p)
y.append(v)
if 0 ==bit:
plt.plot(x, y, color='g',linewidth=2.0,linestyle="-.") # plot方法绘点制图
else:
plt.plot(x, y, color='r',linewidth=2.0,linestyle="-.") # plot方法绘点制图
plt.xlabel("x")
plt.ylabel("y")
plt.show()
bpsk(0)
4: QPSK(Quadrature phase shift key 正交相移键控)
BPSK 是1bit/symbol
QPSK 是2bit/symbol
相当于速率增加了一倍

# -*- coding: utf-8 -*-
"""
Created on Mon Jul 4 15:06:27 2022
@author: chengxf2
"""
import numpy as np
import matplotlib.pyplot as plt
from enum import Enum
class QPSK_PHASE(Enum):
ONE = 1
TWO = 2
THREE =3
FOUR =4
def qpsk(phase):
a = 1.0
w = 2.0
if phase is QPSK_PHASE.ONE:
p = np.math.pi/2*0
elif phase is QPSK_PHASE.TWO:
p = np.math.pi/2
elif phase is QPSK_PHASE.THREE:
p = np.math.pi
else:
p = np.math.pi*3/2
x = np.linspace(0, 2*np.math.pi,1000)
y = []
for t in x:
v = a*np.cos(w*t+p)
y.append(v)
if phase is QPSK_PHASE.ONE:
plt.plot(x, y, color='g',linewidth=2.0,linestyle="-.") # plot方法绘点制图
elif phase is QPSK_PHASE.TWO:
plt.plot(x, y, color='r',linewidth=2.0,linestyle="-.") # plot方法绘点制图
elif phase is QPSK_PHASE.THREE:
plt.plot(x, y, color='b',linewidth=2.0,linestyle="-.") # plot方法绘点制图
else :
plt.plot(x, y, color='y',linewidth=2.0,linestyle="-.") # plot方法绘点制图
plt.xlabel("x")
plt.ylabel("y")
plt.show()
qpsk(QPSK_PHASE.FOUR)
5: Quadrature Amplitude Modulation(正交幅度调制)

前面都是调节phase,有讲过可以通过增加幅度来区分bit 0,1
如16QAM
一个symbol 可以传输4bit
64AQM
一个symbol 可以传输6bit
调制方式越高,点之间的距离越来越近了,如果在一个有噪声的环境中
信号的多径传输影响,信号衰减等影响,得到的符号会产生偏差,就产生了误差
这个时候调制方式需要逐渐降低 64QAM-16QAM-QPSK-BPSK,速度也会逐渐降低

边栏推荐
- Day 50 - install vsftpd on ceontos6.8
- Rust language -- iterators and closures
- 华为、H3C、思科命令对比,思维导图形式从基础、交换、路由三大方向介绍【转自微信公众号网络技术联盟站】
- Solution: attributeerror: 'STR' object has no attribute 'decode‘
- Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
- 【若依(ruoyi)】ztree 自定义图标(iconSkin 属性)
- What should we pay attention to when using the built-in tool to check the health status in gbase 8C database?
- Introduction to robotframework (I) brief introduction and use
- Modeling specifications: naming conventions
- CSP date calculation
猜你喜欢

How to accurately identify master data?

Introduction to robotframework (I) brief introduction and use
![[unity3d] GUI control](/img/ef/9de2aa75c67cf825983867a913db74.png)
[unity3d] GUI control

I sorted out a classic interview question for my job hopping friends
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9](/img/ed/0edff23fbd3880bc6c9dabd31755ac.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16](/img/c3/f3746b161012acc3751b2bd0b8f663.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
![[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology](/img/47/e895a75eb3af2aaeafc6ae76caafe4.jpg)
[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology

MySQL advanced notes
![[ruoyi] enable Mini navigation bar](/img/28/a8b38aecd90c8ddc98333f0e2d3eab.png)
[ruoyi] enable Mini navigation bar

【指针训练——八道题】
随机推荐
Zhang Lijun: penetrating uncertainty depends on four "invariants"
微服务间通信
codeforces每日5题(均1700)-第六天
JS regular filtering and adding image prefixes in rich text
Introduction to robotframework (II) app startup of appui automation
全国大学生信息安全赛创新实践赛初赛---misc(永恒的夜)
技术分享 | undo 太大了怎么办
How to read excel, PDF and JSON files in R language?
Redis skip table
Referenceerror: primordials is not defined error resolution
主数据管理理论与实践
JS events (add, delete) and delegates
What are the principles of software design (OCP)
Gifcam v7.0 minimalist GIF animation recording tool Chinese single file version
[Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
I sorted out a classic interview question for my job hopping friends
Taobao focus map layout practice
4. File modification
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11
Web security SQL injection vulnerability (1)