概要

設計リソース

設計サポートファイル

  • Schematic
  • Bill of Materials
  • Gerber Files
  • Assembly Files
  • Layout File
設計ファイルのダウンロード 3.71 M

評価用ボード

型番に"Z"が付いているものは、RoHS対応製品です。 本回路の評価には以下の評価用ボードが必要です。

  • EVAL-CN0554-RPIZ ($133.75) ±10 V Analog Input and ±15 V Analog Output for Raspberry Pi Platforms
在庫確認と購入

デバイス・ドライバ

コンポーネントのデジタル・インターフェースとを介して通信するために使用されるCコードやFPGAコードなどのソフトウェアです。

LTC2688 No-OS Device Driver

LTC2688 Linux Device Driver

AD7124 IIO Sigma-Delta ADC Linux Driver

AD7124 No-OS Software

機能と利点

  • 8-Psuedo differential inputs or 16-Single-ended inputs
  • Selectable Input Voltage range, up to ±13 V
  • 16 Single-ended Outputs
  • Up to ±15 V Outputs
  • All Power Rails Derived from the Raspberry Pi

回路機能とその特長

While the world continues to become more digital where compute power and digital functionality are more critical, the need to measure the environment and interact with real-world devices remains an analog function. To operate at the boundary of digital and analog domains, processors must include mixed-signal inputs/outputs and accommodate more software programmable ranges to be considered for many industrial, instrumentation, and automation applications.

The circuit shown in Figure 1 is a flexible, multichannel mixed-signal analog input/output (I/O) module. The 16 single-ended analog outputs are software configurable, with ranges of 0 V to 5 V, ±5 V, 0 V to 10 V, and ±15 V. Eight channels of fully differential analog input are provided with hardware selectable input ranges of 0 V to 2.5 V, ±13.75 V, and 0 V to 27.5 V.

The circuit is designed to mount directly on top of a Raspberry Pi, providing this popular single board computer an analog I/O interface. Software control is accessible through the Linux industrial input/output (IIO) framework, providing a host of debug and development utilities, cross-platform application programming interface (API) with language bindings for C, C#, MATLAB, Python, and more.

The software can run either locally on the Raspberry Pi or can be controlled remotely via a wired or wireless network connection. The 5 V power for the module is supplied via the Raspberry Pi interface connector, no additional power source is required. All these features make the system suitable for low power, local and remote, precision analog I/O applications.

Figure 1. CN0554 Simplified Block Diagram
Figure 1. CN0554 Simplified Block Diagram

回路説明

The CN0554 provides a complete analog I/O system for precision applications. The circuit can be subdivided into two main components, the analog-to-digital conversion (ADC) and the digital-to-analog conversion (DAC).

ANALOG INPUTS

The CN0554 can accommodate analog input voltage range up to 11 times of input attenuation through the on-board LT5400 external matched resistor network. This device increases the analog input voltage range via jumper selection.

Table 1 presents the complete jumper configuration and corresponding analog input voltage ranges for CN0554.

Table 1. Analog Input Range
Jumper Configuration Input Range
Short Pins 1 and 3,
and Pins 2 and 4
±13.75 V
Short Pins 3 and 5,
and Pins 2 and 6
0 V to 27.5 V
No Connection 0 V to 2.5 V

ANALOG-TO-DIGITAL CONVERSION

The CN0554 features the AD7124-8, a 24-bit Σ-Δ ADC with configurable analog inputs. Eight channels of the fully differential inputs or 16 single-ended input channels can be configured software, along with the programmable gain, filter settings, and output data rate.

The external voltage reference is jumper-selectable to either the internal band gap reference of the AD7124-8 or the 2.5 V output of the ADR4525, a high precision, low power, and low noise voltage reference. As the reference voltage drift directly impacts the accuracy of the ADC, the CN0554 uses an external reference because it exhibits a better temperature drift performance compared to an internal reference.

