modelSmoothStepSignal

Smooth step Set Point generator, driven by signals

Extends from Interfaces.RealNinOperation (Real comparison interface).

Information

Description

Model of a smooth step signal.



The output ( y ) remains at its initial value yin until the enabling input ENup remains false.
Then the signal changes smoothly. After the smoth start the signal grows up linearly with a slope m. When the output signal is close to the final value yfin, it is reached smoothly.
The parameter alfa (that has to be coprises between 0 and 1), indicates the portion of the rising time occupied by the smooth junction.
In this case alfa = 0.1, this indicates that each junction occupy the 10 % of the total rising time.
The additional parameter Delay = 1.5, indicates that the output has to be delayed by 1.5 seconds.


Fixed Point not available in this model

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeTs (from RealNinOperation)0.1sampling time
IntegernInput (from RealNinOperation)1number of inputs
BooleanuseInputs (from RealNinOperation)true=true, if inputs are enabled
Fixed Point
BooleanFixedPoint (from RealNinOperation)falseUse fixed point real numbers
IntegerNbit (from RealNinOperation)16 Number of bits for representing the real numbers
RealscaleFactor (from RealNinOperation)1Scale factor for Fixed Point numbers
IntegerMAX (from RealNinOperation)integer(2^(Nbit - 1))maximum number that can be represented with Fixed Point notation
IntegerMIN (from RealNinOperation)-integer(2^(Nbit - 1)) + 1minimum number that can be represented with Fixed Point notation
Smooth step
Realalfa0.1Portion of time for parabolic junctions
Realyin0Output initial value
Realyfin1Output final value
Realm0.1Slope of the ramp
Realtin10Initial time
Realdelay0Delay

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nInput]u (from RealNinOperation)input vector
Modelica.Blocks.Interfaces.RealOutputy (from RealNinOperation)output
Modelica.Blocks.Interfaces.BooleanInputENup

Components

TypeNameDefaultDescription
Integer[nInput]Ufp (from RealNinOperation)floating point converted input
IntegerYfp (from RealNinOperation)floating point converted 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.