CurrentController
Current controller
Library
Electrical/Machines/Utilities
Description
Simple Current-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 correct three-phase currents (output "y[3]") are calculated. They can be used to feed a current source which in turn feeds an induction machine.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_m | m | Number of phases | Scalar | |
mo_p | p | Number of pole pairs | Scalar | |
mo_nout | nout | Number of outputs | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of vectors | true | |
mo_y/start | start | Cell of vectors | ||
mo_id_rms | id_rms | id_rms | Structure | |
mo_id_rms/fixed | fixed | Cell of scalars | true | |
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 | |
mo_iq_rms/start | start | Cell of scalars | ||
mo_phi | phi | phi | Structure | |
mo_phi/fixed | fixed | Cell of scalars | true | |
mo_phi/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
y | implicit | Connector of Real output signals | output | 1 |
id_rms | implicit | input | 1 | |
iq_rms | implicit | input | 2 | |
phi | implicit | input | 3 |