t=data(:,1);
V=data(:,2);
I=data(:,3);
plot(t,V,'g',t,I,'r')
title('Power Loss');
xlabel('Time (s)');ylabel('Amplitude');
legend('Voltage (V)','Current (A)');
% for j = 1:length(I);
% if (V(j)<I(j))
% start = j;
% break;
% end
% end
% int = 0;
T = t(end);
t1 = T/length(t);
% for i = start:length(I);
% if (V(i)>I(i))
% int = I(i)*T+int;
% end
% end
int1 = 0; %switching loss
for i = 1:length(I)
if (V(i)>I(i))
int1 = V(i)*I(i)*t1+int1;
end
end
result = int1/T
Psw=result*(ton+toff)
int1 = 0; %conduction loss
for i = 1:length(I)
if (I(i)>V(i))
int1 = I(i)*I(i)*0.015+int1;
end
end
result = int1;
Pcond=result*T/6
开关损耗的计算里,最后Psw为什么还要乘以ton+toff,result不就已经是P了吗?
导通损耗的计算里,0.015是什么意思,result*T/6又是怎么来的?
此帖出自
小平头技术问答
至于第二个问题我也不懂,应该跟实际的导通时候的特点有关系。我感觉相关的书籍上应该有介绍,你手头上有技术资料或参考书吗?可以看一下
从哪里看出是把时间当成1来计算的啊?
第一句啊
一周热门 更多>