Filter Coefficient Arrays, Number Format Handling and Input/Output History Parameters. More...
#include <power_control/drivers/npnz16b.h>
Data Fields | |
volatile int32_t * | ptrACoefficients |
Pointer to A coefficients located in X-space. More... | |
volatile int32_t * | ptrBCoefficients |
Pointer to B coefficients located in X-space. More... | |
volatile fractional * | ptrControlHistory |
Pointer to n delay-line samples located in Y-space with first sample being the most recent. More... | |
volatile fractional * | ptrErrorHistory |
Pointer to n+1 delay-line samples located in Y-space with first sample being the most recent. More... | |
volatile uint16_t | ACoefficientsArraySize |
Size of the A coefficients array in X-space. More... | |
volatile uint16_t | BCoefficientsArraySize |
Size of the B coefficients array in X-space. More... | |
volatile uint16_t | ControlHistoryArraySize |
Size of the control history array in Y-space. More... | |
volatile uint16_t | ErrorHistoryArraySize |
Size of the error history array in Y-space. More... | |
volatile int16_t | normPreShift |
Normalization of ADC-resolution to Q15 (R/W) More... | |
volatile int16_t | normPostShiftA |
Normalization of A-term control output to Q15 (R/W) More... | |
volatile int16_t | normPostShiftB |
Normalization of B-term control output to Q15 (R/W) More... | |
volatile int16_t | normPostScaler |
Control output normalization factor (Q15) (R/W) More... | |
volatile int16_t | PTermScaler |
Q15 P-Term Coefficient Bit-Shift Scaler (R/W) More... | |
volatile int16_t | PTermFactor |
Q15 P-Term Coefficient Factor (R/W) More... | |
Data Fields inherited from NPNZ16b_s | |
volatile struct NPNZ_STATUS_s | status |
Control Loop Status and Control flags. More... | |
volatile struct NPNZ_PORTS_s | Ports |
Controller input and output ports. More... | |
volatile struct NPNZ_FILTER_PARAMS_s | Filter |
Filter parameters such as pointer to history and coefficient arrays and number scaling. More... | |
volatile struct NPNZ_GAIN_CONTROL_s | GainControl |
Parameter section for advanced control options. More... | |
volatile struct NPNZ_LIMITS_s | Limits |
Input and output clamping values. More... | |
volatile struct NPNZ_ADC_TRGCTRL_s | ADCTriggerControl |
Automatic ADC trigger placement options for ADC Trigger A and B. More... | |
volatile struct NPNZ_DATA_PROVIDERS_s | DataProviders |
Automated data sources pushing recent data points to user-defined variables. More... | |
volatile struct NPNZ_EXTENSION_HOOKS_s | ExtensionHooks |
User extension function triggers using function pointers with parameters. More... | |
volatile struct NPNZ_USER_DATA_BUFFER_s | Advanced |
Parameter section for advanced user control options. More... | |
Filter Coefficient Arrays, Number Format Handling and Input/Output History Parameters.
The NPNZ_FILTER_PARAMS_t data object holds all configuration parameters of the compensation filter. These parameters include pointers to external arrays of filter coefficients, error and control history as well as number format normalization parameters like pre- and post- scalers.
volatile uint16_t ACoefficientsArraySize |
volatile uint16_t BCoefficientsArraySize |
volatile uint16_t ControlHistoryArraySize |
volatile uint16_t ErrorHistoryArraySize |
volatile int16_t normPostScaler |
volatile int16_t normPostShiftA |
volatile int16_t normPostShiftB |
volatile int16_t normPreShift |
volatile int16_t PTermFactor |
volatile int16_t PTermScaler |
volatile int32_t* ptrACoefficients |
volatile int32_t* ptrBCoefficients |
volatile fractional* ptrControlHistory |
volatile fractional* ptrErrorHistory |