Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Analog Output Primer: Difference between revisions

From Phidgets Legacy Support
No edit summary
Line 21: Line 21:
===Basic Use===
===Basic Use===


To use an analog output, simply connect the output terminals to the device you want to supply an analog signal to. Make sure that the device is specified to draw less current than the maximum current per channel of the analog output. If you exceed the maximum current of a Phidget Analog Output, an over-current error will be thrown, because passing the current limit will cause the output voltage to vary depending on the resistance of the load and thus lose accuracy. For example, the [http://www.phidgets.com/products.php?product_id=1002 1002 - PhidgetAnalog 4-Output] is most accurate when supplying 5 mA or less. The actual limit may vary from channel to channel, so it's a good idea to stay as far from the current limit as your application will allow.
To use an analog output, simply connect the output terminals to the device you want to supply an analog signal to. Make sure that the device is specified to draw less current than the maximum current per channel of the analog output. If you exceed the maximum current of a Phidget Analog Output, an over-current error will be thrown, because passing the current limit will cause the output voltage to vary depending on the resistance of the load and thus lose accuracy. For example, the [{{SERVER}}/products.php?product_id=1002 1002 - PhidgetAnalog 4-Output] is most accurate when supplying 5 mA or less. The actual limit may vary from channel to channel, so it's a good idea to stay as far from the current limit as your application will allow.


If you need to generate an analog signal with a higher current limit, you can build a simple amplifier circuit in between the analog output and the load.
If you need to generate an analog signal with a higher current limit, you can build a simple amplifier circuit in between the analog output and the load.

Revision as of 16:43, 10 August 2012


Introduction

An analog output is simply an interface that takes digital data and outputs it in the form of an analog signal. Since this type of output is meant to generate signals, it is usually low current (20mA or less) and is not meant to be used for supplying high-power devices. The current can't be controlled, so this output is only suitable for interfacing with devices that accept voltage signals.

Analog outputs are commonly used for generating simple waveforms for test purposes, employing dimmer control on low-current electronics, or controlling devices such as proportional control relays.

Technical Explanation

How it works

A simplified schematic of a Phidgets Inc. Analog Output.
Full-Sized Image

When the user selects an output value in software, the digital-to-analog converter (DAC) on the board converts this digital value into an analog voltage signal. The resulting signal is filtered through a ferrite bead, and reaches the output on the terminal block. The transil diode protects the analog outputs from electrostatic discharge.


Basic Use

To use an analog output, simply connect the output terminals to the device you want to supply an analog signal to. Make sure that the device is specified to draw less current than the maximum current per channel of the analog output. If you exceed the maximum current of a Phidget Analog Output, an over-current error will be thrown, because passing the current limit will cause the output voltage to vary depending on the resistance of the load and thus lose accuracy. For example, the 1002 - PhidgetAnalog 4-Output is most accurate when supplying 5 mA or less. The actual limit may vary from channel to channel, so it's a good idea to stay as far from the current limit as your application will allow.

If you need to generate an analog signal with a higher current limit, you can build a simple amplifier circuit in between the analog output and the load.