实用标准文档大全计算机仿真技术作业五题目:单端反激DC/DC电路仿真利用simpowersystems建立单端反激电路的仿真模型。输入直流电压28V,输出电压5V,输出额定功率30W。电路开关频率10kHz,整流二极管通态压降0.7V,计算功率管的工作占空比,并选择开关管(选择MOSFET)及二极管。模型建立:建立单端反激变换器电路模型如下图:理论计算:计算功率管占空比:22115==50%281odNNDUUDNND由,,得仿真过程:仿真算法选择ode23tb,最大步长设为1μs变压器仿真设置1.满负载的仿真。DC/DC变换器,R=0.68欧姆,C=4700uf,仿真时间0.2s。实用标准文档大全观察并记录MOSFET的工作波形(电压,电流波形),输出整流二极管的工作波形(电压,电流波形),输出电压波形。MOSFET的工作波形(电压,电流波形)0.08630.08640.08650.08660.08670.08680.08690.0870.08710.08720.08730102030405060Time/sMOSFETvoltage/VMOSFETvoltage0.08630.08640.08650.08660.08670.08680.08690.0870.08710.08720.0873-0.500.511.522.53Time/sMOSFETcurrent/AMOSFETcurrent整流二极管的工作波形(电压,电流波形)输出电压波形Vo0.11750.11760.11770.11780.11790.1180.11810.11820.11830.1184-10-8-6-4-202Time/sDiodevoltage/VDiodevoltage0.11750.11760.11770.11780.11790.1180.11810.11820.11830.1184051015Time/sDiodecurrent/ADiodecurrent实用标准文档大全0.05990.060.06010.06020.06030.06040.06050.06060.06074.174.184.194.24.214.224.234.244.25Time/sOutputvoltage/VOutputvoltage由上图可得输出电压稳态值为Vo=4.212V,纹波电压为ΔVo=0.0655V选择占空比D=53%时,输出电压稳态值为Vo=5.006VMOSFET的工作波形(电压,电流波形)实用标准文档大全0.05120.05130.05140.05150.05160.05170.05180.0519-10-50Time/sDiodevoltage/VDiodevoltage0.05120.05130.05140.05150.05160.05170.05180.051905101520Time/sDiodecurrent/ADiodecurrent整流二极管的工作波形(电压,电流波形)0.05120.05130.05140.05150.05160.05170.05180.0519-10-50Time/sDiodevoltage/VDiodevoltage0.05120.05130.05140.05150.05160.05170.05180.051905101520Time/sDiodecurrent/ADiodecurrent实用标准文档大全0.06830.06840.06850.06860.06870.06880.06890.0690.06910.06920.06934.954.964.974.984.9955.015.025.035.045.05Time/sOutputvoltage/VOutputvoltage输出电压稳态值为Vo=5.006V,纹波电压为ΔVo=0.0828V2.小负载的仿真。R=10欧姆,C=4700uf仿真时间0.5s。选择合适占空比,使得输出电压为5V。观察并记录MOSFET的工作波形(电压,电流波形),输出整流二极管的工作波形(电压,电流波形),输出电压波形。当占空比为D=35.85%时,输出电压Vo=5.001VMOSFET的工作波形(电压,电流波形)实用标准文档大全0.0750.07520.07540.07560.07580.0760.07620.07640.07660204060Time/sMOSFETvoltage/VMOSFETvoltage0.0750.07520.07540.07560.07580.0760.07620.07640.0766-0.500.51Time/sMOSFETcurrent/AMOSFETcurrent整流二极管的工作波形(电压,电流波形)0.05130.05140.05150.05160.05170.05180.05190.0520.0521-12-10-8-6-4-202Time/sDiodevoltage/VDiodevoltage0.05130.05140.05150.05160.05170.05180.05190.0520.0521-101234Time/sDiodecurrent/ADiodecurrent实用标准文档大全输出电压波形0.17960.17980.180.18020.18040.18060.18084.9964.9974.9984.99955.0015.0025.0035.0045.0055.006Time/sOutputvoltage/VOutputvoltage由上图可得输出电压稳态值为Vo=5.001V,纹波电压为ΔVo=0.0076V通过仿真分析,选择合适的功率管和整流二极管(耐压,耐流)。二极管的选取要根据原边的(交流电压峰值/匝比+输出电压)+百分之二十的最高电压+百分之十到二十的余量=二极管最终选取电压值由满负载仿真情况,功率管耐压值为100V,耐流值为8A二极管耐压值为20V,耐流值为30A附录:Script:Flyback.msubplot(2,1,1)plot(MOSFET.MOSFET_voltage)axis([0.075,0.0766,-10,70])xlabel('Time/s')ylabel('MOSFETvoltage/V')实用标准文档大全title('MOSFETvoltage')subplot(2,1,2)plot(MOSFET.MOSFET_current)axis([0.075,0.0766,-0.5,1])xlabel('Time/s')ylabel('MOSFETcurrent/A')title('MOSFETcurrent')figure(2)subplot(2,1,1)plot(Diode.Diode_voltage)axis([0.0513,0.0521,-12,2])xlabel('Time/s')ylabel('Diodevoltage/V')title('Diodevoltage')subplot(2,1,2)plot(Diode.Diode_current)axis([0.0513,0.0521,-1,4])xlabel('Time/s')ylabel('Diodecurrent/A')title('Diodecurrent')figure(3)plot(Vo)实用标准文档大全axis([0.1796,0.181,4.996,5.006])xlabel('Time/s')ylabel('Outputvoltage/V')title('Outputvoltage')