AD Converter - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

A/D Converter

Simple n-bit analog to digital converter

 

Description

Connections

Parameters

Modelica Standard Library

Description

The A/D Converter (or AD Converter) component is a simple analog to digital converter with a resolution of  bits.

The input voltage is converted to an -vector of type Logic.

The input resistance between positive and negative pin is given by .

The input signal range  is divided into  equally spaced stages of length .

The output signal is the binary code of  as long as the input voltage takes values in the -th stage, namely in the range from  to  .

The output only changes its value when the trigger signal  of type Logic changes to 1 (forced or weak).

The output vector is little-endian, that is, the first bit, , is the least significant.

Dynamic behavior is not modeled; the output changes instantaneously when the trigger signal rises.

Connections

Name

Description

Modelica ID

Positive electrical input

p

Negative electrical input

n

Output vector of Logic signals

y

Trigger input (Logic)

trig

Parameters

Name

Default

Units

Description

Modelica ID

 

Resolution in bits - output signal width

N

Input resistance

Rin

High reference voltage

VRefHigh

Low reference voltage

VRefLow

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Analog Components

Analog Converters

Electrical Library

 


Download Help Document