Contains Power Control Configuration.
More...
|
file | pwrctrl.c |
| Contains power control initialization including control loop initialization and start-up initialization, and the power control execution.
|
|
This document includes the power control initialization and execution functions.
◆ PwrCtrl_ControlLoopInitialize()
void PwrCtrl_ControlLoopInitialize |
( |
void | | ) |
|
|
static |
- Returns
- void
This function initializes the control loop necessary to run the close loop operation of the converter.
Definition at line 156 of file pwrctrl.c.
◆ PwrCtrl_Execute()
void PwrCtrl_Execute |
( |
void | | ) |
|
- Returns
- void
After initialization this function has to be called on a deterministic, constant time base. Each execution step, this function will call the power control state machine.
Definition at line 73 of file pwrctrl.c.
◆ PwrCtrl_Initialize()
void PwrCtrl_Initialize |
( |
void | | ) |
|
- Returns
- void
This function initialize the power control settings, start-up configuration and control loop configuration.
Definition at line 46 of file pwrctrl.c.
◆ PwrCtrl_MaxDutyCycle()
void PwrCtrl_MaxDutyCycle |
( |
void | | ) |
|
- Returns
- void
This function calculates the max duty cycle for precharge based on input voltage
Definition at line 192 of file pwrctrl.c.
◆ PwrCtrl_OffsetDatatypesInitalize()
void PwrCtrl_OffsetDatatypesInitalize |
( |
void | | ) |
|
- Returns
- void
This function resets current sensor offsets
Definition at line 214 of file pwrctrl.c.
◆ PwrCtrl_Reset()
void PwrCtrl_Reset |
( |
void | | ) |
|
- Returns
- void
This function resets the power control properties and control loop references.
Definition at line 85 of file pwrctrl.c.
◆ PwrCtrl_StartUpInitialize()
static void PwrCtrl_StartUpInitialize |
( |
void | | ) |
|
|
static |
- Returns
- void
This function initializes the Ramp Up configuration for voltage, current and power. For each parameters that would be ramped up, pointer to the reference, reference target pointer, increment/decrement step size, delay for each increment/decremnt counter for each execution need to be defined. When the reference becomes equal to the reference targe, the rampComplete data member will be set.
Definition at line 127 of file pwrctrl.c.
◆ psfb
The 'psfb' data object holds all status, control and monitoring values of the POWER_CONTROL_t power controller.
Definition at line 27 of file pwrctrl.c.