VoltageController

Voltage controller

    VoltageController

Library

Electrical/Machines/Utilities

Description

Simple Voltage-Controller

The desired rms values of d- and q-component of the space phasor current in rotor fixed coordinate system are given by inputs "id_rms" and "iq_rms". Using the given rotor position (input "phi"), the actual threephase currents are measured and transformed to the d-q coordinate system. Two PI-controller determine the necessary d- and q- voltages, which are transformed back to threephase (output "y[3]"). They can be used to feed a voltage source which in turn feeds a permanent magnet synchronous machine.

Note: No care is taken for current or voltage limiting, as well as for field weakening.

Parameters

VoltageController_0

NameLabelDescriptionData TypeValid Values

mo_m

m

Number of phases

Scalar

mo_p

p

Number of pole pairs

Scalar

mo_fsNominal

fsNominal

Nominal frequency

Scalar

mo_VsOpenCircuit

VsOpenCircuit

Open circuit RMS voltage per phase @ fsNominal

Scalar

mo_Rs

Rs

Stator resistance per phase

Scalar

mo_Ld

Ld

Inductance in d-axis

Scalar

mo_Lq

Lq

Inductance in q-axis

Scalar

mo_decoupling

decoupling

Use decoupling network

Scalar

true
false

mo_psiM

psiM

Scalar

mo_nout

nout

Number of outputs

Scalar

mo_unitResistance

unitResistance

Scalar

VoltageController_1

NameLabelDescriptionData TypeValid Values

mo_omega

omega

omega

Structure

mo_omega/fixed

fixed

Cell of scalars

true
false

mo_omega/start

start

Cell of scalars

mo_Vd

Vd

Vd

Structure

mo_Vd/fixed

fixed

Cell of scalars

true
false

mo_Vd/start

start

Cell of scalars

mo_Vq

Vq

Vq

Structure

mo_Vq/fixed

fixed

Cell of scalars

true
false

mo_Vq/start

start

Cell of scalars

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of vectors

true
false

mo_y/start

start

Cell of vectors

mo_id_rms

id_rms

id_rms

Structure

mo_id_rms/fixed

fixed

Cell of scalars

true
false

mo_id_rms/start

start

Cell of scalars

mo_iq_rms

iq_rms

iq_rms

Structure

mo_iq_rms/fixed

fixed

Cell of scalars

true
false

mo_iq_rms/start

start

Cell of scalars

mo_phi

phi

phi

Structure

mo_phi/fixed

fixed

Cell of scalars

true
false

mo_phi/start

start

Cell of scalars

mo_iActual

iActual

iActual

Structure

mo_iActual/fixed

fixed

Cell of vectors

true
false

mo_iActual/start

start

Cell of vectors

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Real output signals

output

1

id_rms

implicit

input

1

iq_rms

implicit

input

2

phi

implicit

input

3

iActual

implicit

input

4