Data Structures | Macros | Typedefs | Functions
speed_observer.h File Reference
#include "device.h"

Go to the source code of this file.

Data Structures

struct  _SPD_OBSERVER_obj_
 

Macros

#define SPD_OBSERVER_DEFAULTS
 

Typedefs

typedef struct _SPD_OBSERVER_obj_ SPD_OBSERVER
 

Functions

static float32_t SPD_OBSERVER_run (SPD_OBSERVER *obs, float32_t theta, float32_t IqErr, float32_t Ts, float32_t thetaMax)
 
static float32_t runSpeedObserve (SPD_OBSERVER *obs, float32_t theta)
 

Macro Definition Documentation

◆ SPD_OBSERVER_DEFAULTS

#define SPD_OBSERVER_DEFAULTS
Value:
{ \
0.0f, /* Ref */ \
0.0f, /* Fbk */ \
0.0f, /* Err */ \
0.0f, /* Out */ \
0.0f, /* Kp */ \
0.0f, /* Ki */ \
0.0f, /* KiT */ \
1.0f, /* Umax */ \
-1.0f, /* Umin */ \
0.0f, /* up */ \
0.0f, /* ui */ \
0.0f, /* IqMax */ \
0.1f, /* IqKf */ \
0.1f /* thetaMax */ \
}

Typedef Documentation

◆ SPD_OBSERVER

Function Documentation

◆ SPD_OBSERVER_run()

static float32_t SPD_OBSERVER_run ( SPD_OBSERVER obs,
float32_t  theta,
float32_t  IqErr,
float32_t  Ts,
float32_t  thetaMax 
)
inlinestatic

◆ runSpeedObserve()

static float32_t runSpeedObserve ( SPD_OBSERVER obs,
float32_t  theta 
)
inlinestatic

Copyright 2023, Texas Instruments Incorporated