mukesh-dev-git/usbc-pd-3s-charger

A tscircuit package created by mukesh-dev-git.

Version
1.0.0
License
MIT
Stars
0

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

const pinLabels$3 = {
    pin1: ["G"],
    pin2: ["S"],
    pin3: ["D"]
};
const pinAttributes$1 = {
    pin1: { isInput: true },
    pin2: { isPassive: true },
    pin3: { isPassive: true }
};
const AO3400A = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, pinAttributes: pinAttributes$1, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0.12, "y": -0.04 }, { "x": 0.12, "y": 0.04 }, { "x": 0, "y": 0 }], strokeColor: "#880000", isFilled: true, fillColor: "#FEFEFE" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.4, "y": 0.04 }, { "x": 0.34, "y": -0.06 }, { "x": 0.46, "y": -0.06 }, { "x": 0.4, "y": 0.04 }], strokeColor: "#880000", isFilled: true, fillColor: "#FEFEFE" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.14 }, { "x": 0.2, "y": 0.14 }, { "x": 0.2, "y": 0.2 }, { "x": 0.4, "y": 0.2 }, { "x": 0.4, "y": 0.04 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0.2, "y": 0 }, { "x": 0.2, "y": -0.2 }, { "x": 0.4, "y": -0.2 }, { "x": 0.4, "y": -0.06 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": -0.14 }, { "x": 0, "y": -0.14 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.04, "y": 0.18 }, { "x": -0.04, "y": -0.18 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.18 }, { "x": 0, "y": 0.1 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.04 }, { "x": 0, "y": 0.04 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.18 }, { "x": 0, "y": -0.1 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.2, "y": 0 }, { "x": -0.04, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.48, "y": 0.04 }, { "x": 0.44, "y": 0.04 }, { "x": 0.36, "y": 0.04 }, { "x": 0.32, "y": 0.04 }], strokeColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["D"], direction: "up", schX: 0.2, schY: 0.4, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["G"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["S"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 }), jsxRuntime.jsx("schematictext", { schX: 0.03, schY: 0.62, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C20917"
            ]
        }, manufacturerPartNumber: "AO3400A", footprint: "sot23w_p1mm_pw0.65mm_pin1location(rightside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20917.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20917.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

const pinLabels$2 = {
    pin1: ["cathode", "neg"],
    pin2: ["anode", "pos"]
};
const B5819W_SL = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsxRuntime.jsx("diode", { name: name, pinLabels: pinLabels$2, supplierPartNumbers: {
            "jlcpcb": [
                "C8598"
            ]
        }, manufacturerPartNumber: "B5819W SL", footprint: "diode_p3.4mm_pw1.2mm_ph0.95mm_rounded0_cyw5.1mm_cyh2.2mm_cathodepin1", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8598.obj?uuid=e9d505c99b6c436aaf827a29c5ba4f84",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8598.step?uuid=e9d505c99b6c436aaf827a29c5ba4f84",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.000012699999999199463, z: -0.6 },
        }, ...restProps }));
};

const pinLabels$1 = {
    pin1: ["VDD"],
    pin2: ["CFG2"],
    pin3: ["CFG3"],
    pin4: ["DP"],
    pin5: ["DM"],
    pin6: ["CC2"],
    pin7: ["CC1"],
    pin8: ["VBUS"],
    pin9: ["CFG1"],
    pin10: ["PG"],
    pin11: ["GND"]
};
const pinAttributes = {
    pin1: { requiresPower: true },
    pin8: { requiresPower: true },
    pin11: { requiresGround: true }
};
const footprinterPinLabels = {
    ...pinLabels$1,
    "pin11": [...pinLabels$1["pin11"], "thermalpad"],
};
const CH224K = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: footprinterPinLabels, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C970725"
            ]
        }, manufacturerPartNumber: "CH224K", footprint: "dfn10_thermalpad2.1mmx3.3mm_p1mm_w7.5mm_pl1.5mm_pin1location(leftside,bottom)", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.obj?uuid=c37139ac11be40009679f32869d9459d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C970725.step?uuid=c37139ac11be40009679f32869d9459d",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000063500000123895, y: 0, z: -0.81 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["cathode", "neg"],
    pin2: ["anode", "pos"]
};
const SS34 = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsxRuntime.jsx("diode", { name: name, pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C8678"
            ]
        }, manufacturerPartNumber: "SS34", footprint: "diode_p4.3998mm_pw2mm_ph2mm_rounded0_cyw6.8998mm_cyh3.1mm_cathodepin1", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8678.obj?uuid=e3551acb3c5a4975a5e9d36087fe1fa2",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8678.step?uuid=e3551acb3c5a4975a5e9d36087fe1fa2",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -12699999842880061e-21, y: 0, z: -0.1 },
        }, ...restProps }));
};