The Σ-Δ architecture of the AD7124-8 provides high resolution and noise rejection in small-signal sensor measurements, and even in high noise environments such as industrial settings. The output data rate is programmable from 1.17 SPS to 19.2 kSPS, with corresponding measurement resolutions from 24 nV rms to 72 μV rms, respectively; and several filter modes are available. This allows the resolution, data rate, and noise rejection of the CN0554 to be optimized for a wide range of applications.

DIGITAL-TO-ANALOG CONVERSION

The CN0554 features 16 single-ended, 16-bit analog outputs using the LTC2688 voltage output DAC. Each channel has an internal rail-to-rail output buffer that can source or sink up to 20 mA.

An LT8582 provides ±18 V supply rails to the LTC2688, allowing the DAC to fully utilize its analog output range up to ±15 V. The output range of each channel is independently programmable to five ranges listed in Table 2. The voltage reference is software programmable to use either the internal 4.096 V or the ADR4525 2.5 V reference used for the ADC. Each channel also supports 5% overrange.

Table 2. Voltage Output Range Scaling
Output Range Scaling Internal Reference
(VREF = 4.096 V)
External Reference
(VREF = 2.5 V)
0 V to 5 V × (VREF / 4.096) 0 V to 5 V 0 V to 3.05 V
0 V to 10 V × (VREF / 4.096) 0 V to 10 V 0 V to 6.10 V
±5 V × (VREF / 4.096) ±5 V ±3.05 V
±10 V × (VREF / 4.096) ±10 V ±6.10 V
±15 V × (VREF / 4.096) ±15 V ±9.15 V

TOGGLE AND DITHER FUNCTIONALITY

The CN0554 supports both toggle and dither capabilities. The toggle function enables fast switching of a DAC output between two different DAC codes without any SPI transaction, thereby eliminating communication transactions. Examples include injection of a small dc bias, or independently switching between on and off states.

Dithering reduces quantization error in precision applications and is done by spreading nonlinearities across several output codes. This function is useful in many applications requiring the ac signal to be superimposed around the average dc value of a signal. One example is in optical applications wherein the secondary characteristic of an optical path can be measured by its response to a small ac signal. Moreover, dither reduces stiction in mechanical systems such as spool valves, speeding up response when the position of the spool is changed.

Toggle Operation


As shown in Figure 2, each channel supports the toggle operation which allows controlled switching of the output voltage between two values set through software. The switching is controlled by a toggle signal, which can be sourced from one of three different external digital inputs (designated as TGP0, TGP1, and TGP2) from the Raspberry Pi or an internal software-controlled register. Two of the three digital signals, TGP0 and TGP1, connect to Raspberry Pi digital outputs, which support pulse-width modulation (PWM).

CN0554_02
Figure 2. Toggle and Dither Operation Block Diagram
 

Figure 3 displays an example toggle operation performed by the CN0554. The output voltage swings between zero-scale and fullscale values in response to the toggle pins, with measured peak-to-peak voltage of 33.0 V at 1 kHz.

 

Figure 3. Zero-Scale to Full-scale Output Voltage Toggle

 

Dither Operation


In CN0554, each channel also supports the dither operation which adds a sinusoidal dither signal to the analog output. The sinusoid is generated using a lookup table with values from Equation 1.

 

Equation to generate values for the sinusoid lookup table

 

where:
n = 0, 1, 2, … N — 1.
N is the signal period.
φ0 is the signal phase angle, initial signal phase.

The CN0554 allows configuration for the dither signal's amplitude, period, and phase angle.

The amplitude of the dither signal is set through software and can range from 0 to 25% of the set maximum output voltage.

To set the dither frequency, a dither clock input is required and selectable from any of the three external digital inputs, TGP0, TGP1, and TGP2, from the Raspberry Pi. Two of the external inputs, TGP0 and TGP1, are connected to Raspberry Pi digital outputs with a PWM feature allowing for easy configuration of the clock frequency.

