CN0325: PLC/DCS Universal Analog Input Using Either 4 or 6 Pin Terminal Block

Engineered. Tested. Ready to Integrate.詳細をみる

回路の説明

回路の機能とその利点
  • PLC/DCS universal input module
  • 4-pin or 6-pin terminal block
  • Fully isolated
  • 16-bit sigma-delta ADC
    アプリケーション: 
  • PLC/DCS
設計支援用データ
設計支援用データ
  • Schematics
  • Bill of Materials
  • Gerber Files
  • Allegro Files
  • Assembly Drawing
Download Design Files (1515 kB)
評価ボード
"Z"が付いている製品は、RoHS準拠品です。
この実用回路を評価するには、以下の評価ボードを用いて動作確認をすることをお薦めします。
  • EVAL-CN0325-SDPZ ($ 150.00) PLC/DCS Universal Analog Input Using Either 4 or 6 Pin Terminal Block
  • EVAL-SDP-CB1Z ($ 99.00) Eval Control Board
在庫確認&購入
デバイスドライバ
Software, such as C code and/or FPGA code, used to communicate with a component's digital interface.
FPGA HDL
接続オプション
This circuit supports 3rd party connectivity.

CIRCUIT FUNCTION AND BENEFITS

The circuit shown in Figure1 provides two, 16-bit, fully isolated, universal analog input channels suitable for programmable logic controllers (PLCs) and distributed control system (DCS) modules. Both channels are software programmable and support a number of voltage, current ranges and thermocouple, RTD types as specified in Figure 1. The inputs are protected for dc overvoltage conditions of ±30 V.

Figure 1. Universal Analog Input Overview

The demonstration board contains two different fully isolated universal input channels, one with a 4-pin terminal block (CH2), and one with a 6-pin terminal block (CH1). For the 4 terminal block channel (CH2), the voltage, current, thermocouple and RTD inputs all share the same 4 terminals, thus minimizing the number of terminal pins required. For the 6-pin terminal block channel (CH1) the voltage and current inputs share a set of 3 terminal, and the thermocouple and RTD inputs share another set of 3 terminals; this requires more terminals but has a lower part countand component cost. Figure 2 shows a photo of the PCB, and Figure 3 shows a more detailed schematic of the circuit.

Figure 2. Universal Analog Input Board
Figure 3. Functional Block Diagram (Simplified Schematic: All Connections and Decoupling Not Shown)

CIRCUIT DESCRIPTION

The AD7795 low noise, 16-bit, sigma delta ADC, with on-chip in-amp and reference is used for the data conversion. The on-chip in-amp and current sources provide a complete solution for RTD and thermocouple measurement. For the voltage and current inputs, the AD8226 instrumentation amplifier with >90 dB CMR is used to provide a high input impedance and reject any common-mode interference. The voltage and current signals are scaled to the range of the ADC using a precision resistor divider.

The ADR441, an ultralow noise, low dropout XFET® 2.5 V voltage reference is used as the reference for the ADC.

For the 4-pin terminal block channel (CH2), the ADG442, low RON, latch-up proof switch is used to switch between voltage, current, thermocouple, and RT D input modes.

Digital and power isolation is achieved using ADuM3471, a PWM controller and transformer driver with quad-channel isolator which is used to generate an isolated ±15 V supply using an external transformer. The ADuM1311, triple-channel digital isolator is also used in the 4-pin terminal block circuit to isolate the control lines for the ADG442 switches.

The ADP2441, 36 V step-down dc-to-dc regulator has a wide tolerance on its input supply making it ideal for accepting a 24 V industrial supply. It accepts up to 36 V, thereby making reliable transient protection of the supply input more easily achievable. It steps the input voltage down to 5 V to power the ADuM3471 as well as all other controller-side circuitry. The circuit also includes standard external protection on the 24 V supply terminals.

The ADP2441 also features a number of other safety and reliability functions, such as undervoltage lockout (UVLO), a precision enable, a power good pin, and overcurrent-limit protection. It also can achieve up to 90% efficiency in the 24 V input, 5 V output configuration.

HARDWARE


Figure 2 shows the location of the channel containing a 4-pin terminal block and the channel with a 6-pin terminal block. It also shows the location of the 24 V supply input.

Figure 4. Channel Locations

Channel Selection

Jumpers need to be inserted and switched to configure both supply and SPI signals between CH1 and CH2 as shown in Table 1.

Power Configurations


