adapnex::core::PID::operator()

Function call operator

Synopsis

Declared in <adapnex/core/pid.h>

void
operator()(
    ProcessType const ACTUAL,
    ProcessType const SETPOINT,
    KpType const KP,
    Duration const TN,
    Duration const TV,
    ControlType const MIN_OUT,
    ControlType const MAX_OUT,
    bool const RESET,
    ControlType& OUT);

Parameters

Name

Description

ACTUAL

The current measured process variable (feedback).

SETPOINT

The target setpoint value.

KP

Proportional gain.

TN

Integral time / Reset time (Tn).

TV

Derivative time / Rate time (Tv).

MIN_OUT

Minimum allowed output limit.

MAX_OUT

Maximum allowed output limit.

RESET

Re‐initializes the controller, clearing the internal error history.

OUT

The computed control variable output.

Created with MrDocs