WOLFRAM SYSTEM MODELER

AD_DA_conversion

Conversion circuit

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Analog.Examples.AD_DA_conversion"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The simple converter circuit converts an analog sine signal into a N-bit (by default a 4 bit) logic signal, which is converted backward into an analog signal.

  • Simulate for 0.2 s.

Compare the input voltage (aD_Converter.p.v) with the output voltage (dA_Converter.p.v). By changing N the influence of the digital signal width can be studied. Otherwise the trigger frequency pulse.period can be changed to see its influence.

Parameters (1)

N

Value: 7

Type: Integer

Description: Digital signal width

Components (6)

aD_Converter

Type: AD_Converter

Description: Simple n-bit analog to digital converter

pulse

Type: Pulse

Description: Digital Pulse Source

dA_Converter

Type: DA_Converter

Description: Simple digital to analog converter

ground

Type: Ground

Description: Ground node

sineVoltage

Type: SineVoltage

Description: Sine voltage source

resistor

Type: Resistor

Description: Ideal linear electrical resistor

Revisions

  • October 13, 2009 by Matthias Franke