Hi team,
Customer has some questions
- Good
- I have some problems with AN-1990 Compensation for Current Mode Control SEPIC
- Converters as the calculations I get are nothing like the ones shown in AN-1990.
- 1 the results of the coefficients. Appendix B (7)
- DC0 6.728e-13 --DC1 1.874e-16
- DC2 2.732e-21--DC3 2.357e-26
- DC4 3.557e-31--DC5 1.7657e-31
- DC5 1.1654e-41
- Appendix B (8)
- N0=8.9843e-13;
- N1=1.5273e-18;
- N2=1.0377e-22
- N3 =2.016e-28
- N4 =1.958e-33
- N5 =6.650e-36
- N6 =6.457e-44
- The parameters of the AN-1990 sheet are used
- 2---the transfer function (6) in Matlab (6)
- G= ((NCC*)/(DCC*RSN))*ADC;
- 3 I'm not sure, but Cv1 is 0 I don't know if it's an error or but that equation the result is 0.
Any bug or help would be great.
Finally if you have a correct sample of the calculations in matlab I would appreciate it.
Here is AN-1990
https://www.ti.com/lit/an/snva405a/snva405a.pdf
VIN =5; %--PARAMETERS OF THE LM3478
VOUT= 5;
ROUT =10;
COUT =0.0001;
RCOUT =0.05;
L1 =0.000033;
L2 =0.000033;
CS =0.000001;
FSW =400000;
RSN =0.02;
RSL =2000;
VREF =1.26;
GM =0.0008;
RO =47500;
VSL =0.092; %---END PARAMETERS
D =0.5;
RF2 =10000;
RF1 =29700;
ADC=0.180;
LM=(D^2)*L1+((1-D)^2)*L2;
MC=(VSL+0.000040*RSL)*FSW/RSN;
T2 =1/FSW;
TM=(T2/2)*(2*MC+(VIN/L1)+(VIN/L2)); %--------
s = tf('s');
CC0 =L1*L2*LM;
CC2 =L1^2*L2^2*CS;
D0=ROUT*((1-D)^2); %---Δ(s)coefficients of(4)
D1=LM+((1-D)^2)*RCOUT*ROUT*COUT;
D2=LM*(RCOUT+ROUT)*COUT+((1-D)^2)*(L1+L2)*ROUT*CS;
D3=L1*L2*CS+((1-D)^2)*(L1+L2)*RCOUT*ROUT*CS*COUT;
D4=L1*L2*(RCOUT+ROUT)*CS*COUT;
N0 =5*10; %---(3)Nn(s); %--From(2)ND(s)
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