modelTestP_tracking

Test of the Proportional controller -- Tracking mode

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Description

In this example have been tested the tracking mode of the proportional controller.
The process to be controlled has the following transfer function

   Y(s)          (1+15s)
   ----  =  ----------------
   U(s)       (1+10s)(1+2s)
  
There are two processes:
  • with a P controller,
  • and a P controller with tracking mode

The output signal of the process controlled without tracking is the red line, while the green line is the output of the process controlled with the tracking mode.


The CS of the controller becomes equal to the track reference signal TR when the Track Switch signal becomes true.



Discrete time

If the model parameter Ts is >=0 the continuous time controllers are replaced by their discrete time versions.
The effect of various discretisation method can be studied.

Parameters

TypeNameDefaultDescription
Sampling time
RealTs0if Ts>=0 then discrete time controller, otherwise continuous time

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Stepstep
IndustrialControlSystems.Controllers.PR
IndustrialControlSystems.Controllers.PR_track
Modelica.Blocks.Sources.BooleanTableTSsignal
Modelica.Blocks.Sources.TimeTableTrackRef
LinearSystems.Continuous.TransferFunctionprocess
LinearSystems.Continuous.TransferFunctionprocessTrack

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.