modelRelay

Relay

Extends from IndustrialControlSystems.Controllers.Interfaces.BaseBlock (partial interface for a continuous time control block).

Information

Description

On-Off relay controller.

            1 if u(t) >= 0
   y(t)  = 
            0 if u(t) < 0
  

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

TypeNameDefaultDescription
RealYmax1maximum output value
RealYmin0minimum output value
RealTh0input treshold value
Discretisation
RealTs (from BaseBlock)0Sampling time (if <= 0 continuous time)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu (from BaseBlock)input
Modelica.Blocks.Interfaces.RealOutputy (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.