1 / 12

Matlab Code

Matlab Code. clear all; L=1E-3; Vd=100; Ts=50E-6; %IL=zeros(100,1); ILB_max=Vd*Ts/(8*L); N=2*ILB_max/0.01; i=1; while(i<N) IL(i)=0.01*i; i=i+1; end M=size(IL);. 初始值. 特徵曲線. figure(1); for j=1:2:9 D=0.1*j; ILB=D*Ts*(Vd-D*Vd)/(2*L); for i=1:1:M(2)

adrina
Download Presentation

Matlab Code

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Matlab Code clear all; L=1E-3; Vd=100; Ts=50E-6; %IL=zeros(100,1); ILB_max=Vd*Ts/(8*L); N=2*ILB_max/0.01; i=1; while(i<N) IL(i)=0.01*i; i=i+1; end M=size(IL); 初始值 特徵曲線 figure(1); for j=1:2:9 D=0.1*j; ILB=D*Ts*(Vd-D*Vd)/(2*L); for i=1:1:M(2) if (IL(i)>ILB) ratio(1,i)=D; ratio(2,i)=IL(i); else ratio(1,i)=D^2/(D^2+0.25*IL(i)/ILB_max); ratio(2,i)=IL(i); end end plot(ratio(2,:),ratio(1,:)); hold on; end 電感電流極限值 for i=1:1:100 Duty=i*0.01; ILB_matrix(1,i)=Duty*Ts/2/L*(Vd-Duty*Vd); ILB_matrix(2,i)=Duty; end plot(ILB_matrix(1,:),ILB_matrix(2,:)) hold off; grid on;

  2. 穩態特徵曲線 D=0.9 CCM D=0.7 DCM D=0.5 D=0.3 D=0.1 Io

  3. Buck Converter Circuit Iload Duty

  4. X-Y Curve Io

  5. Steady State Curve 與計算結果有差異!!! Io Io

  6. 完成Duty=0.1, 0.3, 0.5, 0.7, 0.9 之特性曲線 用Matlab將曲線繪出在同一張圖上 將Psim所得之圖與Matlab計算之圖做比較,並分析可能不相等原因? 作業

  7. Step-Down DC-DC Converter: Limits of Cont./Discont. Conduction (c) Boundary Curve (a) CCM DCM  (b) CCM DCM combine (a) and (b) ,we can plot (c) BCM

  8. Mathcad Code

  9. Static Curve for Buck converter

  10. Bode plot

  11. 參考書目

  12. [1] M.Sanz, A.Lazaro‚ “Improvement of Power Electronics Education with an Interactive Electronic Book based on MathCAD‚” IEEE Power Electronics Education‚ 2005. [2] Cristian Domnisoru‚ “Using MATHCAD in Teaching Power Engineering‚” IEEE trans On Education‚ VOL. 48‚NO.1‚ FEBRUARY 2005. [3] R. W. Larsen‚ “Introduction to MATHCAD‚” Englewood Cliffs‚ NJ: Prentice-Hall‚ 1999. [4] Mathcad User’s Guide‚ MathSoft‚ Cambridge‚MA‚ 2001. [5] Alan Felzer, “Introduction to MathCAD,” 2003 [6] ST AN1089 Application Note [7] Lai, J.-S.; Chen, D.‚ “Design consideration for power factor correction boost converter operating at the boundary of continuous conduction mode and discontinuous conduction mode.” in Proc. IEEE Appl. Power Electron. Conf, 7-11, Mar. 1993. pp.267 – 273 REFERENCES

More Related