FUNCTION REFERENCE

pidstd

Standard-form PID controller object.

Standard-form PID controller object.

Syntax

C = pidstd(Kp)

Syntax

C = pidstd(Kp,Ti)

Syntax

C = pidstd(Kp,Ti,Td)

Syntax

C = pidstd(Kp,Ti,Td,N)

Syntax

C = pidstd(Kp,Ti,Td,N,Ts)

Syntax

C = pidstd(Cpar)

C = Kp*(1 + 1/(Ti*s) + Td*s/((Td/N)*s+1)); Ti = Inf (default) removes the integral term, Td = 0 (default) the derivative and N = Inf (default) its filter. Properties Kp, Ti, Td, N, Ts, IFormula, DFormula, InputName and OutputName. Conversions and arithmetic behave as for pid; discrete forms use the forward-Euler integrator. pidstd(Cpar) converts a pid object with nonzero Kp.

Example

C=pidstd(2,4,0.5,10); tf(C)

Example

C=pidstd(1,2); Cp=pid(C)

Differences from MATLAB: same limits as pid; only the 'ForwardEuler' formulas.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.