blockDiscreteDAconverter
Digital to analog converter as discrete block (including zero order hold)
Extends from Interfaces.PartialDiscreteSISO_equality (Common discrete part of blocks extending from PartialSISO_equality).
Information
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y_max | Upper limit of output signal | |
| Real | y_min | Lower limit of output signal | |
| Integer | bits | Number of bits (=0 means no quantization error) | |
| Boolean | unitDelay | true | True, if one sample period delay, = false, if computing time not modelled |
| Integer | sampleFactor (from PartialDiscreteSISO_equality) | 1 | Sample factor (Ts = sampleFactor * sampleClock.sampleTime) |
| Modelica.Units.SI.Time | Ts (from PartialDiscreteSISO_equality) | sampleClock.sampleTime*sampleFactor | Sample time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from PartialDiscreteSISO_equality) | Continuous or discrete input signal of block | |
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialDiscreteSISO_equality) | Continuous or discrete output signal of block |