The frequency of the dither signal is set from the dither clock input divided by a software configurable divider of 4, 8, 16, 32, and 64, such that the frequency of the resulting dither signal is computed using Equation 2:

 

Equation for calculating the frequency of the dither signal

 

where:
fsignal is the frequency of the resulting dither signal.
fPWM is the PWM clock frequency.
N is the divider.

The dither phase angle is configurable to four different values: 0, 90, 180, and 270. All these parameters enable precise control of dithered DAC channel outputs.

Figure 4 shows an example dither operation performed by the CN0554 at mid-scale output voltage for maximum signal period, with peak-to-peak voltage of 15.04 V at 1 kHz dither clock.

 

Figure 4. Mid-scale Output Voltage at Maximum Signal Period

 

Figure 5 shows the dither operation at mid-scale output voltage for minimum signal period, with peak-to-peak voltage of 17.6 V at 1 kHz dither clock

 

Figure 5. Mid-scale Output Voltage at Minimum Signal Period

 

SYSTEM PERFORMANCE

Analog Input Noise Performance


Figure 6 shows the noise characteristics at a mid-scale input (5 V) and Figure 7 shows the noise characteristics at a full-scale input (10 V).

 

Figure 6. Mid-scale Analog Input Noise Histogram

 

 

Figure 7. Full-scale Analog Input Noise Histogram

 

Analog Output Noise Performance


The switching regulator outputs of the LT8582 are bypassed and filtered to reduce noise. Figure 8 shows the ac-coupled signal noise at zero-scale output, which exhibits the lowest peak-to-peak noise at 14.4 mV.

 

Figure 8. Zero-Scale AC-Coupled Noise Signal from ADC and DAC Channel Loopback

 

Figure 9 presents a peak-to-peak noise of 13.4 mV taken at midscale output.

 

Figure 9. Mid-Scale AC-Coupled Noise Signal from ADC and DAC Channel Loopback

 

In Figure 10, the board generates the highest peak-to-peak noise of 17.6 mV at full-scale output.

 

Figure 10. Full-Scale AC-Coupled Noise Signal from ADC and DAC Channel Loopback

 

Analog Output Linearity


Integral nonlinearity (INL) is the measurement of the maximum deviation, in LSBs, from a straight line passing through the endpoints of the DAC transfer function. Moreover, differential nonlinearity (DNL) is the difference between the measured change and the ideal 1 LSB change between any two adjacent codes. A specified differential nonlinearity of ±1 LSB maximum ensures monotonicity.

Figure 11 shows the DNL measured in LSBs of the output voltage compared to the 16-bit set value to the LTC2688 output for a single channel.

 

Figure 11. Differential Nonlinearity of the Output Voltage

 

Figure 12 shows the integral INL measured in LSBs of the output voltage compared to the 16-bit set value to the LTC2688 output for a single channel.

 

Figure 12. Integral Nonlinearity of the Output Voltage

 

POWER ARCHITECTURE

The CN0554 derives power directly from the Raspberry Pi 40-pin interface connector. Figure 13 shows the complete power tree of the CN0554.

 

Figure 13. CN0554 Power Tree

 

The LT8582, a dual independent channel switching dc/dc converter, is responsible for boosting and inverting the 5 V power coming from the Raspberry Pi.

The LT8582 outputs 18 V and -18 V rails, which are then used to provide the necessary power rails for both the ADC and DAC. The CN0554 also offers input overvoltage and overtemperature protection through the fault protection feature of the LT8582.

An ADM7160, ultralow noise, low dropout regulator provides the 3.3 V analog supply rail for the AD7124-8. The regulator is powered from the 5 V rail on the Raspberry Pi interface connector. The AD7124-8 digital I/O supply is tied directly to the 3.3 V rail of the Raspberry Pi.

The LT3090 regulates the -18 V rail to -0.1 V, providing a slightly negative analog supply for the AD7124-8. The supply rails were designed such that the absolute analog input voltage can span the entire range from ground to the reference voltage even with the input buffers enabled.

バリエーション回路

