.Modelica.Clocked.RealSignals.Sampler.SampleWithADeffects

Sample with (simulated) Analog-Digital converter effects including noise

Information

This block is similar to the Sample block. The only difference is that after the sampling of the input signal, simulated real-world effects are applied on the sampled signal. In particular:

Example

The following example samples a sine signal with a periodic clock of 20 ms period, and adds the following effects:

SampleWithADeffects_Model.png     SampleWithADeffects_Result.png
model simulation result


The output y is quite far away from the continuous-time input signal, due to the strong discretization and large noise applied to the sampled input.


Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos