Here is the list of VOLREC function APIs
|
file | volt_recons.h |
| Contains phase voltage calculation (VOLREC) functions implementation.
|
|
◆ VOLREC_Handle
Defines the VOLREC_Handle.
◆ VOLREC_init()
VOLREC_Handle VOLREC_init |
( |
void * |
pMemory, |
|
|
const size_t |
numBytes |
|
) |
| |
Initializes the Voltage reconstruct module.
- Parameters
-
[in] | pMemory | A pointer to the memory for the Voltage reconstruct object |
[in] | numBytes | The number of bytes allocated for the Voltage reconstruct object |
- Returns
- The Voltage reconstruct (VOLREC) object handle
◆ VOLREC_reset()
reset the Phase Voltage reconstruction variables
- Parameters
-
[in] | handle | The Voltage reconstruction handle |
◆ VOLREC_setParams()
set the Phase Voltage reconstruction parameters
- Parameters
-
[in] | handle | The Voltage reconstruction handle |
[in] | filterPole_rps | The voltage filter pole |
[in] | ctrlFreq_Hz | The controller frequency |
◆ VOLREC_calcVolSF()
Runs the Phase Voltage reconstruction.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |
[in] | VaSen | The input phase voltage in volts |
◆ VOLREC_run()
Runs the Phase Voltage reconstruction.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |
[in] | Vdcbus | The DC bus voltage |
[in] | pVin | The pointer to the input vector |
[in] | pVab | The pointer to the output vector |
◆ VOLREC_getFlagCalSf()
Gets the SF enable flag.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |
- Returns
- flag
◆ VOLREC_setFlagCalSf()
static void VOLREC_setFlagCalSf |
( |
VOLREC_Handle |
handle, |
|
|
const bool |
flagCalSf |
|
) |
| |
|
inlinestatic |
Sets up the SF enable flag.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |
[in] | flagCalSf | The SF enable flag |
◆ VOLREC_enableFlagCalSf()
Enables the SF enable flag.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |
◆ VOLREC_disableFlagEnableSf()
Disables the SF enable flag.
- Parameters
-
[in] | handle | The Voltage reconstruct handle |