资源简介
交错并联PFC boost,使用plecs仿真,仿真完美,电压电流环使用typeII补偿,CCM平均电流模式,额定功率500W,可根据需要改变参数
代码片段和文件信息
function bode_add(str1 str2)
%Calculates the loop gain of the system by summing the magnitude and
%phase response of the converter and controller which are stored in csv
%files. The csv files should contain the same frequency points and need
%to be saved from the Bode plots produced by the PLECS Impulse Response
%Analysis and AC Sweep Tools.
%Example usage: bode_add(‘Iconverter_bode‘ ‘Icontroller_bode‘)
name1 = [str1 ‘.csv‘]; %concatenate csv
name2 = [str2 ‘.csv‘];
data1 = csvread(name110);
data2 = csvread(name210);
%data1 = csvread(‘Icontroller_bode.csv‘10);
%data2 = csvread(‘Iconverter_bode.csv‘10);
%Read converter data
f = data1(:1);
mag1 = data1(:2);
phase1 = data1(:3);
mag2 = data2(:2);
phase2 = data2(:3);
%Calculate the loop gain
mag_loop = mag1 + mag2;
phase_l
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-09-25 16:18 plecs_pfc_standalone\
文件 6148 2013-06-27 15:29 plecs_pfc_standalone\.DS_Store
文件 1111 2013-04-03 13:30 plecs_pfc_standalone\bode_add.m
文件 2055 2013-04-03 13:33 plecs_pfc_standalone\bode_add.py
文件 5822 2010-12-01 15:58 plecs_pfc_standalone\Icontroller_bode.csv
文件 5788 2010-12-01 16:02 plecs_pfc_standalone\Iconverter_bode.csv
文件 15106 2013-06-27 15:27 plecs_pfc_standalone\Iloop_impulse.plecs
文件 78732 2013-06-27 15:27 plecs_pfc_standalone\PFC_f_50.plecs
文件 92211 2013-06-27 15:28 plecs_pfc_standalone\PFC_f_dither.plecs
文件 9887 2013-06-27 15:28 plecs_pfc_standalone\Type2_Icontroller.plecs
文件 10887 2013-06-27 15:28 plecs_pfc_standalone\Type2_Vcontroller.plecs
文件 1806 2010-12-06 16:04 plecs_pfc_standalone\Vcontroller_bode.csv
文件 1830 2010-12-06 16:01 plecs_pfc_standalone\Vconverter_bode.csv
文件 29425 2013-06-27 15:28 plecs_pfc_standalone\Vloop_impulse.plecs
评论
共有 条评论