TIDUF27A February   2025  – March 2025 AMC131M03 , MSPM0G1507

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
    2. 1.2 End Equipment
    3. 1.3 Electricity Meter
    4. 1.4 Power Quality Meter, Power Quality Analyzer
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Voltage Measurement Analog Front End
      2. 2.2.2 Analog Front End for Current Measurement
      3. 2.2.3 XDS110 Emulator
      4. 2.2.4 Bluetooth® Data Transmission
      5. 2.2.5 Bluetooth® Connection Between Two Modules
      6. 2.2.6 Bluetooth® to UART Connection
      7. 2.2.7 Magnetic Tamper Detection With TMAG5273 Linear 3D Hall-Effect Sensor
    3. 2.3 Highlighted Products
      1. 2.3.1  MSPM0G3507
      2. 2.3.2  AMC131M03
      3. 2.3.3  CDC6C
      4. 2.3.4  RES60A-Q1
      5. 2.3.5  TPS3702
      6. 2.3.6  TPD4E05U06
      7. 2.3.7  ISOUSB111
      8. 2.3.8  LMK1C1104
      9. 2.3.9  MSP432E401Y
      10. 2.3.10 TPS709
      11. 2.3.11 TMAG5273
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
      1. 3.1.1 Clocking System
        1. 3.1.1.1 BAW Oscillator
        2. 3.1.1.2 Crystal Oscillator
        3. 3.1.1.3 PWM
        4. 3.1.1.4 Clock Buffers
      2. 3.1.2 SPI Bus Configuration
      3. 3.1.3 Jumper Settings for LED and UART
    2. 3.2 Software Requirements
      1. 3.2.1 UART for PC GUI Communication
      2. 3.2.2 Direct Memory Access (DMA)
      3. 3.2.3 ADC Setup
      4. 3.2.4 Calibration
    3. 3.3 Test Setup
      1. 3.3.1 Connections to the Test Setup
      2. 3.3.2 Power Supply Options and Jumper Settings
        1.       51
      3. 3.3.3 Cautions and Warnings
    4. 3.4 Test Results
      1. 3.4.1 Electricity Meter Metrology Accuracy Results
      2. 3.4.2 Radiated Emissions Performance
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
      3. 4.1.3 PCB Layout Recommendations
        1. 4.1.3.1 Layout Prints
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  11. 5About the Author
  12. 6Revision History

Block Diagram

Figure 2-1 depicts the MSPM0G3507 and AMC131M03-based three-phase energy measurement application block diagram.

On each phase (or line) the line-to-neutral voltage is directly measured, as well as the current for each line (3 phases) and through the N (Neutral) wire; hence, both 3-phase, 3-wire (3P3W) or 3-phase, 4-wire with Neutral (3P4W) configurations are supported by default. By not using some phases, this reference design can also be used in a split-phase (leave open Phase C) or single-phase (leave open Phase B and C) configuration. In the TIDA-010244 block diagram, shunt sensors connect to each of the 3 phases for the current measurement while a simple voltage divider is used for dividing down the corresponding voltage of each line. The selection of the shunt is made based on the current range required for the energy measurements, while minimizing power dissipation in the shunt at high currents. Values in the range of 150μΩ to 200μΩ are common, assuming up to 100A or 120A maximum current per phase are to be measured.

In this design, the four AMC131M03 or AMC131M02 devices interact with the MSPM0+ MCU in the following manner:

  1. Three different clock signals are fed to a 4-channel output LVCMOS buffer LMK1C1104 to obtain 4 identical in-phase clock signals CLKIN1 through CLKIN4, making sure all ADCs run and collect data samples synchronized to each other.
    1. TI BAW oscillator CDC6C provides a high-precision clock signal with 8.192MHz to both LMK1C1104 and MSPM0G3507 devices (default option).
    2. An external 16.384MHz crystal oscillator (XTAL) supplies the MSPM0G3507 HFXIN and HFXOUT pins and runs through an internal divider by 2 to create the M0_CLKOUT signal at 8.192MHz (when TI BAW is not populated). M0_CLKOUT is then connected to the LMK1C1104 clock buffer.
    3. A PWM signal from the MSPM0G3507 can be used to supply the clock buffers for evaluation purposes. To enable the PWM signal one of the previously mentioned clock devices needs to be connected to HFXIN and HFXOUT (optional).
  2. The 4 outputs of LMK1C1104 are fed to the four CLKIN1 through CLKIN4 input pins (one per ADC device).
  3. Each of the four AMC131M03 or AMC131M02 devices divides the CLKIN input by 2 and uses that value as the delta-sigma modulation clock.
  4. The SPI_SCK (SPU Bus clock) signal (output from the MCU being the SPI controller) is input to a second 4-channel output LVCMOS buffer LMK1C1104 to obtain four identical in-phase clock signals for the SPI data transfer.
  5. The four SPI_SCK lines SCLK1 through SCLK4 are fed to the SCLK input of each ADC, making sure all ADCs run synchronously on the shared SPI bus.
  6. Four separate CS lines are used, these are automatically generated and controlled by the SPI peripheral of the MSPM0+ MCU.
  7. When new ADC samples are ready, each AMC131M03 asserts the DRDY output pin (DRDY1 through DRDY4), which alerts the MCU that new data samples are available.
  8. After detecting the DRDY falling edge, the MSPM0+ MCU uses one SPI and two of the DMA channels in the DMA module to read in the voltage and current samples from each AMC131M0X device. The four standalone ADCs generate the four DRDY signals simultaneously but because the ADCs share the same SPI bus, the ADCs are being read out sequentially by the MCU.
  9. The MCU also communicates to a PC GUI through the USB Type-C interface over the XDS110 debugger on the board or an external FTDI connector.
  10. ACT and REACT output signals from the MCU represent the active and reactive energy pulses used for accuracy measurement and calibration. Both are key signals needed for calibrating the electricity meter against a reference meter.

The MSPM0+ MCU has internal Power-on reset (POR) and POR as well as Brownout reset (BOR) supply monitor with four configurable threshold voltages.

This reference design can be powered either by applying 5V through the USB Type-C connector or the marked headers or 3.3V at the designated header pins. See Section 3.3.2 for more details on the proper jumper connections for powering the board.

The USB Type-C interface can be used to program and debug the MSPM0G3507. This interface is isolated and can be used to provide 5V from the USB power to the system. If the 5V option is chosen, the isolation of the USB Type-C interface is not in effect.

This reference design also comes with two options of transmitting the metrology parameters data over Bluetooth using either the CC2340 Bluetooth low energy subsystem with all passives (discrete implementation) or a CC2340-based Bluetooth module.

TIDA-010244 MSPM0G3507 and AMC131M03-Based
                    Three-Phase Energy Measurement Block Diagram Figure 2-1 MSPM0G3507 and AMC131M03-Based Three-Phase Energy Measurement Block Diagram