Skip to content

Class PllSinus

ClassList > PllSinus

Public Functions

Type Name
PllSinus ()
a software phase lock loop on a sinusoidal signal
PllSinus (float32_t Ts, float32_t amplitude, float32_t f0, float32_t rt)
PllDatas calculateWithReturn (float32_t signal)
uint8_t init (float32_t Ts, float32_t amplitude, float32_t f0, float32_t rt)
void reset (float32_t f0)

Public Functions Documentation

function PllSinus [1/2]

a software phase lock loop on a sinusoidal signal

inline PllSinus::PllSinus () 

Parameters:

  • Ts sample time in [s]
  • amplitude amplitude of the signal to track.
  • f0 mean frequency of the signal to track
  • rt rise time of the loop in [s].

function PllSinus [2/2]

PllSinus::PllSinus (
    float32_t Ts,
    float32_t amplitude,
    float32_t f0,
    float32_t rt
) 

function calculateWithReturn

PllDatas PllSinus::calculateWithReturn (
    float32_t signal
) 

function init

uint8_t PllSinus::init (
    float32_t Ts,
    float32_t amplitude,
    float32_t f0,
    float32_t rt
) 

function reset

void PllSinus::reset (
    float32_t f0
) 


The documentation for this class was generated from the following file docs/controlLibrary/src/filters.h