// USB-C PD charger for a 3S (12.6 V) Li-ion pack, 1.5 A.
// - CH224K asks the USB-C PD source for 15 V (CFG1 = 56k to GND).
// - TI BQ24610 standalone synchronous buck charger, simplified circuit from the
//   datasheet (SLUS892D, 10.2.2: no power path, no DPM).
//   VBAT = 2.1 V * (1 + 500k / 100k) = 12.6 V
//   ICHG = V(ISET1) / (20 * 10 mOhm); V(ISET1) = 3.3 V * 10k / 110k = 0.3 V -> 1.5 A
//   IPRE/ITERM = 1 A/V * V(ISET2); 3.3 V * 4.7k / 104.7k = 0.148 V -> ~150 mA
//   LC: 6.8 uH with 20 uF -> 13.6 kHz (datasheet wants 12-17 kHz)
// The pack needs its own 3S protection/balance board (BMS).
const BQ24610 = (props) => (jsxRuntime.jsx("chip", { ...props, manufacturerPartNumber: "BQ24610RGER", footprint: "qfn24_w4.6_h4.6_p0.5mm_pl0.6mm_pw0.25mm_thermalpad2.45mmx2.45mm", pinLabels: {
        pin1: "ACN",
        pin2: "ACP",
        pin3: "ACDRV",
        pin4: "CE",
        pin5: "STAT1",
        pin6: "TS",
        pin7: "TTC",
        pin8: "PG",
        pin9: "STAT2",
        pin10: "VREF",
        pin11: "ISET1",
        pin12: "VFB",
        pin13: "SRN",
        pin14: "SRP",
        pin15: "ISET2",
        pin16: "ACSET",
        pin17: "GND",
        pin18: "REGN",
        pin19: "LODRV",
        pin20: "PH",
        pin21: "HIDRV",
        pin22: "BTST",
        pin23: "BATDRV",
        pin24: "VCC",
        pin25: "EP",
    }, pinAttributes: {
        VCC: { requiresPower: true },
        GND: { requiresGround: true },
    }, schPinArrangement: {
        leftSide: {
            direction: "top-to-bottom",
            pins: ["VCC", "ACP", "ACN", "ACSET", "CE", "ISET1", "ISET2", "TS", "TTC", "VREF"],
        },
        rightSide: {
            direction: "top-to-bottom",
            pins: ["BTST", "HIDRV", "PH", "LODRV", "REGN", "SRP", "SRN", "VFB", "STAT1", "STAT2", "PG", "GND", "EP"],
        },
    }, noConnect: ["ACDRV", "BATDRV"] }));
