D/A Converter
Simple digital to analog converter
Description
Equations
Connections
Parameters
Modelica Standard Library
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.
y=vp−vn=Vlsb⁢∑i=1Nxi⁢2i−1
Vlsb=Vref2N−1
ip+in=0
Name
Modelica ID
trig
Trigger input (Logic)
x
Input vector of Logic signals
p
Positive electrical output
n
Negative electrical output
Default
Units
N
8
Resolution in bits - input signal width
Vref
10
V
Reference voltage
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