Amp integrator

| Vectorized | C |
in the palette on the schematic

The block performs numerical integration with a limitation. The block is vectorized, it is a submodel (assembly). To view the structure of the algorithm, right-click Actions → Enter to the submodel. The block operation algorithm implements numerical integration of the input signal(s).

Inputs

  • Derivative — a directly integrable value OR a logic signal -1, 0, +1 is supplied to the block. In the second case, the block uses the "Time constant" signal, which determines the rate of increase(decrease) of the integral. If the derivative is an integrable one, then the "Time Constant" should be set to one.
  • Translated input — a signal directly transmitted to the output of the block, if the "Sign of translation" = 1.
  • Sign of translation — a logic signal. If it is equal to 1, then the value "Translated input" is transmitted to the output of the block.
  • Sign of fixation — a logic signal. If it is equal to 1, then the value of the output signal of the block is fixed and then remains constant until the "Fixation feature" becomes equal to 0.
  • Integral offset — used in special cases, default = 0.
  • Time constant — the inverse of the derivative. It is used when a logical signal -1 ("less"), +1("more") or 0 is transmitted as a derivative. If an integer value (real derivative) is received as a derivative, then the "Time constant" should be set to = 1.
  • Maximum value — the limit of the integral "from above". The output signal of the block cannot be greater than this value.
  • Minimum value — the limit of the integral "from below". The output signal of the block is not less than this value.

Outputs

  • Integral — the value of the integral of the derivative (with limits), or the translated input (if there is a sign of translation), or a constant (if there is a sign of fixation).

Properties:

  • Number of variables — the number of integrable variables in the input vector;
  • Initial state — the values of the initial states for the integrals of the input variables.

Parameters

None