modelDiscretePID
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Gain |
| SI.Time | T | Time Constant (T>0 required) | |
| SI.Time | period | 0.1 | Period of clock (defined as Real number) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Clocked.RealSignals.Sampler.SampleClocked | sample2 | ||
| Modelica.Clocked.RealSignals.Sampler.Hold | hold1 | ||
| Modelica.Clocked.RealSignals.NonPeriodic.PI | PI | ||
| Modelica.Clocked.ClockSignals.Clocks.PeriodicRealClock | periodicClock |