X hits on this document

PDF document

Master of Science Thesis in Electric Power Engineering - page 112 / 114

321 views

0 shares

3 downloads

0 comments

112 / 114

APPENDICES

%******************************************** % CONTROLLER PARAMETERS %********************************************

Ts

=

Fs

=

0.5*Tc; 1/Ts;

%

Sample

time,

half

of

triangul

%ESTIMATED PARAMETERS

R_hat = R; L_hat = L; C_hat = C; Vpcc_hat = E

% probably, C hat = C OK g ; % Ph-to-gnd - Possible for st _

Eg

%CURRENT PI Regulato alphaI = Fs/10*2*pi; Kpi = alphaI*L_hat Kii = alphaI*R_hat

r (thesis, state % Bandwidth

%VOLTAGE PI Regulato

r (thesis, state

alphaV = Fs/100*2*pi;

% Bandwidth

Kpv = alphaV*C hat/(3*Vpcc hat) Kiv = 0.01 _ _

  • -

    variable

in rad/s

  • -

    variable

in rad/s

%SATURATION (TO MODIFY, depends on r I s a t u r a t i o n _ u p p e r _ l i m i t = 5 0 ; % s a t u r I s a t u r a t i o n _ l o w e r _ l i m i t = - 5 0 ;

ectifier ation on

%FEEDFOWARD Ed_hat/Eq_hat FILTER alphaf_ff = alphaI/10;

%*********************************** % PLL PARAMETERS %*********************************** %Gain gamma1&2 : calculated in simul

*********

********* ink (we a

change) Fbandwidth_pll = 20; rho_pll = 2*pi*Fbandwidth_pll; gam1 = (rho_pll^2)/Vpcc_hat gam2 = 2*rho_pll/Vpcc_hat

%ban

dwidth in

%ban

dwidth in

%*********************************** % TESTS %*********************************** %INPUT STEP input_step_time = 0.025; input_step_value = 100;

*********

*********

103

***************************

*************************** ar wave period, Fs = 2*Fc

iff grid, otherwise, Vpcc <

W=Vdc^2)

W=Vdc^2)

limit) Iref, V PI controller

***************************

*************************** ssume Ed hat and Eq hat can

_

_

Hz rad/s

***************************

***************************

Document info
Document views321
Page views329
Page last viewedMon Dec 05 10:36:37 UTC 2016
Pages114
Paragraphs2263
Words17018

Comments