SLAA904D August   2019  – September 2024 MSP430FR2310 , MSP430FR2311 , MSP430FR2353 , MSP430FR2355

 

  1.   1
  2.   2
  3.   Trademarks
  4.   Revision History

Design Goals

Temperature Output Voltage Supply
TMin TMax VoutMin VoutMax Vcc Vee Vref
25℃ 50℃ 0.2V 3.1V 3.3V 0V 1.65V

Design Description

Some MSP430™ microcontrollers (MCUs) contain configurable integrated signal chain elements such as op-amps, DACs, and programmable gain stages. These elements make up a peripheral called the Smart Analog Combo (SAC). For information on the different types of SACs and how to leverage their configurable analog signal chain capabilities, visit MSP430 MCUs Smart Analog Combo Training. To get started with your design, download the MSP430 Temp Sense NTC Circuit Code Examples and SPICE Simulation File.

This temperature sensing circuit uses a resistor in series with a negative-temperature-coefficient (NTC) thermistor to form a voltage divider, which produces an output voltage that is linear over temperature. The circuit uses the MSP430FR2311 SAC_L1 op-amp in a noninverting amplifier configuration with inverting reference to offset and gain the signal, which helps to use the full ADC resolution and increase measurement accuracy. (Note: The MSP430FR2355 features four SAC_L3 peripherals which each contain a built-in DAC and PGA, providing a single-chip solution for generating Vref and measuring the thermistor circuit.) The output of the integrated SAC op-amp can be sampled directly by the on-board ADC or monitored by the on-board comparator for further processing inside the MCU.

Design Notes

  • The connection, Vin, is a negative temperature coefficient output voltage. To measure the output voltage of a PTC thermistor, switch the position of R1 and the thermistor.
  • Vref can be generated using one of the integrated SAC_L3 DACs in the MSP430FR2355 or a voltage divider. If a voltage divider is used the equivalent resistance of the voltage divider will influence the gain of the circuit.
  • Using high value resistors can degrade the phase margin of the amplifier and introduce additional noise in the circuit. It is recommended to use resistor values of approximately 10kΩ or less.
  • If the solution is implemented using the MSP430FR2311, the SAC_L1 op-amp is configured in general purpose mode to measure the thermistor circuit.
  • If the solution is implemented using the MSP430FR2355, one SAC_L3 peripheral is configured in DAC mode to generate the reference voltage and another is configured in general purpose mode to measure the thermistor circuit.

Design Steps

V out = V c c × R 1 R NTC + R 1 × R 2 + R 3 R 2 - R 3 R 2 × V ref
  1. Calculate the value of R1 to produce a linear output voltage. Use the minimum and maximum values of the NTC to obtain a range of values for R1.
    R NTC _ max = R NTC   @ 25 = 2.252  ,   R NTC _ min = R NTC   @ 50 = 819 . 7 Ω
    R 1 = R NTC   @ 25 × R NTC   @ 50 = 2.252  × 819 . 7    Ω = 1.359    1 . 36
  2. Calculate the input voltage range.
    V inMin = V c c × R 1 R NTC_max + R 1 = 3.3  V × 1.36  2.252  + 1.36  = 1.2418  V
    V inMax = V c c × R 1 R NTC_min + R 1 = 3.3  V × 1.36  819.7  Ω + 1.36  = 2.0582  V
  3. Calculate the gain required to produce the maximum output swing.
    G ideal = V outMax - V outMin V inMax - V inMin = 3.1  V - 0.2  V 2.0582  V - 1.2418  V = 3.5519  V V
  4. Select R2 and calculate R3 to set the gain in 3.
    Gain = R 2 + R 3 R 2
    R 2 =   ( Standard   value )
    R 3 = R 2 × G ideal - 1 = × 3.5519 V V - 1 = 2 . 5519  
    Choose   R 3 = 2.55 
  5. Calculate the actual gain based on standard values of R2 and R3.
    G actual = R 2 + R 3 R 2 = + 2.55  = 3.55  V V
  6. Calculate the output voltage swing based on the actual gain.
    V out_swing = V inMax - V inMin × G actual = 2.0582  V - 1.2418  V × 3.55  V V = 2 . 9   V
  7. Calculate the maximum output voltage when the output voltage is symmetrical around mid-supply.
    V outMax = V mid - supply + V out_swing 2 = V c c - V ee 2 + V out_swing 2 = 3.3  V - V 2 + 2.9  V 2 = 3.1   V
  8. Calculate the reference voltage.
    V outMax = V inMax × G actual - R 3 R 2 × V ref
    3.1  V = 2.0582  V × 3.55  V V - 2.55  × V ref
    V ref = 2.0582  V × 3.55  V V - 3.1  V 2.55  = 1.65  V

Design Simulations

DC Transfer Results

AC Simulation Results

Target Applications

References

Texas Instruments, MSP430 MCUs Smart Analog Combo Training, video

Texas Instruments, MSP430FR2311 TINA-TI Spice Model, software support

Texas Instruments, MSP430 Temp Sense NTC Circuit Code Examples and SPICE Simulation File, SLAC793 design resource

Design Featured Op Amp

MSP430FRxx Smart Analog Combo
MSP430FR2311 SAC_L1 MSP430FR2355 SAC_L3
Vcc 2.0 V to 3.6 V
VCM -0.1 V to VCC + 0.1 V
Vout Rail-to-rail
Vos ±5mV
AOL 100dB
Iq 350µA (high-speed mode)
120µA (low-power mode)
Ib 50pA
UGBW 4MHz (high-speed mode) 2.8MHz (high-speed mode)
1.4MHz (low-power mode) 1MHz (low-power mode)
SR 3V/µs (high-speed mode)
1V/µs (low-power mode)
Number of channels 1 4
MSP430FR2311 MSP430FR2355

Design Alternate Op Amp

MSP430FR2311 Transimpedance Amplifier
Vcc 2.0V to 3.6V
VCM -0.1V to VCC/2V
Vout Rail-to-rail
Vos ±5mV
AOL 100dB
Iq 350µA (high-speed mode)
120µA (low-power mode)
Ib 5pA (TSSOP-16 with OA-dedicated pin input)
50pA (TSSOP-20 and VQFN-16)
UGBW 5MHz (high-speed mode)
1.8MHz (low-power mode)
SR 4V/µs (high-speed mode)
1V/µs (low-power mode)
Number of channels 1
MSP430FR2311