Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
Power Control Configuration

Contains Power Control Configuration. More...

+ Collaboration diagram for Power Control Configuration:

Files

file  pwrctrl.c
 Contains power control initialization including control loop initialization and start-up initialization, and the power control execution.
 

Functions

void PwrCtrl_Initialize (void)
 Initialize the power control parameters.
 
void PwrCtrl_Execute (void)
 Executes the power control state machine.
 
void PwrCtrl_Reset (void)
 Resets the power control properties.
 
static void PwrCtrl_StartUpInitialize (void)
 Initialize the StartUp Ramp configuration.
 
static void PwrCtrl_ControlLoopInitialize (void)
 Initializes the control loop.
 
void PwrCtrl_MaxDutyCycle (void)
 Calculates the max duty cycle for precharge.
 
void PwrCtrl_OffsetDatatypesInitalize (void)
 reset offset data types
 

Variables

POWER_CONTROL_t psfb
 Global data object for a PSFB Converter.
 

Detailed Description

This document includes the power control initialization and execution functions.

Function Documentation

◆ 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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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.

+ Here is the call graph for this function:

◆ 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.

+ Here is the call graph for this function:

◆ 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.

+ Here is the call graph for this function:

◆ 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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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.

+ Here is the caller graph for this function:

Variable Documentation

◆ 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.