Tidue 64
Tidue 64
Tidue 64
Description Features
This TI reference design provides a low-component • Sensor Input Compatible With 2-, 3-, or 4-Wire
count, low-cost solution for 4- to 20-mA, loop-powered, RTD Probes
resistance-temperature detector (RTD), temperature • Temperature Range for RTD: –200°C to +850°C
transmitter. The design takes advantage of the on-chip • Maximum Measured Error: <1°C
Smart Analog Combo (SAC) module in the
MSP430FR2355 MCU to control the loop current, so • IEC61000-4-2: ESD: Air Discharge: ±8 kV Class A
that the standalone DAC is no longer required. This • Small Form Factor (L × W): 60 mm × 8 mm
design achieves a 12-bit output resolution. The output • Operating Temperature Range: –40°C to +105°C
current resolution is 6 µA. The design incorporates
reverse-polarity protection as well as IEC61000-4-2 Applications
and IEC61000-4-4 protection on the loop-power input.
• Factory Automation and Process Control
TI reference designs provide the required foundation, • Sensors and Field Transmitters
including methodology, testing, and design files, to let
designers quickly evaluate and customize a system. TI • Building Automation
reference designs also help accelerate time to market. • Test and Measurement
Resources
5 µA VIN Loop +
TPS7A1601
3.3 V LDO
3.3 V
Loop -
An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and other
important disclaimers and information.
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 1
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Description www.ti.com
1 System Description
A 4- to 20-mA current loop is standard for transmitting remote-sensor information to programmable logic
controllers (PLCs) over long distances in industrial process-monitoring, control, and automation
applications. Figure 1 shows a typical RTD temperature-measurement transmitter for a 2-wire, 4- to 20-
mA, current-loop system, which consists of four major blocks.
• Analog-to-digital converter (ADC): For RTD-sensor measurement, this is typically a low-power, low-
noise, delta-sigma ADC with an internal PGA and programmable current source.
• Digital-to-analog converter (DAC): Output for the current-loop control, this is typically a low-power DAC
with an integrated operational amplifier.
• Microcontroller (MCU): Controls the whole system operation including data processing and calibration
algorithm.
• Low dropout regulator (LDO): Transmitter power supply.
Power
RTD
4 ~ 20 mA
ADC DAC
MCU Current Loop
The MSP430FR2355 device is an ultra-low-power, mixed-signal MCU from TI, with on-chip smart analog
combo (SAC) modules that makes it possible to move the DAC block into an MCU. Leveraging the
integrated peripherals of the MSP430FR2355 device enables a low-component count and low cost
solution for the user. The MSP430FR2355 device also helps to reduce the PCB size and facilitates the
layout. Figure 2 shows the improved system block diagram based on the MSP430FR2355 MCU.
Power
RTD
ADC SAC 4 ~ 20 mA
Current Loop
MSP430FR2355
This reference design provides a low-power consumption, low-cost, RTD temperature transmitter solution
achieving a 12-bit output resolution with the integrated smart analog combo (SAC) module. The output-
current resolution is 6 µA. The design also incorporates reverse-polarity protection capability as well as
IEC61000-4-2 and IEC61000-4-4 protection on the loop power input.
All the relevant design files such as the schematics, bill of materials (BOM), layer plots, Altium Designer
files, Gerber files, and MSP430 MCU software are provided.
2 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Description
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 3
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
2 System Overview
5 µA VIN Loop +
TPS7A1601
3.3 V LDO
3.3 V
Loop -
4 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
2.2.1 MSP430FR2355
The MSP430FR2355 FRAM MCU features a powerful 16-bit, RISC CPU, 16-bit registers, and a constant
generator that contribute to maximum code efficiency. The digitally-controlled oscillator (DCO) lets the
device wake up from low-power mode and go to active mode in typically less than 10 µs. The feature set
of this microcontroller is designed for applications such as smoke detectors, industry transmitters, and
portable health and fitness accessories.
In this design, an on-chip eUSCI module interfaces with the ADC1120. On-chip, 32KB-FRAM memory
stores the application software, RTD loop table, and calibration data. The 16-bit, RISC architecture
enables functions like arithmetic algorithms, gain and offset calibration routines, sensor linearization using
look-up tables, and scaling ADC output to DAC input code. Two on-chip SAC modules control the current
loop output. From a layout and routing perspective, the QFN40 package is a good choice when size does
not exceed 6 mm, to fit an 8-mm wide PCB.
Figure 4 shows the MSP430FR2355 block diagram.
P1.x/P2.x P3.x/P4.x P5.x/P6.x
XIN XOUT
MAB
24-MHZ
CPU inc.
16 Registers
MDB
EEM
TCK RTC
SYS BAKMEM
TB0 Counter
TMS JTAG Infrared CRC16
MPY32 ICC TB1 TB3 eUSCI_A0
Manchester eUSCI_B0 32 Bytes
TB2 eUSCI_A1 16-bit
TDI/TCLK HART 16-bit eUSCI_B1 Backup
32-bit Interrupt Timer_B Real-Time
Cydic Memory
TDO Hardware Compare Timer_B 7 CC (UART, Clock
Redundancy (SPI, I2C)
Multiplier Controller 3 CC Registers IrDA, SPI)
SBWTCK SBW Check
Registers
SBWTDIO Watchdog
LPM3.5 Domain
MSP430FR2355 features
• Embedded MCU:
– 16-bit, RISC architecture up to 24 MHz
– Wide supply-voltage range from 1.8 V to 3.6 V
– Active mode: 142 µA/MHz
• Low-power, FRAM:
– Up to 32KB of nonvolatile memory
– Built-in error-correction code (ECC)
– Configurable write protection
– 1015 write-cycle endurance
– Radiation resistant and nonmagnetic
• Intelligent digital peripherals:
– Three 16-bit timers, with three capture and compare registers each (Timer_B3)
– 16-bit timer, with seven capture and compare registers each (Timer_B7)
– 16-bit, counter-only, real-time clock counter (RTC)
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 5
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
6 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
2.2.2 ADS1120
The ADS1120 is a precision, 16-bit ADC that offers many integrated features, to reduce system cost and
component count in applications measuring small-sensor signals. The device features two differential or
four single-ended inputs through a flexible input multiplexer (MUX), a low-noise PGA, two programmable
excitation-current sources, a voltage reference, an oscillator, a low-side switch, and a precision-
temperature sensor.
The device performs conversions at data rates up to 2000 samples-per-second (SPS), with single-cycle
settling. At 20 SPS, the digital filter offers simultaneous 50-Hz and 60-Hz rejection for noisy industrial
applications. The internal PGA offers gains up to 128 V/V. The PGA makes the ADS1120 designed for
applications measuring small-sensor signals, such as RTDs, thermocouples, thermistors, and resistive
bridge sensors. The device supports measurements of pseudo- or fully-differential signals when using the
PGA. Alternatively, the device is configured to bypass the internal PGA while still providing high-input
impedance and gains up to 4 V/V, which allows for single-ended measurements.
The power consumption is as low as 120 µA when operating in duty-cycle mode, with the PGA disabled. A
mode-1, SPI-compatible interface establishes communication to the device. The ADS1120 device is
offered in a leadless QFN-16 or TSSOP-16 package, specified from –40°C to +125°C. Figure 5 shows the
ADS1120 block diagram.
AVDD REFP0 REFN0 DVDD
50 A to
1.5 mA
Internal Reference
AIN0/REFP1 TI Device
Reference MUX
AIN1 CS
AINP
Digital Filter SCLK
16-Bit and
MUX PGA DIN
û ADC SPI
Interface DOUT/DRDY
AIN2 AINN
DRDY
Precision
Low-Drift
AIN3/REFN1 Temperature
Oscillator
Sensor
ADS1120 features
• Low-current consumption:
– Duty-cycle mode: 120 µA
– Normal mode: 415 µA
• Wide supply range: 2.3 V to 5.5 V
• Programmable gain: 1 V/V to 128 V/V
• Programmable data rates: Up to 2 kSPS
• 16-bit, noise-free resolution at 20 SPS
• Simultaneous 50-Hz and 60-Hz rejection at 20 SPS, with a single-cycle settling digital filter
• Low-noise PGA: 90 nVRMS at 20 SPS
• Dual-matched, programmable current sources: 50 µA to 1.5 mA
• Internal 2.048-V reference: 5 ppm/°C drift (typical)
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 7
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
2.2.3 TPS7A16
The TPS7A16 family of devices consists of ultra-low power, LDO, voltage regulators that offer the benefits
of ultra-low quiescent current, high-input voltage, and miniaturized, high-thermal performance packaging.
The TPS7A16 family of devices offers an enable pin (EN) and an integrated, open-drain, active-high,
power-good output (PG) with a user-programmable delay.
The TPS7A16 family of LDOs accepts a maximum input voltage of 60 V, which makes these LDOs
designed for industrial applications where high-voltage transients are present.
Figure 6 shows the TPS7A1601 block diagram.
IN OUT
UVLO Pass
Device
Thermal
Shutdown
Current
Limit
Error
Enable Amp
FB
EN
PG
Power
Good
Control
DELAY
TPS7A16 features
• Wide input-voltage range: 3 V to 60 V
• Ultra-low quiescent current: 5 µA
• Quiescent current at shutdown: 1 µA
• Output current: 100 mA
• LDO voltage: 60 mV at 20 mA
• Accuracy: 2%
• Available in:
– Fixed-output voltage: 3.3 V, 5 V
– Adjustable version from 1.2 V to 18.5 V
• PG output with programmable delay
• Current limit and thermal-shutdown protections
• Stable, with ceramic output capacitors ≥ 2.2 µF
8 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 9
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
To other peripherals
OAx+
reference
00
12-bit
Reference 01
DAC
10 OA OAxO
00
01
10
Noninverting
Amplifying (10)
Paired OA
Output (11)
MSEL GAIN
From paired
SAC output
10 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
OAx+
12-bit 00
Reference 01 +
DAC
10 OA OAxO
í
00
01
10
Noninverting
Amplifying (10)
Paired OA
Output (11)
MSEL GAIN
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 11
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
SAC1 is configured in general Op-Amp mode to construct an Op-Amp feedback amplifier, see Figure 9.
OAxí
OAx+
00
12-bit
Reference 01 +
DAC
10 OA OAxO
í
00
01
10
Noninverting
Amplifying (10)
Paired OA
Output (11)
MSEL GAIN
The output of SAC3 is connected to the positive input of the OA in SAC1. The output of the OA in SAC1
controls the gate voltage of an external transistor. Figure 10 shows the block diagram.
Loop+
SAC3 SAC1
12 bit
RIN
DAC
OPA
OPA
I1 ILoop
DAC Mode OPA Mode
R1 R2 R3
I2
Loop-
In Figure 10, the loop current equals the sum of the current through R1 and R2 (see Equation 1).
ILOOP I1 I2 (1)
12 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
According to virtual short theory, in an OA feedback amplifier the voltage on the positive-input terminal
approximately equals the negative-input terminal (see Equation 2).
VOPA VOPA
(2)
Thus (see Equation 3):
I1 u R1 I2 u R2 (3)
And (see Equation 4):
VDACOUT
I1
RIN (4)
Therefore, the loop current equation can be written as Equation 5.
VDACOUT § R1 ·
ILOOP u ¨1 ¸
RIN © R2 ¹ (5)
DAC output voltage can be calculated using Equation 6.
VDAC _ CODE u VDACREF
VDACOUT
2DAC _ resolution (6)
In this design, the resolution of the DAC in the SAC module is 12 bit, and an internal 2.5-V shared
reference is used as the DAC reference (see Equation 7).
2.5 u DAC _ CODE
VDACOUT
212 (7)
Which gives the following values:
R1 = 99.9 kΩ
R2 = 100 Ω
RIN = 100 kΩ
Thus (see Equation 8):
VDACOUT § R1 ·
ILoop u ¨1 ¸
RIN © R2 ¹
VDACOUT § 99900 ·
ILoop u ¨1
100000 © 100 ¸¹
§ DAC _ CODE ·
ILoop ¨ 12
u 25 ¸ mA
© 2 ¹ (8)
The output range of SAC3 (VDACOUT) is 0 to approximately 2.5 V. Therefore, the output-current resolution of
the system is shown in Equation 9.
25 / 212 ≈ 0.0061 mA = 6.1 µA. (9)
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 13
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
System Overview www.ti.com
12-bit DAC
DAC OUTPUT
VN+1
VN
To increase the resolution, generate multiple values for each step by dithering the DAC output between VN
and VN+1, similar to digital PWM and filtering the output to remove the ripples, so that a digital signal turns
into a programmable analog voltage, see Figure 12.
VN+1
DAC VN+0.5
VN
DAC output before filter
For example, if the DAC continuous-loop outputs 1 VN and 1 VN+1, this means two output values represent
one step. After filtering with a RC low-pass filter, the output-analog voltage value is VN+0.5. As a result, the
DAC resolution is increased by 1 bit, see Figure 13. If the DAC continuous loop outputs 4 or 22 values to
represent one step, then the DAC resolution is increased by two bits, see Figure 14. Thus, DAC resolution
can be improved by using software to vary the PWM duty cycle.
VN+1
VN+0.5
VN
VN+1
VN+0.75
VN
14 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com System Overview
Two key parameters in this solution are discussed in the following sections:
• PWM frequency
• Filter cut-off frequency
In the firmware, the DAC PWM signal is generated by the SAC3 output and timer B0. Timer B0 is
configured to generate a periodic interrupt. The DAC output value is updated in the Timer B0 interrupt-
service routine (ISR).
The relationship between the PWM frequency and timer-B0 interrupt frequency is shown in Equation 11.
FTimer _ B0 FPWM u 2n
where:
• FTimer_B0 is the required timer-interrupt frequency.
• FPWM is the PWM-signal frequency.
• n is the desired, increased resolution of the DAC in bits. (11)
In the firmware, an 8-element array is defined, to store the DAC-dither value, so that the DAC resolution
increases by three bits in theory.
FPWM is 1 kHz, and FTimer_B0 is 1 kHz × 23 = 8 kHz.
The ripple can be reduced to an acceptable level by filtering the output with a low-pass filter. In this
design, use a low-pass RC filter. The values of the RC are dependent on the PWM frequency (FPWM). In
this design, the PWM frequency is 1 kHz. To filter the enough harmonics, the cut-off frequency must be at
least 10 times less than the PWM frequency. In this example, the cut-off frequency is 100 Hz.
2.3.3.1 Trade-Offs
A lower cut-off frequency filter results in less ripple time and longer settling time. A higher cut-off
frequency filter results in more ripple time and shorter settling time. In this application, longer settling time
is acceptable.
Increasing the FPWM frequency moves the harmonics further from the DC offset. The trade-off is to
increase FTimer_B0 so that the MCU power consumption increases.
For more details on the RC low-pass filter design for PWM, see the Voice Band Audio Playback Using a
PWM DAC (TIDU-703A)reference design and Using PWM Output as a Digital-to-Analog Converter on a
TMS320F280x Digital Signal Controller application report. Because of the system-noise floor, the
resolution cannot have unlimited increase. TI provides a SPICE-based, analog-simulation program (TINA-
TI), to help users develop and simulate filter configurations. Other resources are also available online (for
example, the RC Low-Pass Filter Design Tool).
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 15
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
3.1.1 Hardware
ADS1220 MSP430FR2355
RTD Input Loop Connector
TVS Diode
TPS7A1601
16 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 17
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
Figure 18 shows the basic setup in functional mode. In this setup, the connection is a 3-wire RTD and as
a result, J4 is installed and J2 is not installed, as listed in Table 3.
18 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
The design supports 2-wire, 3-wire, and 4-wire RTD. Table 3 lists the jumper configurations, as shown in
Figure 19.
GND
GND
C1
R2 1800pF
4.12k
R3
3.24k C2
R4 0.018uF
4.12k
C6
1800pF
GND
GND
J2 C8
2700pF
4 R5
3 4.12k
2 C9
1 R6 0.027uF
4.12k
J3
C11
J4 2700pF
GND
D4
D3
3.1.2 Software
The software code is designed to implement a temperature-transmitter application that highlights the
ADS1120, to receive data from an RTD temperature probe and send out the temperature reading on a 4-
to 20-mA signal using an SAC module in the MSP430FR2355. The software code addresses system-level
calibration, offset, and gain, that is implemented to improve ADC and DAC accuracy and includes linear
interpolation to address the nonlinearity of the RTD element.
The firmware project of this TI reference design can be downloaded from TIDM-01000.
For MSP430 firmware updates, TI recommends Code Composer Studio™ (CCS), see Figure 20. CCS is
an integrated development environment (IDE) for TI embedded-processor device families. CCS comprises
a suite of tools used to develop and debug embedded applications. CCS includes compilers for each of
the device families from TI, source-code editors, project-build environments, debuggers, profilers,
simulators, real-time operating systems, and other features.
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 19
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
Firmware is downloaded with the Spy-Bi-Wire (SBW) debug interface. The connector J5 on the board
programs and debugs the code.
GND
VCC
2 1
SBWTCK 4 3 SBWTDIO
J5
Debug connector
Figure 21. SBW Debug Interface
CAUTION
Be careful during debugging to avoid damages, due to different power domains
in conflicts (4- to 20-mA loop power and debugger tools power). Read the
following sections carefully.
20 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
NOTE: The test data in this section was measured at room temperature using calibrated lab
equipment, unless otherwise specified.
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 21
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
NOTE: The MSP430 firmware algorithm averages a given number of measurements, with offset
correction applied to an expected result, with a 390-Ω resistor connected to determine the
gain calibration factor. To execute the algorithm, the S1 switch must be pressed with a 390-
Ω resistor in place. The gain calibration factor is determined and stored in the FRAM. Gain
calibration must be performed after compensating for offset error.
22 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
Figure 23 shows the temperature error after applying the simple first-order offset and gain calibration over
a –200°C to +850°C temperature range. The temperature error still shows some variations, even after
applying the offset and gain calibration. The temperature error is attributed mainly due to nonlinearity
errors associated with the ADC and PT100 RTD look-up table. The nonlinearity errors are difficult to
correct using a simple linear equation. Higher-order polynomial approximation may be used to correct the
nonlinearity errors.
1.2
0.8
Error (qC)
Error (qC)
0.6
Specification (qC)
0.4
0.2
0
-400 -200 0 200 400 600 800 1000
Temperature (qC) D002
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 23
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
4.0138
4.0136
Output Current (mA)
4.0134
4.0132
4.013
4.0128
4.0126
4.0124
4.0122
0 50 100 150 200 250 300 350 400 450 500
Samples D003
24 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
As shown in Figure 25, without gain and offset calibration, an error is seen in the loop current. This error
increases linearly with the loop current. A simple gain and offset calibration implemented in the MSP430
fixes this error.
0.02
Delta Current Before Calibration
0.01 Delta Current After Calibration
Delta Loop Current (mA)
-0.01
-0.02
-0.03
-0.04
-0.05
4 6 8 10 12 14 16 18 20
SAC Value Applied (mA) D004
Figure 25. Measured Output Loop Current Error Before And After Calibration
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 25
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
(1)
As measured by the 6.5-digit multimeter
(2)
Based on the measured precision resistor
(3)
Based on the reference precision resistor
(4)
Current of the system for the connected, reference precision resistor
26 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
1.2
0.8
Measured ADC Error (qC)
Error (qC)
Specification (qC)
0.6
0.4
0.2
0
-400 -200 0 200 400 600 800 1000
Temperature (qC) D005
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 27
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Hardware, Software, Testing Requirements, and Test Results www.ti.com
28 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
www.ti.com Hardware, Software, Testing Requirements, and Test Results
For a loop-powered system, a low-power consumption of approximately 1.6 mA ensures that the
remainder of the budget (approximately [3.3 mA to 1.6 mA] = approximately 1.7 mA) can be used for
system-level functions such as HART modem implementation.
TIDUE64 – May 2018 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design 29
Submit Documentation Feedback With MSP430 Smart Analog Combo
Copyright © 2018, Texas Instruments Incorporated
Design Files www.ti.com
4 Design Files
4.1 Schematics
To download the schematics, see the design files at TIDM-01000.
5 Software Files
To download the software files, see the design files at TIDM-01000.
6 Related Documentation
1. Texas Instruments, RTD Temperature Transmitter for 2-Wire, 4- to 20-mA Current Loop Systems
(TIDA-00095), reference design
2. Texas Instruments, Small Form Factor, 2-Wire 4 to 20mA Current Loop RTD Temperature Transmitter
Reference Design (TIDA-00165), reference design
3. Texas Instruments, Voice Band Audio Playback Using a PWM DAC (TIDM-VOICEBANDAUDIO),
reference design
4. Texas Instruments, Using PWM Output as a Digital-to-Analog Converter on a TMS320F280x Digital
Signal Controller, application report
6.1 Trademarks
E2E, MSP430, PowerPAD, Code Composer Studio are trademarks of Texas Instruments.
Altium Designer is a registered trademark of Altium LLC or its affiliated companies.
Excel is a registered trademark of Microsoft Corporation.
All other trademarks are the property of their respective owners.
30 4- to 20-mA Loop-Powered RTD Temperature Transmitter Reference Design TIDUE64 – May 2018
With MSP430 Smart Analog Combo Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
IMPORTANT NOTICE FOR TI DESIGN INFORMATION AND RESOURCES
Texas Instruments Incorporated (‘TI”) technical, application or other design advice, services or information, including, but not limited to,
reference designs and materials relating to evaluation modules, (collectively, “TI Resources”) are intended to assist designers who are
developing applications that incorporate TI products; by downloading, accessing or using any particular TI Resource in any way, you
(individually or, if you are acting on behalf of a company, your company) agree to use it solely for this purpose and subject to the terms of
this Notice.
TI’s provision of TI Resources does not expand or otherwise alter TI’s applicable published warranties or warranty disclaimers for TI
products, and no additional obligations or liabilities arise from TI providing such TI Resources. TI reserves the right to make corrections,
enhancements, improvements and other changes to its TI Resources.
You understand and agree that you remain responsible for using your independent analysis, evaluation and judgment in designing your
applications and that you have full and exclusive responsibility to assure the safety of your applications and compliance of your applications
(and of all TI products used in or for your applications) with all applicable regulations, laws and other applicable requirements. You
represent that, with respect to your applications, you have all the necessary expertise to create and implement safeguards that (1)
anticipate dangerous consequences of failures, (2) monitor failures and their consequences, and (3) lessen the likelihood of failures that
might cause harm and take appropriate actions. You agree that prior to using or distributing any applications that include TI products, you
will thoroughly test such applications and the functionality of such TI products as used in such applications. TI has not conducted any
testing other than that specifically described in the published documentation for a particular TI Resource.
You are authorized to use, copy and modify any individual TI Resource only in connection with the development of applications that include
the TI product(s) identified in such TI Resource. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE TO
ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY
RIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
regarding or referencing third-party products or services does not constitute a license to use such products or services, or a warranty or
endorsement thereof. Use of TI Resources may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
TI RESOURCES ARE PROVIDED “AS IS” AND WITH ALL FAULTS. TI DISCLAIMS ALL OTHER WARRANTIES OR
REPRESENTATIONS, EXPRESS OR IMPLIED, REGARDING TI RESOURCES OR USE THEREOF, INCLUDING BUT NOT LIMITED TO
ACCURACY OR COMPLETENESS, TITLE, ANY EPIDEMIC FAILURE WARRANTY AND ANY IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL
PROPERTY RIGHTS.
TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY YOU AGAINST ANY CLAIM, INCLUDING BUT NOT
LIMITED TO ANY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON ANY COMBINATION OF PRODUCTS EVEN IF
DESCRIBED IN TI RESOURCES OR OTHERWISE. IN NO EVENT SHALL TI BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL,
COLLATERAL, INDIRECT, PUNITIVE, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES IN CONNECTION WITH OR
ARISING OUT OF TI RESOURCES OR USE THEREOF, AND REGARDLESS OF WHETHER TI HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
You agree to fully indemnify TI and its representatives against any damages, costs, losses, and/or liabilities arising out of your non-
compliance with the terms and provisions of this Notice.
This Notice applies to TI Resources. Additional terms apply to the use and purchase of certain types of materials, TI products and services.
These include; without limitation, TI’s standard terms for semiconductor products http://www.ti.com/sc/docs/stdterms.htm), evaluation
modules, and samples (http://www.ti.com/sc/docs/sampterms.htm).
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2018, Texas Instruments Incorporated