没有合适的资源?快使用搜索试试~ 我知道了~
Matlab粒子群算法(PSO)进行空间-变压器局部放电定位.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 106 浏览量
2022-11-12
09:59:05
上传
评论 1
收藏 405KB PDF 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/86966721/0001-5c7dd3e709c60658535eebf38d610d7d_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
11页
。。。
资源推荐
资源详情
资源评论
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/release/download_crawler_static/86966721/bg1.jpg)
%% Particle Swarm Optimization(PSO), 粒子群优化算法计算局放源位
置
%%
%% Clear Screen
clc;
close all;
clear all;
%% Initialization
Lx=4;Ly=4;Lz=4; % 变压器长宽高
Sensor_xyz0=[1,0,1]';Sensor_xyz1=[0,1.5,0.5]';Sensor_xyz2=[2,3,0.5]';S
ensor_xyz3=[3,1.5,0.7]';%四个传感器位置
Source=[2,2,2]'; % PD 位置
t=linspace(0,50e-9,1001);
tc=10e-9;
c=3e8;
delta_t0=sqrt(sum((Source-Sensor_xyz0).^2))/c;
delta_t1=sqrt(sum((Source-Sensor_xyz1).^2))/c;
delta_t2=sqrt(sum((Source-Sensor_xyz2).^2))/c;
delta_t3=sqrt(sum((Source-Sensor_xyz3).^2))/c;
y0=-(exp(-(t-tc-delta_t0)/0.2e-9)-exp(-(t-tc-delta_t0)/3e-
9)).*stepfun(t,tc+delta_t0).*sin(2*pi*1e9*(t-tc-delta_t0)); %传感器 0
![](https://csdnimg.cn/release/download_crawler_static/86966721/bg2.jpg)
接收到 PD 信号
y1=-(exp(-(t-tc-delta_t1)/0.2e-9)-exp(-(t-tc-delta_t1)/3e-
9)).*stepfun(t,tc+delta_t1).*sin(2*pi*1e9*(t-tc-delta_t1)); %传感器 1
接收到 PD 信号
y2=-(exp(-(t-tc-delta_t2)/0.2e-9)-exp(-(t-tc-delta_t2)/3e-
9)).*stepfun(t,tc+delta_t2).*sin(2*pi*1e9*(t-tc-delta_t2)); %传感器 2
接收到 PD 信号
y3=-(exp(-(t-tc-delta_t3)/0.2e-9)-exp(-(t-tc-delta_t3)/3e-
9)).*stepfun(t,tc+delta_t3).*sin(2*pi*1e9*(t-tc-delta_t3)); %传感器 3
接收到 PD 信号
% plot(y0)
% hold on
% plot(y1)
% plot(y2)
% plot(y3)
tic; %程序运行计时
% [~,R]=gccphat(y1',y0');[~,YI]=max(R);t10=(YI-
length(t))*diff(t(1:2)); % GCCPHAT 计算时延 1
% [~,R]=gccphat(y2',y0');[~,YI]=max(R);t20=(YI-
length(t))*diff(t(1:2)); % GCCPHAT 计算时延 2
% [~,R]=gccphat(y3',y0');[~,YI]=max(R);t30=(YI-
![](https://csdnimg.cn/release/download_crawler_static/86966721/bg3.jpg)
length(t))*diff(t(1:2)); % GCCPHAT 计算时延 3
[~,YI]=max(xcorr(y1,y0));t10=(YI-length(t))*diff(t(1:2));
GCCPHAT 计算时延 1
[~,YI]=max(xcorr(y2,y0));t20=(YI-length(t))*diff(t(1:2));
GCCPHAT 计算时延 2
[~,YI]=max(xcorr(y3,y0));t30=(YI-length(t))*diff(t(1:2));
GCCPHAT 计算时延 3
t10=delta_t1-delta_t0;
t20=delta_t2-delta_t0;
t30=delta_t3-delta_t0;
% Lx=1;Ly=1;Lz=0.8; % 变压器长宽高
%
Sensor_xyz0=[0,0.2,0.4]';Sensor_xyz1=[0,0.6,0.3]';Sensor_xyz2=[0.3,1,0
.2]';Sensor_xyz3=[0.6,1,0.5]';%四个传感器位置
% Source=[0.61,0.32,0.35]'; % PD 位置
% t10=0.036;t20=0.1;t30=0.053;
%PSO 初始化
error=1e-6; %允许误差
MaxNum=50; %粒子最大迭代次数
%
%
%
剩余10页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/dfba069df9d743e89798b70d3e80af24_xxpr_ybgg.jpg!1)
xxpr_ybgg
- 粉丝: 6559
- 资源: 3万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)