|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
Functions | Variables
pwrctrl_isr_extension.c File Reference
Power Control » Interrupt Routine and Functions

Contains some of the functions used in the interrupt service routine of control loop. More...

`#include <xc.h>`
`#include <math.h>`
`#include <stdbool.h>`
`#include <stdlib.h>`
`#include "adc/adc_types.h"`
`#include "adc/adc1.h"`
`#include "system/pins.h"`
`#include "config/macros.h"`
`#include "config/config.h"`
`#include "pwrctrl.h"`
`#include "fault/fault.h"`
`#include "dcdt/pwrctrl_dcdt.h"`
Include dependency graph for pwrctrl_isr_extension.c:

Go to the source code of this file.

## Functions
static void | PwrCtrl_AdaptiveGainUpdate (void)
| Updates the Adaptive gain for the power converter control loop.
void | PwrCtrl_UpdateADConverterData (void)
| This function updates the DAB data members with ADC raw values.
void | PwrCtrl_10KHzVPLoopPrepareData (void)
| This function prepares the data for control loop and selects which control loop will be executed.
void | PwrCtrl_ControlLoopExecute (void)
| Executes the power converter control loop.
void | PwrCtrl_PrimToSecPHDegree (void)
| This function updates the DAB data members with phase values normalized in degree.
void | PwrCtrl_DeadTimeAdjust (void)
| This function updates the DAB data members dead time based on load.

## Variables
AVERAGING_t | vPrimAveraging
| Data Object of primary voltage averaging.
AVERAGING_t | vSecAveraging
| Data Object of secondary voltage averaging.
AVERAGING_t | iSecAveraging
| Data Object of secondary current averaging.
static bool | VLoopInterleaveExec = true

## Detailed Description

<>

Definition in file pwrctrl_isr_extension.c.

## Variable Documentation

## ◆ VLoopInterleaveExec

bool VLoopInterleaveExec = true
| static

Definition at line 54 of file pwrctrl_isr_extension.c.