Signal\Discrete
Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.
This model incorporates the basic functions of an analog to digital convertor: sample and hold, output window (i.e. restriction of the output between a minimum and maximum value) and quantization. The quantization is specified in bits. For example 8 bits quantization means the output has 2^8 - 1 = 255 possible values between the given minimum and maximum.
Inputs |
Description |
input |
|
Outputs |
|
output |
|
Parameters |
|
minimum maximum bits initial |
Minimum output value. Maximum output value Quantization levels (bits). Initial output |
• | The input of this model is a continuous signal. The output of this model is a discrete signal. 20-sim will automatically detect the existence of discrete models. Each chain of discrete models will be assigned a specific sampletime. You can set this sample time to any desired value in the Simulator (choose Properties, Simulation and Discrete System). |
• | The initial output is bounded by the window given by the minimum and maximum and rounded by the number of bits used. |