FRID – Frequency response identification

Block SymbolLicensing group: ADVANCED
PIC

Function Description
The function block description is not yet available. Below you can find partial description of the inputs, outputs and parameters of the block. Complete documentation will be available in future revisions.

Inputs

dv

Feedforward control variable

double

pv

Process variable

double

ID

Start the tuning experiment

bool

HLD

Hold

bool

BRK

Stop the tuning experiment

bool

Parameters

ubias

Static component of the exciting signal

double

uamp

Amplitude of the exciting signal  1.0

double

wb

Frequency interval lower limit [rad/s]  1.0

double

wf

Frequency interval higher limit [rad/s]  10.0

double

isweep

Frequency sweeping mode  1

long

1 ....

Logarithmic

2 ....

Linear

cp

Sweeping Rate  0.995

double

iavg

Number of values for averaging  10

long

obw

Observer bandwith  2

long

1 ....

LOW

2 ....

NORMAL

3 ....

HIGH

stime

Settling period [s]  10.0

double

umax

Maximum generator amplitude  1.0

double

thdmin

Minimum demanded THD treshold  0.1

double

adapt_rc

Maximum rate of amplitude variation  0.001

double

pv_max

Maximum desired process value  1.0

double

pv_sat

Maximum allowed process value  2.0

double

ADAPT_EN

Enable automatic amplitude adaptation  on

bool

immode

Mesurement mode  1

long

1 ....

Manual specification of frequency points

2 ....

Linear series of nmw points in the interval <wb;wf>

3 ....

Logarithmic series of nmw points in the interval <wb;wf>

4 ....

Automatic detection of important frequencies (N/A)

nwm

Number of frequency response point for automatic mode

long

wm

Frequency measurement points for manual meas. mode [array of rad/s]  [2.0 4.0 6.0 8.0]

double

Outputs

mv

Manipulated variable (controller output)

double

SAT

Saturation flag

bool

IDBSY

Tuner busy flag

bool

w

Actual frequency [rad/s]

double

xres

real part of frequency response (sweeping)

double

xims

imaginary part of frequency response (sweeping)

double

xrem

real part of frequency response (measurement)

double

ximm

imaginary part of frequency response (measurement)

double

epv

Estimated process value

double

IDE

Error indicator

bool

iIDE

Error code

long

A0

Estimated DC value

double

A1

Estimated 1st harmonics amlitude

double

A2

Estimated 2nd harmonics amlitude

double

A3

Estimated 3rd harmonics amlitude

double

A4

Estimated 4th harmonics amlitude

double

A5

Estimated 5th harmonics amlitude

double

THD

Total harmonic distorsion

double

DAV

Data Valid

bool