astrimid/ec_driven_dc_isolation

This code models a power control circuit featuring NPN and P-channel MOSFETs, resistors, and capacitors, including a dual N-channel MOSFET package, to manage power paths and switching functions on a hardware PCB.

Version
0.0.1
License
unset
Stars
0

dist/index.js

import { jsxs, jsx } from 'react/jsx-runtime';

const PowerPathControl = () => (jsxs("board", { routingDisabled: false, schMaxTraceDistance: 1000, children: [jsx("schematicsection", { name: "dc_in_ss_path" }), jsx("schematicsection", { name: "ac_disc_path" }), jsx("net", { name: "GND" }), jsx("mosfet", { name: "Q201", manufacturerPartNumber: "AON7409", channelType: "p", mosfetMode: "enhancement", footprint: "dfn8-5", symbolGateSide: "bottom", symbolSourceSide: "left", schSectionName: "dc_in_ss_path", schX: -6, schY: 16 }), jsx("resistor", { name: "R201", resistance: "499k", footprint: "0402", schSectionName: "dc_in_ss_path", schRotation: 90, schX: -4, schY: 15 }), jsx("capacitor", { name: "C202", capacitance: "0.022U", footprint: "0603", schSectionName: "dc_in_ss_path", schRotation: 90, schX: -3, schY: 15 }), jsx("resistor", { name: "R205", resistance: "49.9k", footprint: "0402", schSectionName: "dc_in_ss_path", schRotation: -90, schX: -6.1, schY: 13 }), jsx("trace", { from: ".Q201 .source", to: "net.DC_IN_SS" }), jsx("trace", { from: ".Q201 .drain", to: "net.SDC_IN" }), jsx("trace", { from: ".R201 .pin2", to: "net.SDC_IN" }), jsx("trace", { from: ".R201 .pin1", to: ".Q201 .gate" }), jsx("trace", { from: ".C202 .pin2", to: "net.SDC_IN" }), jsx("trace", { from: ".C202 .pin1", to: ".Q201 .gate" }), jsx("trace", { from: ".R205 .pin1", to: ".Q201 .gate" }), jsx("mosfet", { name: "Q202", manufacturerPartNumber: "AO3409", channelType: "p", mosfetMode: "enhancement", footprint: "sot23", symbolGateSide: "right", symbolSourceSide: "top", schSectionName: "ac_disc_path", schRotation: 0, schX: 0, schY: 14.9 }), jsx("resistor", { name: "R200", resistance: "300k", footprint: "0402", schSectionName: "ac_disc_path", schRotation: 90, schX: 2, schY: 16 }), jsx("resistor", { name: "R204", resistance: "100k", footprint: "0402", schSectionName: "ac_disc_path", schRotation: 90, schX: 2, schY: 14.5 }), jsx("mosfet", { name: "Q203A", manufacturerPartNumber: "DMN65D8LDW", channelType: "n", mosfetMode: "enhancement", footprint: "sot363", symbolDrainSide: "top", symbolSourceSide: "bottom", symbolGateSide: "right", schSectionName: "ac_disc_path", schRotation: 0, schX: 2.3, schY: 13 }), jsx("resistor", { name: "R210", resistance: "0", footprint: "0402", schSectionName: "ac_disc_path", schRotation: 0, schX: 4, schY: 12.9 }), jsx("resistor", { name: "R206", resistance: "100k", footprint: "0402", schSectionName: "ac_disc_path", schRotation: 90, schX: 5.7, schY: 14 }), jsx("mosfet", { name: "Q203B", manufacturerPartNumber: "DMN65D8LDW", channelType: "n", mosfetMode: "enhancement", footprint: "sot363", symbolGateSide: "right", schSectionName: "ac_disc_path", schX: 6, schY: 11 }), jsx("resistor", { name: "R218", resistance: "0", footprint: "0402", schSectionName: "ac_disc_path", schX: 8, schY: 10.9 }), jsx("mosfet", { name: "Q204", manufacturerPartNumber: "DMN65D8LW", channelType: "n", mosfetMode: "enhancement", footprint: "sot323", symbolGateSide: "right", schSectionName: "dc_in_ss_path", schX: -6, schY: 11 }), jsx("trace", { from: ".Q202 .source", to: "net.SDC_IN" }), jsx("trace", { from: ".Q202 .gate", to: "net.Q201_GATE_DRIVER" }), jsx("trace", { name: "Q201_GATE", from: ".Q202 .drain", to: ".R205 .pin1" }), jsx("trace", { from: ".R200 .pin2", to: "net.SDC_IN" }), jsx("trace", { from: ".R200 .pin1", to: "net.Q201_GATE_DRIVER" }), jsx("trace", { from: ".R204 .pin2", to: "net.Q201_GATE_DRIVER" }), jsx("trace", { name: "AC_DISC_N2", from: ".Q203A .drain", to: ".R204 .pin1" }), jsx("trace", { from: ".Q203A .gate", to: ".R210 .pin1" }), jsx("trace", { from: ".Q203A .source", to: "net.GND" }), jsx("trace", { name: "AC_DISC", from: ".R206 .pin1", to: ".R210 .pin2" }), jsx("trace", { from: ".R206 .pin2", to: "net.V3_VC" }), jsx("trace", { name: "AC_DISC", from: ".Q203B .drain", to: ".R206 .pin1" }), jsx("trace", { from: ".Q203B .gate", to: ".R218 .pin1" }), jsx("trace", { from: ".Q203B .source", to: "net.GND" }), jsx("trace", { from: ".R218 .pin2", to: "net.AC_DISC_N" })] }));

export { PowerPathControl };