Bar Logo Dual Active Bridge Development Board (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
pwrctrl_isr.c File Reference

Contains Control loop interrupt Callback that acquires the ADC raw data and process it in the control loop, and use the control output for the PWM distribution for this converter. More...

#include <xc.h>
#include <math.h>
#include <stdbool.h>
#include <stdlib.h>
#include "timer/sccp1.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 dependency graph for pwrctrl_isr.c:

Go to the source code of this file.

Functions

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.
 
void PwrCtrl_PeriodModulator (void)
 
void PwrCtrl_UpdateADConverterData (void)
 This function updates the DAB data members with ADC raw values.
 
void PwrCtrl_ControlLoopExecute (void)
 
void PwrCtrl_10KHzVPLoopPrepareData (void)
 This function prepares the data for control loop and selects which control loop will be executed.
 
void ControlLoop_Interrupt_CallBack (void)
 Executes the power converter control loop.
 

Detailed Description

<>

Definition in file pwrctrl_isr.c.

Function Documentation

◆ PwrCtrl_ControlLoopExecute()

void PwrCtrl_ControlLoopExecute ( void  )

Definition at line 228 of file pwrctrl_isr_extension.c.

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

◆ PwrCtrl_PeriodModulator()

void PwrCtrl_PeriodModulator ( void  )
+ Here is the caller graph for this function: