main
Ray Publish 0.1.0 c4b718b 20d ago
{
  "slug": "cn3704",
  "version": "0.1.0",
  "type": "component",
  "description": "ShangHai Consonance Elec Battery Management, TSSOP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "power management (pmic)",
    "cn3704",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "cn3704.kicad_sym",
    "cn3704.kicad_mod",
    "cn3704.glb",
    "cn3704.step",
    "cn3704.lbr",
    "docs/hero.png",
    "docs/cn3704-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "cn3704-hero.glb",
    "cn3704-hero.overlay.json",
    "cn3704-etched.glb"
  ],
  "component": {
    "mpn": "CN3704",
    "manufacturer": "ShangHai Consonance Elec",
    "package": "TSSOP-16",
    "pin_count": 16,
    "category": "Power Management (PMIC)",
    "subcategory": "Battery Management",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586179146548043776",
    "parts": {
      "symbol": "cn3704.kicad_sym",
      "footprint": "cn3704.kicad_mod",
      "model_3d": "cn3704-hero.glb",
      "model_3d_plain": "cn3704-etched.glb",
      "model_3d_step": "cn3704-etched.step",
      "model_3d_step_plain": "cn3704.step",
      "lbr": "cn3704.lbr"
    },
    "distributor_links": {
      "lcsc": "C51659"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T04:30:18Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VG",
        "type": "power_out",
        "description": "Internal voltage modulator output that supplies the internal driver circuits, with a 100nF capacitor required between VG and VCC."
      },
      {
        "number": "2",
        "name": "PGND",
        "type": "power_in",
        "description": "Power ground for the high-current switching path, to be returned separately from the analog ground."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Analog ground that also provides a heat-dissipation path, so its copper area should be made as large as possible."
      },
      {
        "number": "4",
        "name": "CHRG",
        "type": "output",
        "description": "Open-drain output that is pulled low during charging and is high-impedance in other states (drive a LED through a pull-up; up to 25V in charge-complete mode leakage is 1uA max)."
      },
      {
        "number": "5",
        "name": "DONE",
        "type": "output",
        "description": "Open-drain output that is pulled low in the charge-complete state and is high-impedance in other states (leakage 1uA max at 25V in charge mode)."
      },
      {
        "number": "6",
        "name": "TEMP",
        "type": "input",
        "description": "Battery temperature monitor input; a negative-temperature-coefficient thermistor (10kΩ at 25°C) is connected between TEMP and GND, with a 50uA pull-up and comparator thresholds of 1.61V high and 0.175V low."
      },
      {
        "number": "7",
        "name": "EOC",
        "type": "input",
        "description": "End-of-charge current setting pin, connected directly to GND or through a resistor to GND, where Rext must not exceed 100kΩ or charge will not terminate correctly."
      },
      {
        "number": "8",
        "name": "COM1",
        "type": "passive",
        "description": "Loop compensation input 1, which requires a 470pF capacitor to GND."
      },
      {
        "number": "9",
        "name": "COM2",
        "type": "passive",
        "description": "Loop compensation input 2, which requires a 120Ω resistor in series with a 220nF capacitor to GND."
      },
      {
        "number": "10",
        "name": "test",
        "type": "input",
        "description": "Test pin that must be connected to GND."
      },
      {
        "number": "11",
        "name": "COM3",
        "type": "passive",
        "description": "Loop compensation input 3, which requires a 100nF ceramic capacitor to GND."
      },
      {
        "number": "12",
        "name": "NC",
        "type": "unconnected",
        "description": "No internal connection."
      },
      {
        "number": "13",
        "name": "CSP",
        "type": "input",
        "description": "Positive charge-current sense input that, together with BAT across the sense resistor RCS, sets the constant charge current at 200mV/RCS and must be connected directly to RCS."
      },
      {
        "number": "14",
        "name": "BAT",
        "type": "input",
        "description": "Battery voltage sense input and negative charge-current sense input that, with the internal divider and reference, regulates the constant-voltage charge at 16.8V ±1%."
      },
      {
        "number": "15",
        "name": "VCC",
        "type": "power_in",
        "description": "External supply input (7.5V to 28V) that also powers the internal circuits and needs a filter capacitor to GND; absolute maximum is -0.3V to 30V."
      },
      {
        "number": "16",
        "name": "DRV",
        "type": "output",
        "description": "Gate drive output for the external P-channel MOSFET, with the low level clamped to about 8V (max) below VCC."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Datasheet says only that the test pin must be tied to GND; the ERC type 'input' is my choice, not st; CHRG and DONE are open-drain outputs; KiCad has no open-drain class, so 'output' was used.; Loop-compensation pins are typed 'passive' as an inference from their RC/C-to-GND connection; the da"
        ],
        "pages_sent": 11,
        "cost_usd": 0.0659,
        "at": "2026-10-19T04:28:01"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586179146548043776",
        "pages": 11,
        "sha256": "ca89e858f5e1cfad",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 16,
        "described": 16,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "cn3704.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          5.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "6ad5e98224d02a427d9a6b929a28dbc158b9925fba5adec12db05079f1016948",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "cn3704-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          5.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "e3707b788eff75bde33c58a31590e015eeb499a222cd362d9509fcc7541b52fc",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}