{
  "metadata": {
    "id": "mcp73831t-2dci-mc",
    "name": "MCP73831T-2DCI/MC",
    "type": "ic",
    "description": "Single-cell Li-Ion/Li-Polymer linear charge management controller, 4.20V regulation, programmable 15–500 mA. 8-lead 2×3 mm DFN with exposed pad.",
    "manufacturer": "Microchip Technology",
    "part_number": "MCP73831T-2DCI/MC",
    "datasheet_url": "https://ww1.microchip.com/downloads/en/DeviceDoc/MCP73831-Family-Data-Sheet-DS20001984H.pdf",
    "tags": [
      "Li-Ion",
      "Li-Polymer",
      "charger",
      "linear",
      "USB-charge",
      "DFN",
      "RPROG",
      "STAT"
    ],
    "schema_version": "1.4.0",
    "version": "1.1.0",
    "taxonomy": [
      "power.charger",
      "power.pmic"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "vdd_in",
          "name": "VDD input",
          "nominal_voltage_V": 5,
          "voltage_range_V": [
            3.75,
            6
          ],
          "isolation_type": "non_isolated",
          "ground_reference": "common",
          "description": "Battery management input supply."
        }
      ],
      "resources": [
        {
          "id": "pin1_vdd",
          "name": "VDD (pin 1)",
          "description": "Battery management input supply.",
          "functions": [
            {
              "name": "VDD_IN",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin2_vdd",
          "name": "VDD (pin 2)",
          "description": "Battery management input supply, second pin (DFN).",
          "functions": [
            {
              "name": "VDD_IN",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin3_vbat",
          "name": "VBAT (pin 3)",
          "description": "Battery charge control output to cell positive.",
          "functions": [
            {
              "name": "VBAT_OUT",
              "direction": "source",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin4_vbat",
          "name": "VBAT (pin 4)",
          "description": "Battery charge control output duplicate pin (DFN).",
          "functions": [
            {
              "name": "VBAT_OUT",
              "direction": "source",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin5_stat",
          "name": "STAT (pin 5)",
          "description": "Charge status output, tri-state logic on MCP73831.",
          "functions": [
            {
              "name": "STATUS_OUT",
              "direction": "source",
              "signal_class": "digital"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin6_vss",
          "name": "VSS (pin 6)",
          "description": "Battery management 0 V reference (ground).",
          "functions": [
            {
              "name": "GND",
              "direction": "sink",
              "signal_class": "ground"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin7_nc",
          "name": "NC (pin 7)",
          "description": "No connection.",
          "functions": [
            {
              "name": "NC",
              "direction": "bidirectional",
              "signal_class": "nc"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "pin8_prog",
          "name": "PROG (pin 8)",
          "description": "Charge current program set and charge enable. Place RPROG to VSS.",
          "functions": [
            {
              "name": "PROG_SET",
              "direction": "input",
              "signal_class": "analog"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        },
        {
          "id": "ep_pad",
          "name": "EP (exposed pad)",
          "description": "Exposed pad. Internally tied to VSS. Must connect to ground.",
          "functions": [
            {
              "name": "GND",
              "direction": "sink",
              "signal_class": "ground"
            }
          ],
          "power_domain_id": "vdd_in",
          "connector_type": "smd_pad"
        }
      ],
      "interfaces": [
        {
          "id": "power_input_vdd",
          "name": "Power Input",
          "protocol": {
            "type": "power",
            "role": "input"
          },
          "requires": [
            {
              "function": "VDD_IN",
              "count": 1
            },
            {
              "function": "GND",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1
          },
          "description": "3.75–6.0 V input supply to VDD pins."
        },
        {
          "id": "battery_charge_output",
          "name": "Battery Charge Output",
          "protocol": {
            "type": "power",
            "role": "output"
          },
          "requires": [
            {
              "function": "VBAT_OUT",
              "count": 1
            },
            {
              "function": "GND",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1
          },
          "description": "Regulated CC/CV output to single-cell Li-Ion/Li-Poly battery positive."
        },
        {
          "id": "status_gpio",
          "name": "STATUS output",
          "protocol": {
            "type": "gpio",
            "role": "output"
          },
          "requires": [
            {
              "function": "STATUS_OUT",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1
          },
          "description": "Tri-state status indicator on MCP73831; drives LED or MCU input."
        },
        {
          "id": "prog_input",
          "name": "PROG current set",
          "protocol": {
            "type": "analog",
            "role": "input"
          },
          "requires": [
            {
              "function": "PROG_SET",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1
          },
          "description": "Program charge current with RPROG to VSS. Device disabled when PROG floats."
        }
      ],
      "supply_voltage_V": [
        3.75,
        6
      ],
      "metadata": {
        "regulation_voltage_V": 4.2,
        "charge_current_programmable_mA": [
          15,
          500
        ],
        "charge_current_formula": "I_REG(mA) = 1000 / RPROG(kOhm)",
        "termination_current_ratio_percent": 7.5,
        "recharge_threshold_percent_of_VREG": 96.5,
        "preconditioning": "Disabled (option DC)"
      }
    },
    {
      "domain": "mechanical",
      "resources": [],
      "interfaces": [],
      "package_type": "DFN-8 2x3 mm (with EP)",
      "dimensions_mm": {
        "length": 3,
        "width": 2,
        "height": 0.9
      },
      "metadata": {
        "mounting_method": "smd",
        "exposed_pad": "yes"
      }
    },
    {
      "domain": "thermal",
      "resources": [],
      "interfaces": [],
      "operating_temperature_C": [
        -40,
        85
      ],
      "metadata": {
        "theta_ja_C_per_W": 76,
        "thermal_shutdown_C": 150,
        "requires_thermal_management": true
      }
    }
  ],
  "design_rules": [
    "Place 4.7 µF minimum from VBAT to VSS for stability when no battery is connected.",
    "Place 4.7 µF minimum from VDD to VSS for input bypass.",
    "Program charge current with RPROG: I_REG(mA) = 1000 / RPROG(kΩ). 2 kΩ ≈ 500 mA; 10 kΩ ≈ 100 mA.",
    "PROG floating disables charging; ensure defined state.",
    "Do not exceed VDD 7.0 V absolute maximum. Operate 3.75–6.0 V.",
    "STAT is tri-state logic output on MCP73831; use pull-up if interfacing to MCU.",
    "EP is internally connected to VSS; solder to ground copper for thermal performance.",
    "Use input overvoltage protection for hot-plug sources (e.g., USB or wall adapters)."
  ],
  "usage_notes": "Thermal regulation will reduce charge current at high dissipation. Use DFN package and ground pad copper to improve performance. Select IREG ≤ source current and thermals.",
  "application_examples": [
    "USB-powered single-cell Li-Ion charger at 500 mA (RPROG=2 kΩ).",
    "Low-current wearable charger at 100 mA (RPROG=10 kΩ)."
  ],
  "compatibility_notes": "Single-cell only. Intended for 4.20 V Li-Ion/Li-Poly cells. Option ‘DC’ disables preconditioning; ensure battery is not deeply discharged.",
  "warnings": [
    "Absolute maximum VDD 7.0 V.",
    "Observe PCB thermal design; device enters thermal regulation near worst-case power.",
    "Reverse discharge current <2 µA during UVLO; still design for reverse-current protection at system level if required."
  ]
}