MotorWare f2806x Module API Documentation
Data Structures | Macros | Typedefs | Functions
float/svgen.h File Reference

Contains the public interface to the Space Vector Generator (SVGEN) module routines. More...

#include "sw/modules/types/src/types.h"
#include "sw/modules/math/src/float/math.h"

Go to the source code of this file.

Data Structures

struct  _SVGEN_Obj_
 Defines the Space Vector Generator object. More...
 

Macros

#define SVGEN_SQRT3_OVER_2   ((float_t)(0.8660254038))
 Defines sqrt(3)/2. More...
 

Typedefs

typedef struct _SVGEN_Obj_ SVGEN_Obj
 Defines the Space Vector Generator (SVGEN) object. More...
 
typedef struct _SVGEN_Obj_SVGEN_Handle
 Defines the SVGEN handle. More...
 

Functions

static float_t SVGEN_getOneOverDcBus_invV (SVGEN_Handle handle)
 Gets the one over DC bus voltage value. More...
 
SVGEN_Handle SVGEN_init (void *pMemory, const size_t numBytes)
 Initializes the space vector generator module. More...
 
static void SVGEN_run (SVGEN_Handle handle, const MATH_vec2 *pVab_V, MATH_vec3 *pVabc_pu)
 Implements a SVM that saturates at the level of MaxModulation. More...
 
static void SVGEN_setOneOverDcBus_invV (SVGEN_Handle handle, const float_t oneOverDcBus_invV)
 Sets the one over DC bus voltage value. More...
 
static void SVGEN_setup (SVGEN_Handle handle, const float_t oneOverDcBus_invV)
 Sets up the space vector generator (SVGEN) module. More...
 

Detailed Description

Contains the public interface to the Space Vector Generator (SVGEN) module routines.

(C) Copyright 2014, Texas Instruments, Inc.

Definition in file float/svgen.h.

Function Documentation

static void SVGEN_run ( SVGEN_Handle  handle,
const MATH_vec2 pVab_V,
MATH_vec3 pVabc_pu 
)
inlinestatic

Implements a SVM that saturates at the level of MaxModulation.

Parameters
[in]handleThe space vector generator (SVGEN) handle
[in]pVab_VThe pointer to the alpha/beta voltages, V
[in]pVabc_puThe pointer to the three phase voltages, pu

Definition at line 113 of file float/svgen.h.

References _SVGEN_Obj_::oneOverDcBus_invV, SVGEN_getOneOverDcBus_invV(), SVGEN_SQRT3_OVER_2, _MATH_vec2_::value, and _MATH_vec3_::value.