// L1: shielded power inductor on a 5040-size land pattern (two 1.6 x 4.2 mm pads, 3.6 mm apart)
var index_circuit = () => (jsxRuntime.jsxs("board", { width: "56mm", height: "40mm", children: [jsxRuntime.jsx("schematicsection", { name: "Input", displayName: "USB-C PD input (15 V)" }), jsxRuntime.jsx("schematicsection", { name: "Charger", displayName: "BQ24610 3S buck charger" }), jsxRuntime.jsx("schematicsection", { name: "Output", displayName: "Battery + status" }), jsxRuntime.jsx("connector", { name: "J1", pcbX: -22.3, pcbY: 0, pcbRotation: -90, standard: "usb_c", schSectionName: "Input", schX: -14, schY: 2 }), jsxRuntime.jsx(CH224K, { name: "U1", pcbX: -15, pcbY: 5, schSectionName: "Input", schX: -9, schY: 2, noConnect: ["CFG2", "CFG3", "PG"] }), jsxRuntime.jsx("resistor", { name: "R1", pcbX: -14.5, pcbY: -0.5, schSectionName: "Input", resistance: "1k", footprint: "1206", schX: -11, schY: 5, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C1", pcbX: -18.6, pcbY: 0.2, schSectionName: "Input", capacitance: "1uF", footprint: "0603", schX: -7, schY: 5, schRotation: -90, pcbRotation: -90, maxDecouplingTraceLength: "4mm" }), jsxRuntime.jsx("resistor", { name: "R2", pcbX: -14.5, pcbY: 11, pcbRotation: 90, schSectionName: "Input", resistance: "10k", footprint: "0603", schX: -11, schY: -1, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R3", pcbX: -16.5, pcbY: 11, pcbRotation: 90, schSectionName: "Input", resistance: "56k", footprint: "0603", schX: -6, schY: -1, schRotation: -90 }), jsxRuntime.jsx("fuse", { name: "F1", pcbX: -18, pcbY: -11, schSectionName: "Input", currentRating: "2A", voltageRating: "30V", footprint: "1812", schX: -11, schY: -5, schRotation: 0 }), jsxRuntime.jsx(SS34, { name: "D1", pcbX: -11, pcbY: -11, pcbRotation: 180, schSectionName: "Input", schX: -8, schY: -5, schRotation: 180 }), jsxRuntime.jsx("capacitor", { name: "C2", pcbX: 6.5, pcbY: 7, schSectionName: "Input", capacitance: "10uF", maxVoltageRating: "25V", footprint: "1206", schX: -5, schY: -6, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C3", pcbX: 11.5, pcbY: 7, pcbRotation: 180, schSectionName: "Input", capacitance: "10uF", maxVoltageRating: "25V", footprint: "1206", schX: -4, schY: -6, schRotation: -90 }), jsxRuntime.jsx(BQ24610, { name: "U2", pcbX: 0, pcbY: 0, schSectionName: "Charger", schX: 4, schY: 0 }), jsxRuntime.jsx("resistor", { name: "R4", pcbX: -3.5, pcbY: 9, pcbRotation: 180, schSectionName: "Charger", resistance: "10", footprint: "0805", schX: 0, schY: 5, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C4", pcbX: -3.5, pcbY: 11.5, pcbRotation: 180, schSectionName: "Charger", capacitance: "1uF", maxVoltageRating: "25V", footprint: "0603", schX: 1, schY: 6, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C5", pcbX: 2.5, pcbY: -5.5, schSectionName: "Charger", capacitance: "1uF", footprint: "0603", schX: 9, schY: -2, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C6", pcbX: -3.5, pcbY: -9.5, schSectionName: "Charger", capacitance: "1uF", footprint: "0603", schX: 0, schY: -6.5, schRotation: -90 }), jsxRuntime.jsx(AO3400A, { name: "Q1", pcbX: 6.5, pcbY: 2, pcbRotation: 180, schSectionName: "Charger", schX: 11, schY: 4 }), jsxRuntime.jsx(AO3400A, { name: "Q2", pcbX: 6.5, pcbY: -2.5, pcbRotation: 180, schSectionName: "Charger", schX: 11, schY: 1 }), jsxRuntime.jsx(B5819W_SL, { name: "D2", pcbX: 1.5, pcbY: 8.5, schSectionName: "Charger", schX: 9, schY: 5 }), jsxRuntime.jsx("capacitor", { name: "C7", pcbX: 3.2, pcbY: 4.5, schSectionName: "Charger", capacitance: "100nF", footprint: "0603", schX: 10, schY: 6, schOrientation: "vertical" }), jsxRuntime.jsx("inductor", { name: "L1", pcbX: 12, pcbY: 0, pcbRotation: 90, schSectionName: "Charger", inductance: "6.8uH", footprint: "res_p3.6mm_pw1.6mm_ph4.2mm", schX: 14, schY: 2 }), jsxRuntime.jsx("resistor", { name: "R5", pcbX: 16.5, pcbY: 0, pcbRotation: 90, schSectionName: "Charger", resistance: "10mOhm", footprint: "1206", schX: 17, schY: 2 }), jsxRuntime.jsx("capacitor", { name: "C8", pcbX: 16.5, pcbY: 4, schSectionName: "Charger", capacitance: "100nF", footprint: "0603", schX: 17, schY: 4, schOrientation: "vertical" }), jsxRuntime.jsx("resistor", { name: "R6", pcbX: -0.5, pcbY: 4.5, schSectionName: "Charger", resistance: "500k", footprint: "0603", schX: 7, schY: -5, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R7", pcbX: -0.5, pcbY: -4.5, schSectionName: "Charger", resistance: "100k", footprint: "0603", schX: 8, schY: -7, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R8", pcbX: -6.5, pcbY: 4.8, schSectionName: "Charger", resistance: "100k", footprint: "0603", schX: -1, schY: 2, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R9", pcbX: -6.5, pcbY: 2.6, schSectionName: "Charger", resistance: "10k", footprint: "0603", schX: -1, schY: 0, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R10", pcbX: -6.5, pcbY: 0.4, schSectionName: "Charger", resistance: "100k", footprint: "0603", schX: -1, schY: -2, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R11", pcbX: -6.5, pcbY: -1.8, schSectionName: "Charger", resistance: "4.7k", footprint: "0603", schX: -1, schY: -3, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R12", pcbX: -6.5, pcbY: -4, schSectionName: "Charger", resistance: "10k", footprint: "0603", schX: 1, schY: -4, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R13", pcbX: -6.5, pcbY: -6.2, schSectionName: "Charger", resistance: "10k", footprint: "0603", schX: 1, schY: -5, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C9", pcbX: -6.5, pcbY: -8.4, schSectionName: "Charger", capacitance: "56nF", footprint: "0603", schX: 2.5, schY: -6.5, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R14", pcbX: -6.5, pcbY: 7, schSectionName: "Charger", resistance: "100k", footprint: "0603", schX: -1, schY: 4, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C10", pcbX: -0.5, pcbY: -9.5, schSectionName: "Charger", capacitance: "1uF", footprint: "0603", schX: 1, schY: -6.5, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C11", pcbX: 18, pcbY: -6, schSectionName: "Output", capacitance: "10uF", maxVoltageRating: "25V", footprint: "1206", schX: 23, schY: 0.5, schRotation: -90 }), jsxRuntime.jsx("capacitor", { name: "C12", pcbX: 18, pcbY: -9, schSectionName: "Output", capacitance: "10uF", maxVoltageRating: "25V", footprint: "1206", schX: 24.5, schY: 0.5, schRotation: -90 }), jsxRuntime.jsx("pinheader", { name: "J2", pcbX: 24, pcbY: 0, pcbRotation: 90, schSectionName: "Output", pinCount: 2, pitch: "5.08mm", pinLabels: ["BAT_P", "BAT_N"], schX: 27, schY: 1 }), jsxRuntime.jsx("resistor", { name: "R15", pcbX: 15.5, pcbY: 13.5, schSectionName: "Output", resistance: "10k", footprint: "0603", schX: 22.0, schY: -3.5, schRotation: -90 }), jsxRuntime.jsx("led", { name: "D3", pcbX: 19, pcbY: 13.5, schSectionName: "Output", color: "red", footprint: "0603", schX: 22.0, schY: -5.6, schRotation: -90, supplierPartNumbers: { jlcpcb: ["C2286"] } }), jsxRuntime.jsx("resistor", { name: "R16", pcbX: 15.5, pcbY: 11, schSectionName: "Output", resistance: "10k", footprint: "0603", schX: 23.6, schY: -3.5, schRotation: -90 }), jsxRuntime.jsx("led", { name: "D4", pcbX: 19, pcbY: 11, schSectionName: "Output", color: "green", footprint: "0603", schX: 23.6, schY: -5.6, schRotation: -90 }), jsxRuntime.jsx("resistor", { name: "R17", pcbX: 15.5, pcbY: 8.5, schSectionName: "Output", resistance: "10k", footprint: "0603", schX: 25.2, schY: -3.5, schRotation: -90 }), jsxRuntime.jsx("led", { name: "D5", pcbX: 19, pcbY: 8.5, schSectionName: "Output", color: "green", footprint: "0603", schX: 25.2, schY: -5.6, schRotation: -90 }), [[-24.5, 16.5], [24.5, 16.5], [-24.5, -16.5], [24.5, -16.5]].map(([x, y], i) => (jsxRuntime.jsx("platedhole", { name: `MH${i + 1}`, pcbX: x, pcbY: y, shape: "circle", holeDiameter: "3.2mm", outerDiameter: "6mm" }, i))), jsxRuntime.jsx("copperpour", { connectsTo: "net.GND", layer: "bottom", clearance: "0.25mm" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J1 > .VBUS1", to: "net.VBUS" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J1 > .VBUS2", to: "net.VBUS" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J1 > .GND1", to: "net.GND" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J1 > .GND2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".J1 > .SHELL1", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".J1 > .SHELL2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".J1 > .CC1", to: ".U1 > .CC1" }), jsxRuntime.jsx("trace", { from: ".J1 > .CC2", to: ".U1 > .CC2" }), jsxRuntime.jsx("trace", { from: ".J1 > .DP1", to: ".U1 > .DP" }), jsxRuntime.jsx("trace", { from: ".J1 > .DP2", to: ".U1 > .DP" }), jsxRuntime.jsx("trace", { from: ".J1 > .DM1", to: ".U1 > .DM" }), jsxRuntime.jsx("trace", { from: ".J1 > .DM2", to: ".U1 > .DM" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin1", to: "net.VBUS" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin2", to: ".U1 > .VDD" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin1", to: ".U1 > .VDD" }), jsxRuntime.jsx("trace", { from: ".C1 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R2 > .pin1", to: "net.VBUS" }), jsxRuntime.jsx("trace", { from: ".R2 > .pin2", to: ".U1 > .VBUS" }), jsxRuntime.jsx("trace", { from: ".R3 > .pin1", to: ".U1 > .CFG1" }), jsxRuntime.jsx("trace", { from: ".R3 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U1 > .GND", to: "net.GND" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".F1 > .pin1", to: "net.VBUS" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".F1 > .pin2", to: ".D1 > .anode" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".D1 > .cathode", to: "net.VIN" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C2 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C2 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C3 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C3 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R4 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { from: ".R4 > .pin2", to: "net.VCC_CHG" }), jsxRuntime.jsx("trace", { from: ".C4 > .pin1", to: "net.VCC_CHG" }), jsxRuntime.jsx("trace", { from: ".C4 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U2 > .VCC", to: "net.VCC_CHG" }), jsxRuntime.jsx("trace", { from: ".U2 > .ACN", to: "net.VCC_CHG" }), jsxRuntime.jsx("trace", { from: ".U2 > .ACP", to: "net.VCC_CHG" }), jsxRuntime.jsx("trace", { from: ".U2 > .ACSET", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".U2 > .GND", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U2 > .EP", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".C5 > .pin1", to: ".U2 > .REGN" }), jsxRuntime.jsx("trace", { from: ".C5 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".C6 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".C6 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".U2 > .VREF", to: "net.VREF" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".Q1 > .D", to: "net.VIN" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".Q1 > .S", to: "net.PH" }), jsxRuntime.jsx("trace", { from: ".Q1 > .G", to: ".U2 > .HIDRV" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".Q2 > .D", to: "net.PH" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".Q2 > .S", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".Q2 > .G", to: ".U2 > .LODRV" }), jsxRuntime.jsx("trace", { from: ".U2 > .PH", to: "net.PH" }), jsxRuntime.jsx("trace", { from: ".D2 > .anode", to: ".U2 > .REGN" }), jsxRuntime.jsx("trace", { from: ".D2 > .cathode", to: ".U2 > .BTST" }), jsxRuntime.jsx("trace", { from: ".C7 > .pin1", to: ".U2 > .BTST" }), jsxRuntime.jsx("trace", { from: ".C7 > .pin2", to: "net.PH" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".L1 > .pin1", to: "net.PH" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".L1 > .pin2", to: "net.CHG_SRP" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".R5 > .pin1", to: "net.CHG_SRP" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".R5 > .pin2", to: "net.BAT" }), jsxRuntime.jsx("trace", { from: ".U2 > .SRP", to: "net.CHG_SRP" }), jsxRuntime.jsx("trace", { from: ".U2 > .SRN", to: "net.BAT" }), jsxRuntime.jsx("trace", { from: ".C8 > .pin1", to: "net.CHG_SRP" }), jsxRuntime.jsx("trace", { from: ".C8 > .pin2", to: "net.BAT" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C11 > .pin1", to: "net.BAT" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C11 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C12 > .pin1", to: "net.BAT" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".C12 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J2 > .BAT_P", to: "net.BAT" }), jsxRuntime.jsx("trace", { thickness: "0.8mm", from: ".J2 > .BAT_N", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R6 > .pin1", to: "net.BAT" }), jsxRuntime.jsx("trace", { from: ".R6 > .pin2", to: ".U2 > .VFB" }), jsxRuntime.jsx("trace", { from: ".R7 > .pin1", to: ".U2 > .VFB" }), jsxRuntime.jsx("trace", { from: ".R7 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R8 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".R8 > .pin2", to: ".U2 > .ISET1" }), jsxRuntime.jsx("trace", { from: ".R9 > .pin1", to: ".U2 > .ISET1" }), jsxRuntime.jsx("trace", { from: ".R9 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R10 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".R10 > .pin2", to: ".U2 > .ISET2" }), jsxRuntime.jsx("trace", { from: ".R11 > .pin1", to: ".U2 > .ISET2" }), jsxRuntime.jsx("trace", { from: ".R11 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R12 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".R12 > .pin2", to: ".U2 > .TS" }), jsxRuntime.jsx("trace", { from: ".R13 > .pin1", to: ".U2 > .TS" }), jsxRuntime.jsx("trace", { from: ".R13 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".C9 > .pin1", to: ".U2 > .TTC" }), jsxRuntime.jsx("trace", { from: ".C9 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R14 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".R14 > .pin2", to: ".U2 > .CE" }), jsxRuntime.jsx("trace", { from: ".C10 > .pin1", to: "net.VREF" }), jsxRuntime.jsx("trace", { from: ".C10 > .pin2", to: "net.GND" }), jsxRuntime.jsx("trace", { from: ".R15 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { from: ".R15 > .pin2", to: ".D3 > .anode" }), jsxRuntime.jsx("trace", { from: ".D3 > .cathode", to: ".U2 > .STAT1" }), jsxRuntime.jsx("trace", { from: ".R16 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { from: ".R16 > .pin2", to: ".D4 > .anode" }), jsxRuntime.jsx("trace", { from: ".D4 > .cathode", to: ".U2 > .STAT2" }), jsxRuntime.jsx("trace", { from: ".R17 > .pin1", to: "net.VIN" }), jsxRuntime.jsx("trace", { from: ".R17 > .pin2", to: ".D5 > .anode" }), jsxRuntime.jsx("trace", { from: ".D5 > .cathode", to: ".U2 > .PG" })] }));

module.exports = index_circuit;