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

Online Help

All Products    Maple    MapleSim


D/A Converter

Simple digital to analog converter

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The D/A Converter (or DA Converter) component is a simple digital to analog converter with an input signal width of N bits.

The input signal is an N-vector of type Logic.

The output voltage of value y is generated by an ideal voltage source. The output changes when the trigger signal trig of type Logic changes to 1 (forced or weak).

The first bit in the input vector, x1, is the least significant.

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

Equations

y=vpvn=Vlsbi=1Nxi2i1

Vlsb=Vref2N1

ip+in=0

Connections

Name

Description

Modelica ID

trig

Trigger input (Logic)

trig

x

Input vector of Logic signals

x

p

Positive electrical output

p

n

Negative electrical output

n

Parameters

Name

Default

Units

Description

Modelica ID

N

8

 

Resolution in bits - input signal width

N

Vref

10

V

Reference voltage

Vref

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