eeros_architecture:control_system:available_blocks:int
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:int [2017/04/06 13:41] – created graf | eeros_architecture:control_system:available_blocks:int [2021/07/07 20:06] (current) – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Integrator ====== | ====== Integrator ====== | ||
- | The gain block allows to amplify | + | The integrator |
- | examples. | + | |
<code cpp> | <code cpp> | ||
- | Gain< | + | setInitCondition(T val); |
</ | </ | ||
- | The first template parameter denotes | + | Without setting |
- | If a '' | + | An integrator can be enabled or disabled. |
<code cpp> | <code cpp> | ||
- | Gain< | + | enable(); |
- | | + | disable(); |
</ | </ | ||
+ | This, for instance, helps to stop integrating up a given input while handling an exception. Please note that an integrator is in the disabled state upon creation. Instead of enabling and disabling an integrator block manually, you can set an active safety level with | ||
+ | <code cpp> | ||
+ | setActiveLevel(safetySystem, | ||
+ | </ | ||
+ | If the active level is set, the integrator will be automatically be enabled if the current safety level is equal or greater than the active level. | ||
- | Another useful operation is a by multipliying an input matrix with a given gain matrix element by element. This is achieved | + | An integrator block can be limited, such that its integral does not run over a certain limit. This limit can be set by calling |
<code cpp> | <code cpp> | ||
- | Gain< | + | setLimit(T upper, T lower); |
</ | </ | ||
- | The third template parameter specifies an element-by-element multiplication. Please beware of the fact that in this case input signal | + | The default values for the limits are the positive |
eeros_architecture/control_system/available_blocks/int.1491478902.txt.gz · Last modified: 2017/04/06 13:41 by graf