modelQuantizerUP

first order quantizer of a Real signal

Information

This model implements a first order quantization method, translating the real input into series of messages with value equal to the input signal.

A message is generated every time the input signal changes its value in a quantum q. The Threshold parameter is used to define the accuracy in the detection of the signal variation. The EType parameter defines the value for the type variable of the generated message.

Parameters

TypeNameDefaultDescription
RealThreshold1e-010Detection value threshold
IntegerEType1Type of the message to generate

Connectors

TypeNameDefaultDescription
Interfaces.outPortoutport
Modelica.Blocks.Interfaces.RealInputu

Components

TypeNameDefaultDescription
Realq1Quantum value