EPC9143 300 W 16th Brick DC/DC Module Reference Design

Private functions of the application layer of the power control task. More...

+ Collaboration diagram for Private Functions:

Functions

volatile uint16_t appPowerSupply_ConverterObjectInitialize (void)
 This function initializes the buck converter device driver instance. More...
 
volatile uint16_t appPowerSupply_ControllerInitialize (void)
 This function initializes the control system feedback loop objects. More...
 
volatile uint16_t appPowerSupply_PeripheralsInitialize (void)
 This function is used to load peripheral configuration templates from the power controller device driver. More...
 
void appPowerSupply_CurrentBalancing (void)
 This function performs current balancing between the power supply phases. More...
 

Detailed Description

Private functions of the application layer of the power control task.

The private functions of the power control application layer are used to configure the generic power controller device driver defined in dev_buck_typedef.h as well as to provide additional functions required by the specific hardware design.

Function Documentation

◆ appPowerSupply_ControllerInitialize()

volatile uint16_t appPowerSupply_ControllerInitialize ( void  )

This function initializes the control system feedback loop objects.

Returns
0=failure
1=success

This function allows the user to set up and initialize the loop configuration. This includes the following setup.

  • Initialize Default Loop Configuration
  • Set Controller Object of Voltage Loop
  • Configure Voltage Loop Controller Object
  • Configure controller input/output ports
  • Data Input/Output Limit Configuration
  • ADC Trigger Control Configuration
  • Data Provider Configuration
  • Cascaded Function Configuration
  • Initialize Advanced Control Settings
  • Custom Advanced Control Settings

Definition at line 305 of file app_power_config.c.

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

◆ appPowerSupply_ConverterObjectInitialize()

volatile uint16_t appPowerSupply_ConverterObjectInitialize ( void  )

This function initializes the buck converter device driver instance.

Returns
unsigned integer (0=failure, 1=success)

This function initialize the buck converter object status, reset the buck state machine, set reference values, clear the runtime data, initialize the switch node, and setup the feedback channels and start-up settings.

< Master time base is disabled, synchronization is established among PWM generators

Definition at line 66 of file app_power_config.c.

+ Here is the caller graph for this function:

◆ appPowerSupply_CurrentBalancing()

void appPowerSupply_CurrentBalancing ( void  )
inline

This function performs current balancing between the power supply phases.

Returns
unsigned integer (0=failure, 1=success)

Current balancing in this design is performed on a 10 kHz frequency, triggered by the general state machine execution period. In each step the current sense feedback signals of each phase are compared. Phase #1 is considered to be the leading phase while all others are power multipliers.

If the current sense feedback signal of phase #2 is lower than that of phase #1, a static duty ratio offset of one PWM time-base tick is added to the duty ratio of phase #2 forcing more current flowing through phase #2, effectively shifting current from phase #1 to phase #2.

If the current sense feedback signal of phase #2 is higher than that of phase #1, the static duty ratio offset of phase #2 is reduced by one PWM time-base tick to force less current flowing through phase #2, effectively shifting current from phase #2 to phase #1.

Over several current balancing cycles this offset will accumulate until the phase currents are balanced.

Additional noise-floor signal filters are used to ensure the current balancing does not respond to small differences in immediate ADC samples.

Definition at line 320 of file app_power_control.c.

◆ appPowerSupply_PeripheralsInitialize()

volatile uint16_t appPowerSupply_PeripheralsInitialize ( void  )

This function is used to load peripheral configuration templates from the power controller device driver.

Returns
0=failure
1=success

This function hand over the peripheral configuration to the buck converter driver

Definition at line 420 of file app_power_config.c.

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