SLAA916A November   2019  – March 2020 MSP430FR2310 , MSP430FR2311 , MSP430FR2353 , MSP430FR2355

 

  1.   Low-noise and long-range PIR sensor conditioner circuit with MSP430™ smart analog combo
    1.     2
  2.   Revision History

Design Goals

AC Gain Filter Cut-Off Frequency Supply
90 dB fL fH Vcc Vee
0.7 Hz 10 Hz 3.3 V 0 V

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 Low-Noise Long-Range PIR Sensor Conditioner Circuit Design Files.

This design leverages two of the four integrated op-amp blocks (SACs) in the MSP430FR2355 MCU. Two SAC_L3 peripherals are configured as cascaded op-amps in general-purpose mode to amplify and filter the signal from a passive infrared (PIR) sensor. The circuit includes multiple low-pass and high-pass filters to reduce noise at the output of the circuit to be able to detect motion at long distances and reduce false triggers. The output of the second-stage op-amp in this circuit can be internally or externally connected to other integrated peripherals in the MSP430FR2355 MCU. For example, the analog-to-digital converter (ADC) window comparator can sample this output periodically (with no CPU intervention) and trigger an interrupt when the signal crosses a threshold, indicating motion or an alert.

schematic.jpg

Design Notes

  • The common-mode voltage and output-bias voltage are set using the resistor dividers between R2 and R3 (and R7 and R8).
  • Two or more amplifier stages must be used to allow for sufficient loop gain.
  • Additional low-pass and high-pass filters can be added to further reduce noise.
  • Capacitors C4 and C8 filter noise by decreasing the bandwidth of the circuit and help stabilize the amplifiers.
  • RC filters on the output of the amplifiers (for example, R6 and C5) are required to reduce the total integrated noise of the amplifier.
  • The maximum gain of the circuit can be affected by the cut-off frequencies of the filters. The cut-off frequencies may need to be adjusted to achieve the desired gain.
  • For this design, two SAC_L3 peripherals in the MSP430FR2355 MCU are configured as cascaded op-amps in general-purpose mode.
  • This design can also be implemented by using the transimpedance amplifier (TIA) and SAC_L1 peripheral in the MSP430FR2311 MCU for the cascaded op-amps, but since the maximum input voltage of the TIA is limited to VCC/2, the common-mode voltage and gain should be limited accordingly.
  • The Low-Noise Long-Range PIR Sensor Conditioner Circuit Design Files include a code example demonstrating how to properly configure the SAC_L3 and ADC window comparator peripherals in the MSP430FR2355 MCU.

Design Steps

  1. Choose large-valued capacitors C1, C5, and C9 for the low-pass filters. These capacitors should be selected first because large-valued capacitors have limited standard values to select from compared to standard resistor values.
  2. C1 = C5 = C9 =10 μF
  3. Calculate resistor values for R1, R6, and R11 to form the low-pass filters.
  4. R1 = R6 = R11 = 1 2 π × f H × C1 = 1 2 π ×10 Hz ×10 μF =1 .592 Choose   R1 = R6 = R11 =1 .6   ( Standard   value )
  5. Select capacitor values for C2, C3, C6, and C7 for the high-pass filters.
  6. C2 = C3 = C6 = C7 =33 μF
  7. Calculate the resistor values for R4 and R9 for the high-pass filters.
  8. R4 = R9 = 1 2 π × f L × C2 = 1 2 π ×0 .7 Hz ×33 μF =6 .89 Choose   R4 = R9 =6 .9   ( Standard   value )
  9. Set the common-mode voltage of the amplifier to mid-supply using a voltage divider. The equivalent resistance of the voltage divider should be equal to R4 to properly set the corner frequency of the high-pass filter.
  10. R2 = R3 = R7 = R8 =2 × R4 =2 ×6 .9 =13 .8 Choose   R2 = R3 = R7 = R8 =13 .8   ( Standard   value )
  11. Calculate the gain required by each gain stage to achieve the total gain requirement. Distribute the total gain target of the circuit evenly between both gain stages.
  12. Gain = 90 dB 2 =45 dB =177 .828 V V
  13. Calculate R5 to set the gain of the first stage.
  14. R5 = Gain -1 × R4 = 177 .828 V V -1 ×6 .9 =1 .22 Choose   R5 =1 .23   ( Standard   value )
  15. Calculate C4 to set the low-pass filter cut-off frequency.
  16. C4 = 1 2 π × f H × R5 = 1 2 π ×10 Hz ×1 .23 =12 .939 nF Choose   C4 =13 nF   ( Standard   value )
  17. Since the gain and cut-off frequency of the first gain stage is equal to the second gain stage, set all component values of both stages equal to each other.
  18. R1 = R6 =1 .6 R7 = R8 =13 .8 R9 = R4 =6 .9 R10 = R5 =1 .23 C8 = C4 =13 nF
  19. Calculate R11 to set the cut-off frequency of the low-pass filter at the output of the circuit.
  20. R11 = 1 2 π × f H × C9 = 1 2 π ×10 Hz ×10 μF =1 .592 Choose   R11 =1 .6   ( Standard   value )

Design Simulations

AC Simulation Results

ac_simulation_results_new.jpg

Noise Simulation Results

noise_simulation_results_new.jpg

Target Applications

References

  1. Low-Noise Long-Range PIR Sensor Conditioner Circuit Design Files
  2. Analog Engineer's Circuit Cookbooks
  3. MSP430FR2311 TINA-TI Spice Model
  4. How to Use the Smart Analog Combo in MSP430TM MCUs
  5. MSP430 MCUs Smart Analog Combo Training
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 ±5 mV
AOL 100 dB
Iq 350 µA (high-speed mode)
120 µA (low-power mode)
Ib 50 pA
UGBW 4 MHz (high-speed mode) 2.8 MHz (high-speed mode)
1.4 MHz (low-power mode) 1 MHz (low-power mode)
SR 3 V/µs (high-speed mode)
1 V/µs (low-power mode)
Number of channels 1 4
http://www.ti.com/product/MSP430FR2311
http://www.ti.com/product/MSP430FR2355

Design Alternate Op Amp

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

Related MSP430 Circuits