blockDAconverter
Digital to analog converter (including zero order hold)
Extends from Interfaces.PartialSISO_equality (Partial Single Input Single Output (continuous or discrete) control block of Controller library where usually y=u if continuous block).
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 : no quantization error) | |
| Boolean | unitDelay | true | True, if one sample period delay, otherwise computing time not modelled |
| Types.BlockTypeWithGlobalDefault | blockType (from PartialSISO_equality) | Modelica_LinearSystems2.Controllers.Types.BlockTypeWithGlobalDefault.UseSampleClockOption | Type of block |
| Boolean | continuous (from PartialSISO_equality) | blockType == Types.BlockTypeWithGlobalDefault.Continuous or blockType == Types.BlockTypeWithGlobalDefault.UseSampleClockOption and sampleClock.blockType == Types.BlockType.Continuous | True, if continuous block, otherwise discrete block |
| Discrete block parameters | |||
| Integer | sampleFactor (from PartialSISO_equality) | 1 | Sample factor for sample time (Ts = sampleFactor * sampleClock.sampleTime) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from PartialSISO_equality) | Continuous or discrete input signal of block | |
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialSISO_equality) | Continuous or discrete output signal of block |