modelCruiseControl

Simple cruise control model

Extends from Modelica.Icons.RoundSensor (Icon representing a round measurement device).

Information

Gets information from the driver interface:

  • reference speed
  • preview of reference speed (the preview time is communicated via the driver interface to the driving cycle.
  • actual speed
  • actual acceleration

A PI-controller reacts on the control error = vRef(t + tPreview) - ( v(t) + a(t)*tPreview ). This signal is split into the throttle and the brake signal.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeTTime constant of torque rise
Modelica.Units.SI.TorquetauMaxMaximal torque of motor
Modelica.Units.SI.InertiaJMoment of inertia of motor
Modelica.Units.SI.LengthRsubSubstitute wheel radius motor - track
Modelica.Units.SI.MassmDynSubstitute (dynamic) mass
Realkp(mDyn + J/Rsub^2)/(2*T)/(tauMax/Rsub)Proportional gain of speed controller
Modelica.Units.SI.TimeTi4*TIntegral time constant of speed controller

Connectors

TypeNameDefaultDescription
Interfaces.DriverInterfacedriverInterface

Components

TypeNameDefaultDescription
Modelica.Blocks.Continuous.LimPIDPID
Modelica.Blocks.Sources.ConstanttPreviewDummy
Components.SplitPIsplitPI