PEController BSP v4
Board Support Package for PEController from Taraz Technologies
 
Loading...
Searching...
No Matches
Functions

Functions

void ComputeDuty_SPWM (float theta, float modulationIndex, float *duties, bool dir)
 Get duty cycles of each leg using sinusoidal PWM.
 

Detailed Description

Function Documentation

◆ ComputeDuty_SPWM()

void ComputeDuty_SPWM ( float  theta,
float  modulationIndex,
float *  duties,
bool  dir 
)
extern
Parameters
thetaCurrent angle of Phase A in radians
modulationIndexModulation index for the PWM
dutiesPointer to the array where duty cycles need to be updated.
dirDirection of the three phase signal