A 24 V supply is used to power the controller side of the board. Alternately a 5 V supply can be used, bypassing the ADP2441 circuitry. This 5 V input does not have any overvoltage protection and should not exceed 6 V. The supply used should be configured using the J4 link option as described in Table 2.

For the analog input side of the isolation barrier, there are two options for powering a regulated 5 V for the analog circuitry. Either the ADP1720 linear regulator can be used to step the 15 V down to 5 V, or else the ADuM3471’s internal 5 V regulator can be used. The link configurations for each is shown in Table 3.

CH2: 4-PIN TERMINAL BLOCK CHANNEL

Input Connectors

Figure 5. CH2 input connectors

Voltage and Current


The P12 connector is used for voltage and current input connections. Figure 11 and Figure 12 show simplified schematics for this input connection and configuration. This allows differential inputs in the ranges: 0 V to 5V, 0 V to 10V, ±5V, ±10 V, 0 mA to 20 mA, 4 mA to 20 mA and ±20 mA. Connect voltage or current inputs between V1+ and V1–, because current inputs also short V1+ and I1 pins together. This connects a 249 Ω precision current sensing resistor with 0.1% accuracy and 0.25 W rating.

Thermocouple

The P12 connector is also for thermocouple inputs. Various thermocouple types can be connected including J, K, T, and S. The thermocouple is connected between the V1+ and V1- inputs (see Figure 5). Figure 6 below shows how to connect a thermocouple (Type T, for example) to the universal analog input board. See Figure 13 for a simplified schematic of the thermocouple input.

Figure 6. CH2 Thermocouple connector

RTD


The P12, P13 connectors are used for RTD inputs. The hardware can support both 1000 Ω and 100 Ω platinum RTD inputs. For 3-wire mode, the two common wires are connected to V1+ and V1– and the return is connected to Vm (see Figure 5). Figure 7 below shows how to connect a 3-wire RTD sensor to the universal analog input board. See Figure 14 for a simplified schematic of the RTD input.

Figure 7. CH2 RTD connector

CH1: 6-PIN TERMINAL BLOCK CHANNEL

Input Connectors

Figure 8. CH1 channel input connectors. See Figure 13 for a simplified input diagram.

Voltage and Current


The P10 connector is used for voltage and current input connections. This allows differential inputs in the ranges: 0 V to 5 V, 0 V to 10V, ±5V, ±10V, 0 mA to20 mA, 4 mA to 20mA, and ±20 mA. Connect voltage or current inputs between V1+ and V1– (see Figure 13), though for current inputs also short V1+ and I1 pins together, this connects a 249 Ω precision current sensing resistor with 0.1% accuracy and 0.25 W rating.

Thermocouple


The P11 connector is for thermocouple inputs. Various thermocouple types can be connected including J, K, T and S. The thermocouple is connected between the V+ and V- inputs (see Figure 8). Figure 9 below shows how to connect a thermocouple (Type T in this example) to the universal analog input board.

Figure 9. CH1 Thermocouple Connector

RTD


The P11 connector is also for RTD input. The hardware can support both 1000 Ω and 100 Ω platinum RTD inputs. For 3-wire mode, the two common wires are connected to V+ and V–, and the return is connected to Vm (see Figure 8). Figure 10 below shows how to connect a 3-wire RTD sensor to the universal analog input board.

Figure 10. CH1 RTD Connector

SIMPLIFIED INPUT CIRCUIT DIAGRAMS

Figure 11. CH2 Simplified Voltage Input diagram
Figure 12. CH2 Simplified Current Input diagram
Figure 13. Ch2 Simplified Thermocouple Input diagram
Figure 14. Ch2 Simplified RTD Input diagram
Figure 15. CH1, simplified Input diagram

SOFTWARE DESCRIPTION

The universal analog input board is shipped with a CD ROM containing the evaluation software designed using Labview. This can be installed onto a standard PC with Windows XP (SP2), Vista (32-bit and 64-bit) or Windows 7 (32-bit and 64-bit). To use the evaluation software, the SDP-B (System Demonstration Platform Version B) is required.

When the evaluation software is run, the optimized default configurations as well as calibrated parameters from onboard EEPROM are loaded into the software. The evaluation software allows users to acquire data from the universal analog input board, which can be analyzed of saved to a file. The analysis results are displayed on the screen with plots and digital format. A user can set up their own configuration and calibration values, save this into the on board EEPROM and the software will record the configuration and uploaded them automatically next time the software is run.

