【水声通信】水声通信信道仿真【含Matlab源码 3694期】

在这里插入图片描述

⛄一、获取代码方式

获取代码方式1:
完整代码已上传我的资源:【水声通信】基于matlab水声通信信道仿真【含Matlab源码 3694期】
点击上面蓝色字体,直接付费下载,即可。

获取代码方式2:
付费专栏Matlab信号处理(初级版)

备注:
点击上面蓝色字体付费专栏Matlab信号处理(初级版),扫描上面二维码,付费29.9元订阅海神之光博客付费专栏Matlab信号处理(初级版),凭支付凭证,私信博主,可免费获得1份本博客上传CSDN资源代码(有效期为订阅日起,三天内有效);
点击CSDN资源下载链接:1份本博客上传CSDN资源代码

⛄二、水声通信信道仿真

水声通信信道仿真是一种用于模拟和分析水声通信网络的方法。根据引用,一种有效的方法是使用OPNET中的三个工具:Propagation-Delay-Stage、Receiver-Power-Stage和Background-Noise-Stage。

Propagation-Delay-Stage用于模拟声波在水中传播的延迟。它可以考虑水中的传播速度、传播路径的多样性以及声波与水中物体的相互作用。

Receiver-Power-Stage用于模拟接收器接收到的声波信号的功率。它可以考虑接收器的灵敏度、噪声和干扰等因素。

Background-Stage用于模拟背景噪声。它可以考虑水中的环境噪声、其他通信设备的干扰等因素。

通过使用这些工具,可以对水声通信信道进行仿真分析,评估通信性能,优化系统设计,并提供指导改进水声通信网络的方法和策略。

⛄三、部分源代码

clc, clear all, close all, format long;

%% Data file name:
file_name= ‘example_channel’;

%% Deterministic channel geometry:

h0=100; % surface height (depth) [m]
ht0=20; % TX height [m]
hr0=50; % RX height [m]
d0=1000; % channel distance [m]

k=1.7; % spreading factor
c=1500; % speed of sound in water [m/s]
c2=1200; % speed of sound in bottom [m/s] (>1500 for hard, < 1500 for soft)
cut=20; % do not consider arrivals whose strength is below that of direct arrival divided by cut

fmin=10e3; % minimum frequency [Hz]
B=10e3; % bandwidth [Hz]

df= 25; % frequency resolution [Hz], f_vec=fmin:df:fmax;

dt= 50e-3; % time resolution [seconds]
T_SS=60; % coherence time of the small-scale variations [seconds]

%% Small-Scale (S-S) parameters:
sig2s= 1.125; % variance of S-S surface variations
sig2b=sig2s/2; % variance of S-S bottom variations

B_delp= 5e-4; % 3-dB width of the p.s.d. of intra-path delays (assumed constant for all paths)
Sp= 20; % number of intra-paths (assumed constant for all paths)
mu_p= .5/Sp; % mean of intra-path amplitudes (assumed constant for all paths)
nu_p= 1e-6; % variance of intra-path amplitudes (assumed constant for all paths)

%% Large-Scale (L-S) parameters:
T_tot= 3*T_SS; % total duration of the simulated signal [seconds]
t_tot_vec=(0:dt:T_tot); Lt_tot=length(t_tot_vec);

h_bnd=[-10 10]; % range of surface height variation (L-S realizations are limited to h+h_band)
ht_bnd=[-5 5]; % range of transmitter height variation
hr_bnd=[-5 5]; % range of receiver height variation
d_bnd=[-20 20]; % range of channel distance variation
sig_h=1; % standard deviation of L-S variations of surface height
sig_ht=1; % standard deviation of L-S variations of transmitter height
sig_hr=1; % standard deviation of L-S variations of receiver height
sig_d=1; % standard deviation of L-S variations of distance height
a_AR= .9; % AR parameter for generating L-S variations (constant for variables h, ht, hr, d)

%% Large-Scale (L-S) & Small-Scale (S-S) Simulation Methods:
% 1)‘sim_dir’: SIMplified L-S model & DIRect S-S model
% 2)‘sim_seq’: SIMplified L-S model & Statistically EQuivalent S-S model
% 3)‘bel_dir’: BELlhop L-S model & DIRect S-S model
% 4)‘bel_seq’: BELlhop L-S model & Statistically EQuivalent S-S model
method=‘sim_dir’;

%% Doppler:
% All parameters can be entered as scalars or vectors of size(t_tot_vec).

% drifting:
vtd= 0.1cos((1/20)(2pit_tot_vec)-rand2pi);
theta_td= linspace(rand2pi,rand2pi,length(t_tot_vec));

vrd= 0.02cos((1/5)(2pit_tot_vec));
theta_rd= rand2pi;

⛄四、运行结果

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

⛄五、matlab版本及参考文献

1 matlab版本
2014a

2 参考文献
[1]C. Liu, Y. V. Zakharov, and T. Chen, “Doubly Selective Underwater Acoustic Channel Model”(《基于BELLHOP的水声信道仿真程序》)

3 备注
简介此部分摘自互联网,仅供参考,若侵权,联系删除

  • 19
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Matlab领域

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值