±10V analog input and ±15V analog output I/O module for Raspberry Pi

Publisher:EE小广播Latest update time:2023-02-10 Source: EEWORLDKeywords:ADI Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

±10V analog input and ±15V analog output I/O module for Raspberry Pi


While the world continues to become more digital, computing power and digital functions are becoming more critical, the need to measure the environment and interact with real devices remains an analog function. In order to operate at the boundary of the digital and analog domains, processors must include mixed-signal input/output and accommodate more software programmability to support 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 to support ranges of 0 V to 5 V, ±5 V, 0 V to 10 V, and ±15 V. The eight fully differential analog input channels have hardware selectable input ranges of 0 V to 2.5 V, ±13.75 V, and 0 V to 27.5 V.

image.png

Figure 1. ADI CN0554 simplified functional block diagram


The circuit mounts directly on top of the Raspberry Pi, providing an analog I/O interface to this popular single-board computer. Software control is accessible through the Linux Industrial Input/Output (IIO) framework, which provides a variety of debugging and development utilities, as well as a cross-platform application programming interface (API) that supports language bindings such as C, C#, MATLAB, Python, and more.


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


Evaluation and Design Support


►Circuit Evaluation Board

ADI CN0554 circuit evaluation board (EVAL-CN0554-RPIZ)

Design and integration documentation

►Schematics , layout files, bill of materials, software


Circuit Description


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


Analog input

The CN0554 can accommodate analog input voltage ranges up to 11x input attenuation through the on-board LT5400 external matching resistor network. The device increases the analog input voltage range through jumper selection.


Table 1 shows the complete jumper configuration and corresponding analog input voltage range for the CN0554.


Table 1. Analog Input Ranges

image.png


Analog -to-digital conversion


The CN0554 contains the AD7124-8, a 24-bit Σ-Δ ADC with configurable analog inputs. The eight fully differential input channels or 16 single-ended input channels are software configurable with programmable gain, filter settings, and output data rates.


The external reference voltage can be selected via a jumper and can be either the internal bandgap reference of the AD7124-8 or the 2.5V output of the ADR4525, a high precision, low power, and low noise reference. Since the reference voltage drift directly affects the accuracy of the ADC, the CN0554 uses an external reference because it has better temperature drift performance than the internal reference.


The Σ-Δ architecture of the AD7124-8 provides high resolution and noise rejection in small signal sensor measurements, even in high noise environments such as industrial. The output data rate is programmable from 1.17SPS to 19.2kSPS, with corresponding measurement resolutions of 24nV rms to 72μV rms; 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 contains 16 single-ended 16-bit analog outputs using the LTC2688 voltage output DAC. Each channel has an internal rail-to-rail output buffer and can source or sink up to 20mA.


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


Table 2. Voltage Output Range Adjustment


image.png

Switching and jittering functions

The CN0554 supports both toggle and dither functions. The toggle function can quickly switch the DAC output between two different DAC codes without any SPI transactions, thus eliminating communication transactions. Examples include injecting a small DC bias or switching independently between on and off states.


Dithering reduces quantization errors in precision applications and does so by spreading nonlinearity over multiple output codes. This feature is helpful in many applications where it is necessary to superimpose an AC signal near the average DC value of the signal. For example, in optical applications, the secondary characteristics of an optical path can be measured by its response to a small AC signal. In addition, dithering reduces stiction in mechanical systems such as spool valves, speeding up the response when the spool position changes.


Switch operation

As shown in Figure 2, each channel supports switching operation, which can switch the output voltage between two values ​​set by software. The switching is controlled by a switching signal, which can be obtained from three different external digital inputs (TGP0, TGP1, and TGP2) of the Raspberry Pi or internal software-controlled registers. Two of the digital signals, TGP0 and TGP1, are connected to the Raspberry Pi digital outputs and support pulse width modulation (PWM).


image.png

Figure 2. Block diagram of switching and dithering operation


An example of the switching operation performed by the CN0554 is shown in Figure 3. Depending on the switching pin, the output voltage swings between zero scale and full-scale value, with a peak-to-peak voltage of 33.0V measured at 1kHz.

image.png

Figure 3. Zero-scale to full-scale output voltage switching


Jitter operation

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

image.png (1)


in:

n = 0, 1, 2, … N — 1。

N is the signal period.

φ0 is the signal phase angle, the initial signal phase.


CN0554 can configure the amplitude, period, and phase angle of the dither signal.


The amplitude of the dither signal is set by software and can be between 0% and 25% of the set maximum output voltage.


In order to set the dither frequency, a dither clock input is required and can be selected from the three external digital inputs of the Raspberry Pi, TGP0, TGP1, and TGP2. Two of the external inputs, TGP0 and TGP1, are connected to the Raspberry Pi digital outputs and have PWM characteristics, which can easily configure the clock frequency.


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

image.png (2)


in:

fsignal is the frequency of the generated jitter signal.

fPWM is the PWM clock frequency.

N is the divider.


