MSP430 Σ-Δ ADC FAQ & application of battery monitoring/management
MSP430 Σ-Δ ADC FAQ & application of battery monitoring/management
MSP430 Σ-Δ ADC FAQ & application of battery monitoring/management
of battery monitoring/management
MSP Apps
1
Agenda
• Sigma-Delta ADC introduction
• MSP Sigma-Delta ADC features
• Solutions with MSP Sigma-Delta ADC
• Related links
2
Sigma-Delta ADC introduction
3
ADC selection questions
• Input voltage range?
• Max input frequency?
• Resolution?
• Differential inputs?
• Reference range?
• Multiple channels?
4
ADC architectures overview
• Delta Sigma (ΔΣ) or Sigma Delta (SD)
– Oversampling
– Digital filtering
• Successive Approximation (SAR)
– Sampling
– Using iteration
• Pipeline
– Undersampling
– Leveraging sample/gain algorithm topology
– Using multiple stages
5
SD ADC overview – simplified
Modulator Decimator
Analog Digital
Input (analog) (digital) Output
6
SD ADC conversion process
7
Modulator structure overview
8
Modulator – Input and output signal
Input Signal Output Signal
Time domain
Frequency domain
9
Reduce noise methods
Signal
10
Move to the digital decimator filter
11
Digital decimator filter Overview
12
Digital filter output (Sinc3)
13
Decimator digital output
14
MSP Sigma-Delta ADC features
15
MSP430 Sigma-Delta ADC product portfolio
MSP430F471x6/x7 MSP430F677x/A(F676x/A) MSP430F6764x/A
Industrial
Comm. &
3-phase
MSP430F673x/A(F672x/A) MSP430F674x/A
Residential
MSP430F471x3
Class 0.2 Metrology Class 0.2 Meterology
Polyphase SoC
SoC
Description:
•
Single-phase
MSP430FE42x
Metrology front end
MSP430AFE2xx
Metrology front end
MSP430i20xx
Meterology Front End
MSP430F6xxx : Add AES-128
(3) 16-bit ΣΔ converters (3) 24-bit ΣΔ converters
Class 0.5 Meterology • MSP430F6xxxA:Improved ESD
32KB Flash 16KB Flash ( 2/3/4) 24-bit ΣΔ converters • MSP430F6xxx1: None
AFE
16
MSP Sigma-Delta ADC Feature Comparison
Parameter SD16 SD16_A CTSD16 SD24_A SD24_B SD24 SDHS
F20x3
F(G)42x0 FR50xx
MSP430 F(E)42x(A) FG6x2x AFE2xx F67xx(1)(A) i20xx
F(G)47x FR60xx
F47(1)xx
Number of ADCs 1, 3 1, 3, 4, 6, 7 1 1, 2, 3 2, 3, 4, 6, 7 2, 3, 4 1
Modulator freq range 0.5 to 1 MHz 0.03 to 1.1 MHz 1.024 MHz 0.03 to 1.1 MHz 0.03 to 2.3 MHz 1.024 MHz 68 to 80 MHz
OSR range 32 to 256 32 to 1024 32 to 256 32 to 1024 1 to 1024 32 to 256 10 to 160
Maximum data rate 31.25 kHz 34.375 kHz 32 kHz 34.375 kHz 2.3 MHz 32 kHz 8 MHz
Maximum full-scale range
±500 mV ±500 mV ±928 mV ±500 mV ±930 mV ±928 mV ±500 mV
(FSR)
PGA range 1 to 32 1 to 32 1 to 16 1 to 32 1 to 128 1 to 16 0.5 to 34.5
Internal short for PGA offset
YES YES YES YES YES NO NO
measurement
Integrated buffer(s) NO YES YES NO NO NO NO
Grouped ADC channels YES YES YES YES YES YES NO
Synchronization with external
modules (for example, SAR NO NO NO NO YES NO NO
ADC)
Modulator order Second-order Second-order Second-order Second-order Second-order Second-order Third-order
CIC7 (stage 1)
Type of digital filter(s) SINC3 SINC3 SINC3 SINC3 SINC3 SINC3
CIC1 (stage 2)
Architecture Discrete-Time Discrete-Time Continuous-Time Discrete-Time Discrete-Time Continuous-Time Discrete-Time
17
MSP430i20xx – SD24 overview
• Features
– Second-order sigma-delta architecture
– Up to four independent simultaneously
sampling ADCs (device dependent)
– Fixed 1.024-MHz modulator input
frequency
– Software selectable internal or external
voltage reference
– Software selectable temperature sensor
accessible by all channels
– PGA values: 1, 2, 4, 8, 16
– OSR values: 32, 64, 128, 256
18
MSP430F67xxA – SD24_B overview
• Features
– Second-order sigma-delta architecture
– Up to seven independent simultaneously
sampling ADCs (device dependent)
– Flexible internal modulator input
frequency (30-kHz to 2.3-MHz)
– *Optional external modulator input
frequency (up to 25-MHz)
– PGA values: 1, 2, 4, 8, 16, 32, 64, 128
– OSR values: 1 to 1024
20
How do I calculate Effective Number of Bits (ENOB)?
• MSP430 datasheets specify signal-to-noise + distortion ratio (SINAD) values
• SINAD improves with lower GAIN and higher OSR values
• Covert SINAD to ENOB
22
How do I select the correct PGA gain setting?
• What is PGA? Programmable Gain Amplifier
• Each gain setting supports inputs below its
max differential input voltage (VID+/-)
VIN 0V
+/−𝑉𝑅𝐸𝐹
𝑉𝐹𝑆+/− =
𝐺𝐴𝐼𝑁𝑃𝐺𝐴
VID-
VFS- 23
Solutions with MSP Sigma-Delta ADC
25
Where can use MSP430 Sigma-Delta ADC
• 1. Detect Signals with positive and negative voltage input
– E-meter
– Power monitor
• 2. Detection high precision signals with positive voltage input
– Battery monitor
– Field transmitter
– Gas detector
26
Solution 1: E-Meters / power monitoring
27
Configuring MCU and sensors using EMDC GUI
EMDC demo
Low-cost
30
Solution 2: Battery monitor
What is a Battery monitor?
Measures battery voltage and current flow into & out of a battery bank and uses these measurements
to accurately track the amount of charge left in the battery bank.
lithium battery
Other classifications:
• System side-Battery side
• Multi cells
Super capacitor • Industry/Auto
32
MCU selection guide for battery monitors
Parameter MSP430i20xx MSP430AFE2xx
33
Solution 3: Field transmitter
What is a Field transmitter?
Used to measure and control process variables such as flow, temperature, pressure, weight, etc.
34
MCU selection guide for field transmitters
Parameter MSP430i20xx MSP430AFE2xx
35
Solution 4: Gas detector
Residential gas
detector
Industry portable
Gas detector
gas detector
Industry fixable
gas detector
37
MCU selection guide for gas detector
Parameter MSP430i20xx MSP430AFE2xx
38
MCU selection guide for gas detector
Parameter MSP430FR215x/ MSP430FR247x
MSP430FR235x
Supply Voltage 1.8 ~ 3.6V 1.8 ~ 3.6V
Temperature - 40 ~ 105c - 40 ~ 105c
CPU-Freq/MHz 24 16
NVM: FRAM(KB) 32 / 16 64 / 32
SRAM (KB) 4/2 8/4
12-bit ADC Channels 12 12
eCOMP 2 1
Timer 4 5
I2C 2 2
• MSP value propositions SPI 4 4
– Mixed-Signal MCU (MCU + DAC + OPA) UART 2 2
– Lower power dissipation
I/O 34 / 36/ 44 27 / 35 / 43
– FRAM for high performance data logging
– TI design for 4-mA current loop(TIDM-01000) Package 38TSSOP / 40 VQFN / 32VQFN /40VQFN
48LQFP / 48LQFP
– MSP430FR2355 have four 12-bit DAC + OPA Combo
39
Related links
42
Resources (Document)
43
Resources (TI Design)
TI Design Name Product MCU Value Proposition / Features utilized
TIDM-3PHMETER-ROGOWSKI : Implementation of a 3ph. Rogowski Coil based Watt F6779A 7 ΣΔ 24bit ADC, Rogowski Coil Sensor support Meterology software
hour Meter (http://www.ti.com/lit/ug/tidu474/tidu474.pdf)
TIDM-Single Phase Meter : Class 0.2 Accuracy F6736 Single Chip, RTC with Sep. VBat
(http://www.ti.com/lit/an/slaa517c/slaa517c.pdf)
TIDM-Three Phase Meter : Class 0.2 Accuracy F6779 Single Chip (7 SD24s), RTC :Sep Vbat & Tamper Detect IO
(http://www.ti.com/lit/an/slaa577f/slaa577f.pdf)
TIDM-Three Phase Meter : Class 0.5 Accuracy F67641 Low Cost Solution, RTC with Sep. Vbat
(http://www.ti.com/lit/an/slaa621b/slaa621b.pdf)
TIDC-3PHMTR-WIFIXR : Implementing Simple link WiFi Connectivity in a Smart Electric F67791 7 - ΣΔ 24bit ADC for 3ph. Measurements, Large 320segment Display for WiFi
Meter (http://www.ti.com/lit/ug/tidu520/tidu520.pdf) parameters
TIDM-TWOPHASEMETER-I2040 : Low Cost Two Phase Electric Meter I2041, 4 - ΣΔ 24bit ADC, Metrology & Host MCU Isolated communication
(http://www.ti.com/lit/ug/tidu482/tidu482.pdf) F6638
TIDM-AUX-MODULE : Battery Management and Auxiliary Power Supply Options for E- F67791A Sep. Power Supply and Automatic Time Capture of External Events for Tamper
Meters ( http://www.ti.com/lit/ug/tidu452/tidu452.pdf) Detection
TIDM-3OUTSMTSTRP : Three Output Smart Power Strip i2041 4 - ΣΔ 24bit ADC, Small Form Factor, Individual power and current of Three Socket
(http://www.ti.com/lit/ug/tidu453/tidu453.pdf) Outlets
TIDM-SERVER-PWR-MON : Single Phase and DC Embedded Metering (Server Power i2040 4 - ΣΔ 24bit ADC, No ext. Crystal, Small Form Factor
Monitor) (http://www.ti.com/lit/ug/tidu454a/tidu454a.pdf)
TIDC-SmartPlug-Wifi : Smart Plug with Remote Disconnect and WiFi Connectivity i2040 4 - ΣΔ 24bit ADC, small form factor, Better than class 0.5 accuracy
(http://www.ti.com/lit/ug/tidu531/tidu531.pdf)
TIDM-MSP430AFE253 – Sub Meter EVM AFE253 Simple evaluation system with PC, Metrology Library
(http://www.ti.com/lit/an/slaa494a/slaa494a.pdf)
44
Q&A
45
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2022, Texas Instruments Incorporated