Software Installation


  1. Insert the CD ROM (or download the software installation package from ftp://ftp.analog.com/pub/cftl/CN0325/)
  2. Locate the file Setup.exe on the CD of downloaded files. Double click the file to start the installation procedure.
  3. Follow the On-Screen instructions to complete the installation.

Install the evaluation software before connecting the evaluation board and SDP board to the USB port of the PC to ensure that the evaluation system and SDP board is correctly recognized when connected to the PC. Once installed;

  1. Connect the EVAL-SDP-CB1Z via the USB port of the PC using the supplied cable.
  2. Connect the EVAL-CN0325-SDPZ evaluation board to either of the SDP connectors.
  3. Power up the EVAL-CN0325-SDPZ (Ensure jumpers are setup correctly as in the “Hardware” section)
  4. Start the EVAL-CN0325-SDPZ software (“CN0325.exe”) and proceed through any dialog boxes that appear. This completes the installation.

USING THE SOFTWARE

The main panel of the software is shown in Figure 16. The hardware is configured via the Configuration tab, which is divided into three sub-tabs for the different function aspects. The Acquisition Result tab shows all the data from ADC and converts results to the relevant units. The Calibration tab allows users to calibrate any of the ranges. Details about the connected SDP board and software can be found in the S/W Version Info tab.

Figure 16. Main panel of evaluation software.

Main Window Buttons


Connect to SDP : Click to set up the connection between SDP board and evaluation board.

Disconnect to SDP : Click to stop the connection between SDP board and evaluation board.

Single Capture : Click to start single capture.

Start (Stop) Acquisition : Click to start (stop) a continuous capture.

Save Data : Save the data shown from the software into a file for further analysis.

Quit : Quit the application.

Configuration tab


Hardware Configuration Sub-tab

The picture on the Hardware Configuration sub-tab (see Figure 17) shows the correct way for jumpers setting and wire connection based on the input selection. To ensure correct results, the jumpers setting on the hardware should be the same with the picture. The different input selection options are outlined below;

Circuit Type: There are two fully isolated, universal analog input circuits to choose from. “Type1- 6TB”: the lowest cost solution with 6 terminals for sensor and signal connection or “Type2- 4TB”: a more compact solution with only 4-pins terminals for sensor and signal connection.

Input Signal Type: The evaluation board can convert multi-types of signals including Voltage, Current, thermocouple and RTD. Once selected the desired range of thermocouple/RTD type must be chosen.

Capture Mode : Setting the method of capturing the data. Either Single Capture mode only the specified number of samples are captured. Or Continues Capture mode, where data will be continuously captured until the user stops the acquisition.

AD7795 Configuration Sub-tab

For each type of input signal range selected in the Hardware configuration tab there is a default configuration loaded to the universal analog input board. This AD7795 Configuration tab (see Figure 17) allows more advanced configuration and provides the flexibility to evaluate the board with the configuration different from the default value.

Using this tab requires specific knowledge of the AD7795 registers, functions and hardware structure. The incorrect configuration may cause acquisition and operation error. The button Recover All (Current) range to Default is used to recover the default configurations for the range(s).

Figure 17. AD7795 Configuration Page.

ADT7310 Configuration Sub-tab


There is an on-board temperature sensor chip, the ADT7310, which is placed close to the terminal blocks for cold-junction compensation during thermocouple measurements. Typically a default configuration loaded to the universal analog input board. This ADT7310, Configuration tab (see Figure 18) allows more advanced configuration and provides the flexibility to evaluate the board with the configuration different from the default value. Using this tab requires specific knowledge of the ADT7310, registers, functions and hardware structure.

Figure 18. ADT7310 Configuration Page.

Acquisition Result tab


Converted Result Sub-tab

A result is converted to the relevant units based on the RAW data from data converter along with the channel configuration and calibration values. The data is shown on waveform chart on this sub-tab (See Figure 19). The data is also analyzed to provide the number of samples, the mean, the min and max values, the rms and peak-to-peak noise as well as the rms and peak-to-peak resolution.

Figure 19. Acquisition Result tab, Converted Result Sub-tab

ADC RAW Data Sub-tab


The acquisition data directly read from ADC is shown on the waveform chart on this sub-tab. The data is also analyzed to provide the number of samples, the mean, the min and max values, the rms and peak-to-peak noise as well as the rms and peak-to-peak resolution.

Histogram Sub-tab

The histogram tab (See Figure 20) clearly shows the distribution of the RAW ADC data that has been captured. This chart can be used to evaluate the noise and acquisition stability.

Figure 20. Acquisition Result tab, Histogram Sub-tab

Calibration tab

This software also provides independent calibrated parameters for each input signal and sensor type. This allows users to accurately calibrate the offset and gain of the system to achieve a high level of dc precision for the system (see Figure 21). The calibrated parameters can be stored into on-board EEPROM for later reuse. A complete calibration requires both a zero-scale calibration and full-scale calibration.

Figure 21. Calibration Page.

The following steps will ensure a correct calibration.

  1. Select the input range to be calibrated
  2. Apply the correct input signal specified in Zeroscale Value and click the button Zero Calibrate. Follow the prompt to complete the zero-scale calibration.
  3. Apply the correct input signal specified in Fullscale Value and click the button Zero Calibrate. Follow the prompt to complete the Full-scale calibration.
  4. Click the button Save into EEPROM

The calibrated parameters will be placed into the internal calibration register of ADC. Only if the user clicks the button Save into EEPROM will the new calibration values be permanently saved to the EEPROM and loaded the next time the range is selected.

Copies of the factory default calibrated values are stored in the on board EEPROM. By clicking the Recover to Default all the calibrated v will return to their factory default values.

S\W Version Info tab


Figure 22 shows an image of the S\W Version Info tab. This tab provides information on the connected SDP board.

Clicking the Flash LED button will flash the LED on SDP, also indicating that the connection between SDP and evaluation board is successfully set up.

Clicking the Read Firmware button will to read the information about the current code on SDP platform.

Figure 22. Software Version Information tab

The meaning of each parameter is listed below;

Major Rev : The major code revision number

Minor Rev : The minor code revision number

HostCode Rev : The version of the host code with which the firmware was developed

BlackFinCode Rev : The BlackFin code revision number of the firmware

Date : Date the code was compiled

Time: Time the code was compiled

この回路に使用されている製品&サンプル:

製品 概要 サンプルが入手可能な製品
AD7795 16ビットA/Dコンバータ、ΣΔ型、6チャンネル、低ノイズ、低消費電力、計装アンプとリファレンス内蔵 AD7795BRUZ
AD8226 計装アンプ、広い電源範囲、レールtoレール出力 AD8226ARZ AD8226ARMZ
ADG442 SPSTスイッチ、クワッド、LC2MOS ADG442BRZ
ADP1720 リニア・レギュレータ、50mA、高電圧、マイクロパワー ADP1720ARMZ-3.3-R7 ADP1720ARMZ-5-R7 ADP1720ARMZ-R7
ADP2441 ステップダウンDC-DCレギュレータ、36V、1A、同期型 ADP2441ACPZ-R7
ADR441 電圧リファレンス、出力電圧2.5V、LDO型 XFET®、超低ノイズ、電流シンク / ソース機能付き ADR441ARMZ ADR441ARZ
ADT7310 デジタル温度センサー、±0.5℃精度、16ビット、SPI ADT7310TRZ
ADUM1311 Triple-Channel Digital Isolators ADUM1311ARWZ ADUM1311BRWZ
ADUM3471 4チャンネル・デジタル・アイソレータ(3 / 1のチャンネル方向)、絶縁スイッチング・レギュレータ内蔵 ADUM3471WARSZ ADUM3471ARSZ ADUM3471WCRSZ ADUM3471CRSZ
評価ボード
この実用回路を評価するには、以下の評価ボードを用いて動作確認をすることをお薦めします。
モデル 概要 価格 RoHS 在庫確認/
購入/サンプル
EVAL-CN0325-SDPZ PLC/DCS Universal Analog Input Using Either 4 or 6 Pin Terminal Block $ 150.00 Yes
EVAL-SDP-CB1Z Eval Control Board $ 99.00 Yes
ここに表示されている価格は、1個あたりの価格です。米国内における販売価格(FOB)で表示されておりますので、予算のためにのみご使用いただけます。 また、その価格は変更されることがあります。米国以外のお客様への価格は、輸送費、各国の税金、手数料、為替レートにより決定されます。価格・納期等の詳細情報については、弊社正規販売代理店または担当営業にお問い合わせください。なお、 評価用ボードおよび評価用キットの表示価格は1個構成としての価格です。
沪ICP备09046653号
この回路へのコメントを送る X
content here.
content here.

この回路へのコメントを送る

閉じる