The AD7124-4 can be used in place of AD7124-8, with only 8 single-ended and/or 4 differential channels; this brings down the cost for applications not requiring the extra channels.

The LTC2686 is an 8-channel alternative for the LTC2688. It has a higher output drive current at 55 mA and compensation pins for driving high capacitive loads.

The LT8582 can be replaced with a single, positive 5 V supply if only 0 V to 5 V output ranges are required. Alternative supply options for the DAC can consider lower output current boost or inverting regulators as the board is designed to support full DAC output current on all channels.

Additionally, low noise post-regulation of the boost or inverting regulators such as low dropout voltage regulators can also be added depending on the application.

回路の評価とテスト

This section covers the setup and procedure for evaluating the EVAL-CN0554-RPIZ. For complete details, refer to the CN0554 User Guide.

EQUIPMENT NEEDED

  • EVAL-CN0554-RPIZ Circuit Evaluation Board
  • Raspberry Pi 4 Model B
  • Display monitor with HDMI
  • Micro HDMI to HDMI adapter
  • USB keyboard and mouse
  • 16 GB or larger SD card
  • Analog Devices, Inc. Kuiper Linux image
  • 5 V, 3 A USB Type-C power adapter
  • Female-to-female loopback jumper cables
  • Oscilloscope
  • Digital voltmeter (6-digit or higher)

GETTING STARTED

The CN0554 evaluation board is by default configured with the correct shunt positions for testing. Visit the EVAL-CN0554-RPIZ User Guide to verify the shunt positions.

To perform the evaluation test, follow the steps below:

  1. Connect EVAL-CN0554-RPIZ to the Raspberry Pi, as shown in Figure 14.

 

Figure 14. EVAL-CN0554-RPIZ Attached to the Raspberry Pi

 

  1. Insert the SD card with Kuiper Linux image into the Raspberry Pi.
  2. Connect the ADC input and DAC output channels using the female-to-female loopback jumper cables, as shown in Figure 15.

 

Figure 15. EVAL-CN0554-RPIZ Test Setup with Loopback Connection

 

  1. Connect the HDMI cable from the Raspberry Pi to the display monitor, and then connect the keyboard and mouse to the USB ports.
  2. Power the Raspberry Pi using the USB Type-C power adapter and wait for the Raspberry Pi to boot up.

 

Figure 16. System Test Setup

 

  1. Open IIO Oscilloscope and undock the DMM and Debug tabs as shown in Figure 17.

 

Figure 17. IIO Oscilloscope DMM and Debug Tabs

 

  1. In the DMM Window, select the ad7124 as the device and select a channel to measure, such as ad7124-8:voltage0-voltage1. Click on the Play button to start the measurement.

 

Figure 18. IIO Oscilloscope DMM Window

 

  1. In the Debug Window, select ltc2688 in Device Selection. In the IIO Device Attributes section, select output voltage1 channel and select raw attribute. Set the value to 32768 and Click Write. This should set the output voltage to around 2.5 V, which is half of the default output range of 0 V to 5 V.

 

Figure 19. IIO Oscilloscope Debug Window

 

  1. The DMM measurement should show approximately 0.227 V or 1/11 of 2.5 V, which is the default input voltage attenuation.

 

Figure 20. Loopback Measurement of CN0554 Analog I/O

 

製品サンプル

評価用ボード

表示されている価格は、1個あたりの価格です。

analog.comサイトから購入できるボードは、最大で2枚までとなります。3枚以上の購入をご希望の場合は、正規販売代理店からご購入ください。

価格は1個当たりの米ドルで、米国内における販売価格(FOB)で表示されておりますので、予算のためにのみご使用いただけます。 また、その価格は変更されることがあります。米国以外のお客様への価格は、輸送費、各国の税金、手数料、為替レートにより決定されます。価格・納期等の詳細情報については、弊社正規販売代理店または担当営業にお問い合わせください。なお、 評価用ボードおよび評価用キットの表示価格は1個構成としての価格です。