X hits on this document

PDF document

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

360 views

0 shares

3 downloads

0 comments

111 / 114

APPENDICES

F.2 Matlab Script (Vdc Step)

close all; clear all; clc

%*********************************************************************** % GRID / BREAKER / COMMAND %***********************************************************************

grid_f = 50; w = 2*pi*grid f; Urms = 400;

_

% Line frequency % Line-to-line RMS voltage

Vrms = 400/sqrt(3); % Line-to-ground RMS voltage

Eg = Vrms*sqrt(2)

% Phase-to-ground voltage amplitude

Rg = 1e-3; Lg = 1e-5;

% 1e-2 % 1e-4

%BREAKER

_ _ Rb open = 1e5; Rb close = 0.01;

%ATTENTION VALUE

Cb = 1e-9 ; %Cac - ATTENTION VALUE (NEED DESIGN FILTER, avoid resonnance

frequency)

%STEP breaker SW1 command : 0/1 breaker_step_time = 0.005; %Close switch at... breaker initial value = 0;

_ _ _ breaker final value = 1; _

%Or more than 0

%IGBTs ON/OFF SIGNAL (To activate switching) IGBTONOFF_step_time = 0.01; IGBTONOFF_initial_value = 0; IGBTONOFF_final_value = 1;

%*********************************************************************** % CARRIER BASED PWM PARAMETERS %***********************************************************************

Carrier_amp = 1; Carrier_f = 10e3; Tc = 1/Carrier_f;

% Triangular wave Amplitude % Triangular wave frequency = Fsw % Triangular wave period

%*********************************************************************** % CONVERTER PARAMETERS %***********************************************************************

R = 0.05; L = 3e-3; C = 2200e-6; Fsw = Carrie

r f;

% Line Resistance % Line inductance % DC bus capacitor % Converter switching frequency = Triangular wave f

_ Rload = 150; Rload_temp = 1e5; Vdc_ref = 700;

% Output load, Pout about 800W % Temporary output load to avoid discharge of C % Output voltage reference

initial condition integrator = Vdc ref; % IC model integrator

_

_

_

102

Document info
Document views360
Page views368
Page last viewedSat Dec 10 03:56:18 UTC 2016
Pages114
Paragraphs2263
Words17018

Comments