💥1 概述
本文 “72个反激式变压器在具有损耗函数的5τ非线性电池上的比较分析”。此代码用于绘制研究论文中提交的比较复杂图形。研究论文中提出的72个损失函数已被绘制出来进行验证,并与JILES-Atherton模型和Lyapunov稳定性上的BH曲线的实际结果进行比较。该代码是基本的,但对于想要绘制类似或新的更具比较性的图形和轨迹的工程师、投资者来说很有用。
📚2 运行结果
部分结果图
部分代码:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Output Power vs. Copper Losses vs. Core Losses vs. MOSFET losses vs.Transformer Leakage losses vs. Switching Frequency vs Hysteresis losses JA Perturbation Simulation %%% %Output Power = x1 %Core Losses = y1 %Copper Losses = y2 %MOSFET losses = y3 %Transformer Switching Frequency = y4 %Transformer Leakage losses = y5 % Hysteresis losses JA Perturbation Simulation = y6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% Transformer 2 %%%%%%%%%%%%%%%%%%%%%%%%%% %Output Power x1= [ 30 30 33 36 37.5 40 44 45 45 45 48 60 61 65 65 66.5 72 85]; xlabel('Output Power') title('Transformer 2: Losses vs Pout vs Switching Freq' ) % %Core Losses y1 = [173 272 231 337 188 267 324 358 355 358 357 503 414 395 689 461 598 506 ] ; yyaxis left ha=plot(x1,y1,'--+b','linewidth',1.1) % %Copper Losses y2 = [ 674 702 744 964 941 939 1507 1223 845 1534 1039 910 1689 1149 538 907 1447 1911 ]; hold on; hb=plot(x1,y2,'--dr','linewidth',1.1) ylabel('Core, Copper, MOS Losses, mW') % %MOSFET losses y3 = [ 669 704 736 931 978 840 1050 976 1018 1060 1082 797 783 688 701 794 879 896 ] ; % %Transformer Leakage losses y5 = [ 19.58 15.92 21.04 18.01 21.5 16.35 17.26 20.71 15.02 16.64 13.76 13.19 24.50 20.59 17.93 10.96 6.28 11.77 ]; hold on; hc=plot(x1,y3,'--sg','linewidth',1.1) %% Transformer Switching Frequency y4 = [74.548 87.991 79.690 96.089 60.500 78.316 96.724 90.779 91.149 96.527 96.001 82.382 73.800 73.400 81.100 74.129 84.329 73.200 ] ; hold on; hd=stem(x1,y4,'--<m','linewidth',1.1) yyaxis right ylabel('Transformer Leakage, 渭H') %% Hysteresis losses JA Perturbation Simulation y6 =[ 5.22 35.24 22.73 43.45 36.78 32.82 33.27 39.21 36.71 42.87 31.45 34.10 41.94 49.38 25.30 32.37 34.22 51.89 ]; hold on; he=plot(x1,y5,'--oy','linewidth',1.1) hold on; hf=plot(x1,y6,'--*c','linewidth',1.1) legend([ha,hb,hc,hd,he,hf], 'Core','Copper','MOS','Sw Freq','Lkg','JA','location','northeastoutside') gcf; saveas(gcf, 'results/Losses_T2aa.eps','epsc') saveas(gcf, 'results/Losses_T2aa.png')
🌈3 Matlab代码实现
🎉4 参考文献
部分理论来源于网络,如有侵权请联系删除。