This set of MATLAB files will generate/receive binary CPFSK baseband waveforms.
Works on both MATLAB and GNU Octave.
Run fsk.m to simulate the FSK modem just in MATLAB.
Run fsk_csv.m to write/read IQ samples to/from a csv file so they can be
transmitted/received on an RF carrier with a bladeRF. In order to run this
successfully you need to add bladeRF/host/misc/matlab to your matlab path
(for the save_csv() and load_csv() functions)
fsk_mod(): FSK baseband modulator function
- generates CPFSK baseband IQ waveform of the given set of bits
fsk_demod(): FSK baseband demodulator function
- extracts the bit sequence of the given CPFSK baseband waveform
fsk_transmit(): Generates baseband signal for an FSK frame
- Calls fsk_mod() with FSK frame, which includes training sequence and preamble
in addition to user data
- Adds a ramp up/ramp down to the beginning/end of the signal
fsk_receive(): Receives an FSK frame from a baseband signal
- Low-pass filters and normalizes the input signal
- Correlates the input signal with the given preamble waveform to determine
start of FSK data
- Calls fsk_demod() to extract bits from the FSK data signal
fsk.m: Script for simulating mod/demod just in MATLAB
- prompts for an input string (spaces are welcome)
- converts ASCII string to a set of bits
- calls fsk_transmit to generate the CPFSK baseband IQ waveform
- adds attenuation and noise to the signal to simulate a channel
- calls fsk_receive to process the waveform and extract data bits
- converts bits to ASCII string
- prints received string to command window
fsk_csv.m: Script for using the modulator/demodulator with samples csv files
- prompts for an input string (spaces are welcome)
- converts ASCII string to a set of bits
- calls fsk_transmit to generate the CPFSK baseband IQ waveform
- writes the samples to a tx csv file
- waits for the user to transmit the samples and receive IQ samples
in a different csv file (e.g. rx_samples.csv)
- reads in samples from the rx csv file
- calls fsk_receive to process the waveform and extract data bits
- converts bits to ASCII string
- prints received string to command window
没有合适的资源?快使用搜索试试~ 我知道了~
CPFSK.rar_CPFSK 同步_帧同步同步码_帧同步码_接收验证码_连续相位 同步
共9个文件
m:8个
txt:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 3 下载量 72 浏览量
2022-07-15
13:25:02
上传
评论 3
收藏 14KB RAR 举报
温馨提示
该工程是有关CPFSK(连续相位调制)的完整工程。帧结构包含训练序列、前导码、同步码、数据长度等信息,使用正交调制方式产生CPFSK的信号,生成基带IQ数据。接收端包含帧同步、滤波、解算长度等算法。可实现任意长度字符串的无线发送与接收。工程十分完整喝强大,可直接用于各大SDR平台的验证。
资源详情
资源评论
资源推荐
收起资源包目录
CPFSK.rar (9个子文件)
CPFSK
README.txt 2KB
fsk_csv.m 5KB
fsk_receive.m 5KB
fsk_transmit.m 4KB
fsk_demod.m 4KB
tx_fsk.m 2KB
fsk.m 5KB
fsk_mod.m 3KB
rx_fsk.m 2KB
共 9 条
- 1
钱亚锋
- 粉丝: 85
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3