modelRelayHysteresis
Relay with hysteresis
Extends from IndustrialControlSystems.Controllers.Interfaces.BaseBlock (partial interface for a continuous time control block).
Information
Description
On-Off relay with hysteresis controller.
1 if u(t) >= ThH and y(t) == 0
y(t) =
0 if u(t) < ThL and y(t) == 1
Characteristic

If the sampling time parameter Ts is less or equal to zero, ( Ts <= 0 ) The continuous time vesion is used, otherwise the discrete time one.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Ymax | 1 | maximum output value |
| Real | Ymin | 0 | minimum output value |
| Real | ThL | 0 | input treshold (low) value |
| Real | ThH | 0 | input treshold (high) value |
| Boolean | initState | false | initial state |
| Discretisation | |||
| Real | Ts (from BaseBlock) | 0 | Sampling time (if <= 0 continuous time) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from BaseBlock) | input | |
| Modelica.Blocks.Interfaces.RealOutput | y (from BaseBlock) | output |
Revisions
- Industrial Control Systems (v 1.0.0) : April-May 2012
- List of revisions:
- 11 May 2012 (author: Marco Bonvini)
- Main Authors:
- Marco Bonvini; <bonvini@elet.polimi.it>
- Alberto Leva <leva@elet.polimi.it>
- Politecnico di Milano
- Dipartimento di Elettronica e Informazione
- Via Ponzio 34/5
- 20133 Milano - ITALIA -
- Copyright:
- Copyright © 2010-2012, Marco Bonvini and Alberto Leva.
- The IndustrialControlSystems package is free software; it can be redistributed and/or modified under the terms of the Modelica license.