AM243x Motor Control SDK  09.02.00
APIs for sensorless speed calculation

Introduction

Here is the list of function APIs

Files

file  speedcalc.h
 Contains speed calculation functions.
 

Data Structures

struct  SPDCALC_Obj
 

Functions

SPDCALC_Handle SPDCALC_init (void *pMemory, const size_t numBytes)
 Set the SPDCALC controller. More...
 
void SPDCALC_reset (SPDCALC_Handle handle)
 Set the SPDCALC controller. More...
 
void SPDCALC_setParams (SPDCALC_Handle handle, const USER_Params *pUserParams)
 Set the SPDCALC controller. More...
 
static float32_t SPDCALC_getSpeedHz (SPDCALC_Handle handle)
 Set the SPDCALC controller. More...
 
static void SPDCALC_run (SPDCALC_Handle handle, float32_t theta)
 Set the SPDCALC controller. More...
 

Typedefs

typedef struct _SPDCALC_obj_ * SPDCALC_Handle
 Defines the ESMO handle. More...
 

Typedef Documentation

◆ SPDCALC_Handle

typedef struct _SPDCALC_obj_* SPDCALC_Handle

Defines the ESMO handle.

Function Documentation

◆ SPDCALC_init()

SPDCALC_Handle SPDCALC_init ( void *  pMemory,
const size_t  numBytes 
)

Set the SPDCALC controller.

Parameters
[in]pMemoryA pointer to the memory for the SPDCALC object
[in]numBytesThe number of bytes allocated for the SPDCALC object, bytes
Returns
The handle to SPDCALC object

◆ SPDCALC_reset()

void SPDCALC_reset ( SPDCALC_Handle  handle)

Set the SPDCALC controller.

Parameters
[in]handleThe ESMO controller handle

◆ SPDCALC_setParams()

void SPDCALC_setParams ( SPDCALC_Handle  handle,
const USER_Params pUserParams 
)

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle
[in]pUserParamsThe pointer to User_Params object

◆ SPDCALC_getSpeedHz()

static float32_t SPDCALC_getSpeedHz ( SPDCALC_Handle  handle)
inlinestatic

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle

◆ SPDCALC_run()

static void SPDCALC_run ( SPDCALC_Handle  handle,
float32_t  theta 
)
static

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle
[in]thetaThe rotor angle in radians