The dither phase angle can be configured to four different values: 0, 90, 180, and 270. All of these parameters help to precisely control the dither DAC channel output.


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


image.png

Figure 4. Mid-scale output voltage at maximum signal period


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


image.png

Figure 5. Mid-scale output voltage at minimum signal period.


System performance


Analog input noise performance


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


image.png

Figure 6. Midscale analog input noise histogram


image.png

Figure 7. Full-Scale Analog Input Noise Histogram


Analog output noise performance


The switching regulator output of the LT8582 is bypassed and filtered to reduce noise. Figure 8 shows the AC-coupled signal noise at zero-scale output, which has very low peak-to-peak noise at 14.4mV.


image.png

Figure 8. Zero-scale AC-coupled noise signal from ADC and DAC channel loopback

Figure 9 shows the 13.4mV peak-to-peak noise generated at midscale output.


image.png

Figure 9. Mid-level AC-coupled noise signal from ADC and DAC channel loopback


In Figure 10, the board produces a maximum peak-to-peak noise of 17.6mV at full-scale output.


image.png

Figure 10. Full-scale AC-coupled noise signal from ADC and DAC channel loopback


Analog output linearity


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


Figure 11 shows the DNL (in LSB) of the output voltage versus the 16-bit setting value for a single LTC2688 output.


image.png

Figure 11. Differential nonlinearity of output voltage


Figure 12 shows the INL (in LSB) of the output voltage versus the 16-bit setting value for a single LTC2688 output.

[1] [2]
Keywords:ADI Reference address:±10V analog input and ±15V analog output I/O module for Raspberry Pi

Previous article:Semiconductors and software lead the way to sustainability
Next article:High-precision, wide-bandwidth current measurement signal chain

Recommended ReadingLatest update time:2024-11-16 11:52

Analog Devices Expands BMS Portfolio to Enable Continuous Battery Monitoring
Recently, Analog Devices, Inc. announced the launch of its expanded battery management system (BMS) product line, which can meet ASIL-D functional safety level and provide new innovative low-power features for continuous battery monitoring. This series of new devices further enhances the differentiation of ADI BMS p
[Automotive Electronics]
Analog Devices Expands BMS Portfolio to Enable Continuous Battery Monitoring
Analog Devices Wireless BMS Helps Lotus Reinvent Electric Vehicle Mobility
Analog Devices Wireless BMS Helps Lotus Reinvent Electric Vehicle Mobility Beijing, China – September 23, 2021 – Analog Devices, Inc. announced that the well-known British brand Lotus Cars plans to use ADI's wireless battery management system (wireless BMS) in its next-generation electric vehicle (EV)
[Automotive Electronics]
Multi-modal vital sign monitoring front-end helps solve the "involution" dilemma of wearable electronic products
Starting from data accuracy and algorithm effectiveness, the multi-modal vital signs monitoring front-end helps break the "involution" dilemma of wearable electronic products Following smartphones, in recent years, wearable devices are "covering" the whole body and gradually become a new fashion for consumers: TWS h
[Internet of Things]
Multi-modal vital sign monitoring front-end helps solve the
element14 launches ADI’s latest power solutions
Shanghai, China, December 20 , 2023 - element14, Avnet's global distributor of electronic components products and solutions, has begun selling ADI 's latest power products . These newly introduced power management ICs and converters use advanced design and packaging technology to meet the most stringent power r
[Power Management]
element14 launches ADI’s latest power solutions
Want clinical-grade PPG for your wearable device? Just look here
Want clinical-grade PPG for your wearable device? Just look here On the feature list of health and fitness wearables, heart rate (HR) and blood oxygen saturation (SpO2) are rapidly moving from the "want to have" stage to the "hopeful to have" stage. However, this shift resulted in a decrease in read quality. This is
[Internet of Things]
Want clinical-grade PPG for your wearable device? Just look here
Voltage conversion at low energy levels
Voltage Conversion at Low Energy Levels Voltage conversion at low energy levels This article will introduce a new class of DC-DC converters, one example of which is the LTC3336. It consumes only about 65 nA in standby mode, making it ideal for battery-powered systems. Convers
[Power Management]
Voltage conversion at low energy levels
Competing on the microcontroller track with unique product design, ADI low-power MCU accelerates the implementation of IoT applications
Competing on the microcontroller track with unique product design, ADI low-power MCU accelerates the implementation of IoT applications Whether it is the orderly operation of equipment in a black light factory, the automatic sensing of electrical appliances in a warm home, or the collection of physical signal data i
[Internet of Things]
Competing on the microcontroller track with unique product design, ADI low-power MCU accelerates the implementation of IoT applications
Key technologies in the development of the automobile industry
Interpretation of the Development Direction of the Automobile Industry   2019 Global Automotive Supplier Study | Source: Deloitte According to Deloitte Global, the total revenue of global automotive suppliers in 2018 was $1.7 trillion. From the perspective of 2018-2025, on the one hand, businesses related to car bo
[Embedded]
Key technologies in the development of the automobile industry
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号